/* ========== MAIN CONTAINER ========== */
.rbz-main-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 40px 20px;
    line-height: 1.5;
}

.rbz-main-container .rbz-tab-content {
    font-family: inherit;
    color: inherit;
    line-height: 1.6;
}

.rbz-main-container .rbz-tab-content {
    display: none !important;
}

/* Standalone section + historical document block */
.rbz-rates-section {
    width: 100%;
}

.rbz-historical-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #e6ad1b;
}

.rbz-historical-title {
    font-size: 20px;
    font-weight: 600;
    color: #071448;
    margin: 0 0 16px;
}

/* ========== KEY HIGHLIGHTS TAB ========== */
.rbz-highlights-container {
    width: 100%;
    max-width: 100%;
}

.rbz-highlights-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #eef1f6;
    box-shadow: 0 4px 20px rgba(7, 20, 72, 0.07);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rbz-highlights-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef1f6;
}

.rbz-highlights-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.rbz-highlights-doc-badge,
.rbz-highlights-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
}

.rbz-highlights-doc-badge {
    background: #f0f4ff;
    color: #071448;
    font-weight: 600;
    max-width: 100%;
}

.rbz-highlights-doc-badge .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.rbz-highlights-doc-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 320px;
}

.rbz-highlights-date-badge {
    background: #fff8e8;
    color: #8a6d1d;
    font-weight: 500;
}

.rbz-highlights-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #4b5563;
}

.rbz-highlights-pdf-viewer {
    position: relative;
    width: 100%;
    min-height: 640px;
    height: clamp(520px, 72vh, 860px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dde3ee;
    background: #f3f4f6;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.rbz-highlights-pdf {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 640px !important;
    border: 0 !important;
    background: #ffffff;
}

.rbz-highlights-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 4px;
}

.rbz-highlights-container a.rbz-highlights-btn,
.rbz-highlights-container a.rbz-highlights-btn:visited {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.rbz-highlights-container a.rbz-highlights-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

.rbz-highlights-btn-primary {
    background: #071448 !important;
    color: #ffffff !important;
}

.rbz-highlights-btn-primary:hover {
    background: #e6ad1b !important;
    color: #071448 !important;
    transform: translateY(-1px);
}

.rbz-highlights-btn-download {
    background: #ffffff !important;
    color: #071448 !important;
    border: 1px solid #dde3ee !important;
    padding: 9px 16px !important;
    font-size: 13px !important;
}

.rbz-highlights-btn-download:hover {
    background: #071448 !important;
    color: #ffffff !important;
    border-color: #071448 !important;
}

@media (max-width: 768px) {
    .rbz-highlights-card {
        padding: 16px;
    }

    .rbz-highlights-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .rbz-highlights-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .rbz-highlights-doc-label {
        max-width: 100%;
        white-space: normal;
    }

    .rbz-highlights-doc-badge,
    .rbz-highlights-date-badge {
        white-space: normal;
    }

    .rbz-highlights-pdf-viewer {
        min-height: 420px;
        height: 60vh;
    }

    .rbz-highlights-pdf {
        min-height: 420px !important;
    }

    .rbz-highlights-container a.rbz-highlights-btn {
        width: 100%;
    }
}

.rbz-main-container .rbz-tab-content.active {
    display: block !important;
    animation: rbzFadeIn 0.4s ease;
}

@keyframes rbzFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== TABS (Active = dark background + gold underline) ========== */
.rbz-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e9f2;
    margin-bottom: 40px;
    justify-content: center;
}

.rbz-tab-btn {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    padding: 14px 28px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.rbz-tab-btn:hover {
    color: #071448;
}

.rbz-tab-btn.active {
    color: #ffffff;
    font-weight: 600;
    background: #071448;
}

.rbz-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e6ad1b;
    border-radius: 2px;
}

/* ========== SUB-TABS (Small Currency Tabs) ========== */
.rbz-sub-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
}

.rbz-sub-tab-btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rbz-sub-tab-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #374151;
}

.rbz-sub-tab-btn.active {
    background: #071448;
    border-color: #071448;
    color: #ffffff;
    font-weight: 600;
}

.rbz-sub-tab-content {
    display: none;
}

.rbz-sub-tab-content.active {
    display: block;
}

/* ========== EXCHANGE RATES GRID ========== */
.rbz-exchange-rates-container {
    margin: 0;
}

.rbz-rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.rbz-exchange-rates-container[data-columns="1"] .rbz-rates-grid {
    grid-template-columns: 1fr;
}

.rbz-exchange-rates-container[data-columns="2"] .rbz-rates-grid {
    grid-template-columns: repeat(2, 1fr);
}

.rbz-exchange-rates-container[data-columns="3"] .rbz-rates-grid {
    grid-template-columns: repeat(3, 1fr);
}

.rbz-exchange-rates-container[data-columns="4"] .rbz-rates-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* ========== EXCHANGE RATE CARD (match reference: white, thin border, floating shadow) ========== */
.rbz-rate-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eef1f6;
    box-shadow: 0 4px 16px rgba(7, 20, 72, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rbz-rate-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(7, 20, 72, 0.08);
}

/* Card header: currency pair + flags, thin line below */
.rbz-rate-header {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f6;
}

.rbz-currency-pair {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 16px;
    color: #071448;
}

.rbz-flag-inline {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    vertical-align: middle;
}

.rbz-flag-separator {
    font-size: 14px;
    font-weight: 600;
    color: #071448;
    margin: 0 4px;
}

.rbz-flag-emoji {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.rbz-currency-code {
    font-size: 16px;
    font-weight: 600;
    color: #071448;
}

/* Card body: Bid / Ask rows – label left (grey), value right (dark, bold) */
.rbz-rate-body {
    margin-top: 4px;
}

.rbz-rate-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    margin-bottom: 6px;
}

.rbz-rate-label {
    color: #6b7280;
    font-weight: 500;
}

.rbz-rate-value {
    font-weight: 600;
    color: #071448;
}

/* Average row: separator line, then gold highlighted value (slightly larger, bolder) */
.rbz-average-row {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef1f6;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.rbz-average-row .rbz-rate-label {
    color: #071448;
    font-weight: 600;
    font-size: 14px;
}

.rbz-average-row .rbz-rate-value,
.rbz-average {
    font-weight: 700;
    font-size: 17px;
    color: #e6ad1b;
}

/* Card footer: timestamp, small, light grey, left-aligned */
.rbz-card-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0f2f5;
    font-size: 11px;
    color: #9ca3af;
}

.rbz-card-updated {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
}

/* Legacy / table */
.rbz-currency-pair-table,
.rbz-flag-pair-small {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.rbz-no-rates {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Table View Styles */
.rbz-rates-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.rbz-rates-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    box-shadow: 0 3px 6px rgba(7, 20, 72, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.rbz-rates-table thead {
    background: #071448;
    color: #ffffff;
}

.rbz-rates-table th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.rbz-rates-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s;
}

.rbz-rates-table tbody tr:hover {
    background: rgba(199, 129, 36, 0.05);
}

.rbz-rates-table td {
    padding: 15px;
    vertical-align: middle;
    line-height: 1.6;
}

.rbz-rates-table td strong {
    color: #071448;
    font-size: 16px;
    line-height: 1.5;
}

.rbz-vs-zwg {
    display: block;
    font-size: 11px;
    color: #c78124;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.rbz-rates-table .rbz-bid,
.rbz-rates-table .rbz-ask,
.rbz-rates-table .rbz-average {
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', 'Consolas', 'Courier New', monospace;
    font-weight: 600;
    color: #071448;
    letter-spacing: 0.3px;
}

.rbz-rates-table .rbz-average {
    color: #c78124;
    font-size: 16px;
    font-weight: 700;
}

/* Flag emoji fallbacks */
.rbz-flag-usd::before { content: "🇺🇸"; }
.rbz-flag-eur::before { content: "🇪🇺"; }
.rbz-flag-gbp::before { content: "🇬🇧"; }
.rbz-flag-zar::before { content: "🇿🇦"; }
.rbz-flag-jpy::before { content: "🇯🇵"; }
.rbz-flag-chf::before { content: "🇨🇭"; }
.rbz-flag-aud::before { content: "🇦🇺"; }
.rbz-flag-cad::before { content: "🇨🇦"; }
.rbz-flag-cny::before { content: "🇨🇳"; }
.rbz-flag-inr::before { content: "🇮🇳"; }
.rbz-flag-zwg::before { content: "🇿🇼"; }

/* ========== GOLD COIN PRICES ========== */
.rbz-main-container .rbz-gold-container {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.rbz-gold-header,
.rbz-inflation-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e9f2;
    line-height: 1.5;
}

.rbz-gold-title,
.rbz-inflation-title {
    font-size: 20px;
    font-weight: 700;
    color: #071448;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.rbz-gold-pm-fix {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    line-height: 1.5;
}

.rbz-pm-fix-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.5;
}

.rbz-pm-fix-value {
    font-size: 16px;
    font-weight: 700;
    color: #e6ad1b;
    line-height: 1.4;
}

/* Gold grid – modern cards */
.rbz-gold-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.rbz-gold-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid #eef1f6;
    box-shadow: 0 8px 20px rgba(7, 20, 72, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rbz-gold-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(7, 20, 72, 0.10);
}

.rbz-gold-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f6;
    line-height: 1.5;
}

.rbz-gold-currency {
    font-size: 16px;
    font-weight: 600;
    color: #071448;
}

.rbz-gold-card-body {
    line-height: 1.6;
}

.rbz-gold-price {
    font-size: 20px;
    font-weight: 600;
    color: #e6ad1b;
    margin-bottom: 6px;
    line-height: 1.3;
}

.rbz-gold-label {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.rbz-digital-token {
    margin-top: 30px;
    padding: 20px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #eef1f6;
    box-shadow: 0 8px 20px rgba(7, 20, 72, 0.05);
    line-height: 1.6;
}

.rbz-digital-token-title {
    font-size: 16px;
    font-weight: 600;
    color: #071448;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.rbz-digital-token-prices {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.rbz-token-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rbz-token-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    line-height: 1.5;
}

.rbz-token-value {
    font-size: 20px;
    font-weight: 600;
    color: #e6ad1b;
    line-height: 1.4;
}

/* ========== INFLATION RATES ========== */
.rbz-main-container .rbz-inflation-container {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Currency Section Spacing */
.rbz-inflation-section,
.rbz-exchange-section,
.rbz-gold-section {
    margin-bottom: 48px;
}

.rbz-inflation-section:last-child,
.rbz-exchange-section:last-child,
.rbz-gold-section:last-child {
    margin-bottom: 24px;
}

/* Section Headers */
.rbz-inflation-header,
.rbz-exchange-header,
.rbz-gold-section-header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e6ad1b;
}

.rbz-exchange-title,
.rbz-gold-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #071448;
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rbz-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #071448;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.rbz-view-all-btn:hover {
    background: #e6ad1b;
    color: #071448;
    text-decoration: none;
}

.rbz-inflation-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

.rbz-inflation-container .rbz-inflation-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 24px 20px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    border-top: 3px solid #e6ad1b;
    box-shadow: 0 2px 12px rgba(7, 20, 72, 0.05), 0 1px 4px rgba(230, 173, 27, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Animated gold left bar */
.rbz-inflation-container .rbz-inflation-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e6ad1b 0%, #d4a017 50%, #c78124 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* Animated shine effect */
.rbz-inflation-container .rbz-inflation-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(45deg, transparent, rgba(230, 173, 27, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.rbz-inflation-container .rbz-inflation-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(230, 173, 27, 0.4);
    border-top-color: #d4a017;
    box-shadow: 0 16px 32px rgba(7, 20, 72, 0.12), 0 6px 16px rgba(230, 173, 27, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #fffdf9 100%);
}

.rbz-inflation-container .rbz-inflation-card:hover::before {
    opacity: 1;
}

.rbz-inflation-container .rbz-inflation-card:hover::after {
    transform: translateX(100%);
}

.rbz-inflation-container .rbz-inflation-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    line-height: 1.4;
    position: relative;
    padding-bottom: 6px;
}

/* Gold underline animation */
.rbz-inflation-container .rbz-inflation-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e6ad1b, #d4a017);
    transition: width 0.3s ease;
}

.rbz-inflation-container .rbz-inflation-card:hover .rbz-inflation-label::after {
    width: 30px;
}

.rbz-inflation-container .rbz-inflation-value {
    font-size: 32px;
    font-weight: 700;
    color: #071448;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.rbz-inflation-container .rbz-inflation-card:hover .rbz-inflation-value {
    color: #e6ad1b;
    transform: scale(1.05);
}

.rbz-inflation-container .rbz-inflation-period {
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    font-style: italic;
    line-height: 1.4;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.rbz-inflation-container .rbz-inflation-card:hover .rbz-inflation-period {
    opacity: 1;
}

/* Combined Currency Card Styles */
.rbz-inflation-card-combined .rbz-inflation-currencies {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.rbz-inflation-currency-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(7, 20, 72, 0.03);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.rbz-inflation-currency-row:hover {
    background: rgba(230, 173, 27, 0.08);
    border-left-color: #e6ad1b;
}

.rbz-inflation-currency-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.rbz-inflation-currency-row .rbz-inflation-value {
    font-size: 20px;
    font-weight: 700;
    color: #071448;
    margin: 0;
    line-height: 1;
}

.rbz-inflation-card-combined:hover .rbz-inflation-currency-row .rbz-inflation-value {
    color: #e6ad1b;
}

.rbz-inflation-card-combined .rbz-inflation-label {
    margin-bottom: 14px;
}

.rbz-inflation-footer {
    margin-top: 30px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eef1f6;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1400px) {
    .rbz-inflation-grid,
    .rbz-gold-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .rbz-inflation-grid,
    .rbz-gold-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .rbz-inflation-grid,
    .rbz-gold-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .rbz-main-container {
        padding: 24px 16px;
    }
    
    .rbz-tabs {
        gap: 24px;
        flex-wrap: wrap;
    }
    
    .rbz-tab-btn {
        padding: 10px 0;
        font-size: 14px;
    }
    
    .rbz-sub-tabs {
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .rbz-sub-tab-btn {
        font-size: 11px;
        padding: 6px 16px;
    }
    
    .rbz-rates-grid,
    .rbz-gold-grid,
    .rbz-inflation-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
    
    .rbz-rate-card,
    .rbz-gold-card,
    .rbz-inflation-container .rbz-inflation-card {
        padding: 18px;
    }
    
    .rbz-digital-token-prices {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .rbz-rates-grid,
    .rbz-gold-grid,
    .rbz-inflation-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========== TICKER STYLES ========== */
/* Exchange Rates Ticker Styles */
.rbz-ticker-container {
    width: 100% !important;
    background: #ffffff;
    padding: 10px 0;
    overflow: hidden !important;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
    margin: 0 !important;
    box-sizing: border-box;
    line-height: 1.4;
    white-space: nowrap;
    display: block !important;
}

/* Override Elementor flex styles */
.elementor-element .rbz-ticker-container,
.e-con .rbz-ticker-container,
.e-flex .rbz-ticker-container,
.elementor-widget-shortcode .rbz-ticker-container {
    display: block !important;
    flex-direction: row !important;
}

.elementor-element .rbz-ticker-wrapper,
.e-con .rbz-ticker-wrapper {
    display: block !important;
    flex-direction: row !important;
}

.elementor-element .rbz-ticker-content,
.e-con .rbz-ticker-content {
    display: inline-block !important;
    white-space: nowrap !important;
}

.rbz-ticker-wrapper {
    width: 100%;
    overflow: hidden !important;
    position: relative;
    max-width: 100%;
    display: block;
    white-space: nowrap;
}

.rbz-ticker-content {
    display: inline-block !important;
    white-space: nowrap !important;
    animation: rbz-ticker-scroll 30s linear infinite !important;
    will-change: transform;
    width: auto !important;
    min-width: 200% !important;
    position: relative;
    vertical-align: middle;
}

.rbz-ticker-item {
    display: inline-block !important;
    vertical-align: middle;
    padding: 0 15px;
    white-space: nowrap !important;
    font-size: 13px;
    color: #071448;
    font-weight: 500;
    line-height: 1.5;
}

.rbz-ticker-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #e0e0e0;
    vertical-align: middle;
    display: inline-block;
    margin: 0 3px;
}

.rbz-ticker-pair {
    display: inline-block;
    font-weight: 600;
    vertical-align: middle;
}

.rbz-ticker-base {
    color: #071448;
    font-size: 13px;
    font-weight: 700;
    display: inline;
}

.rbz-ticker-slash {
    color: #666;
    margin: 0 1px;
    font-size: 13px;
    display: inline;
}

.rbz-ticker-currency {
    font-weight: 700;
    color: #071448;
    font-size: 13px;
    display: inline;
}

.rbz-ticker-separator {
    color: #666;
    margin: 0 4px;
    font-size: 13px;
    display: inline;
}

.rbz-ticker-rate {
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', 'Consolas', 'Courier New', monospace;
    font-weight: 600;
    color: #c78124;
    font-size: 13px;
    white-space: nowrap;
    display: inline;
}

.rbz-ticker-divider {
    color: #ddd;
    margin: 0 8px;
    font-weight: 300;
    font-size: 12px;
    display: inline;
}

@keyframes rbz-ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.rbz-ticker-container:hover .rbz-ticker-content {
    animation-play-state: paused;
}

/* Responsive ticker */
@media (max-width: 768px) {
    .rbz-ticker-item {
        padding: 0 12px;
        font-size: 11px;
        gap: 4px;
    }
    
    .rbz-ticker-flag {
        width: 18px;
        height: 13px;
    }
    
    .rbz-ticker-base,
    .rbz-ticker-currency,
    .rbz-ticker-rate {
        font-size: 11px;
    }
    
    .rbz-ticker-slash {
        font-size: 11px;
    }
    
    .rbz-ticker-divider {
        margin: 0 6px;
    }
}

/* ========== Inflation Cards Shortcode [rbz_inflation_cards] ========== */
.rbz-inflation-cards-wrapper {
    margin: 24px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.rbz-inflation-cards-scroll {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
    position: relative;
    padding: 8px 0 20px;
    display: block;
}

.rbz-inflation-cards-track {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 20px;
    width: auto !important;
    will-change: transform;
    position: relative;
    white-space: nowrap;
}

/* Smooth scroll animation with GPU acceleration */
@keyframes rbz-inflation-scroll {
    0% {
        transform: translateX(0) translateZ(0);
    }
    100% {
        transform: translateX(-50%) translateZ(0);
    }
}

/* Scroll cards: elegant design with gold accents */
.rbz-inflation-cards-track .rbz-inflation-card-scroll {
    position: relative;
    flex: 0 0 auto;
    display: inline-block;
    width: 220px;
    min-width: 220px;
    padding: 24px 22px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid #e5e7eb;
    border-top: 3px solid #e6ad1b;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(7, 20, 72, 0.05), 0 1px 4px rgba(230, 173, 27, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    vertical-align: top;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Gold accent bar on left */
.rbz-inflation-cards-track .rbz-inflation-card-scroll::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e6ad1b 0%, #d4a017 50%, #c78124 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.rbz-inflation-cards-track .rbz-inflation-card-scroll:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 173, 27, 0.4);
    border-top-color: #d4a017;
    box-shadow: 0 16px 36px rgba(7, 20, 72, 0.1), 0 6px 16px rgba(230, 173, 27, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #fffdf9 100%);
}

.rbz-inflation-cards-track .rbz-inflation-card-scroll:hover::before {
    opacity: 1;
}

.rbz-inflation-cards-track .rbz-inflation-card-scroll .rbz-inflation-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    line-height: 1.4;
    position: relative;
    padding-bottom: 8px;
}

/* Gold underline on label */
.rbz-inflation-cards-track .rbz-inflation-card-scroll .rbz-inflation-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #e6ad1b, transparent);
    border-radius: 2px;
}

.rbz-inflation-cards-track .rbz-inflation-card-scroll .rbz-inflation-value {
    font-size: 32px;
    font-weight: 700;
    color: #071448;
    margin-bottom: 10px;
    line-height: 1;
    letter-spacing: -0.03em;
    transition: all 0.3s ease;
}

.rbz-inflation-cards-track .rbz-inflation-card-scroll:hover .rbz-inflation-value {
    color: #e6ad1b;
    transform: scale(1.05);
}

.rbz-inflation-cards-track .rbz-inflation-card-scroll .rbz-inflation-period {
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    font-style: italic;
    line-height: 1.4;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .rbz-inflation-cards-track .rbz-inflation-card-scroll {
        width: 190px;
        min-width: 190px;
        padding: 20px 18px;
    }
    
    .rbz-inflation-cards-track .rbz-inflation-card-scroll .rbz-inflation-value {
        font-size: 26px;
    }
    
    .rbz-inflation-cards-track .rbz-inflation-card-scroll .rbz-inflation-label {
        font-size: 10px;
    }
}
