/* ============================================
   PARFUM ROYALE - DASHBOARD STYLES
   Gold & Black Theme with 3D Effects
   ============================================ */

/* CSS Variables for Easy Theming */
:root {
    /* Primary Colors */
    --primary-gold: #FFD700;
    --primary-gold-dark: #DAA520;
    --primary-gold-light: #FFF8DC;
    --primary-black: #1a1a1a;
    --secondary-black: #2d2d2d;
    --accent-black: #3d3d3d;
    
    /* Background Colors */
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #2d2d2d;
    --bg-hover: #3d3d3d;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --text-gold: #FFD700;
    
    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
    --shadow-gold-intense: 0 0 30px rgba(255, 215, 0, 0.5);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Breakpoints */
    --mobile: 768px;
    --tablet: 1024px;
    --desktop: 1200px;
    
    /* Layout */
    --sidebar-width: 280px;
    --header-height: 80px;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: var(--desktop);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================================
   INVESTMENT HEADER SECTION
   ============================================ */

.investment-header {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    border: 2px solid var(--accent-black);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.investment-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    z-index: 1;
}

.investment-header-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.investment-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 0 0 var(--spacing-xs) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.investment-title i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.investment-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

.investment-header-actions {
    position: relative;
    z-index: 2;
}

.btn-investments {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--primary-black);
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.btn-investments::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-investments:hover::before {
    left: 100%;
}

.btn-investments:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
    color: var(--primary-black);
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn-investments:hover .btn-glow {
    opacity: 1;
}

.btn-investments i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-investments:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Responsive Investment Header */
@media (max-width: 768px) {
    .investment-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
        padding: var(--spacing-lg);
    }
    
    .investment-title {
        font-size: 1.8rem;
        justify-content: center;
    }
    
    .investment-title i {
        font-size: 1.6rem;
    }
    
    .investment-subtitle {
        text-align: center;
    }
    
    .btn-investments {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .investment-header {
        padding: var(--spacing-md);
    }
    
    .investment-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .investment-title i {
        font-size: 1.4rem;
    }
    
    .investment-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-investments {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   INVESTMENT PLAN CARDS
   ============================================ */

.investment-plan-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent-black);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.investment-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.investment-plan-card:hover::before {
    opacity: 1;
}

.investment-plan-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3), var(--shadow-lg);
    border-color: var(--primary-gold);
}

/* Investment Plan Header */
.investment-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.investment-plan-card__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    flex: 1;
}

.investment-plan-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}

.investment-plan-icon i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.investment-plan-card:hover .investment-plan-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: var(--shadow-gold-intense);
}

/* Investment Range */
.investment-plan-card__range {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.range-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.range-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: var(--font-heading);
}

/* Investment Features */
.investment-plan-features {
    flex-grow: 1;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--primary-gold);
    width: 24px;
    text-align: center;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.feature-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Special Features */
.special-features {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.special-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.special-feature i {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

/* Badge Styles */
.badge {
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 4px;
}

.badge--success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

/* Investment Button */
.investment-plan-card .btn--base {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--primary-black);
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.investment-plan-card .btn--base::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.investment-plan-card .btn--base:hover::before {
    left: 100%;
}

.investment-plan-card .btn--base:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: var(--primary-black);
    text-decoration: none;
}

/* ============================================
   MODAL STYLES (Enhanced)
   ============================================ */

.modal {
    z-index: 1055;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-dialog {
    margin: 1rem auto;
    max-width: 900px;
}

.modal-content {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border: 2px solid var(--accent-black);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    overflow: hidden;
}

.modal-header {
    border-bottom: 2px solid var(--accent-black);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark), var(--primary-gold));
}

.modal-title {
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.modal-header .btn-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    opacity: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header .btn-close:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.1) rotate(90deg);
}

.modal-body {
    padding: var(--spacing-xl);
    background: var(--bg-secondary);
}

.modal-footer {
    border-top: 2px solid var(--accent-black);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
}

.modal .form-group {
    margin-bottom: var(--spacing-lg);
}

.modal .form-group label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: block;
    font-size: 0.95rem;
}

.modal .form-control,
.modal .form-select {
    background: var(--bg-card);
    border: 2px solid var(--accent-black);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.modal .form-control:focus,
.modal .form-select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
    background: var(--bg-card);
    color: var(--text-primary);
    outline: none;
}

.modal .input-group-text {
    background: var(--primary-gold);
    color: var(--primary-black);
    border: 2px solid var(--primary-gold);
    font-weight: 600;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.modal .btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.modal .btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    color: white;
}

.modal .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.modal .btn--base {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--primary-black);
    border: none;
}

.modal .btn--base:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--primary-black);
}

.modal code {
    background: rgba(255, 215, 0, 0.15);
    color: var(--primary-gold);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.modal small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.modal .text--info {
    color: #17a2b8;
}

/* Responsive Design for Investment Plan Cards */
@media (max-width: 1024px) {
    .investment-plan-card {
        padding: var(--spacing-lg);
    }
    
    .investment-plan-card__title {
        font-size: 1.6rem;
    }
    
    .range-amount {
        font-size: 1.8rem;
    }
    
    .investment-plan-icon {
        width: 50px;
        height: 50px;
    }
    
    .investment-plan-icon i {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .investment-plan-card {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .investment-plan-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .investment-plan-card__title {
        font-size: 1.4rem;
    }
    
    .range-amount {
        font-size: 1.6rem;
    }
    
    .investment-plan-card .btn--base {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-body {
        padding: var(--spacing-md);
    }
    
    .modal-header,
    .modal-footer {
        padding: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .investment-plan-card {
        padding: var(--spacing-sm);
    }
    
    .investment-plan-card__title {
        font-size: 1.3rem;
    }
    
    .range-amount {
        font-size: 1.4rem;
    }
    
    .feature-item {
        padding: var(--spacing-sm);
    }
    
    .feature-value {
        font-size: 0.85rem;
    }
    
    .modal-dialog {
        margin: 0.25rem;
    }
    
    .modal-content {
        border-radius: var(--radius-md);
    }
}

/* Animation for investment plan cards */
@keyframes planCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.investment-plan-card:nth-child(odd) {
    animation: planCardFloat 8s ease-in-out infinite;
    animation-delay: 0s;
}

.investment-plan-card:nth-child(even) {
    animation: planCardFloat 8s ease-in-out infinite;
    animation-delay: 4s;
}

.investment-plan-card:hover {
    animation-play-state: paused;
}

/* ============================================
   BUTTON COMPONENTS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-gold {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--primary-black);
    box-shadow: var(--shadow-gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-intense);
}

.btn-outline-gold {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    box-shadow: var(--shadow-sm);
}

.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--accent-black);
}

.btn-outline:hover {
    background: var(--accent-black);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-icon {
    padding: 8px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--accent-black);
}

.btn-icon:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: scale(1.1);
}

/* ============================================
   HEADER COMPONENT
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent-black);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--spacing-md);
    max-width: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.notifications {
    position: relative;
    cursor: pointer;
}

.notification-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.notification-icon:hover {
    color: var(--primary-gold);
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: var(--bg-hover);
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-gold);
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.profile-rank {
    font-size: 0.8rem;
    color: var(--primary-gold);
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   SIDEBAR COMPONENT
   ============================================ */

.sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height));
    background: var(--bg-secondary);
    border-right: 1px solid var(--accent-black);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--accent-black);
    display: none;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.sidebar-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.sidebar-logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-gold);
}

.sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Important for flexbox scrolling */
    overflow: hidden; /* Prevent content overflow */
}

.sidebar-nav {
    padding: var(--spacing-md) 0;
    flex: 1;
    min-height: 0; /* Important for flexbox scrolling */
    overflow-y: auto; /* Enable scrolling on nav itself */
    overflow-x: hidden;
}

.sidebar-menu {
    list-style: none;
    padding: 0 0 var(--spacing-md) 0; /* Simple bottom padding */
}

.menu-item {
    margin-bottom: var(--spacing-xs);
}

.menu-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-gold);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.menu-link:hover,
.menu-item.active .menu-link {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
    /* Override with fixed dimensions */
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 var(--spacing-md) !important;
    transform: none !important;
}

.menu-link:hover::before,
.menu-item.active .menu-link::before {
    transform: scaleY(1);
}

.menu-icon {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    /* Override for sidebar specifically */
}

/* Override the original menu styles specifically for sidebar */
.sidebar .menu-link:hover,
.sidebar .menu-item.active .menu-link {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 1 !important;
    padding: 0 var(--spacing-md) !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--spacing-sm) !important;
    transform: none !important;
    box-sizing: border-box !important;
}

.sidebar .menu-icon {
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
    text-align: center !important;
    transform: none !important;
    transition: none !important;
}

.menu-link:hover .menu-icon {
    transform: scale(1.2);
}

/* Fix sidebar menu item height consistency */
.sidebar-menu .menu-item {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    overflow: hidden !important;
    transition: none !important;
    margin-bottom: 2px !important;
}

.sidebar-menu .menu-link {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 1 !important;
    padding: 0 var(--spacing-md) !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--spacing-sm) !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    box-sizing: border-box !important;
    transform: none !important;
}

.sidebar-menu .menu-icon {
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    transform: none !important;
}

.sidebar-menu .menu-text {
    flex: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1 !important;
    font-size: inherit !important;
}

/* Override ALL possible state changes */
.sidebar-menu .menu-item,
.sidebar-menu .menu-item:hover,
.sidebar-menu .menu-item.active,
.sidebar-menu .menu-item:active,
.sidebar-menu .menu-item:focus,
.sidebar-menu .menu-item:visited {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    transform: none !important;
    margin-bottom: 2px !important;
}

.sidebar-menu .menu-link,
.sidebar-menu .menu-link:hover,
.sidebar-menu .menu-item.active .menu-link,
.sidebar-menu .menu-link:active,
.sidebar-menu .menu-link:focus,
.sidebar-menu .menu-link:visited {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 1 !important;
    padding: 0 var(--spacing-md) !important;
    transform: none !important;
    box-sizing: border-box !important;
}

.sidebar-menu .menu-icon,
.sidebar-menu .menu-link:hover .menu-icon,
.sidebar-menu .menu-item.active .menu-icon,
.sidebar-menu .menu-link:active .menu-icon,
.sidebar-menu .menu-link:focus .menu-icon {
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
    transform: none !important;
    flex-shrink: 0 !important;
}

/* Ensure consistent spacing and override any other rules */
.sidebar-menu {
    padding: var(--spacing-sm) 0 !important;
}

/* Remove any transform animations or transitions that could cause size changes */
.sidebar-menu * {
    transform: none !important;
}

.sidebar-footer {
    margin-top: 0; /* Remove auto margin */
    padding: var(--spacing-md);
    border-top: 1px solid var(--accent-black);
    flex-shrink: 0; /* Prevent footer from shrinking */
    background: var(--bg-secondary);
    z-index: 10;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    position: relative; /* Ensure proper positioning */
}

.upgrade-prompt {
    background: linear-gradient(135deg, var(--bg-card), var(--secondary-black));
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--accent-black);
    box-shadow: var(--shadow-sm);
}

.upgrade-prompt i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
}

.upgrade-prompt h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.upgrade-prompt p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
}

/* ============================================
   MAIN CONTENT LAYOUT
   ============================================ */

.main-content {
    margin-top: var(--header-height);
    margin-left: var(--sidebar-width);
    min-height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    transition: margin-left 0.3s ease;
}

.dashboard-container {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   WELCOME SECTION
   ============================================ */

.welcome-section {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--bg-card), var(--secondary-black));
    border-radius: var(--radius-xl);
    border: 1px solid var(--accent-black);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.welcome-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    gap: var(--spacing-lg);
}

.welcome-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.welcome-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-gold), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    background-size: 300% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.welcome-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
    border-radius: 2px;
    z-index: 2;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
}

.welcome-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    min-width: 250px;
    position: relative;
    z-index: 2;
}

.welcome-stats .stat-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border: 2px solid var(--primary-gold);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.welcome-stats .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.welcome-stats .stat-card:hover::before {
    left: 100%;
}

.welcome-stats .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold-intense);
}

.welcome-stats .stat-icon {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--primary-black);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-gold);
    position: relative;
    flex-shrink: 0;
}

.welcome-stats .stat-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-gold), transparent, var(--primary-gold));
    border-radius: 50%;
    z-index: -1;
    animation: spinIcon 3s linear infinite;
}

.welcome-stats .stat-info {
    flex: 1;
}

.welcome-stats .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-gold);
    display: block;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

.welcome-stats .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   STATS GRID
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.stat-card-large {
    background: linear-gradient(135deg, var(--bg-card), var(--secondary-black));
    border: 1px solid var(--accent-black);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card-large:hover::before {
    opacity: 1;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.stat-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-icon-large {
    font-size: 2rem;
    color: var(--primary-gold);
    opacity: 0.7;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-change.positive {
    color: #4ade80;
}

.stat-change.negative {
    color: #f87171;
}

.stat-change i {
    font-size: 0.8rem;
}

/* ============================================
   SECTION COMPONENTS
   ============================================ */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.view-all-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: var(--primary-gold-dark);
}

/* ============================================
   PACKAGE SECTION
   ============================================ */

.package-section {
    margin-bottom: var(--spacing-xl);
}

.current-package {
    margin-bottom: var(--spacing-lg);
}

.package-card {
    background: linear-gradient(135deg, var(--bg-card), var(--secondary-black));
    border: 2px solid var(--accent-black);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.package-card.diamond-package {
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, var(--bg-card), rgba(255, 215, 0, 0.05));
    box-shadow: var(--shadow-gold);
}

.package-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.package-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.package-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.package-badge {
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-details {
    margin-bottom: var(--spacing-lg);
}

.package-details p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.package-details strong {
    color: var(--text-primary);
}

.package-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.package-upgrade h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.package-mini {
    background: var(--bg-card);
    border: 1px solid var(--accent-black);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.package-mini:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.package-mini.active {
    border-color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
}

.package-mini i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
}

.package-mini h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.package-mini p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.package-rebate {
    color: var(--primary-gold) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}

.package-total {
    color: var(--text-secondary) !important;
    font-size: 0.8rem !important;
    font-style: italic !important;
    margin-bottom: var(--spacing-xs) !important;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

/* ============================================
   REFERRAL SECTION
   ============================================ */

.referral-section {
    margin-bottom: var(--spacing-xl);
}

.referral-code {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bg-card);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-black);
}

.referral-code strong {
    color: var(--primary-gold);
    font-family: monospace;
    font-size: 1.1rem;
}

.referral-link-section {
    margin-bottom: var(--spacing-lg);
}

.referral-link-container {
    background: var(--bg-card);
    border: 1px solid var(--accent-black);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.referral-link-label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.referral-link-input {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.referral-link-field {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--accent-black);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: monospace;
    outline: none;
    transition: all 0.3s ease;
}

.referral-link-field:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
}

.referral-link-field:hover {
    border-color: var(--primary-gold);
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.referral-card {
    background: linear-gradient(135deg, var(--bg-card), var(--secondary-black));
    border: 1px solid var(--accent-black);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.referral-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.referral-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.referral-header i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.referral-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.referral-number,
.referral-rank {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
}

.referral-details p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.referral-details strong {
    color: var(--text-primary);
}

.referral-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* ============================================
   ACTIVITY SECTION
   ============================================ */

.activity-section {
    margin-bottom: var(--spacing-xl);
}

.activity-list {
    background: var(--bg-card);
    border: 1px solid var(--accent-black);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--accent-black);
    transition: all 0.3s ease;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    background: var(--bg-hover);
}

.activity-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.activity-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0px;
        --header-height: 70px;
    }
    
    .header-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .mobile-menu-toggle {
        order: 1;
    }
    
    .logo {
        order: 2;
        justify-self: start;
    }
    
    .logo-img {
        display: none;
    }
    
    .header-actions {
        order: 3;
        justify-self: end;
    }
    
    .header-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        top: 0;
        height: 100vh;
        z-index: 1001;
        display: flex;
        flex-direction: column;
    }
    
    .sidebar-header {
        display: block;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .dashboard-container {
        padding: var(--spacing-md);
    }
    
    .upgrade-prompt {
        padding: var(--spacing-sm);
    }
    
    .upgrade-prompt h4 {
        font-size: 0.9rem;
    }
    
    .upgrade-prompt p {
        font-size: 0.8rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .sidebar-footer {
        margin-top: 0;
        flex-shrink: 0;
        position: relative;
    }
    
    .welcome-section {
        text-align: center;
        padding: var(--spacing-md);
    }
    
    .welcome-header {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .welcome-stats {
        flex-direction: row;
        justify-content: center;
        min-width: unset;
        width: 100%;
    }
    
    .welcome-stats .stat-card {
        min-width: unset;
        width: 100%;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .referral-stats {
        grid-template-columns: 1fr;
    }
    
    .referral-actions {
        flex-direction: column;
    }
    
    .referral-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .referral-link-input {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .referral-link-field {
        width: 100%;
        text-align: center;
    }
    
    .package-actions {
        flex-direction: column;
    }
    
    .package-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .user-profile {
        display: flex;
    }
    
    .profile-info {
        display: none;
    }
    
    .profile-img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 var(--spacing-sm);
    }
    
    .dashboard-container {
        padding: var(--spacing-sm);
    }
    
    .welcome-section {
        padding: var(--spacing-md);
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .stat-card-large {
        padding: var(--spacing-md);
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .package-card {
        padding: var(--spacing-md);
    }
    
    .referral-card {
        padding: var(--spacing-md);
    }
    
    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .activity-icon {
        margin-bottom: var(--spacing-xs);
    }
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.stat-card-large:hover .stat-value {
    animation: pulse 0.6s ease;
}

.welcome-section,
.stats-grid > *,
.package-section,
.referral-section,
.activity-section {
    animation: fadeInUp 0.6s ease;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .header,
    .sidebar,
    .sidebar-overlay,
    .btn,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-content {
        margin: 0;
        padding: 0;
    }
    
    .dashboard-container {
        padding: 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .stat-card-large,
    .package-card,
    .referral-card,
    .activity-list {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-black);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* Sidebar specific scrollbar */
.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--accent-black);
    border-radius: 2px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

.sidebar-content::-webkit-scrollbar {
    width: 4px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: var(--accent-black);
    border-radius: 2px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* ============================================
   FOCUS STATES FOR ACCESSIBILITY
   ============================================ */

.btn:focus,
.nav-link:focus,
.menu-link:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* ============================================
   LOADING STATES
   ============================================ */

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-gold);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinIcon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   WITHDRAWAL STYLES
   Gold & Black Theme with 3D Effects
   ============================================ */

/* ============================================
   WITHDRAWAL PREVIEW STYLES
   ============================================ */

.withdrawal-preview-section {
    padding: var(--spacing-lg) 0;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.withdrawal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.withdrawal-preview-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 80vh;
}

.withdrawal-preview-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-xl);
    width: 100%;
    max-width: 800px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.withdrawal-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
    box-shadow: var(--shadow-gold);
}

.withdrawal-preview-header {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.preview-title-section {
    margin-bottom: var(--spacing-lg);
}

.preview-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-gold);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.preview-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.withdrawal-preview-content {
    space-y: var(--spacing-lg);
}

.withdrawal-info-banner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.info-banner-icon {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-top: 2px;
}

.info-banner-content p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

.info-banner-content p:not(:last-child) {
    margin-bottom: var(--spacing-sm);
}

.amount-highlight {
    color: var(--primary-gold);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.withdrawal-form {
    space-y: var(--spacing-lg);
}

.method-description-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--accent-black);
}

.form-fields-section {
    margin-bottom: var(--spacing-xl);
}

.auth-code-group {
    margin-top: var(--spacing-lg);
}

.field-label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.form-input,
.auth-input {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border: 2px solid var(--accent-black);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.auth-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    background: var(--bg-primary);
}

.form-submit-section {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.btn-submit-withdrawal {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--primary-black);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 250px;
    justify-content: center;
}

.btn-submit-withdrawal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-intense);
    background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold));
}

.btn-submit-withdrawal:active {
    transform: translateY(0);
}

/* ============================================
   WITHDRAWAL METHODS STYLES
   ============================================ */

.withdrawal-methods-section {
    padding: var(--spacing-lg) 0;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.withdrawal-methods-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.withdrawal-header-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--spacing-lg);
}

.btn-withdrawal-history {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--primary-black);
    text-decoration: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-withdrawal-history:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--primary-black);
    text-decoration: none;
}

.withdrawal-main-wrapper {
    display: flex;
    justify-content: center;
}

.withdrawal-methods-form {
    width: 100%;
    max-width: 1200px;
}

.withdrawal-methods-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.withdrawal-methods-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
    box-shadow: var(--shadow-gold);
}

.withdrawal-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* Holiday Restriction Styles */
.holiday-restricted-card {
    text-align: center;
}

.holiday-restriction-content {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.holiday-message-container {
    text-align: center;
    max-width: 600px;
}

.holiday-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-lg);
}

.holiday-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
}

.next-working-day-title {
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.holiday-countdown-display {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    font-size: 1.5rem;
    color: var(--primary-gold);
    font-weight: bold;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Pending Withdrawal Styles */
.pending-withdrawal-info {
    text-align: left;
    line-height: 1.8;
}

.pending-withdrawal-info p {
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pending-withdrawal-info strong {
    color: var(--primary-gold);
    font-weight: 600;
    min-width: 120px;
}

.pending-actions {
    text-align: center;
    margin-top: var(--spacing-md);
}

.pending-actions .btn-withdrawal-history {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--primary-black);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.pending-actions .btn-withdrawal-history:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-black);
    text-decoration: none;
}

/* Payment Methods Column */
.payment-methods-column {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    border: 1px solid var(--accent-black);
}

/* Balance Information Section */
.withdrawal-balance-section {
    margin-bottom: var(--spacing-lg);
}

.balance-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.balance-card {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.balance-card:hover::before {
    opacity: 1;
}

.balance-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 215, 0, 0.4);
}

.balance-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 2;
}

.balance-header i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-right: var(--spacing-sm);
}

.balance-header h4 {
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.balance-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.balance-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.payment-methods-wrapper {
    height: 100%;
}

.payment-methods-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.methods-title {
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.methods-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.payment-methods-list {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: var(--spacing-lg);
}

.withdrawal-methods-scrollable {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) var(--bg-primary);
}

.payment-method-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-primary);
    border: 2px solid var(--accent-black);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-method-item:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.payment-method-item:has(.method-radio-input:checked) {
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    box-shadow: var(--shadow-gold);
}

.method-item-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
}

.method-check-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-black);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.payment-method-item:has(.method-radio-input:checked) .method-check-indicator {
    border-color: var(--primary-gold);
    background: var(--primary-gold);
}

.payment-method-item:has(.method-radio-input:checked) .method-check-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary-black);
    border-radius: 50%;
}

.method-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.method-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.method-limits {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.method-item-image {
    width: 60px;
    height: 40px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--accent-black);
}

.method-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.method-radio-input {
    display: none;
}

.method-hidden {
    display: none !important;
}

.show-more-methods-btn {
    width: 100%;
    background: var(--bg-hover);
    border: 2px dashed var(--accent-black);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-methods-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.05);
}

.show-more-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.show-more-text {
    margin: 0;
    font-weight: 500;
}

.show-more-icon {
    font-size: 1.2rem;
}

/* Withdrawal Details Column */
.withdrawal-details-column {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    border: 1px solid var(--accent-black);
}

.withdrawal-details-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.withdrawal-details-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.details-title {
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.details-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.withdrawal-calculation-section {
    flex: 1;
    margin-bottom: var(--spacing-lg);
}

.calculation-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--accent-black);
}

.calculation-field:last-child {
    border-bottom: none;
}

.field-label-section {
    flex: 1;
}

.fee-info-tooltip {
    color: var(--primary-gold);
    cursor: help;
}

.field-input-section,
.field-value-section {
    flex: 1;
    text-align: right;
}

.amount-input-group {
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    border: 2px solid var(--accent-black);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.amount-input-group:focus-within {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.currency-symbol {
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: var(--spacing-md);
    font-weight: bold;
}

.amount-input-field {
    border: none;
    background: transparent;
    color: var(--text-primary);
    padding: var(--spacing-md);
    font-size: 1rem;
    width: 100%;
    outline: none;
}

.field-value {
    color: var(--text-primary);
    font-weight: 500;
}

.calculation-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: var(--spacing-md) 0;
}

.total-receivable-field {
    background: rgba(255, 215, 0, 0.05);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: var(--spacing-md);
}

.total-label {
    color: var(--primary-gold) !important;
    font-weight: 700;
}

.total-value {
    color: var(--primary-gold) !important;
    font-weight: 700;
    font-size: 1.1rem;
}

.conversion-rate-field,
.converted-amount-field {
    background: rgba(255, 215, 0, 0.03);
    border-radius: var(--radius-sm);
    margin-top: var(--spacing-sm);
}

.withdrawal-submit-section {
    margin-bottom: var(--spacing-lg);
}

.btn-confirm-withdrawal {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--primary-black);
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.btn-confirm-withdrawal:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-intense);
    background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold));
}

.btn-confirm-withdrawal:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--accent-black);
    color: var(--text-muted);
}

.withdrawal-security-info {
    border-top: 1px solid var(--accent-black);
    padding-top: var(--spacing-md);
}

.security-info-content {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.security-info-content i {
    color: var(--primary-gold);
    margin-top: 2px;
}

.security-text {
    margin: 0;
}

/* ============================================
   WITHDRAWAL HISTORY STYLES
   ============================================ */

.withdrawal-history-section {
    padding: var(--spacing-lg) 0;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.withdrawal-history-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.withdrawal-history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-xl);
    gap: var(--spacing-lg);
}

.history-title-section {
    flex: 1;
}

.history-main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-gold);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.history-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.history-search-section {
    flex-shrink: 0;
}

.history-search-form {
    display: flex;
    gap: var(--spacing-md);
}

.search-input-wrapper {
    min-width: 300px;
}

.search-input-group {
    display: flex;
    background: var(--bg-card);
    border: 2px solid var(--accent-black);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.search-input-field {
    flex: 1;
    padding: var(--spacing-md);
    border: none;
    background: transparent;
    color: var(--text-primary);
    outline: none;
    font-size: 1rem;
}

.search-input-field::placeholder {
    color: var(--text-muted);
}

.search-submit-btn {
    background: var(--primary-gold);
    color: var(--primary-black);
    border: none;
    padding: 0 var(--spacing-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.search-submit-btn:hover {
    background: var(--primary-gold-light);
}

.withdrawal-history-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.withdrawal-history-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
    box-shadow: var(--shadow-gold);
}

.history-table-wrapper {
    padding: var(--spacing-lg);
    padding-top: calc(var(--spacing-lg) + 4px);
}

.history-table-container {
    overflow-x: auto;
}

.withdrawal-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.table-header {
    background: var(--bg-secondary);
}

.header-row {
    border-bottom: 2px solid var(--primary-gold);
}

.header-cell {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid var(--accent-black);
}

.table-body {
    background: var(--bg-card);
}

.table-row {
    border-bottom: 1px solid var(--accent-black);
    transition: all 0.3s ease;
}

.table-row:hover {
    background: var(--bg-secondary);
}

.table-cell {
    padding: var(--spacing-md) var(--spacing-lg);
    vertical-align: top;
}

.gateway-info-cell {
    min-width: 200px;
}

.gateway-info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gateway-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.transaction-id {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.date-info-cell {
    min-width: 180px;
}

.date-info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.transaction-date {
    color: var(--text-primary);
    font-weight: 500;
}

.relative-time {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.amount-info-cell {
    min-width: 150px;
}

.amount-info-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.amount-breakdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.requested-amount {
    color: var(--text-primary);
    font-weight: 500;
}

.charge-amount {
    color: #ff6b6b;
    font-size: 0.9rem;
}

.final-amount-display {
    padding-top: 4px;
    border-top: 1px solid var(--accent-black);
}

.final-amount {
    color: var(--primary-gold);
    font-weight: 700;
}

.conversion-info-cell {
    min-width: 180px;
}

.conversion-info-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.conversion-rate {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.converted-amount {
    padding-top: 4px;
    border-top: 1px solid var(--accent-black);
}

.converted-value {
    color: var(--primary-gold);
    font-weight: 600;
}

.status-cell {
    min-width: 120px;
    text-align: center;
}

.status-badge-wrapper {
    display: flex;
    justify-content: center;
}

.action-cell {
    min-width: 80px;
    text-align: center;
}

.action-details-btn {
    background: var(--primary-gold);
    color: var(--primary-black);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.action-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    background: var(--primary-gold-light);
}

.empty-row {
    height: 200px;
}

.empty-cell {
    text-align: center;
    vertical-align: middle;
}

.empty-state-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    color: var(--text-muted);
}

.empty-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.empty-message {
    font-size: 1.1rem;
    margin: 0;
}

.history-pagination-wrapper {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--accent-black);
    display: flex;
    justify-content: center;
}

/* ============================================
   WITHDRAWAL DETAIL MODAL STYLES
   ============================================ */

.withdrawal-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.withdrawal-detail-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-dialog-wrapper {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.modal-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
    box-shadow: var(--shadow-gold);
}

.modal-header-section {
    padding: var(--spacing-lg);
    padding-top: calc(var(--spacing-lg) + 4px);
    border-bottom: 1px solid var(--accent-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-text {
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-sm);
    transition: all 0.3s ease;
    border-radius: 50%;
}

.modal-close-btn:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
}

.modal-body-section {
    padding: var(--spacing-lg);
}

.withdrawal-details-list {
    margin-bottom: var(--spacing-lg);
}

.details-data-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list-item {
    border-bottom: 1px solid var(--accent-black);
    padding: var(--spacing-md) 0;
}

.detail-list-item:last-child {
    border-bottom: none;
}

.detail-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.detail-label {
    color: var(--text-secondary);
    font-weight: 500;
    flex: 1;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.admin-feedback-section {
    margin-top: var(--spacing-lg);
}

.admin-feedback-content {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.feedback-title {
    color: var(--primary-gold);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.feedback-message {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
}

.feedback-text {
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

.modal-footer-section {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--accent-black);
    display: flex;
    justify-content: flex-end;
}

.modal-close-action-btn {
    background: var(--accent-black);
    color: var(--text-primary);
    border: 2px solid var(--accent-black);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-close-action-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
}

/* ============================================
   RESPONSIVE DESIGN FOR WITHDRAWAL PAGES
   ============================================ */

@media (max-width: 1024px) {
    .withdrawal-methods-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .withdrawal-header-actions {
        justify-content: center;
        margin-bottom: var(--spacing-md);
    }
    
    .withdrawal-history-header {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .search-input-wrapper {
        min-width: auto;
        width: 100%;
        max-width: 400px;
    }
    
    .withdrawal-methods-card,
    .withdrawal-preview-card {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    /* Container adjustments */
    .withdrawal-container,
    .withdrawal-methods-container,
    .withdrawal-history-container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Card padding and margins */
    .withdrawal-preview-card,
    .withdrawal-methods-card {
        padding: var(--spacing-md);
        margin: 0 var(--spacing-xs);
    }
    
    /* Typography scaling */
    .preview-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: var(--spacing-sm);
    }
    
    .methods-title,
    .details-title {
        font-size: 1.4rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .history-main-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .preview-subtitle,
    .methods-subtitle,
    .details-subtitle,
    .history-subtitle {
        font-size: 0.95rem;
    }
    
    /* Payment methods adjustments */
    .payment-methods-column,
    .withdrawal-details-column {
        padding: var(--spacing-md);
    }
    
    .payment-method-item {
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }
    
    .method-name {
        font-size: 0.9rem;
    }
    
    .method-limits {
        font-size: 0.8rem;
    }
    
    .method-item-image {
        width: 50px;
        height: 35px;
    }
    
    /* Table adjustments */
    .withdrawal-history-table {
        font-size: 0.8rem;
    }
    
    .header-cell,
    .table-cell {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    /* Calculation fields */
    .calculation-field {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
        padding: var(--spacing-sm) 0;
    }
    
    .field-input-section,
    .field-value-section {
        width: 100%;
        text-align: left;
    }
    
    /* Input groups */
    .amount-input-group {
        width: 100%;
    }
    
    .currency-symbol {
        padding: var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    .amount-input-field {
        padding: var(--spacing-sm);
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .btn-withdrawal-history {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
    
    /* Modal adjustments */
    .modal-dialog-wrapper {
        width: 95%;
        max-width: none;
    }
    
    .modal-header-section,
    .modal-body-section,
    .modal-footer-section {
        padding: var(--spacing-md);
    }
    
    .modal-title-text {
        font-size: 1.3rem;
    }
    
    .detail-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .detail-value {
        text-align: left;
        font-size: 0.9rem;
    }
    
    /* Info banner adjustments */
    .withdrawal-info-banner {
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .info-banner-icon {
        font-size: 1.2rem;
    }
    
    .info-banner-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    /* Extra small devices - more aggressive scaling */
    .withdrawal-preview-card,
    .withdrawal-methods-card {
        padding: var(--spacing-sm);
        margin: 0;
        border-radius: var(--radius-sm);
    }
    
    /* Typography further scaled down */
    .preview-title {
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    .history-main-title {
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    .methods-title,
    .details-title {
        font-size: 1.2rem;
    }
    
    /* Grid becomes single column with tighter spacing */
    .withdrawal-methods-grid {
        gap: var(--spacing-sm);
    }
    
    /* Payment methods become more compact */
    .payment-method-item {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
        padding: var(--spacing-sm);
    }
    
    .method-item-content {
        justify-content: center;
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .method-item-image {
        width: 40px;
        height: 30px;
        margin: 0 auto;
    }
    
    .method-name {
        font-size: 0.85rem;
    }
    
    .method-limits {
        font-size: 0.75rem;
    }
    
    /* Column headers and padding */
    .payment-methods-header,
    .withdrawal-details-header {
        margin-bottom: var(--spacing-sm);
    }
    
    .payment-methods-column,
    .withdrawal-details-column {
        padding: var(--spacing-sm);
    }
    
    /* Buttons full width and smaller */
    .btn-submit-withdrawal,
    .btn-confirm-withdrawal {
        min-width: auto;
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.95rem;
    }
    
    /* Table becomes horizontally scrollable */
    .history-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .withdrawal-history-table {
        min-width: 650px;
        font-size: 0.75rem;
    }
    
    /* Pending withdrawal responsive styles */
    .pending-withdrawal-info p {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: var(--spacing-sm);
    }
    
    .pending-withdrawal-info strong {
        min-width: auto;
        color: var(--primary-gold);
        font-size: 0.85rem;
    }
    
    .pending-actions .btn-withdrawal-history {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .holiday-countdown-display {
        font-size: 1rem;
        padding: var(--spacing-md);
    }
    
    .holiday-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .next-working-day-title {
        font-size: 1.5rem;
    }
    
    /* Balance cards responsive */
    .balance-cards-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .balance-card {
        padding: var(--spacing-md);
    }
    
    .balance-header h4 {
        font-size: 1rem;
    }
    
    .balance-amount {
        font-size: 1.5rem;
    }
    
    .header-cell,
    .table-cell {
        padding: var(--spacing-xs);
        white-space: nowrap;
    }
    
    /* Search input smaller */
    .search-input-wrapper {
        max-width: none;
    }
    
    .search-input-field {
        padding: var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    .search-submit-btn {
        padding: 0 var(--spacing-md);
    }
    
    /* Modal further reduced */
    .modal-dialog-wrapper {
        width: 98%;
        margin: var(--spacing-xs);
    }
    
    .modal-header-section,
    .modal-body-section,
    .modal-footer-section {
        padding: var(--spacing-sm);
    }
    
    .modal-title-text {
        font-size: 1.1rem;
    }
    
    /* Action buttons smaller */
    .action-details-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    /* Info sections more compact */
    .withdrawal-info-banner {
        padding: var(--spacing-sm);
        flex-direction: column;
        text-align: center;
    }
    
    .info-banner-icon {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .info-banner-content p {
        font-size: 0.85rem;
    }
    
    /* Calculation section spacing */
    .calculation-field {
        padding: var(--spacing-xs) 0;
    }
    
    .field-label {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-xs);
    }
    
    /* Security info smaller */
    .security-info-content {
        font-size: 0.8rem;
        gap: var(--spacing-xs);
    }
    
    /* Holiday message adjustments */
    .holiday-message-container {
        padding: var(--spacing-sm);
    }
    
    .holiday-icon {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-md);
    }
    
    .holiday-title {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-md);
    }
    
    .next-working-day-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-md);
    }
    
    .holiday-countdown-display {
        padding: var(--spacing-md);
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    /* Ultra small devices - minimal sizing */
    .withdrawal-preview-card,
    .withdrawal-methods-card {
        padding: var(--spacing-xs);
    }
    
    .preview-title,
    .history-main-title {
        font-size: 1.3rem;
    }
    
    .methods-title,
    .details-title {
        font-size: 1.1rem;
    }
    
    .withdrawal-info-banner {
        padding: var(--spacing-xs);
    }
    
    .info-banner-content p {
        font-size: 0.8rem;
    }
    
    .btn-submit-withdrawal,
    .btn-confirm-withdrawal {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    .withdrawal-history-table {
        min-width: 600px;
        font-size: 0.7rem;
    }
    
    /* Ultra compact pending withdrawal styles */
    .holiday-message-container {
        padding: var(--spacing-xs);
    }
    
    .holiday-title {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .next-working-day-title {
        font-size: 1.3rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .holiday-countdown-display {
        padding: var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    .pending-withdrawal-info p {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .pending-withdrawal-info strong {
        font-size: 0.75rem;
    }
    
    .pending-actions .btn-withdrawal-history {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.8rem;
    }
    
    /* Ultra compact balance cards */
    .balance-card {
        padding: var(--spacing-sm);
    }
    
    .balance-header h4 {
        font-size: 0.9rem;
    }
    
    .balance-amount {
        font-size: 1.3rem;
    }
    
    .balance-header i {
        font-size: 1.2rem;
    }
}

/* ============================================
   MOBILE TOUCH IMPROVEMENTS
   ============================================ */

/* Better touch targets for mobile */
@media (max-width: 768px) {
    .payment-method-item {
        min-height: 60px;
        touch-action: manipulation;
    }
    
    .action-details-btn,
    .search-submit-btn,
    .modal-close-btn {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    .btn-submit-withdrawal,
    .btn-confirm-withdrawal {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    /* Improved input field sizing */
    .form-input,
    .auth-input,
    .amount-input-field,
    .search-input-field {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better spacing for touch */
    .payment-method-item {
        margin-bottom: var(--spacing-md);
    }
    
    .calculation-field {
        min-height: 50px;
        justify-content: flex-start;
    }
}

/* Ultra compact mode for very small screens */
@media (max-width: 360px) {
    .withdrawal-container,
    .withdrawal-methods-container,
    .withdrawal-history-container {
        padding: 0 var(--spacing-xs);
    }
    
    .withdrawal-preview-card,
    .withdrawal-methods-card {
        border-radius: var(--radius-xs);
        box-shadow: var(--shadow-sm);
    }
    
    .preview-title,
    .history-main-title {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .methods-title,
    .details-title {
        font-size: 1rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .payment-methods-list {
        max-height: 300px;
    }
    
    .method-name {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .method-limits {
        font-size: 0.7rem;
    }
    
    .withdrawal-history-table {
        min-width: 550px;
        font-size: 0.65rem;
    }
    
    .header-cell,
    .table-cell {
        padding: 4px 6px;
    }
}

/* ============================================
   SCROLL STYLES FOR WITHDRAWAL SECTIONS
   ============================================ */

.payment-methods-list::-webkit-scrollbar,
.history-table-container::-webkit-scrollbar,
.modal-dialog-wrapper::-webkit-scrollbar {
    width: 8px;
}

.payment-methods-list::-webkit-scrollbar-track,
.history-table-container::-webkit-scrollbar-track,
.modal-dialog-wrapper::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 4px;
}

.payment-methods-list::-webkit-scrollbar-thumb,
.history-table-container::-webkit-scrollbar-thumb,
.modal-dialog-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

.payment-methods-list::-webkit-scrollbar-thumb:hover,
.history-table-container::-webkit-scrollbar-thumb:hover,
.modal-dialog-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-dark);
}

/* ============================================
   ANIMATION KEYFRAMES FOR WITHDRAWAL SECTIONS
   ============================================ */

@keyframes withdrawalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes withdrawalSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pendingPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

.withdrawal-preview-card,
.withdrawal-methods-card,
.withdrawal-history-content {
    animation: withdrawalFadeIn 0.6s ease-out;
}

.holiday-restriction-content {
    animation: withdrawalFadeIn 0.8s ease-out;
}

.holiday-countdown-display {
    animation: pendingPulse 2s infinite ease-in-out;
}

.payment-method-item {
    animation: withdrawalSlideIn 0.4s ease-out;
}

.payment-method-item:nth-child(1) { animation-delay: 0.1s; }
.payment-method-item:nth-child(2) { animation-delay: 0.2s; }
.payment-method-item:nth-child(3) { animation-delay: 0.3s; }
.payment-method-item:nth-child(4) { animation-delay: 0.4s; }
.payment-method-item:nth-child(5) { animation-delay: 0.5s; }

/* Spin animation for loading states */
@keyframes withdrawalSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-submit-withdrawal:disabled i,
.btn-confirm-withdrawal:disabled i {
    animation: withdrawalSpin 1s linear infinite;
}

/* ============================================
   END OF WITHDRAWAL STYLES
   ============================================ */

/* ============================================
   PROFILE SETTINGS STYLES
   Gold & Black Theme with 3D Effects
   ============================================ */

.profile-settings-section {
    padding: var(--spacing-lg) 0;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.profile-settings-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   PROFILE HEADER STYLES
   ============================================ */

.profile-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-xl);
    gap: var(--spacing-lg);
}

.profile-header-content {
    flex: 1;
}

.profile-main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-gold);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.profile-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.profile-header-badge {
    flex-shrink: 0;
}

.settings-status-badge {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--primary-black);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    box-shadow: var(--shadow-gold);
}

/* ============================================
   PROFILE CONTENT GRID
   ============================================ */

.profile-content-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* ============================================
   PROFILE INFO CARD STYLES
   ============================================ */

.profile-info-column {
    position: sticky;
    top: var(--spacing-lg);
}

.profile-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.profile-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
    box-shadow: var(--shadow-gold);
}

.profile-info-header {
    padding: var(--spacing-xl);
    padding-top: calc(var(--spacing-xl) + 4px);
    border-bottom: 1px solid var(--accent-black);
}

.profile-user-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-black);
    box-shadow: var(--shadow-gold);
    border: 3px solid var(--bg-card);
}

.profile-ranking-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-gold);
    box-shadow: var(--shadow-sm);
}

.ranking-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.profile-user-info {
    flex: 1;
}

.profile-user-name {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.profile-user-status {
    color: var(--primary-gold);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.profile-info-content {
    padding: 20px 24px;
}

.profile-info-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

.profile-info-title h4 {
    color: var(--primary-gold);
    font-weight: 700;
    margin: 0;
    font-size: 1.2rem;
}

.profile-info-title i {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.profile-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-black);
    transition: all 0.3s ease;
}

.profile-info-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.info-item-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
}

.profile-info-icon {
    color: var(--primary-gold);
    font-size: 1rem;
    width: 16px;
}

.info-label-text {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.info-item-value {
    flex-shrink: 0;
}

.info-value-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.profile-info-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--accent-black);
    background: rgba(255, 215, 0, 0.03);
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.profile-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-black);
}

.profile-stat-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-align: center;
}



/* ============================================
   PROFILE EDIT FORM STYLES
   ============================================ */

.profile-edit-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.profile-edit-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.profile-edit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
    box-shadow: var(--shadow-gold);
}

.profile-edit-header {
    padding: var(--spacing-xl);
    padding-top: calc(var(--spacing-xl) + 4px);
    border-bottom: 1px solid var(--accent-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-header-content {
    flex: 1;
}

.edit-title {
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.edit-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.edit-header-icon {
    color: var(--primary-gold);
    font-size: 2rem;
    opacity: 0.7;
}

.profile-edit-content {
    padding: 20px 24px;
}

.profile-edit-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-field-wrapper {
    display: flex;
    flex-direction: column;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-field-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.profile-field-label i {
    color: var(--primary-gold);
    font-size: 0.85rem;
    width: 14px;
}

.profile-form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--accent-black);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    min-height: 44px;
}

.profile-form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.15);
    background: var(--bg-primary);
}

.profile-form-input:hover {
    border-color: rgba(255, 215, 0, 0.3);
}

.form-submit-section {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.btn-update-profile {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--primary-black);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 160px;
    justify-content: center;
    min-height: 44px;
}

.btn-update-profile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-intense);
    background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold));
}

.btn-update-profile:active {
    transform: translateY(0);
}

/* ============================================
   PROFILE ACTIONS CARD STYLES
   ============================================ */

.profile-actions-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.profile-actions-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
    box-shadow: var(--shadow-gold);
}

.actions-header {
    padding: var(--spacing-lg);
    padding-top: calc(var(--spacing-lg) + 4px);
    border-bottom: 1px solid var(--accent-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.actions-title {
    color: var(--primary-gold);
    font-weight: 700;
    margin: 0;
    font-size: 1.2rem;
}

.actions-header i {
    color: var(--primary-gold);
    font-size: 1.3rem;
}

.actions-grid {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.action-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-black);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.action-item:hover::before {
    left: 100%;
}

.action-item:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.action-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.action-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.action-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.action-arrow {
    color: var(--primary-gold);
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.action-item:hover .action-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* ============================================
   RESPONSIVE DESIGN FOR PROFILE SETTINGS
   ============================================ */

@media (max-width: 1024px) {
    .profile-content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .profile-info-column {
        position: static;
    }
    
    .profile-settings-header {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .profile-settings-container {
        padding: 0 var(--spacing-sm);
    }
    
    .profile-edit-card,
    .profile-info-card,
    .profile-actions-card {
        margin: 0 var(--spacing-xs);
    }
    
    .profile-main-title {
        font-size: 1.8rem;
    }
    
    .edit-title {
        font-size: 1.4rem;
    }
    
    .form-row-group {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
.profile-edit-header,
.profile-info-header,
.actions-header {
    padding: 20px 24px;
    padding-top: calc(20px + 4px);
}    .profile-edit-content,
    .profile-info-content,
    .actions-grid {
        padding: 16px 20px;
    }
    
    .profile-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-item {
        padding: 16px;
    }
    
    .action-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .profile-form-input {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .btn-update-profile {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 140px;
    }
}

@media (max-width: 576px) {
    .profile-edit-card,
    .profile-info-card,
    .profile-actions-card {
        margin: 0;
        border-radius: var(--radius-md);
    }
    
    .profile-main-title {
        font-size: 1.6rem;
    }
    
    .edit-title {
        font-size: 1.25rem;
    }
    
    .profile-edit-header {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
        padding: 16px 18px;
        padding-top: calc(16px + 4px);
    }
    
    .edit-header-icon {
        font-size: 1.4rem;
    }
    
    .profile-avatar {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .profile-ranking-badge {
        width: 28px;
        height: 28px;
    }
    
    .ranking-icon {
        width: 16px;
        height: 16px;
    }
    
    .profile-user-name {
        font-size: 1.25rem;
    }
    
    .btn-update-profile {
        min-width: auto;
        width: 100%;
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .profile-edit-content,
    .profile-info-content,
    .actions-grid {
        padding: 16px 18px;
    }
    
    .profile-form-input {
        padding: 9px 12px;
        font-size: 0.9rem;
    }
    }
    
    .settings-status-badge {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 0.9rem;
    }


@media (max-width: 480px) {
    .profile-settings-container {
        padding: 0 var(--spacing-xs);
    }
    
    .profile-edit-header,
    .profile-info-header,
    .actions-header {
        padding: 14px 16px;
        padding-top: calc(14px + 4px);
    }
    
    .profile-edit-content,
    .profile-info-content,
    .actions-grid {
        padding: 14px 16px;
    }
    
    .profile-main-title {
        font-size: 1.4rem;
    }
    
    .edit-title {
        font-size: 1.15rem;
    }
    
    .profile-form-input {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .action-item {
        padding: 12px 14px;
    }
    
    .btn-update-profile {
        padding: 9px 16px;
        font-size: 0.9rem;
    }
    
    .profile-field-label {
        font-size: 0.85rem;
    }
    
    .action-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* ============================================
   ANIMATIONS FOR PROFILE SETTINGS
   ============================================ */

@keyframes profileFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes profileSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-info-card,
.profile-edit-card,
.profile-actions-card {
    animation: profileFadeIn 0.6s ease-out;
}

.profile-info-item {
    animation: profileSlideIn 0.4s ease-out;
}

.profile-info-item:nth-child(1) { animation-delay: 0.1s; }
.profile-info-item:nth-child(2) { animation-delay: 0.2s; }
.profile-info-item:nth-child(3) { animation-delay: 0.3s; }
.profile-info-item:nth-child(4) { animation-delay: 0.4s; }

.action-item {
    animation: profileSlideIn 0.4s ease-out;
}

.action-item:nth-child(1) { animation-delay: 0.1s; }
.action-item:nth-child(2) { animation-delay: 0.2s; }

/* ============================================
   NOTIFICATION STYLES
   ============================================ */

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    z-index: 10;
}

/* Notification Dropdown */
.notification-dropdown {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--accent-black) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    min-width: 350px !important;
    max-width: 400px !important;
    z-index: 9999 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
    display: block !important;
}

.notification-dropdown.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Make sure the notifications container has relative positioning */
.notifications {
    position: relative !important;
    cursor: pointer !important;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.notifications:hover {
    background: rgba(255, 215, 0, 0.1);
}

.notification-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--accent-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-black), var(--accent-black));
}

.notification-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.mark-all-read {
    background: none;
    border: none;
    color: var(--text-gold);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.mark-all-read:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
}

/* Notification List */
.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.notification-item:hover {
    background: rgba(255, 215, 0, 0.05);
}

.notification-item.unread {
    background: rgba(255, 215, 0, 0.02);
    border-left: 3px solid var(--primary-gold);
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: var(--spacing-sm);
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.notification-item i {
    color: var(--text-gold);
    font-size: 1.2rem;
    margin-top: 2px;
    min-width: 20px;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.notification-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.notification-time {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.unread-dot {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
}

/* Empty State */
.notification-empty {
    padding: var(--spacing-xl);
    text-align: center;
    color: var(--text-muted);
}

.notification-empty i {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

/* Loading State */
.notification-loading {
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--text-secondary);
}

.notification-loading i {
    animation: spin 1s linear infinite;
    margin-right: var(--spacing-sm);
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--accent-black);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 300px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.toast-success {
    border-left: 4px solid #4CAF50;
}

.toast.toast-error {
    border-left: 4px solid #f44336;
}

.toast.toast-info {
    border-left: 4px solid var(--primary-gold);
}

.toast i {
    color: var(--text-gold);
    font-size: 1.1rem;
}

.toast span {
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Notification Icon Types */
.notification-item i.fa-money-bill-wave { color: #4CAF50; }
.notification-item i.fa-check-circle { color: #4CAF50; }
.notification-item i.fa-times-circle { color: #f44336; }
.notification-item i.fa-chart-line { color: #2196F3; }
.notification-item i.fa-shopping-cart { color: #FF9800; }
.notification-item i.fa-user-plus { color: #9C27B0; }
.notification-item i.fa-gift { color: #E91E63; }
.notification-item i.fa-dollar-sign { color: var(--primary-gold); }
.notification-item i.fa-percentage { color: #00BCD4; }
.notification-item i.fa-credit-card { color: #607D8B; }
.notification-item i.fa-id-card { color: #795548; }
.notification-item i.fa-shield-alt { color: #f44336; }
.notification-item i.fa-cog { color: var(--text-muted); }

/* Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .notification-dropdown {
        position: fixed;
        top: 60px;
        left: 10px;
        right: 10px;
        min-width: unset;
        max-width: unset;
    }
    
    .toast {
        left: 10px;
        right: 10px;
        min-width: unset;
    }
}
