﻿:root {
    --primary-green: #042b61;
    --hover-green: #1f62bf;
    --primary-green-rgb: 4, 43, 97;
    --hover-green-rgb: 31, 98, 191;

    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    height: 100%;
    /* Offset for sticky navbar */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1140px;
    /* Standard bootstrap width */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.navbar {
    background: white;
    height: 70px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 9999;
    /* Very high to avoid overlap */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 22px;
    font-weight: 500;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.sidebar-header,
.sidebar-auth,
.nav-links a i {
    display: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
    font-weight: 600;
}

.btn-signin {
    border: 1px solid var(--primary-green);
    /* Thinner border */
    color: var(--primary-green);
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-signin:hover {
    background: var(--primary-green);
    color: white;
}

.menu-toggle {
    display: none;
}

.nav-overlay {
    display: none;
}

/* Hero Banner */
.hero-banner {
    background: var(--primary-green);
    background: linear-gradient(100deg, var(--hover-green), var(--primary-green));
    padding: 40px 0;
    color: white;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 1140px;
}

.hero-text-wrapper {
    padding: 0 30px;
}

.hero-text-wrapper h1 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Cards & Sections */
.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.mt-2 {
    margin-top: 12px;
}

.mt-4 {
    margin-top: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: none;
    /* Removed line for cleaner look */
    padding-bottom: 0;
}

.section-header h2 {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
}

.text-green {
    color: var(--primary-green);
}

.view-link {
    font-size: 13px;
    color: var(--primary-green);
    font-weight: 600;
}

/* Top Up Grid */
.top-up-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.stock-panel {
    background: #fcfcfc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
}

.stock-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
}

.stock-amount {
    color: var(--primary-green);
    font-weight: 500;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.btn-primary:hover {
    background: var(--hover-green);
    transform: translateY(-1px);
}

.quick-select-panel {
    border: none;
    padding: 0;
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.panel-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: #444;
}

.arrows {
    display: flex;
    gap: 12px;
    align-items: center;
}

.arrows i {
    color: var(--primary-green);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 6px;
}

.arrows i:hover {
    color: var(--hover-green);
    transform: scale(1.2);
}

.robux-options {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px;
    /* Space for hover shadows */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scroll-behavior: smooth;
}

.robux-options::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.robux-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-width: 140px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    /* Icon on top looks cleaner */
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.robux-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.robux-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.robux-card span {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-color);
}

/* Footer */
.footer {
    background: white;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    flex-shrink: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .footer-logo {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 350px;
}

.copyright {
    font-size: 12px;
    color: #aaa;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.link-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #222;
}

.link-column ul li {
    margin-bottom: 12px;
}

.link-column ul li a {
    color: var(--text-muted);
    font-size: 13px;
    transition: color 0.2s;
}

.link-column ul li a:hover {
    color: var(--primary-green);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f1f3f5;
    border-radius: 50%;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
}

.social-icons a:hover {
    background: var(--primary-green);
    color: white;
}

.payment-section {
    border-top: 1px solid var(--border-color);
    /* Separator */
    padding-top: 30px;
}

.payment-section h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #444;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pay-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    background: white;
    padding: 4px 8px;
    border: 1px solid #eee;
    border-radius: 6px;
    transition: transform 0.2s;
}

.pay-logo:hover {
    transform: scale(1.05);
    border-color: var(--primary-green);
}



.mt-5 {
    margin-top: 40px;
}

@media (max-width: 992px) {
    .navbar {
        height: 70px;
        padding: 0 15px;
    }

    .nav-container {
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        color: var(--text-color);
        cursor: pointer;
        z-index: 10001;
    }

    .logo {
        font-size: 20px;
        margin-left: 10px;
        flex-grow: 1;
        /* Push others to corners if needed */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        /* Better mobile support */
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 20px 150px 20px;
        /* padding-top 80px removed, sidebar-header is now static */
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 10005;
        visibility: hidden;
        /* Hide to prevent focus */
        overflow-y: auto;
        /* Enable scrolling if content is too long */
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll on iOS */
    }

    .nav-links.active {
        left: 0;
        visibility: visible;
    }

    .nav-links a {
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a i {
        display: inline-block;
        width: 24px;
        text-align: center;
        color: var(--primary-green);
    }

    /* Sidebar Header (Logo + Close btn) inside menu */
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
        /* Changed from absolute */
        margin-bottom: 10px;
        /* Add spacing below header */
        padding: 0;
        /* Remove padding as container handles it */
    }

    .sidebar-logo-text {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
        color: var(--primary-green);
        font-size: 18px;
    }

    .sidebar-logo-img {
        height: 32px;
        border-radius: 6px;
    }

    .sidebar-close {
        font-size: 24px;
        color: #888;
        cursor: pointer;
    }

    .sidebar-auth {
        display: block;
        width: 100%;
        margin-top: 20px;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Hide Desktop actions inside sidebar if duplicated, 
       but here we likely want to keep the header sign in button visible 
       or hide it and show the one inside sidebar. 
       Let's keep the header one visible for ease.
    */

    .nav-actions {
        display: block;
        /* Keep Sign In visible on header */
    }

    .top-up-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.navbar {
    background: white;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

.btn-signin {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-signin:hover {
    background: var(--primary-green);
    color: white;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 40px 0;
    color: white;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    /* Add pattern or waves here if desired */
}

/* Make banner look like image inside container if preferred, 
   but CSS gradient is cleaner for now. 
   To match the image strictly: */
.hero-banner {
    background: var(--primary-green) url('https://via.placeholder.com/1200x300/8e24aa/FFFFFF?text=Banner+Graphic') no-repeat center right;
    background-size: cover;
    /* Replacing with pure CSS for reliability */
    background: linear-gradient(90deg, var(--hover-green), var(--primary-green));
    min-height: 250px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    margin-top: 20px;
}

.hero-text-wrapper h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge-item {
    background: white;
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Cards & Sections */
.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.mt-4 {
    margin-top: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.section-header h2 {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-green {
    color: var(--primary-green);
}

.view-link {
    font-size: 14px;
    color: var(--primary-green);
    font-weight: 600;
}

/* Top Up Grid */
.top-up-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
}

.stock-panel {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stock-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 600;
}

.stock-amount {
    color: var(--primary-green);
    font-weight: 700;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--hover-green);
}

.quick-select-panel {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.panel-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.robux-options {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scroll-behavior: smooth;
}

.robux-options::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.robux-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 120px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.robux-card:hover {
    border-color: var(--primary-green);
    background: #e8f5e9;
}

.robux-card i {
    font-size: 20px;
    color: var(--primary-green);
}

.robux-card span {
    font-weight: 700;
    font-size: 14px;
}

/* Coming Soon */
.coming-soon-wrapper {
    position: relative;
    padding: 60px 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.coming-soon-placeholder {
    display: flex;
    gap: 20px;
    filter: blur(8px);
    opacity: 0.3;
    user-select: none;
    pointer-events: none;
    width: 100%;
    justify-content: center;
}

.placeholder-card {
    min-width: 150px;
    height: 180px;
    background: white;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.coming-soon-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.coming-soon-overlay p {
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
}

/* Footer */
.footer {
    background: white;
    padding: 60px 0 30px;
    border-top: 1px solid #eee;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    font-size: 28px;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 400px;
}

.copyright {
    font-size: 12px;
    color: #999;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.link-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.link-column ul li {
    margin-bottom: 10px;
}

.link-column ul li a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.link-column ul li a:hover {
    color: var(--primary-green);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border-radius: 50%;
    color: #555;
    transition: all 0.2s;
}

.social-icons a:hover {
    background: var(--primary-green);
    color: white;
}

.payment-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pay-badge {
    border: 1px solid #eee;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    background: white;
}

.mt-5 {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .top-up-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    /* Header */
    .navbar {
        height: auto;
        padding: 12px 0;
    }

    .nav-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .menu-toggle {
        display: block;
        font-size: 22px;
        color: #333;
        cursor: pointer;
        padding: 10px;
        margin-left: -5px;
        order: -1;
        z-index: 10000;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        /* Force items to the top */
        align-items: flex-start !important;
        position: fixed !important;
        top: 0 !important;
        left: -260px;
        width: 260px !important;
        height: 100vh !important;
        background: #fff !important;
        z-index: 99999 !important;
        /* Extremely high */
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
        transition: 0.3s ease !important;
        box-shadow: 15px 0 40px rgba(0, 0, 0, 0.1) !important;
        border-right: 1px solid #e2e8f0 !important;
        list-style: none !important;
        overflow-y: auto !important;
    }

    .nav-links.active {
        left: 0 !important;
    }

    /* Sidebar Header - Admin Style */
    .sidebar-header {
        padding: 20px 20px 30px 20px !important;
        margin-bottom: 5px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        background: #fff !important;
        border-bottom: none !important;
    }

    .sidebar-logo-img {
        height: 30px;
        border-radius: 6px;
    }

    .sidebar-logo-text {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 800;
        color: var(--primary-green);
        font-size: 1.1rem;
    }

    .sidebar-close {
        font-size: 1.2rem;
        color: #94a3b8;
        cursor: pointer;
        padding: 8px;
        transition: all 0.2s;
    }

    .sidebar-close:hover {
        color: var(--primary-green);
    }

    /* Sidebar Items - Admin Style */
    .nav-links li {
        width: 100% !important;
        padding: 0 15px !important;
        margin-bottom: 5px !important;
    }

    .nav-links li.sidebar-header {
        padding: 20px 20px 30px 20px !important;
        margin-bottom: 0 !important;
    }

    .nav-links li.sidebar-auth {
        margin-top: auto !important;
        padding: 20px 15px 30px !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    .nav-links a {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px 15px !important;
        border-radius: 10px !important;
        color: #64748b !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        transition: all 0.2s !important;
        border-bottom: none !important;
    }

    .nav-links a i {
        display: inline-block !important;
        width: 20px !important;
        text-align: center !important;
        font-size: 1.1rem !important;
        color: #64748b !important;
        opacity: 1 !important;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: #f3e5f5 !important;
        /* var(--primary-light) from admin */
        color: var(--primary-green) !important;
        /* var(--primary) from admin */
    }

    .nav-links a:hover i,
    .nav-links a.active i {
        color: var(--primary-green) !important;
    }

    /* Sidebar Footer Button */
    .sidebar-auth .btn-signin {
        background: var(--primary-green) !important;
        color: #fff !important;
        border: none !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        height: 48px !important;
        border-radius: 12px !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        box-shadow: 0 4px 12px rgba(142, 36, 170, 0.2) !important;
    }

    .nav-overlay {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 99998 !important;
        backdrop-filter: blur(2px) !important;
    }

    .nav-overlay.active {
        display: block !important;
    }

    .nav-actions {
        margin-left: auto;
    }

    .btn-signin {
        padding: 7px 18px;
        font-size: 12px;
        border-radius: 8px;
    }

    .nav-actions {
        margin-left: auto;
        /* Push sign in to right if needed, or adjust */
    }

    /* Hero Banner */
    .hero-banner {
        padding: 30px 20px;
        text-align: center;
    }

    .hero-text-wrapper {
        padding: 0;
    }

    .hero-text-wrapper h1 {
        font-size: 24px;
        /* Smaller font on mobile */
        margin-bottom: 15px;
    }

    .hero-badges {
        justify-content: center;
        gap: 10px;
    }

    .badge-item {
        font-size: 11px;
        padding: 6px 12px;
    }

    /* Main Content */
    .stock-panel,
    .quick-select-panel {
        padding: 15px;
    }

    .stock-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .stock-amount {
        font-size: 18px;
        /* Adjust size if needed */
    }

    /* Footer */
    .footer-links-group {
        grid-template-columns: 1fr 1fr;
    }

    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }

    .footer-brand .footer-logo,
    .footer-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .social-icons {
        justify-content: center;
    }

    .payment-logos {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text-wrapper h1 {
        font-size: 20px;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .link-column h4 {
        margin-top: 10px;
    }
}

/* Strict Mobile Overrides */
@media (max-width: 768px) {
    .btn-primary {
        width: 100% !important;
        box-sizing: border-box;
    }

    .top-up-grid {
        grid-template-columns: 100% !important;
        display: flex;
        flex-direction: column;
    }

    .stock-panel,
    .quick-select-panel {
        width: 100% !important;
        box-sizing: border-box;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* --- Purchase Page Styles (belirobux.php) --- */
.bg-gray {
    background-color: #f4f6f8;
}

.purple-hero {
    background: linear-gradient(135deg, var(--primary-green), #4a148c);
    padding: 60px 0 100px;
    border-radius: 0 0 40px 40px;
    margin-bottom: -60px;
    position: relative;
}

.purple-hero {
    background: linear-gradient(135deg, var(--primary-green), #6a1b9a);
    padding: 80px 0 120px;
    border-radius: 0 0 50px 50px;
    margin-bottom: -60px;
    position: relative;
    color: white;
}

.purple-hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.purple-hero .page-title {
    color: white;
    margin-bottom: 0;
    font-size: 38px;
    font-weight: 900;
    background: transparent;
    -webkit-text-fill-color: white;
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-content-overlap {
    position: relative;
    z-index: 10;
    padding: 0 15px;
}

.page-title {
    color: var(--primary-green);
    font-weight: 900;
    margin-bottom: 30px;
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    font-family: 'Inter', sans-serif;
}

.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
    /* Restored for Sticky Parent */
}

/* Sidebar Column - Standard Positioning */
.right-col {
    height: fit-content;
    /* Sticky removed based on user request */
}

/* Card & Tabs */
.card.no-padding {
    padding: 0;
    overflow: hidden;
}

.tab-header {
    display: flex;
    background: #eee;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-weight: 700;
    color: #777;
    cursor: pointer;
}

.tab-item.active {
    background: white;
    color: var(--primary-green);
    border-top: 3px solid var(--primary-green);
}

.card-body {
    padding: 20px;
}

/* Inputs */
/* Forms & Inputs - Consolidated */
.form-label {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: block;
    color: #444;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fcfaff;
    transition: all 0.3s;
}

.input-with-icon:focus-within {
    border-color: var(--primary-green);
    background: white;
    box-shadow: 0 4px 12px rgba(142, 36, 170, 0.05);
}

.input-with-icon .icon {
    padding-left: 15px;
    font-size: 18px;
    color: #888;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 14px 20px 14px 15px;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    outline: none;
}

/* Price Grid */

/* Sidebar */
.sticky-sidebar {
    position: relative;
}

.total-price-green {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-green);
}

.btn-green-block {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    font-size: 16px;
}

.btn-green-block:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.secure-text {
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Responsive Purchase Page */
@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Modern UI Components & Modals (Updated) --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: rgba(255, 255, 255, 0.95);
    width: 90%;
    max-width: 550px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .modal {
    transform: translateY(0);
}

.modal.small-modal {
    max-width: 350px;
    text-align: center;
}

.modal-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary-green);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

.modal-body-center {
    text-align: center;
}

.modal-body-center h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.modal-body-center p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.video-placeholder {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-play {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(142, 36, 170, 0.3);
}

.btn-play:hover {
    transform: scale(1.1);
    background: var(--hover-green);
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-outline {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #f3e5f5;
}

.btn-green {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(142, 36, 170, 0.2);
}

.btn-green:hover {
    background: var(--hover-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(142, 36, 170, 0.3);
}

/* Spinner & Status Icons */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Custom Alert & Confirm Modals */
.alert-modal {
    background: #fff;
    border-radius: 24px !important;
    padding: 35px !important;
    text-align: center;
    max-width: 420px !important;
    width: 90%;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.25) !important;
    transform: scale(0.9) translateY(20px) !important;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    border: none !important;
}

.modal-backdrop.active .alert-modal {
    transform: scale(1) translateY(0) !important;
    opacity: 1 !important;
}

.alert-icon {
    width: 64px;
    height: 64px;
    background: #fdf2ff;
    color: var(--primary-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.alert-icon.error {
    background: #fff5f5;
    color: #ff5252;
}

.alert-icon.confirm {
    background: #f0fdf4;
    color: #22c55e;
}

.alert-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.alert-message {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.alert-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-confirm-modal {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
    font-size: 0.95rem;
}

.btn-confirm-modal:hover {
    background: var(--hover-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(142, 36, 170, 0.25);
}

.btn-cancel-modal {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
    font-size: 0.95rem;
}

.btn-cancel-modal:hover {
    background: #e2e8f0;
}

/* Enhancements for Existing Elements */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


.user-found {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
}

.avatar-tiny {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none !important;
}

.input-display-elegant {
    background: #fcfaff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 20px;
    /* Adjusted to match .input-with-icon height (~46px) */
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.icon-robux-green {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.icon-robux-green img {
    display: block;
    width: 20px;
}

.input-display-elegant:hover,
.input-display-elegant:focus-within {
    border-color: var(--primary-green);
    background: #fff;
    box-shadow: 0 4px 12px rgba(142, 36, 170, 0.08);
}

.input-transparent {
    border: none !important;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-green);
    outline: none;
    width: 100%;
    letter-spacing: 0.5px;
}

.price-summary-text {
    font-size: 0.85rem;
    color: #888;
    margin: 5px 0 15px;
    font-style: italic;
}

/* Sub-nav & New Tabs */
.sub-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

.tab-switcher-elegant {
    display: flex;
    background: white;
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: fit-content;
}

.tab-btn {
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    background: transparent;
}

.tab-btn.active {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 12px rgba(142, 36, 170, 0.2);
}

.btn-how-to {
    background: white;
    color: #444;
    padding: 10px 25px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-how-to:hover {
    background: #fdf7ff;
    transform: translateY(-2px);
}

/* Variant Cards (Pilih Cepat) */
.variant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.variant-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.variant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(142, 36, 170, 0.1);
    border-color: rgba(142, 36, 170, 0.2);
}

.variant-card.active {
    border: 2px solid var(--primary-green);
    background: #fdf7ff;
    box-shadow: 0 10px 20px rgba(142, 36, 170, 0.15);
}

.variant-info {
    display: flex;
    flex-direction: column;
}

.variant-rbx {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.variant-price {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
}

.variant-icon-bg {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fdf2ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.variant-icon-bg img {
    width: 25px;
}

/* Internal Card Nav */
.card-nav {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 25px;
}

.card-nav-item {
    padding: 12px 30px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.card-nav-item.active {
    color: var(--primary-green);
}

.card-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-green);
}

/* Forms & Inputs */
/* Consolidated above at line 1107 */

.btn-green-block {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: var(--primary-green);
    color: white;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-green-block:disabled {
    background: #e0e0e0;
    cursor: not-allowed;
}

.total-price-green {
    color: var(--primary-green);
    font-weight: 900;
    font-size: 1.5rem;
}

.secure-text {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .variant-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .sub-nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Stepper */
.stepper-elegant {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 30px 0;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #888;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.step-item.active .step-circle {
    border-color: var(--primary-green);
    color: var(--primary-green);
    box-shadow: 0 0 10px rgba(142, 36, 170, 0.2);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #888;
}

.step-item.active .step-label {
    color: #333;
}

.stepper-line {
    position: absolute;
    top: 46px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 1px;
    border-top: 2px dashed #bbb;
    z-index: 0;
}

.stepper-line-fill {
    position: absolute;
    top: 46px;
    left: calc(50% - 125px);
    width: 0;
    height: 1px;
    border-top: 2px dashed var(--primary-green);
    z-index: 1;
    transition: width 0.3s ease;
}

/* Success Banner Modern */
.success-banner-modern {
    background: white;
    border-left: 5px solid var(--primary-green);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    animation: slideDown 0.5s ease-out;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-icon {
    width: 38px;
    height: 38px;
    background: #f8f1ff;
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.banner-text h4 {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.banner-text p {
    font-size: 0.8rem;
    color: #888;
}

.btn-close-banner {
    background: #f8f9fa;
    border: none;
    color: #666;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 8px 15px;
    border-radius: 8px;
    text-transform: uppercase;
}

/* Payment Detail Cards */
.product-info-compact {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.product-img-compact {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.product-img-compact img {
    width: 30px;
}

.product-name-info h4 {
    font-weight: 500;
    font-size: 1rem;
}

.product-name-info p {
    font-size: 0.8rem;
    color: #888;
}

.detail-row-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.detail-label-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-value-modern {
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-green {
    color: var(--primary-green);
    font-weight: 500;
}

/* Coupon & Breakdown */
.coupon-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    position: relative;
}

.coupon-input {
    flex: 1;
    border: none;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    outline: none;
    background: transparent;
}

.btn-cek-kupon {
    color: var(--primary-green);
    font-weight: 500;
    font-size: 0.85rem;
    background: none;
    border: none;
    cursor: pointer;
}

.breakdown-section {
    margin-top: 25px;
    border-top: 1px solid #f8f9fa;
    padding-top: 15px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #666;
}

.total-payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.total-label-sidebar {
    font-weight: 700;
    color: #333;
}

.total-value-sidebar {
    font-weight: 900;
    font-size: 1.25rem;
    color: #333;
}

/* --- Payment Method Modal & Accordions --- */
.payment-modal-body {
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
}

.payment-category {
    border-bottom: 1px solid #f0f0f0;
}

.category-header {
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s;
}

.category-header:hover {
    background: #fdf7ff;
}

.category-title {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
}

.category-icon {
    font-size: 0.8rem;
    color: #999;
    transition: transform 0.3s;
}

.payment-category.active .category-icon {
    transform: rotate(180deg);
}

.category-content {
    display: none;
    background: #fff;
}

.payment-category.active .category-content {
    display: block;
}

.payment-item {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #fafafa;
}

.payment-item:hover {
    background: #fdfaff;
}

.payment-item.selected {
    background: #f8f1ff;
}

.payment-item-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    font-size: 1.2rem;
    color: var(--primary-green);
    overflow: hidden;
}

.payment-item-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-item-info {
    flex: 1;
}

.payment-item-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 2px;
}

.payment-item-fee {
    font-size: 0.75rem;
    color: #888;
}

.payment-item-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s;
}

.payment-item.selected .payment-item-radio {
    border-color: var(--primary-green);
}

.payment-item.selected .payment-item-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
}

.modal-footer-sticky {
    padding: 20px 25px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 20px 20px;
}

.summary-col-modal {
    display: flex;
    flex-direction: column;
}

.summary-label-modal {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
}

.summary-value-modal {
    font-weight: 800;
    color: var(--primary-green);
    font-size: 1.1rem;
}

.btn-pay-now {
    background: var(--hover-green);
    /* Light green placeholder */
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-pay-now.ready {
    background: var(--primary-green);
}

.btn-pay-now:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.payment-item.maintenance {
    opacity: 0.5;
    filter: blur(2.5px);
    cursor: not-allowed;
    pointer-events: none;
}

.payment-item.maintenance {
    opacity: 0.7;
    filter: blur(1.2px);
    cursor: not-allowed;
    pointer-events: none;
}

/* Branding Fix: Vertically Aligned Footer Logo */
.footer-logo {
    display: flex !important;
    align-items: center !important;
}

.content-wrapper {
    flex: 1 0 auto;
    /* Ini sudah ada inline, tapi bisa dipindah ke CSS untuk konsistensi */
}

/* Sidebar & Dashboard Styles */
.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.sidebar-member {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.user-profile-mini {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.user-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.user-email {
    font-size: 0.9rem;
    color: #64748b;
}

.menu-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #64748b;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
    margin-bottom: 5px;
}

.menu-list a:hover,
.menu-list a.active {
    background: #f1f5f9;
    color: var(--primary-green);
}

.menu-list a.active {
    background: rgba(var(--primary-green-rgb), 0.1);
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
}

.stat-info p {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
}

.recent-trx-card,
.table-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 24px;
    margin-top: 30px;
}

.table-card {
    margin-top: 0;
    margin-bottom: 20px;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid #f1f5f9;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 700;
}

.table td {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 0.95rem;
}

.badge-status {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-success,
.badge-sukses {
    background: #dcfce7;
    color: #166534;
}

.badge-pending {
    background: #fef9c3;
    color: #854d0e;
}

.badge-failed,
.badge-gagal {
    background: #fee2e2;
    color: #991b1b;
}

.badge-proses {
    background: #dbeafe;
    color: #1e40af;
}

.badge-level {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-member {
    background: #e0e7ff;
    color: #4338ca;
}

.badge-reseller {
    background: #dbeafe;
    color: #1e40af;
}

.badge-admin {
    background: #fef3c7;
    color: #92400e;
}

.badge-superadmin {
    background: #fce7f3;
    color: #9f1239;
}

.badge-on {
    background: #dcfce7;
    color: #166534;
}

.badge-off {
    background: #fee2e2;
    color: #991b1b;
}

.settings-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 24px;
    margin-bottom: 20px;
}

.settings-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-label {
    font-weight: 600;
    color: #1e293b;
}

.setting-value {
    color: #64748b;
    font-size: 0.95rem;
}

/* Responsive sidebar */
@media (max-width: 992px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .sidebar-member {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100vh;
        z-index: 1000;
        overflow-y: auto;
        border-radius: 0;
    }

    .sidebar-member.active {
        display: block;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .sidebar-overlay.active {
        display: block;
    }

    #mobileMenuBtn {
        display: block !important;
    }
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
}

/* Dashboard Layout */
.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 50px;
}

/* Sidebar Member */
.sidebar-member {
    background: white;
    border-radius: 16px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 90px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 99;
}

.user-profile-mini {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 10px;
}

.user-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.user-email {
    color: #64748b;
    font-size: 0.85rem;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #64748b;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.menu-list a:hover, .menu-list a.active {
    background: #f1f5f9;
    color: var(--primary-green);
}

.menu-list a i {
    width: 20px;
    text-align: center;
}

/* Sidebar Dropdown */
.sidebar-dropdown {
    margin: 4px 0;
}

.sidebar-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #64748b;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    gap: 12px;
}

.sidebar-dropdown .dropdown-toggle:hover,
.sidebar-dropdown .dropdown-toggle.active {
    background: #f1f5f9;
    color: var(--primary-green);
}

.sidebar-dropdown .dropdown-toggle i:first-child {
    width: 20px;
    text-align: center;
}

.sidebar-dropdown .dropdown-icon {
    transition: transform 0.3s;
}

.sidebar-dropdown .dropdown-toggle.active .dropdown-icon,
.sidebar-dropdown.open .dropdown-icon {
    transform: rotate(180deg);
}

.sidebar-dropdown .dropdown-menu {
    display: none;
    padding-left: 20px;
}

.sidebar-dropdown .dropdown-menu.show {
    display: block;
}

.sidebar-dropdown .dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #64748b;
    font-size: 0.9rem;
    transition: all 0.2s;
    gap: 12px;
}

.sidebar-dropdown .dropdown-menu a:hover,
.sidebar-dropdown .dropdown-menu a.active {
    background: #f1f5f9;
    color: var(--primary-green);
}

.sidebar-dropdown .dropdown-menu a i {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
}

/* Stat Cards */
.stat-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #1e293b;
    font-weight: 800;
}

.stat-info p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* Mobile Sidebar & Responsive */
@media (max-width: 992px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        padding-top: 10px;
    }

    .sidebar-member {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        overflow-y: auto;
        border-radius: 0;
        border: none;
        border-right: 1px solid #e2e8f0;
    }

    .sidebar-member.active {
        left: 0;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 900;
        display: none;
        backdrop-filter: blur(2px);
    }

    .sidebar-overlay.active {
        display: block;
    }
}