/* style.css - Premium Gold & Dark Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* DEFAULT LIGHT MODE (Day Mode) */
    --bg-primary: #f3f4f6;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f9fafb;
    --accent-gold: #ca8a04;
    --accent-gold-hover: #a16207;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border-color: rgba(202, 138, 4, 0.25);
    --border-soft: rgba(0, 0, 0, 0.08);
    --card-bg: rgba(255, 255, 255, 0.85);
    --shadow-gold: rgba(202, 138, 4, 0.05);

    --success: #16a34a;
    --danger: #dc2626;
    --warning: #d97706;
    --info: #2563eb;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --sidebar-width: 260px;
    --header-height: 70px;
}

body.dark-mode {
    /* DARK MODE */
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --accent-gold: #eab308;
    --accent-gold-hover: #ca8a04;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(234, 179, 8, 0.15);
    --border-soft: rgba(255, 255, 255, 0.05);
    --card-bg: rgba(17, 24, 39, 0.7);
    --shadow-gold: rgba(234, 179, 8, 0.1);

    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Layout */
.dashboard-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: transform 0.3s ease;
}

.logo-section {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-soft);
}

.logo-section img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-groups {
    flex: 1;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    overflow-y: auto;
}

.menu-group-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
    padding-left: 12px;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.menu-item a i {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.menu-item a:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.03);
}

.menu-item a:hover i {
    color: var(--accent-gold);
}

.menu-item.active a {
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ca8a04 100%);
    font-weight: 600;
}

.menu-item.active a i {
    color: var(--bg-primary);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-soft);
}

/* Main Content Area */
.main-wrapper {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
}

/* Marquees / Tickers */
.marquee-container {
    background-color: #1e1b4b;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 20px;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Header Bar */
.header-bar {
    height: var(--header-height);
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.user-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.balance-chip {
    background-color: rgba(234, 179, 8, 0.08);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.user-meta {
    text-align: right;
}

.user-meta-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.user-meta-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ca8a04 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-primary);
}

/* Content Body */
.content-body {
    padding: 32px;
    flex: 1;
}

/* Ticker Highlight Cards (Live Rates) */
.ticker-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.ticker-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(243, 244, 246, 0.9) 100%);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

body.dark-mode .ticker-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(31, 41, 55, 0.8) 100%);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.ticker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.ticker-card.gold::before {
    background: linear-gradient(90deg, #ca8a04, var(--accent-gold));
}

.ticker-card.silver::before {
    background: linear-gradient(90deg, #9ca3af, #e5e7eb);
}

.ticker-card.inr::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.ticker-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.ticker-card-price {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    transition: color 0.3s ease;
}

.ticker-card-hl {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-soft);
    padding-top: 10px;
}

.ticker-card-hl span strong {
    color: var(--text-primary);
}

/* Rate Flashing Styles - Solid High Contrast */
.price-up {
    background-color: #22c55e !important;
    /* Strong Green */
    color: #ffffff !important;
    border-radius: 4px;
    padding: 2px 6px;
}

.price-down {
    background-color: #ef4444 !important;
    /* Strong Red */
    color: #ffffff !important;
    border-radius: 4px;
    padding: 2px 6px;
}

/* Tables and Panels */
.panel {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 16px;
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-gold);
}

/* Custom Table Design */
.custom-table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.custom-table th {
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-soft);
}

.custom-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.95rem;
    font-weight: 500;
}

.custom-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-info {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ca8a04 100%);
    color: var(--bg-primary);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background-color: rgba(234, 179, 8, 0.05);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* Styled Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* Auth Pages Styling */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    background-color: var(--bg-primary);
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 0 40px rgba(234, 179, 8, 0.05);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo img {
    height: 120px;
    width: auto;
    max-width: 100%;
    margin-bottom: 12px;
    object-fit: contain;
}

.auth-brand {
    text-align: center;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-gold {
    color: var(--accent-gold);
}

.brand-silver {
    color: #70747a;
}

body.dark-mode .brand-silver {
    color: #9ca3af;
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.2);
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border-color: rgba(34, 197, 94, 0.2);
}

/* Profile Card Styling */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
}

@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-avatar-large {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ca8a04 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-primary);
    margin-bottom: 20px;
    box-shadow: 0 10px 15px -3px rgba(234, 179, 8, 0.2);
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.profile-joined {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.profile-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid var(--border-soft);
    padding-top: 24px;
}

.profile-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-stat-val {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
}

/* Bank Account Cards styling */
.bank-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.bank-card {
    height: 200px;
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.bank-card-overlay {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 10rem;
    opacity: 0.05;
    pointer-events: none;
}

.bank-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.bank-logo-icon {
    font-size: 2rem;
}

.bank-card-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bank-card-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin: 16px 0;
}

.bank-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.bank-holder-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.bank-holder-value {
    font-size: 0.95rem;
    font-weight: 600;
}

.bank-code-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.bank-code-value {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Timeline/Updates styling */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 2px;
    background-color: var(--border-soft);
}

.timeline-item {
    position: relative;
    margin-bottom: 28px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    border: 2px solid var(--bg-secondary);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.timeline-content {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer layout */
.footer-bar {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-soft);
    padding: 20px 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive side toggle */
.side-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-wrapper {
        margin-left: 0;
    }

    .side-toggle {
        display: block;
    }

    .header-bar {
        padding: 0 16px;
    }

    .content-body {
        padding: 16px;
    }
}

/* --- SCREENSHOT LAYOUT ENHANCEMENTS --- */
body {
    background-color: #f7f6f2;
    background-image: 
        radial-gradient(rgba(202, 160, 91, 0.28) 1.8px, transparent 1.8px), 
        linear-gradient(180deg, #fbfaf7 0%, #f4f2eb 100%);
    background-size: 26px 26px, 100% 100%;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

body.dark-mode {
    background-color: #060b13;
    background-image: 
        radial-gradient(rgba(202, 160, 91, 0.45) 1.8px, transparent 1.8px), 
        radial-gradient(circle at 50% 0%, #0c1a2d 0%, #060b13 100%);
    background-size: 26px 26px, 100% 100%;
    background-attachment: fixed;
}

/* Top bar marquee */
.top-marquee-bar {
    background-color: #fce7cf;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #a16207;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.marquee-wrapper {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
}

/* Main Header */
.main-portal-header {
    background-color: #091c34;
    border-bottom: 2px solid #ca9f56;
    padding: 16px 20px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.main-logo-img {
    height: 110px;
    width: auto;
    margin-top: -18px;
    margin-bottom: -18px;
    object-fit: contain;
}

.header-info-widgets {
    display: flex;
    gap: 40px;
    align-items: center;
}

.info-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.info-widget i {
    font-size: 1.8rem;
    color: #ca9f56;
}

.widget-label {
    font-size: 0.75rem;
    color: #ca9f56;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.widget-value {
    font-size: 0.95rem;
    font-weight: 700;
}

.widget-value a {
    color: #fff;
    text-decoration: none;
}

.header-apps-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #ca9f56;
    font-weight: 700;
    font-size: 0.8rem;
}

.apps-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation bar */
.portal-nav-bar {
    background-color: #4b6076;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu-list {
    display: flex;
    list-style: none;
}

.nav-menu-item a {
    display: block;
    padding: 14px 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: background-color 0.2s;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-menu-item a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-menu-item.active a {
    background-color: #0c1a2d;
    color: #ca9f56;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
}

.theme-toggle-nav {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-balance {
    color: #fff;
    font-size: 0.9rem;
}

.nav-balance i {
    color: #ca9f56;
    margin-right: 4px;
}

/* Container Wrapper */
.portal-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 90px 20px;
    width: 100%;
    flex: 1;
}

/* Rate Card Grid */
.ss-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .ss-cards-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .header-info-widgets {
        flex-direction: column;
        gap: 15px;
    }

    .nav-inner {
        flex-direction: column;
    }

    .nav-menu-list {
        flex-wrap: wrap;
        width: 100%;
    }

    .nav-menu-item {
        width: 50%;
        text-align: center;
    }

    .nav-menu-item a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.ss-rate-card {
    background-color: #fff;
    border: 2px solid #70889b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.ss-card-header {
    background-color: #70889b;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px;
    text-transform: uppercase;
}

.ss-card-body {
    padding: 16px;
    text-align: center;
    background-color: #fff;
}

.ss-card-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 12px;
}

/* Make rates black/green as in screenshot */
#card-gold-price {
    color: #3f6212;
}

/* Olive green */
#card-silver-price {
    color: #1e293b;
}

/* Dark slate */
#card-inr-price {
    color: #1e293b;
}

.ss-card-hl {
    display: flex;
    justify-content: space-around;
    font-size: 0.95rem;
    color: #475569;
    font-weight: 700;
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
}

/* Custom Table Layout */
.ss-table-panel {
    background-color: #fff;
    border: 2px solid #70889b;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.ss-grid-table {
    width: 100%;
    border-collapse: collapse;
}

.ss-grid-table th {
    background-color: #70889b;
    color: #fff;
    padding: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.ss-grid-table td {
    padding: 14px 12px;
    border-bottom: 1.5px solid #d1d5db;
    border-right: 1.5px solid #d1d5db;
    background-color: #fff;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.05rem;
}

.ss-grid-table tr:last-child td {
    border-bottom: none;
}

.product-name-cell {
    color: #1e293b !important;
    font-size: 1rem !important;
}

.ss-buy-btn {
    display: inline-block;
    background-color: #cca05b;
    color: #fff;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ss-buy-btn:hover {
    background-color: #b58d4a;
}

.ss-highlight-box {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 800;
}

.ss-highlight-box.green-box {
    background-color: #3f6212;
    color: #fff;
}

.ss-grid-table .buy-cell {
    color: #475569;
}

.ss-grid-table .sell-cell {
    color: #0f172a;
}

/* Hide sidebar and sidebar layout wrapper default styles if we are in dashboard pages */
.sidebar {
    display: none !important;
}

.main-wrapper {
    margin-left: 0 !important;
}

.header-bar {
    display: none !important;
}

.content-body {
    display: none !important;
}