/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #1cdb64;
    --primary-hover: #17b352;
    --bg-dark: #16181e;
    --bg-sidebar: #1a1c23;
    --bg-card: #262a34;
    --bg-input: #202329;
    --text-main: #ffffff;
    --text-muted: #8d939e;
    --border-color: #2F343E;

    --sidebar-width: 260px;
    --header-height: 74px;
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 14px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #3a3f4b;
    border-radius: 4px;
}

/* Utilities */
.btn {
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 24px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary);
    color: #0f1114;
    box-shadow: 0 4px 15px rgba(28, 219, 100, 0.2);
}

.btn-primary:active {
    transform: scale(0.96);
}

.d-none-mobile {
    display: flex;
}

/* Layout */
.app-container {
    display: flex;
    width: 100%;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    width: calc(100% - var(--sidebar-width));
    transition: margin-left 0.3s ease;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 10, 0.62);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 990;
}

body.sidebar-open .sidebar-overlay {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.sidebar-open {
    overflow: hidden;
}

.sidebar .sidebar-profile {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 8px 10px;
}

.sidebar .sidebar-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar-profile-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-profile-meta {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.sidebar-profile-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-profile-rank {
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.sidebar-rank-icon {
    flex-shrink: 0;
}

.sidebar-profile-lvl {
    color: var(--text-muted);
    margin-left: 4px;
    font-weight: 800;
}

/* Header fixes: hide chat toggle and ensure account avatar stays visible */
.top-header .chat-toggle-btn {
    display: none !important;
    /* hide chat toggle to avoid overlap issues */
}

.top-header .user-controls a img {
    position: relative;
    z-index: 1200;
    /* ensure avatar sits above dropdowns/overlays */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.top-header .notification-dropdown {
    right: 10px;
    /* small nudge to avoid covering avatar on small screens */
}

.logo-area {
    margin-bottom: 18px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.logo-link {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.logo-link:hover,
.logo-link:focus,
.logo-link:active {
    text-decoration: none;
    color: inherit;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-image {
    height: 65px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: rgba(28, 219, 100, 0.15);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.close-sidebar-btn {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 20px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.close-sidebar-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
}

.sidebar-nav-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
    margin-right: -6px;
}

.sidebar-nav-scroll::-webkit-scrollbar {
    width: 4px;
}

.nav-group {
    margin-bottom: 26px;
}

.nav-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 8px;
    padding-left: 14px;
    letter-spacing: 0.8px;
    opacity: 0.7;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #9ca3af;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    margin-bottom: 2px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: #f3f4f6;
}

.nav-link.active {
    background-color: rgba(28, 219, 100, 0.15);
    color: var(--primary);
}

.nav-link i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.nav-link-admin {
    color: #ffc107;
}

.nav-link-danger {
    color: #ff6b6b;
}

.nav-link-danger:hover {
    color: #ff8f8f;
    background: rgba(255, 82, 82, 0.12);
}

/* Header */
.top-header {
    height: var(--header-height);
    background-color: rgba(22, 24, 30, 0.9);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.mobile-menu-btn {
    display: none;
    font-size: 20px;
    color: var(--text-main);
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-right: 15px;
}

.search-bar {
    background-color: var(--bg-input);
    border-radius: 12px;
    padding: 0 20px;
    height: 46px;
    display: flex;
    align-items: center;
    width: 400px;
    gap: 12px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.search-bar:focus-within {
    border-color: var(--primary);
    background-color: #252930;
}

.search-bar input {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-weight: 500;
    outline: none;
    width: 100%;
    font-size: 14px;
}

.user-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.balance-display {
    background-color: #21242b;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dashboard & Cards */
.dashboard-view {
    padding: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f3f4f6;
}

/* Footer */
.app-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.2s;
}

.footer-link:hover {
    color: var(--primary);
}



/* Footer */
.app-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.2s;
}

.footer-link:hover {
    color: var(--primary);
}

/* Horizontal Scrolling (Carousel) Support */
.horizontal-scroll-view {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-top: 15px;
    /* Space for hover expansion */
    padding-bottom: 20px;
    /* Space for scrollbar or shadow */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.horizontal-scroll-view::-webkit-scrollbar {
    height: 8px;
    /* Allow visible scrollbar on desktop for usability */
}

.horizontal-scroll-view::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 4px;
}

.horizontal-scroll-view::-webkit-scrollbar-thumb {
    background: #3a3f4b;
    border-radius: 4px;
}

.horizontal-scroll-view::-webkit-scrollbar-thumb:hover {
    background: #4a505e;
}

.horizontal-scroll-view .partner-card {
    width: 150px;
    height: 190px;
    background: var(--card-bg, #1a1d24);
    border-radius: 24px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.partner-card.locked {
    pointer-events: none !important;
    opacity: 0.6;
    filter: grayscale(0.7);
    cursor: default;
}

.network-bonus-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary), #15a84e);
    color: #000;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(28, 219, 100, 0.5);
    z-index: 999;
    border: 2px solid #121418;
    transform: rotate(5deg);
    pointer-events: none;
}

/* Luxury Featured Offer Card - Horizontal & Uniform */
/* New Featured Offer Card System */
.featured-offer-card {
    width: 330px;
    height: 120px;
    background: #1e2128;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.featured-offer-card:hover {
    background: #252932;
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.featured-offer-img-box {
    width: 90px;
    height: 90px;
    min-width: 90px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-offer-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-offer-card:hover .featured-offer-img-box img {
    transform: scale(1.1);
}

.featured-offer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.featured-offer-top {
    display: flex;
    gap: 6px;
    margin-bottom: 5px;
}

.os-badge,
.country-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.country-badge {
    background: rgba(28, 219, 100, 0.1);
    color: var(--primary);
}

.featured-offer-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.featured-offer-cat {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-offer-points {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #000;
    padding: 3px 10px;
    border-radius: 8px;
    width: fit-content;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(28, 219, 100, 0.2);
}

.offer-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.partner-logo-bg {
    width: 100%;
    height: 110px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.offer-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.offer-category {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.offer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offer-reward {
    color: var(--primary);
    font-weight: 900;
    font-size: 16px;
    letter-spacing: -0.5px;
}

.rating-badge {
    font-size: 10px;
    font-weight: 700;
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    padding: 1px 6px;
    border-radius: 4px;
}

/* Luxury Partner Card Bases */
.partner-card {
    width: 150px;
    height: 190px;
    background: var(--card-bg, #1a1d24);
    border-radius: 24px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.partner-card.locked {
    pointer-events: none !important;
    opacity: 0.6;
    filter: grayscale(0.7);
    cursor: default;
}

.partner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.partner-logo-bg {
    width: 100%;
    height: 110px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.partner-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(28, 219, 100, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #000;
    font-size: 9px;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(28, 219, 100, 0.3);
}

.partner-logo {
    max-width: 85px;
    max-height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo {
    max-width: 85px;
    max-height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.partner-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.partner-name {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.partner-rating {
    font-size: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.stars-container {
    color: #ffd700;
    font-size: 12px;
    display: flex;
    gap: 4px;
}

/* Locked Partner (Visible but with Overlay) */
.partner-card.locked {
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.partner-card.locked .partner-content {
    opacity: 0.4;
    transition: opacity 0.3s;
}

.partner-lock-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: backdrop-filter 0.3s;
}

.partner-card.locked:hover .partner-lock-wrap {
    backdrop-filter: blur(2px);
}

.lock-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.lock-lvl {
    font-weight: 900;
    font-size: 12px;
    color: #fff;
    background: #ff5252;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 1px;
}


/* Media Queries for Mobile */
@media (min-width: 993px) {
    .sidebar-overlay {
        display: none !important;
    }

    body.sidebar-open {
        overflow: auto;
    }
}

@media (max-width: 992px) {
    :root {
        --sidebar-width: 0px;
        /* Sidebar hidden by default */
    }

    .sidebar {
        transform: translateX(calc(-100% - 28px));
        width: min(84vw, 300px);
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        box-shadow: 10px 0 34px rgba(0, 0, 0, 0.55);
        z-index: 1100;
        padding: 20px 14px calc(14px + env(safe-area-inset-bottom));
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .close-sidebar-btn {
        display: inline-flex;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-right: 0;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .search-bar {
        width: auto;
        flex: 1;
        margin: 0 15px;
    }

    .top-header {
        padding: 0 15px;
    }

    .dashboard-view {
        padding: 20px 15px;
    }

    .logo-area {
        padding: 0 4px;
        margin-bottom: 16px;
    }

    .sidebar-nav-scroll {
        padding-right: 4px;
        margin-right: -4px;
        padding-bottom: 10px;
    }

    .nav-group {
        margin-bottom: 22px;
    }

    .sidebar .sidebar-profile {
        margin-top: 12px;
        padding: 14px 4px calc(8px + env(safe-area-inset-bottom));
    }

    .d-none-mobile {
        display: none;
    }

    /* On mobile, standard grid fallback or scroll view adjustments */
    .horizontal-scroll-view .offer-card {
        min-width: 200px;
    }
}

@media (max-width: 480px) {

    .user-controls span,
    .user-controls .btn-primary {
        /* Simplify header elements on super small screens */
    }

    .balance-display span:nth-child(2) {
        display: inline-block !important;
    }

    .balance-display span:last-child {
        display: none !important;
    }

    .search-bar {
        display: none;
        /* Hide search on tiny screens to save space? Or make it an icon click. */
    }
}

/* Withdraw Page Specifics */
.withdraw-section-split {
    margin-bottom: 40px;
}

/* Withdraw Grid */
.withdraw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .withdraw-grid {
        grid-template-columns: 1fr 1fr;
        /* Force 2 columns on mobile */
        gap: 10px;
    }
}

.withdraw-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.withdraw-card:hover {
    transform: translateY(-5px);
    background: #2d323e;
    border-color: rgba(28, 219, 100, 0.3);
}

.withdraw-icon-wrapper {
    width: 70px;
    /* Specific smaller size */
    height: 70px;
    border-radius: 14px;
    background: #1a1c23;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.withdraw-icon {
    font-size: 28px;
    color: #fff;
    z-index: 2;
}

.withdraw-info {
    text-align: center;
    width: 100%;
}

.withdraw-name {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
    color: #fff;
}

.withdraw-min {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Bonus Badge */
.bonus-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1cdb64;
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(28, 219, 100, 0.2);
}

/* Withdraw Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #21242b;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-icon-box {
    width: 50px;
    height: 50px;
    background: #2a2e37;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.amount-option {
    background: #2a2e37;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 700;
}

.amount-option:hover {
    background: #323640;
}

.amount-option.selected {
    border-color: var(--primary);
    background: rgba(28, 219, 100, 0.1);
    color: var(--primary);
}

/* Leaderboard Premium Styles */
.leaderboard-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.leaderboard-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--primary);
}

/* Podium */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 60px;
    padding-top: 20px;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.podium-avatar-box {
    position: relative;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.podium-item:hover .podium-avatar-box {
    transform: translateY(-5px);
}

.podium-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #2a2e37;
    object-fit: cover;
    background: #2a2e37;
}

.crown-icon {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: #ffc107;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.6));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.podium-rank-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2a2e37;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.podium-username {
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    font-size: 15px;
}

.podium-bar {
    width: 100px;
    background: linear-gradient(180deg, #262a34 0%, rgba(38, 42, 52, 0.5) 100%);
    border-radius: 12px 12px 0 0;
    position: relative;
    border-top: 4px solid #3a3f4b;
    transition: height 1s ease-out;
}

/* 1st Place Specifics */
.place-1 .podium-avatar {
    width: 90px;
    height: 90px;
    border-color: #ffc107;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.3);
}

.place-1 .podium-bar {
    height: 160px;
    border-top-color: #ffc107;
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.15) 0%, rgba(38, 42, 52, 0) 100%);
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.1);
}

.place-1 .podium-rank-badge {
    background: #ffc107;
    color: #000;
    border-color: #ffc107;
}

/* 2nd Place */
.place-2 .podium-avatar {
    border-color: #c0c0c0;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.2);
}

.place-2 .podium-bar {
    height: 110px;
    border-top-color: #c0c0c0;
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.1) 0%, rgba(38, 42, 52, 0) 100%);
}

.place-2 .podium-rank-badge {
    background: #c0c0c0;
    color: #000;
    border-color: #c0c0c0;
}

/* 3rd Place */
.place-3 .podium-avatar {
    border-color: #cd7f32;
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.2);
}

.place-3 .podium-bar {
    height: 80px;
    border-top-color: #cd7f32;
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.1) 0%, rgba(38, 42, 52, 0) 100%);
}

.place-3 .podium-rank-badge {
    background: #cd7f32;
    color: #000;
    border-color: #cd7f32;
}


/* Leader List */
.leader-list-container {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.leader-row {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-radius: 12px;
    transition: background 0.2s;
    margin-bottom: 4px;
}

.leader-row:hover {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.rank-text {
    width: 60px;
    font-weight: 800;
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 1px;
}

.user-info-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.list-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2a2e37;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

/* Live Activity Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    margin-bottom: 30px;
    border-radius: 12px;
    position: relative;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
    display: flex;
    gap: 15px;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    background: #2a2e37;
    border-radius: 50px;
    padding: 6px 16px 6px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 200px;
}

.ticker-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3a3f4b;
}

.ticker-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.ticker-user {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
}

.ticker-action {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ticker-reward {
    color: var(--primary);
}

.ticker-withdraw {
    color: #f6d365;
    font-weight: 800;
}

.podium-score {
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 5px;
    opacity: 0.9;
}

.text-success {
    color: var(--primary);
}

.text-warning {
    color: #ffc107;
}

.leader-earned {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

/* Survey & Video Section Specifics */
.section-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 10px;
}

.icon-survey {
    background: rgba(64, 196, 255, 0.15);
    color: #40c4ff;
}

.icon-video {
    background: rgba(255, 82, 82, 0.15);
    color: #ff5252;
}

/* Chat Sidebar */
.chat-sidebar {
    position: fixed;
    right: -340px;
    top: 0;
    width: 340px;
    height: 100vh;
    background: #111317;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
}

.chat-sidebar.active {
    right: 0;
}

.chat-header {
    padding: 24px 20px;
    background: #1a1d23;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
}

.online-count {
    font-size: 11px;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.online-count::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--primary);
}

.close-chat-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-chat-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.chat-message {
    display: flex;
    gap: 12px;
    animation: chatMessageAppear 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes chatMessageAppear {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.03);
}

.chat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 85%;
}

.chat-user {
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-user.admin {
    color: #f87171;
}

.chat-text {
    background: #1e2128;
    padding: 10px 14px;
    border-radius: 2px 14px 14px 14px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.02);
    word-break: break-word;
}

.chat-message.self {
    flex-direction: row-reverse;
}

.chat-message.self .chat-text {
    background: rgba(28, 219, 100, 0.05);
    border-color: rgba(28, 219, 100, 0.1);
    border-radius: 14px 2px 14px 14px;
    color: #fff;
}

.chat-message.self .chat-user {
    flex-direction: row-reverse;
    color: var(--primary);
}

.chat-input-area {
    padding: 20px;
    background: #1a1d23;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    background: #0f1115;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px 4px 4px 14px;
    transition: border-color 0.2s;
}

.chat-input-wrapper:focus-within {
    border-color: var(--primary);
}

#chatInput {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    font-size: 14px;
    padding: 10px 0;
}

.chat-send-btn {
    background: var(--primary);
    color: #000;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(28, 219, 100, 0.3);
}

.chat-send-btn:active {
    transform: scale(0.92);
}

.chat-footer-note {
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.6;
}

/* History Tables & Stats */
.history-section {
    margin-top: 40px;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.table-responsive {
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.custom-table th {
    text-align: left;
    padding: 12px 15px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-table td {
    padding: 15px;
    font-size: 14px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-completed {
    background: rgba(28, 219, 100, 0.1);
    color: var(--primary);
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.status-rejected {
    background: rgba(255, 82, 82, 0.1);
    color: #ff5252;
}

/* Account Page Specifics */
.account-page-title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.2px;
}

.account-alert {
    margin-bottom: 18px;
    border-radius: 12px;
    padding: 12px 14px;
    border: 1px solid transparent;
    font-weight: 600;
}

.account-alert-error {
    background: rgba(255, 82, 82, 0.08);
    border-color: rgba(255, 82, 82, 0.22);
    color: #ff7b7b;
}

.account-alert-success {
    background: rgba(28, 219, 100, 0.08);
    border-color: rgba(28, 219, 100, 0.22);
    color: #73f0a2;
}

.account-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    margin-bottom: 34px;
}

.profile-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.profile-avatar-big {
    width: 112px;
    height: 112px;
    border-radius: 28px;
    margin-bottom: 12px;
    border: 3px solid var(--primary);
    box-shadow: 0 12px 26px rgba(28, 219, 100, 0.2);
}

.account-profile-name {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    margin-bottom: 3px;
    line-height: 1.15;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-profile-email {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    word-break: break-word;
}

.account-stats-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.account-stat-card {
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 13px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.account-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.account-stat-value {
    font-weight: 800;
    font-size: 16px;
    color: var(--primary);
    margin-top: 0;
    text-align: right;
}

.settings-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 28px 34px;
    border: 1px solid var(--border-color);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.settings-section-title {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 700;
    margin-bottom: 16px;
}

.settings-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin: 26px 0 22px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: 10px;
    color: #fff;
    outline: none;
    transition: 0.2s;
    min-height: 46px;
}

.settings-section .btn.btn-primary {
    min-width: 162px;
    padding: 11px 20px;
    border-radius: 10px;
}

.form-control:focus {
    border-color: var(--primary);
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.history-grid .history-section {
    margin-top: 0;
}

.history-grid .section-title {
    font-size: 18px;
    margin-bottom: 14px;
}

.history-icon {
    color: var(--primary);
    margin-right: 10px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
}

.status-pill.status-completed {
    background: rgba(28, 219, 100, 0.12);
    color: var(--primary);
}

.status-pill.status-pending {
    background: rgba(255, 193, 7, 0.12);
    color: #ffc107;
}

.status-pill.status-rejected {
    background: rgba(255, 82, 82, 0.12);
    color: #ff7b7b;
}

.table-main-text {
    font-weight: 700;
}

.table-sub-text {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.table-muted {
    color: var(--text-muted);
    font-size: 13px;
}

.table-points {
    color: var(--primary);
    font-weight: 700;
}

.network-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #d4d8de;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.empty-row {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
}

@media (max-width: 1200px) {
    .history-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .account-page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .profile-card,
    .settings-card,
    .history-section {
        padding: 22px;
    }

    .account-profile-name {
        font-size: 32px;
    }

    .settings-section .btn.btn-primary {
        width: 100%;
    }

    .settings-section-title {
        font-size: 28px;
    }
}

/* Network Modal Styles */
.network-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 14, 0.9);
    backdrop-filter: blur(15px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content-wrap {
    background: #1a1d24;
    width: 95%;
    height: 90vh;
    max-width: 1200px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.95) translateY(20px);
    opacity: 0;
}

.network-modal.active .modal-content-wrap {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-content-wrap.fullscreen {
    width: 100%;
    height: 100vh;
    max-width: 100%;
    border-radius: 0;
    padding: 0;
}

.modal-header {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1e222a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-controls {
    display: flex;
    gap: 12px;
}

.modal-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.modal-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-btn.close-btn:hover {
    background: rgba(255, 82, 82, 0.2);
    color: #ff5252;
    border-color: rgba(255, 82, 82, 0.2);
}

.iframe-wrapper {
    flex: 1;
    background: #fff;
    position: relative;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Premium Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(30, 33, 40, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    min-width: 300px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
}

.toast.active {
    transform: translateX(0);
}

.toast-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: rgba(28, 219, 100, 0.15);
    color: var(--primary);
}

.toast-error .toast-icon {
    background: rgba(255, 82, 82, 0.15);
    color: #ff5252;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 12px;
    color: var(--text-muted);
}