:root {
    --primary-blue: #0047c3;
    --primary-blue-gradient: linear-gradient(135deg, #002b80, #005ce6);
    --bg-color: #f4f6f9;
    --card-bg: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #6b7280;
    --text-blue: #0050d5;
    --text-green: #059669;
    --text-danger: #dc2626;
    --text-warning: #d97706;
    --border-color: #e5e7eb;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #e5e5e5;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.app-container {
    width: 100%;
    max-width: 480px; /* Mobile layout constraints for desktop */
    background-color: var(--bg-color);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.view {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.view.active-view {
    display: block;
}

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

/* Typography Helpers */
.text-blue { color: var(--text-blue); }
.text-green { color: var(--text-green); }
.text-danger { color: var(--text-danger); }
.text-warning { color: var(--text-warning); }
.text-gray { color: var(--text-muted); }
.text-white { color: #fff; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

/* Buttons & Inputs */
.btn-primary {
    background: var(--primary-blue-gradient);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.1s;
}
.btn-primary:active {
    transform: scale(0.98);
}
.full-width { width: 100%; }
.center-btn { display: block; margin: 15px auto 0; }

.btn-sm {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.input-group {
    background: var(--bg-color);
    border-radius: var(--border-radius-md);
    padding: 4px 12px;
    border: 1px solid var(--border-color);
}
.input-group input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-main);
    outline: none;
}
.input-group.center-input input {
    text-align: center;
    font-weight: 600;
    font-size: 18px;
}

/* Common Cards */
.white-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin: 15px;
}
.blue-card {
    background: var(--primary-blue-gradient);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    margin: 15px;
    box-shadow: var(--shadow-md);
}

/* Header Styles */
.home-header, .team-header, .mine-header {
    background: var(--primary-blue-gradient);
    color: white;
    padding: 40px 20px 80px 20px; /* Extra bottom padding for overlap */
    text-align: center;
}
.logo-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.logo-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0.9;
}
.page-title {
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px;
}
.page-header {
    background: var(--primary-blue-gradient);
    color: white;
    padding: 20px;
    text-align: center;
}
.page-header h2 { font-size: 20px; font-weight: 600; }

/* Overlap Cards */
.overlap-card {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

/* --- HOME VIEW --- */
.home-main-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    margin: -40px 15px 15px 15px;
    padding: 20px 10px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}
.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 0;
}
.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background-color: var(--primary-blue);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-bottom: 8px;
    transition: transform 0.2s;
}
.action-item:active .icon-circle { transform: scale(0.9); }
.action-item span {
    font-size: 12px;
    font-weight: 500;
}

.banner {
    background: var(--primary-blue-gradient);
    color: white;
    margin: 0 15px 15px 15px;
    padding: 12px;
    border-radius: var(--border-radius-md);
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

.product-list {
    padding: 0 15px;
}
.product-list.p-top {
    padding-top: 15px;
}
.product-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    box-shadow: var(--shadow-sm);
}
.product-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-md);
    background-color: #111;
    flex-shrink: 0;
    /* Simulated 3D objects with gradients */
    position: relative;
    overflow: hidden;
}
/* Mock images using CSS */
.espn1 { background: radial-gradient(circle at 30% 30%, #ff4d4d, #800000); }
.espn2 { background: radial-gradient(circle at 30% 30%, #ff1a1a, #660000); }
.espn3 { background: radial-gradient(circle at 30% 30%, #e6e6e6, #4d4d4d); }
.espn8 { background: radial-gradient(circle at 30% 30%, #e6e6e6, #4d4d4d); }

.product-details {
    flex-grow: 1;
}
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}
.product-header h3 {
    font-size: 16px;
    font-weight: 700;
}
.product-price {
    text-align: right;
}
.product-price .usd {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-blue);
}
.product-price .pkr {
    font-size: 11px;
    color: var(--text-muted);
}
.product-stats {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.product-stats .text-green { font-weight: 600; }
.product-details button { margin-top: 8px; }

/* --- TEAM VIEW --- */
.grow-network h3 {
    font-size: 22px;
    margin-bottom: 5px;
}
.grow-network p {
    font-size: 14px;
    opacity: 0.9;
}
.invite-card { margin-top: -30px; }
.invite-card h4 { margin-bottom: 12px; font-size: 16px; }

.summary-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.summary-item .label { font-size: 12px; opacity: 0.8; margin-bottom: 4px; }
.summary-item .value { font-size: 16px; font-weight: 600; }

.tabs-3 {
    display: flex;
    gap: 10px;
    margin: 0 15px;
}
.tab-btn {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 24px;
    background: var(--card-bg);
    color: var(--text-main);
    font-weight: 500;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.tab-btn.active {
    background: var(--primary-blue);
    color: white;
}
.tab-btn.filled {
    background: var(--primary-blue);
    color: white;
}
.tab-btn.filled-light {
    background: #eef2ff;
    color: var(--text-main);
    box-shadow: none;
}
.empty-state {
    color: var(--text-muted);
    font-size: 14px;
    padding: 30px;
}

.team-members-list {
    padding: 10px 20px;
}
.team-member-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.team-member-item:last-child {
    border-bottom: none;
}
.avatar-sm {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}
.member-info {
    flex-grow: 1;
}
.member-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
}
.member-info p {
    font-size: 12px;
    color: var(--text-muted);
}
.vip-badge {
    background: #fef3c7;
    color: #d97706;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
}

.history-section { margin: 20px 15px; }
.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}
.history-list {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}
.history-item {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.history-item:last-child { border-bottom: none; }
.history-info h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.history-info .date { font-size: 12px; color: var(--text-muted); }
.history-amount { font-weight: 600; font-size: 15px; }

/* --- MINE VIEW --- */
.profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 20px;
}
.avatar {
    width: 60px;
    height: 60px;
    background-color: #f59e0b;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}
.profile-info p { font-size: 13px; line-height: 1.6; opacity: 0.9; }
.profile-info p:first-child { font-size: 15px; margin-bottom: 4px; opacity: 1; }
.profile-info .text-green { font-weight: 600; color: #34d399; }

.stats-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
}
.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.stat-item.border-right { border-right: 1px solid var(--border-color); }
.stat-value { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.stat-label { font-size: 11px; color: var(--text-muted); }

.balances-wrapper {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 15px;
    margin: 15px;
    box-shadow: var(--shadow-sm);
}
.balances-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.balance-card {
    background: #f4f6fb;
    border-radius: var(--border-radius-md);
    padding: 15px;
    display: flex;
    flex-direction: column;
}
.balance-label { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.balance-value { font-size: 15px; font-weight: 700; }

.links-list { margin: 15px; display: flex; flex-direction: column; gap: 10px; }
.link-item {
    background: #002b80;
    color: white;
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.link-item.light {
    background: var(--card-bg);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}
.link-left { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.link-right { font-size: 12px; opacity: 0.7; }

/* --- OVERLAYS --- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 100;
    display: none; /* hidden by default */
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.overlay.active-overlay { display: block; }

.overlay-header {
    background: var(--primary-blue-gradient);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}
.overlay-header h2 { font-size: 18px; font-weight: 600; }
.back-btn {
    position: absolute;
    left: 20px;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}
.overlay-header-transparent {
    position: absolute;
    top: 0; left: 0; width: 100%;
    padding: 20px;
    z-index: 110;
}
.overlay-content { padding: 15px; padding-bottom: 40px; }

/* Withdraw specific */
.withdraw-fee-banner {
    background: #fff3cd;
    color: #856404;
    padding: 12px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.amount-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}
.amount-card.active {
    background: var(--primary-blue);
    color: white;
}
.amount-card .pkr { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.amount-card .usd { font-size: 12px; color: var(--text-muted); }
.amount-card.active .usd { color: rgba(255,255,255,0.8); }

.receiving-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}
.receive-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.receive-row:last-child { border-bottom: none; }
.highlight-row { background: #eef2ff; }
.usd-sm { font-size: 12px; font-weight: normal; opacity: 0.8; }

.policy-card {
    background: #fff8e1;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    font-size: 13px;
    color: #4a4a4a;
    line-height: 1.6;
}
.policy-card p { margin-bottom: 8px; }
.policy-card ul { margin-left: 20px; margin-top: 5px; }
.policy-card li { margin-bottom: 4px; }

/* Bank Card specific */
.account-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.account-info h4 { font-size: 15px; margin-bottom: 4px; }
.account-info p { font-size: 13px; color: var(--text-muted); }
.fa-trash-can { cursor: pointer; padding: 10px; font-size: 18px; }

/* Gift specific */
.error-banner {
    background: #fee2e2;
    color: var(--text-danger);
    padding: 15px;
    margin: 60px 15px 0 15px;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    font-size: 14px;
}
.gift-hero {
    text-align: center;
    margin-top: 15px;
}
.gift-icon-large {
    font-size: 48px;
    margin-bottom: 10px;
}
.gift-hero h2 { font-size: 22px; margin-bottom: 8px; }
.gift-hero p { font-size: 13px; opacity: 0.9; }
.recent-claim {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* --- BOTTOM NAVIGATION --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 50;
    border-top: 1px solid var(--border-color);
}

/* Match the app-container width for absolute positioning inside */
@media (min-width: 480px) {
    .bottom-nav, .overlay {
        left: 50%;
        transform: translateX(-50%);
        width: 480px;
    }
    @keyframes slideUp {
        from { transform: translate(-50%, 100%); }
        to { transform: translate(-50%, 0); }
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 11px;
    gap: 4px;
}
.nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}
.nav-item.active {
    color: var(--text-blue);
}

.bottom-padding { height: 80px; }

/* --- LAPTOP / DESKTOP VIEW --- */
@media (min-width: 1024px) {
    body {
        justify-content: flex-start;
        background-color: var(--bg-color);
    }
    
    .desktop-sidebar {
        width: 280px;
        height: 100vh;
        position: fixed;
        left: 0;
        top: 0;
        background: #0f172a;
        color: white;
        display: flex;
        flex-direction: column;
        z-index: 50;
        box-shadow: 4px 0 15px rgba(0,0,0,0.05);
    }
    .sidebar-header {
        padding: 30px 25px;
        font-size: 24px;
        font-weight: 800;
        letter-spacing: 1px;
        border-bottom: 1px solid #1e293b;
        color: #fff;
    }
    .sidebar-nav {
        padding: 25px 15px;
        flex-grow: 1;
    }
    .sidebar-link {
        display: flex;
        align-items: center;
        padding: 14px 20px;
        color: #94a3b8;
        text-decoration: none;
        font-weight: 600;
        border-radius: 12px;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }
    .sidebar-link i {
        width: 24px;
        font-size: 20px;
        margin-right: 14px;
    }
    .sidebar-link:hover {
        background: #1e293b;
        color: white;
        transform: translateX(4px);
    }
    .sidebar-link.active {
        background: var(--primary-blue-gradient);
        color: white;
        box-shadow: 0 4px 12px rgba(0, 92, 230, 0.3);
    }
    .sidebar-footer {
        padding: 25px;
        border-top: 1px solid #1e293b;
    }
    .logout-btn {
        width: 100%;
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.2);
        color: #ef4444;
        text-align: center;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        padding: 12px;
        border-radius: 12px;
        transition: all 0.2s;
    }
    .logout-btn:hover { background: #ef4444; color: white; }

    .main-wrapper {
        margin-left: 280px;
        width: calc(100% - 280px);
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        background-color: #f8fafc;
    }

    .desktop-header {
        height: 80px;
        background: white;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 40px;
        position: sticky;
        top: 0;
        z-index: 40;
        box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    }
    .header-left h2 { font-size: 20px; font-weight: 700; color: var(--text-main); }
    .header-right { display: flex; align-items: center; gap: 24px; }
    .header-balance {
        background: #f1f5f9;
        padding: 10px 20px;
        border-radius: 24px;
        font-size: 15px;
        border: 1px solid #e2e8f0;
    }
    .header-balance .label { color: var(--text-muted); margin-right: 6px; }
    .header-balance .value { font-weight: 800; color: var(--primary-blue); }
    .header-user { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; cursor: pointer; }
    .user-avatar {
        width: 40px; height: 40px;
        border-radius: 20px;
        background: var(--primary-blue-gradient);
        color: white;
        display: flex; justify-content: center; align-items: center;
        font-weight: bold;
        font-size: 16px;
        box-shadow: 0 4px 10px rgba(0, 92, 230, 0.2);
    }

    .app-container {
        max-width: 1100px;
        width: 100%;
        margin: 0 auto;
        box-shadow: none;
        background: transparent;
        padding: 30px 40px 60px 40px;
    }

    /* Hide mobile headers/bottom navs */
    .bottom-nav { display: none !important; }
    .home-header, .team-header, .mine-header { display: none; }
    .page-header { border-radius: var(--border-radius-lg); margin-bottom: 25px; padding: 25px; box-shadow: var(--shadow-sm); }
    .overlap-card { margin-top: 0; }
    .home-main-card { margin: 0 0 30px 0; padding: 30px; box-shadow: var(--shadow-sm); border-radius: 20px; }

    /* Expand UI Grids */
    .action-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .action-item { padding: 15px; border-radius: 16px; transition: transform 0.2s, background 0.2s; }
    .action-item:hover { transform: translateY(-3px); background: #f8fafc; }
    .action-item .icon-circle { width: 56px; height: 56px; font-size: 24px; margin-bottom: 12px; }
    .action-item span { font-size: 14px; font-weight: 600; }

    .product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding: 0; }
    .product-list.p-top { padding-top: 0; }
    .product-card { margin-bottom: 0; height: 100%; transition: transform 0.3s, box-shadow 0.3s; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-color); }
    .product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
    
    .history-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; background: transparent; box-shadow: none; }
    .history-item { background: var(--card-bg); border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); padding: 20px; transition: transform 0.2s; }
    .history-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
    
    .balances-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .balance-card { padding: 20px; border-radius: 16px; transition: transform 0.2s; }
    .balance-card:hover { transform: translateY(-3px); }
    
    .links-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; }
    .links-list .action-item { background: var(--card-bg); border: 1px solid var(--border-color); }
    
    .amount-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; }
    .amount-card { padding: 20px 10px; border-radius: 16px; }
    
    .accounts-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
    .account-card { margin-bottom: 0; padding: 20px; border-radius: 16px; border: 1px solid var(--border-color); }

    .team-content { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
    .team-summary, .invite-card { margin: 0; height: 100%; }
    .tabs-3 { grid-column: 1 / -1; margin-top: 10px; }
    .team-members-list { grid-column: 1 / -1; margin: 0; }

    /* Modals for overlays on Desktop */
    .overlay {
        left: 0; transform: none; width: 100%; height: 100vh;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    .overlay.active-overlay { display: flex !important; }
    .overlay-content-wrapper {
        background: var(--bg-color);
        width: 650px;
        max-width: 90%;
        max-height: 85vh;
        border-radius: 24px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    }
    .overlay-content { overflow-y: auto; padding: 30px; flex-grow: 1; }
    .overlay-header { border-radius: 24px 24px 0 0; padding: 25px 30px; }
    .overlay-header h2 { font-size: 20px; font-weight: 700; }
    @keyframes slideUp { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
}
