    /*============================================
        USER PANEL CUSTOM STYLES
        
        Р­С‚РѕС‚ С„Р°Р№Р» СЃРѕРґРµСЂР¶РёС‚ РІСЃРµ РєР°СЃС‚РѕРјРЅС‹Рµ СЃС‚РёР»Рё
        for pages of the personal cabinet.
        Styles here have priority over style.css and Bootstrap.
        ============================================*/

    [v-cloak] {
        display: none !important;
    }

    /* ==========================================
        GLASSMORPHISM BACKGROUND DECORATIONS
        ========================================== */

    /* Ensure decorations container exists */
    #main-wrapper {
        position: relative;
        overflow: hidden;
    }

    /* Dark mode background */
    .dark-mode,
    .dark-mode body,
    .dark-mode html {
        background: #121212 !important;
        min-height: 100vh;
    }

    .dark-mode #main-wrapper {
        background: #121212 !important;
        min-height: 100vh;
    }

    .dark-mode .page-wrapper {
        background: transparent !important;
        min-height: calc(100vh - 60px);
        margin-left: 0 !important;
    }

    /* Ensure footer doesn't leave white space */
    .dark-mode .footer {
        background: transparent !important;
    }

    /* Fix page wrapper centering for all layouts */
    #main-wrapper[data-layout=vertical][data-sidebartype=full] .page-wrapper,
    #main-wrapper[data-layout=vertical][data-sidebartype=mini-sidebar] .page-wrapper,
    #main-wrapper .page-wrapper {
        margin-left: 0 !important;
    }

    /* Create background decorations layer */
    #main-wrapper::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
        overflow: hidden;
    }

    /* Ensure content is above decorations */
    .page-wrapper,
    header,
    footer,
    .topbar {
        position: relative;
        z-index: auto;
    }

    /* Floating Orbs */
    .user-panel-orb {
        position: fixed;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.25;
        will-change: transform;
        pointer-events: none;
    }

    /* Orange/Coral orb - top left */
    .user-panel-orb-1 {
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(245, 147, 115, 1) 0%, rgba(255, 107, 107, 0.7) 40%, transparent 70%);
        top: -200px;
        left: -150px;
        animation: floatOrbUser1 14s ease-in-out infinite;
        z-index: 0;
    }

    /* Purple orb - top right */
    .user-panel-orb-2 {
        width: 550px;
        height: 550px;
        background: radial-gradient(circle, rgba(102, 126, 234, 1) 0%, rgba(124, 53, 255, 0.6) 40%, transparent 70%);
        top: 10%;
        right: -100px;
        animation: floatOrbUser2 16s ease-in-out infinite;
        animation-delay: -7s;
        z-index: 0;
    }

    /* Coral/Pink orb - bottom left */
    .user-panel-orb-3 {
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255, 200, 87, 1) 0%, rgba(245, 147, 115, 0.6) 40%, transparent 70%);
        bottom: 10%;
        left: -80px;
        animation: floatOrbUser3 15s ease-in-out infinite;
        animation-delay: -12s;
        z-index: 0;
    }

    /* Purple/Violet orb - bottom right */
    .user-panel-orb-4 {
        width: 480px;
        height: 480px;
        background: radial-gradient(circle, rgba(155, 89, 182, 1) 0%, rgba(102, 126, 234, 0.5) 40%, transparent 70%);
        bottom: -80px;
        right: 20%;
        animation: floatOrbUser4 17s ease-in-out infinite;
        animation-delay: -16s;
        z-index: 0;
    }

    /* Floating animations */
    @keyframes floatOrbUser1 {

        0%,
        100% {
            transform: translate(0, 0) scale(1);
        }

        25% {
            transform: translate(100px, 70px) scale(1.1);
        }

        50% {
            transform: translate(50px, 120px) scale(0.95);
        }

        75% {
            transform: translate(-70px, 90px) scale(1.05);
        }
    }

    @keyframes floatOrbUser2 {

        0%,
        100% {
            transform: translate(0, 0) scale(1);
        }

        25% {
            transform: translate(-100px, 110px) scale(1.15);
        }

        50% {
            transform: translate(-140px, 60px) scale(0.9);
        }

        75% {
            transform: translate(-50px, -70px) scale(1.08);
        }
    }

    @keyframes floatOrbUser3 {

        0%,
        100% {
            transform: translate(0, 0) scale(1);
        }

        25% {
            transform: translate(120px, -60px) scale(1.12);
        }

        50% {
            transform: translate(90px, -110px) scale(0.88);
        }

        75% {
            transform: translate(40px, -80px) scale(1.1);
        }
    }

    @keyframes floatOrbUser4 {

        0%,
        100% {
            transform: translate(0, 0) scale(1);
        }

        25% {
            transform: translate(-80px, -100px) scale(1.18);
        }

        50% {
            transform: translate(-120px, -50px) scale(0.92);
        }

        75% {
            transform: translate(-40px, 70px) scale(1.12);
        }
    }

    /* Reduce motion for accessibility */
    @media (prefers-reduced-motion: reduce) {
        .user-panel-orb {
            animation: none;
        }
    }

    /* Mobile optimization */
    @media screen and (max-width: 768px) {
        .user-panel-orb {
            filter: blur(50px);
            opacity: 0.3;
        }

        .user-panel-orb-1 {
            width: 300px;
            height: 300px;
        }

        .user-panel-orb-2 {
            width: 280px;
            height: 280px;
        }

        .user-panel-orb-3 {
            width: 260px;
            height: 260px;
        }

        .user-panel-orb-4 {
            width: 240px;
            height: 240px;
        }
    }

    /* ==========================================
        DASHBOARD STYLES
        ========================================== */

    /* Modern Dashboard Container */
    .modern-dashboard {
        min-height: 100vh;
        padding: 5px 0;
    }

    /* Welcome Card */
    .welcome-card {
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }

    .welcome-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .welcome-title {
        font-size: clamp(24px, 3vw, 32px);
        font-weight: 700;
        margin: 0 0 8px 0;
    }

    .welcome-subtitle {
        font-size: 16px;
        opacity: 0.7;
        margin: 0;
    }

    .welcome-balance {
        text-align: right;
    }

    .balance-label {
        font-size: 13px;
        opacity: 0.7;
        display: block;
        margin-bottom: 4px;
    }

    .balance-amount {
        font-size: clamp(28px, 4vw, 36px);
        font-weight: 700;
        margin: 0 0 12px 0;
        background: linear-gradient(135deg, #f59373 0%, #667eea 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .currency {
        font-size: 0.6em;
        opacity: 0.8;
    }

    /* Add Funds Button */
    .btn-add-funds {
        /* Frosted Glass Base */
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 28px;
        background: rgba(245, 147, 115, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 14px;

        /* Typography */
        color: #ffffff !important;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        text-decoration: none;

        /* Shadow & Effects */
        box-shadow:
            0 4px 15px rgba(245, 147, 115, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        z-index: 1;
    }

    /* Gradient Overlay */
    .btn-add-funds::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,
                rgba(245, 147, 115, 0.4) 0%,
                rgba(255, 107, 107, 0.4) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    /* Shine Effect */
    .btn-add-funds::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -100%;
        width: 60%;
        height: 200%;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.15),
                transparent);
        transform: skewX(-25deg);
        transition: left 0.6s ease;
    }

    /* HOVER State */
    .btn-add-funds:hover {
        background: rgba(245, 147, 115, 0.25);
        border-color: rgba(245, 147, 115, 0.5);
        transform: translateY(-3px) scale(1.02);
        box-shadow:
            0 8px 30px rgba(245, 147, 115, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .btn-add-funds:hover::before {
        opacity: 1;
    }

    .btn-add-funds:hover::after {
        left: 140%;
    }

    /* ACTIVE State */
    .btn-add-funds:active {
        transform: translateY(-1px) scale(0.98);
        box-shadow:
            0 2px 10px rgba(245, 147, 115, 0.3),
            inset 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    /* Stat Cards */
    .stat-card-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }

    .stat-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 24px;
        display: flex;
        align-items: center;
        gap: 16px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        height: 100%;
    }

    .stat-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 0% 0%, rgba(245, 147, 115, 0.1), transparent 60%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
        border-color: rgba(245, 147, 115, 0.3);
    }

    .stat-card:hover::before {
        opacity: 1;
    }

    .stat-icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .stat-icon.wallet {
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.2) 0%, rgba(245, 147, 115, 0.05) 100%);
        color: #f59373;
    }

    .stat-icon.orders {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(102, 126, 234, 0.05) 100%);
        color: #667eea;
    }

    .stat-icon.processing {
        background: linear-gradient(135deg, rgba(255, 200, 87, 0.2) 0%, rgba(255, 200, 87, 0.05) 100%);
        color: #ffc857;
    }

    .stat-icon.progress {
        background: linear-gradient(135deg, rgba(24, 226, 0, 0.2) 0%, rgba(24, 226, 0, 0.05) 100%);
        color: #18e200;
    }

    .stat-icon.refunded {
        background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.05) 100%);
        color: #ff9800;
    }

    .stat-icon.canceled {
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 107, 107, 0.05) 100%);
        color: #ff6b6b;
    }

    .stat-icon.completed {
        background: linear-gradient(135deg, rgba(76, 209, 55, 0.2) 0%, rgba(76, 209, 55, 0.05) 100%);
        color: #4cd137;
    }

    .stat-icon.auto {
        background: linear-gradient(135deg, rgba(155, 89, 182, 0.2) 0%, rgba(155, 89, 182, 0.05) 100%);
        color: #9b59b6;
    }

    .stat-card:hover .stat-icon {
        transform: scale(1.1) rotate(5deg);
    }

    .stat-content {
        flex-grow: 1;
    }

    .stat-value {
        font-size: clamp(24px, 3vw, 32px);
        font-weight: 700;
        margin: 0 0 4px 0;
        line-height: 1;
    }

    .currency-small {
        font-size: 0.5em;
        opacity: 0.7;
    }

    .stat-label {
        font-size: 14px;
        opacity: 0.7;
        margin: 0;
    }

    .stat-arrow {
        opacity: 0.3;
        transition: all 0.3s ease;
    }

    .stat-card:hover .stat-arrow {
        opacity: 1;
        transform: translateX(4px);
    }

    /* Orders Table Card */
    .orders-table-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0;
        overflow: hidden;
    }

    .card-header-modern {
        padding: 24px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .card-header-modern h4 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
    }

    .view-all-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #f59373;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .view-all-link:hover {
        color: #ff6b6b;
        gap: 10px;
    }

    /* Modern Table */
    .modern-table-wrapper {
        padding: 0;
    }

    .modern-table {
        margin: 0;
        width: 100%;
    }

    .modern-table thead {
        background: rgba(255, 255, 255, 0.02);
    }

    .modern-table thead th {
        padding: 18px 20px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 0.7;
        border: none;
    }

    .modern-table tbody tr {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }

    .modern-table tbody tr:hover {
        background: rgba(255, 255, 255, 0.02);
    }

    .modern-table tbody td {
        padding: 20px;
        vertical-align: middle;
        border: none;
    }

    .order-id {
        font-weight: 700;
        color: #f59373;
    }

    .card-footer-modern {
        background: rgba(255, 255, 255, 0.02) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0 0 14px 14px !important;
        padding: 20px 30px;
        transition: all 0.3s ease;
    }

    .order-details-cell {
        max-width: 350px;
    }

    .order-service {
        font-weight: 600;
        margin-bottom: 4px;
    }

    .order-link {
        font-size: 13px;
        color: #667eea;
        text-decoration: none;
        display: block;
        margin-bottom: 6px;
    }

    .order-link:hover {
        text-decoration: underline;
    }

    .order-meta {
        font-size: 12px;
        opacity: 0.6;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .price-value {
        font-weight: 700;
    }

    .score-value {
        font-weight: 600;
        opacity: 0.9;
    }

    /* Progress Bar */
    .progress-modern {
        width: 100%;
        height: 8px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 6px;
    }

    .progress-bar-modern {
        height: 100%;
        border-radius: 8px;
        transition: width 0.3s ease;
    }

    .progress-bar-modern.success {
        background: linear-gradient(90deg, #18e200, #4cd137);
    }

    .progress-bar-modern.danger {
        background: linear-gradient(90deg, #ff6b6b, #ff4757);
    }

    .progress-bar-modern.primary {
        background: linear-gradient(90deg, #f59373, #667eea);
    }

    .progress-text {
        font-size: 12px;
        opacity: 0.7;
    }

    .date-value {
        font-size: 13px;
        opacity: 0.8;
    }

    /* Status Badges */
    .status-badge {
        display: inline-block;
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        text-transform: capitalize;
    }

    .status-badge.awaiting {
        background: rgba(255, 152, 0, 0.2);
        color: #ff9800;
        border: 1px solid rgba(255, 152, 0, 0.3);
    }

    .status-badge.pending {
        background: rgba(102, 126, 234, 0.2);
        color: #667eea;
        border: 1px solid rgba(102, 126, 234, 0.3);
    }

    .status-badge.processing {
        background: rgba(255, 200, 87, 0.2);
        color: #ffc857;
        border: 1px solid rgba(255, 200, 87, 0.3);
    }

    .status-badge.progress {
        background: rgba(24, 226, 0, 0.2);
        color: #18e200;
        border: 1px solid rgba(24, 226, 0, 0.3);
    }

    .status-badge.completed {
        background: rgba(76, 209, 55, 0.2);
        color: #4cd137;
        border: 1px solid rgba(76, 209, 55, 0.3);
    }

    .status-badge.partial {
        background: rgba(255, 200, 87, 0.2);
        color: #ffc857;
        border: 1px solid rgba(255, 200, 87, 0.3);
    }

    .status-badge.canceled {
        background: rgba(255, 107, 107, 0.2);
        color: #ff6b6b;
        border: 1px solid rgba(255, 107, 107, 0.3);
    }

    .status-badge.refunded {
        background: rgba(255, 107, 107, 0.2);
        color: #ff6b6b;
        border: 1px solid rgba(255, 107, 107, 0.3);
    }

    /* Dark Mode Support */
    body.dark-mode .welcome-card,
    body.dark-mode .stat-card,
    body.dark-mode .orders-table-card {
        background: rgba(255, 255, 255, 0.05);
    }

    body.dark-mode .welcome-title,
    body.dark-mode .stat-value,
    body.dark-mode .card-header-modern h4 {
        color: #fff;
    }

    body.dark-mode .modern-table tbody tr:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    /* Light Mode (default body Р±РµР· .dark-mode) */
    body:not(.dark-mode) .welcome-card,
    body:not(.dark-mode) .stat-card,
    body:not(.dark-mode) .orders-table-card {
        background: rgba(0, 0, 0, 0.03);
        border-color: rgba(0, 0, 0, 0.1);
    }

    body:not(.dark-mode) .welcome-title,
    body:not(.dark-mode) .stat-value,
    body:not(.dark-mode) .card-header-modern h4,
    body:not(.dark-mode) .modern-table {
        color: #333;
    }

    body:not(.dark-mode) .welcome-subtitle,
    body:not(.dark-mode) .stat-label,
    body:not(.dark-mode) .balance-label {
        color: #666;
    }

    body:not(.dark-mode) .modern-table thead {
        background: rgba(0, 0, 0, 0.02);
    }

    body:not(.dark-mode) .modern-table tbody tr {
        border-bottom-color: rgba(0, 0, 0, 0.05);
    }

    body:not(.dark-mode) .modern-table tbody tr:hover {
        background: rgba(0, 0, 0, 0.03);
    }

    body:not(.dark-mode) .progress-modern {
        background: rgba(0, 0, 0, 0.1);
    }

    /* ==========================================
        DASHBOARD RESPONSIVE STYLES
        ========================================== */

    @media (max-width: 1199px) {
        .stat-card {
            padding: 20px;
        }
    }

    @media (max-width: 991px) {
        .welcome-content {
            flex-direction: column;
            align-items: flex-start;
        }

        .welcome-balance {
            text-align: left;
            width: 100%;
        }

        .modern-dashboard {
            padding: 5px 0;
        }
    }

    @media (max-width: 767px) {
        .welcome-card {
            padding: 20px;
        }

        .stat-card {
            padding: 20px;
        }

        .stat-icon {
            width: 48px;
            height: 48px;
        }

        .card-header-modern {
            padding: 20px;
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .modern-table thead {
            display: none;
        }

        .modern-table tbody tr {
            display: block;
            margin-bottom: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 16px;
        }

        .modern-table tbody td {
            display: block;
            padding: 8px 0;
            text-align: left !important;
        }

        .modern-table tbody td::before {
            content: attr(data-label);
            font-weight: 700;
            display: block;
            margin-bottom: 4px;
            opacity: 0.7;
            font-size: 12px;
        }

        .order-details-cell {
            max-width: 100%;
        }
    }

    /* Animation */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    [data-aos] {
        opacity: 0;
        transition-property: transform, opacity;
    }

    [data-aos].aos-animate {
        opacity: 1;
    }

    [data-aos="fade-up"] {
        transform: translateY(20px);
    }

    [data-aos="fade-up"].aos-animate {
        transform: translateY(0);
    }

    /* ==========================================
        ORDER PAGES STYLES
        ========================================== */

    /* ===== COMMON ANIMATIONS ===== */
    @keyframes fadeInRight {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
            transform: translateY(-15px);
        }

        to {
            opacity: 1;
            max-height: 1000px;
            transform: translateY(0);
        }
    }

    @keyframes pulse {

        0%,
        100% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.03);
        }
    }

    @keyframes shimmer {
        0% {
            background-position: -1000px 0;
        }

        100% {
            background-position: 1000px 0;
        }
    }

    @keyframes ripple {
        0% {
            transform: scale(0);
            opacity: 1;
        }

        100% {
            transform: scale(4);
            opacity: 0;
        }
    }

    @keyframes glow {

        0%,
        100% {
            box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
        }

        50% {
            box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
        }
    }

    /* ===== GLASSMORPHISM CARDS (ORDER PAGES) ===== */
    .glass-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .glass-card:hover {
        border-color: rgba(245, 147, 115, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .glass-card .card-body {
        padding: 30px;
    }

    .glass-card .card-title {
        color: #fff;
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
    }

    /* ===== BREADCRUMB ===== */
    .modern-breadcrumb {
        background: transparent;
        padding: 0;
        margin-bottom: 20px;
    }

    .modern-breadcrumb li {
        display: inline-flex;
        align-items: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 14px;
    }

    .modern-breadcrumb li a {
        color: #f59373;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .modern-breadcrumb li a:hover {
        color: #ff6b6b;
    }

    .modern-breadcrumb li.active {
        color: rgba(255, 255, 255, 0.9);
    }

    .modern-breadcrumb li::after {
        content: '/';
        margin: 0 10px;
        opacity: 0.5;
    }

    .modern-breadcrumb li:last-child::after {
        display: none;
    }

    /* ===== ORDER FORM CARD STYLES ===== */
    #order-form .card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        transition: all 0.3s ease;
        animation: fadeInUp 0.6s ease;
        position: relative;
    }

    #order-form .card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 0% 0%, rgba(245, 147, 115, 0.1), transparent 60%);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    #order-form .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
        border-color: rgba(245, 147, 115, 0.3);
    }

    #order-form .card:hover::before {
        opacity: 1;
    }

    #order-form .card-body {
        padding: 30px;
    }

    #order-form .card-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 25px;
        color: #ffffff;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    #order-form .badge {
        padding: 6px 12px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 11px;
        text-transform: uppercase;
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.2) 0%, rgba(245, 147, 115, 0.05) 100%);
        color: #f59373;
        border: 1px solid rgba(245, 147, 115, 0.3);
    }

    /* ===== ORDER FORM INPUTS ===== */
    #order-form .form-group {
        margin-bottom: 20px;
        animation: fadeInUp 0.5s ease;
    }

    #order-form .form-group label {
        font-weight: 600;
        margin-bottom: 8px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        display: block;
    }

    #order-form .form-control {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 12px 16px;
        font-size: 15px;
        transition: all 0.3s ease;
        color: #ffffff;
        font-weight: 400;
    }

    #order-form .form-control::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    #order-form .form-control:focus {
        background: rgba(255, 255, 255, 0.08);
        border-color: #f59373;
        box-shadow: 0 0 0 3px rgba(245, 147, 115, 0.15);
        outline: none;
    }

    /* ===== ORDER FORM SELECTS ===== */
    #order-form select.form-control,
    #order-form .form-group select.form-control {
        /* Glassmorphism Base */
        background: rgba(255, 255, 255, 0.06) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;

        /* Custom Arrow */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23f59373' d='M10 14L4 8h12z'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 14px center !important;
        background-size: 20px !important;

        /* Reset Appearance */
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;

        /* Border & Styling */
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        color: #ffffff !important;
        padding: 14px 50px 14px 18px !important;
        cursor: pointer;
        font-weight: 500;
        border-radius: 12px;
        min-height: 48px;
        line-height: 20px;
        height: auto;
        box-sizing: border-box;
        vertical-align: middle;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Hover State */
    #order-form select.form-control:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(245, 147, 115, 0.3) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
        transform: translateY(-1px);
    }

    /* Focus State */
    #order-form select.form-control:focus {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: #f59373 !important;
        box-shadow: 0 0 0 4px rgba(245, 147, 115, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
        outline: none !important;
        transform: translateY(-1px);
    }

    /* Options */
    #order-form select.form-control option {
        background-color: #1a1a2e !important;
        color: #ffffff !important;
        padding: 16px 20px;
        font-weight: 500;
        font-size: 15px;
        line-height: 1.6;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.2s ease;
    }

    /* Hover state for options (limited browser support) */
    #order-form select.form-control option:hover,
    #order-form select.form-control option:focus {
        background-color: rgba(245, 147, 115, 0.15) !important;
        color: #f59373 !important;
    }

    /* Selected option */
    #order-form select.form-control option:checked {
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.2) 0%, rgba(102, 126, 234, 0.1) 100%) !important;
        color: #f59373 !important;
        font-weight: 600;
    }

    /* Disabled State */
    #order-form select.form-control option:disabled {
        color: rgba(255, 255, 255, 0.3) !important;
        background-color: rgba(0, 0, 0, 0.2) !important;
        font-style: italic;
    }

    /* Dark Mode Specific Overrides */
    .dark-mode #order-form select.form-control,
    .dark-mode #order-form .form-group select.form-control {
        background: rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
        padding: 14px 50px 14px 18px !important;
        min-height: 48px;
        line-height: 20px;
        height: auto;
        box-sizing: border-box;
        vertical-align: middle;
    }

    .dark-mode #order-form select.form-control option {
        background-color: #1a1a2e !important;
        color: #ffffff !important;
        padding: 16px 20px;
        font-weight: 500;
        font-size: 15px;
        line-height: 1.6;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dark-mode #order-form select.form-control option:hover,
    .dark-mode #order-form select.form-control option:focus {
        background-color: rgba(245, 147, 115, 0.2) !important;
        color: #f59373 !important;
    }

    .dark-mode #order-form select.form-control option:checked {
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.25) 0%, rgba(102, 126, 234, 0.15) 100%) !important;
        color: #f59373 !important;
        font-weight: 600;
    }

    /* ===== CUSTOM SELECT DROPDOWN ===== */

    /* Fix parent overflow and z-index issues for custom selects */
    .form-group:has(.custom-select-wrapper.active),
    .row:has(.custom-select-wrapper.active),
    .col-sm-6:has(.custom-select-wrapper.active),
    .col-md-6:has(.custom-select-wrapper.active),
    .drip_feed_check:has(.custom-select-wrapper.active),
    .order-params-group:has(.custom-select-wrapper.active),
    .card-body:has(.custom-select-wrapper.active),
    .card:has(.custom-select-wrapper.active),
    .orders-table-card:has(.custom-select-wrapper.active),
    .search-form:has(.custom-select-wrapper.active),
    .referral-card:has(.custom-select-wrapper.active) {
        z-index: 11000 !important;
        position: relative !important;
        overflow: visible !important;
    }

    .custom-select-wrapper {
        position: relative;
        width: 100%;
        overflow: visible !important;
        /* Isolate rendering layer to prevent flickering */
        isolation: isolate;
        contain: layout style;
    }

    /* Trigger Button */
    .custom-select-trigger {
        /* Glassmorphism Base */
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        /* Prevent flickering */
        backface-visibility: hidden;
        transform: translateZ(0);
        will-change: background, border-color, box-shadow;

        /* Border & Styling */
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 11px 50px 11px 18px;
        cursor: pointer;

        /* Typography */
        color: #ffffff;
        font-weight: 500;
        font-size: 14px;

        /* Layout */
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 43px;
        height: 43px;
        box-sizing: border-box;

        transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
        position: relative;
    }

    .custom-select-trigger:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(245, 147, 115, 0.3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transform: translateY(-1px);
    }

    .custom-select-wrapper.active .custom-select-trigger {
        background: rgba(255, 255, 255, 0.1);
        border-color: #f59373;
        box-shadow: 0 0 0 4px rgba(245, 147, 115, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
        z-index: 11002 !important;
    }

    .custom-select-wrapper.active {
        z-index: 11001 !important;
    }

    .custom-select-text {
        flex: 1;
    }

    .custom-select-text.placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .custom-select-arrow {
        font-size: 12px;
        color: #f59373;
        transition: transform 0.3s ease;
        position: absolute;
        right: 18px;
    }

    .custom-select-wrapper.active .custom-select-arrow {
        transform: rotate(180deg);
    }

    /* Options Container */
    .custom-select-wrapper .custom-select-options {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 11005 !important;

        /* Glassmorphism */
        background: rgba(30, 30, 30, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;

        /* Fix flickering */
        backface-visibility: hidden;
        transform: translateY(-10px) translateZ(0) !important;
        will-change: opacity, transform, visibility;

        /* Border & Shadow */
        border: 1px solid rgba(245, 147, 115, 0.2) !important;
        border-radius: 14px !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(245, 147, 115, 0.1) !important;

        /* Hide by default */
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;

        /* CRITICAL: Show all options without scroll */
        max-height: 600px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;

        /* Padding for better spacing */
        padding: 6px 0 !important;
    }

    .custom-select-wrapper.active .custom-select-options {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) translateZ(0) !important;
    }

    /* Custom Scrollbar */
    .custom-select-options::-webkit-scrollbar {
        width: 8px;
    }

    .custom-select-options::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        margin: 8px 0;
    }

    .custom-select-options::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.4) 0%, rgba(102, 126, 234, 0.4) 100%);
        border-radius: 10px;
        border: 2px solid rgba(26, 26, 46, 0.5);
    }

    .custom-select-options::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.6) 0%, rgba(102, 126, 234, 0.6) 100%);
    }

    /* Individual Options */
    .custom-option {
        padding: 12px 20px;
        margin: 2px 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 14px;
        border-radius: 12px;

        /* Typography */
        color: rgba(255, 255, 255, 0.95);
        font-weight: 500;
        font-size: 15px;
        line-height: 1.4;

        /* No border between items */
        border-bottom: none;

        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .custom-option:last-child {
        border-bottom: none;
    }

    /* Hover Gradient Effect */
    .custom-option::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.15) 0%, rgba(102, 126, 234, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .custom-option:hover::before {
        opacity: 1;
    }

    .custom-option:hover {
        color: #f59373;
        /* Removed padding-left and translateX to fix flickering in blurred containers */
        background: rgba(255, 255, 255, 0.05);
    }

    .custom-option.selected {
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.2) 0%, rgba(102, 126, 234, 0.1) 100%);
        color: #f59373;
        font-weight: 600;
        border-radius: 12px;
        border-left: none !important;
    }

    .custom-option.selected::after {
        display: none;
    }

    .custom-option.disabled {
        color: rgba(255, 255, 255, 0.3);
        cursor: not-allowed;
        font-style: italic;
        background: rgba(0, 0, 0, 0.1);
    }

    .custom-option.disabled:hover {
        padding-left: 24px;
        color: rgba(255, 255, 255, 0.3);
        transform: none;
    }

    .custom-option.disabled::before {
        display: none;
    }

    /* First and last option spacing */
    .custom-option:first-child {
        margin-top: 0;
    }

    .custom-option:last-child {
        margin-bottom: 0;
    }

    .option-icon {
        font-size: 20px;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
    }

    .option-text {
        flex: 1;
        position: relative;
        z-index: 1;
    }

    .dark-mode #order-form select.form-control:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(245, 147, 115, 0.3) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }

    .dark-mode #order-form select.form-control:focus {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: #f59373 !important;
        box-shadow: 0 0 0 4px rgba(245, 147, 115, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    }

    /* ===== VOTE BUTTONS ===== */
    .vote-buttons-container {
        display: flex;
        align-items: center;
        gap: 14px;
        margin: 24px 0;
        flex-wrap: wrap;
        padding: 20px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 12px;
        border: 2px solid #e5e7eb;
        animation: fadeInUp 0.6s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .dark-mode .vote-buttons-container {
        background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
        border-color: #404040;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .vote-button {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 2px solid #d1d5db;
        border-radius: 10px;
        padding: 12px 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        color: #374151;
        font-size: 15px;
        font-weight: 600;
        min-width: 130px;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    .vote-button::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgb(255 255 255 / 8%);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .vote-button:hover::before {
        width: 300px;
        height: 300px;
    }

    .dark-mode .vote-button {
        background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
        border-color: #404040;
        color: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }

    .vote-button:hover:not(.active) {
        transform: translateY(-2px);
        border-color: #9ca3af;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .dark-mode .vote-button:hover:not(.active) {
        background: linear-gradient(135deg, #333333 0%, #3a3a3a 100%);
        border-color: #525252;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }

    .vote-button.upvote:hover:not(.active) {
        border-color: #d93900;
        box-shadow: 0 4px 12px rgba(217, 57, 0, 0.2);
    }

    .vote-button.upvote:hover:not(.active) .arrow-up {
        color: #d93900;
        transform: scale(1.3) translateY(-3px);
        animation: pulse 0.6s ease-in-out;
    }

    .vote-button.downvote:hover:not(.active) {
        border-color: #6a5cff;
        box-shadow: 0 4px 12px rgba(106, 92, 255, 0.2);
    }

    .vote-button.downvote:hover:not(.active) .arrow-down {
        color: #6a5cff;
        transform: scale(1.3) translateY(3px);
        animation: pulse 0.6s ease-in-out;
    }

    .vote-button.active {
        color: #fff !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
        transform: translateY(-2px);
    }

    .vote-button.upvote.active {
        border-color: #d93900 !important;
        background: linear-gradient(135deg, #d93900 0%, #ff4500 100%) !important;
        box-shadow: 0 4px 15px rgba(217, 57, 0, 0.5) !important;
        animation: glow 2s ease-in-out infinite;
    }

    .vote-button.downvote.active {
        border-color: #6a5cff !important;
        background: linear-gradient(135deg, #6a5cff 0%, #8b7fff 100%) !important;
        box-shadow: 0 4px 15px rgba(106, 92, 255, 0.5) !important;
        animation: glow 2s ease-in-out infinite;
    }

    .dark-mode .vote-button.active {
        color: #fff !important;
    }

    .dark-mode .vote-button.upvote.active {
        background: linear-gradient(135deg, #d93900 0%, #ff4500 100%) !important;
        border-color: #d93900 !important;
        box-shadow: 0 4px 15px rgba(217, 57, 0, 0.6) !important;
    }

    .dark-mode .vote-button.downvote.active {
        background: linear-gradient(135deg, #6a5cff 0%, #8b7fff 100%) !important;
        border-color: #6a5cff !important;
        box-shadow: 0 4px 15px rgba(106, 92, 255, 0.6) !important;
    }

    .vote-button.active .arrow-up,
    .vote-button.active .arrow-down {
        color: #fff;
    }

    .arrow-up,
    .arrow-down {
        font-size: 20px;
        font-weight: bold;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        color: #6b7280;
    }

    .dark-mode .arrow-up,
    .dark-mode .arrow-down {
        color: #9ca3af;
    }

    /* ===== JOIN CHECKBOX ===== */
    .join-checkbox-container {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: 12px;
        padding: 12px 16px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 10px;
        border: 2px solid #e5e7eb;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .join-checkbox-container:hover {
        border-color: #cbd5e1;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-1px);
    }

    .dark-mode .join-checkbox-container {
        background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
        border-color: #404040;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

    .dark-mode .join-checkbox-container:hover {
        border-color: #525252;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    }

    .join-checkbox-container label {
        margin: 0;
        cursor: pointer;
        user-select: none;
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;
        color: #374151;
        font-size: 14px;
        transition: color 0.3s ease;
    }

    .dark-mode .join-checkbox-container label {
        color: #e5e7eb;
    }

    .join-checkbox-container input[type="checkbox"] {
        width: 22px;
        height: 22px;
        cursor: pointer;
        margin: 0;
        accent-color: #667eea;
        border-radius: 5px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .join-checkbox-container input[type="checkbox"]:checked {
        transform: scale(1.15);
        animation: pulse 0.3s ease-in-out;
    }

    /* ===== QUESTION CIRCLE ICONS ===== */
    .fa-question-circle {
        font-size: 17px !important;
        opacity: 0.7;
        cursor: help;
        color: #667eea;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        margin-left: 6px;
    }

    .fa-question-circle:hover {
        opacity: 1;
        transform: scale(1.2) rotate(15deg);
        color: #764ba2;
        animation: pulse 0.5s ease-in-out;
    }

    /* ===== ORDER PARAMS ANIMATION ===== */
    .order-params-group {
        display: none;
        opacity: 0;
        transform: translateY(-15px);
    }

    .order-params-group.show {
        display: block;
        animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        opacity: 1;
        transform: translateY(0);
    }

    .drip_feed_check {
        display: none;
    }

    .drip_feed_check.show {
        display: block;
        animation: fadeInUp 0.5s ease;
    }

    /* ===== ORDER DETAILS CONTAINER ===== */
    #order-details-container {
        display: none;
        opacity: 0;
        transform: translateX(-30px);
    }

    #order-details-container.show {
        display: block;
        animation: fadeInRight 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        opacity: 1;
        transform: translateX(0);
    }

    #order-details-container .card {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 2px solid #e5e7eb;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .dark-mode #order-details-container .card {
        background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
        border-color: #404040;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }

    #order-details-container .form-control[disabled] {
        background-color: #f3f4f6;
        border-color: #e5e7eb;
        cursor: not-allowed;
        color: #6b7280;
        opacity: 0.8;
    }

    .dark-mode #order-details-container .form-control[disabled] {
        background-color: #2d2d2d;
        border-color: #404040;
        color: #9ca3af;
    }

    #order-details-container .description {
        border-radius: 10px;
        padding: 18px;
        line-height: 1.7;
        border: 2px solid #e5e7eb;
        min-height: 280px;
        transition: all 0.3s ease;
        color: #374151;
        background-color: #fafafa;
    }

    .dark-mode #order-details-container .description {
        border-color: #404040;
        background: #2a2a2a;
        color: #e5e7eb;
    }

    /* ===== PLACE ORDER BUTTON ===== */
    .place_order {
        background: linear-gradient(135deg, #f59373 0%, #ff7e5f 100%);
        border: none;
        border-radius: 10px;
        padding: 16px 32px;
        font-weight: 700;
        font-size: 16px;
        color: #fff;
        text-transform: uppercase;
        box-shadow: 0 4px 15px rgba(245, 147, 115, 0.4);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        letter-spacing: 0.5px;
    }

    .place_order::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }

    .place_order:hover::before {
        left: 100%;
    }

    .place_order:hover:not(.disabled) {
        background: linear-gradient(135deg, #ff7e5f 0%, #ff6b6b 100%);
        box-shadow: 0 6px 20px rgba(245, 147, 115, 0.5);
        transform: translateY(-2px);
    }

    .place_order:active:not(.disabled) {
        transform: translateY(0);
        box-shadow: 0 3px 10px rgba(245, 147, 115, 0.4);
    }

    .place_order.disabled {
        background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
        cursor: not-allowed !important;
        opacity: 0.7;
        box-shadow: none !important;
        transform: none !important;
    }

    /* ===== ALERT WARNING ===== */
    .alert-warning {
        border-radius: 10px;
        border: 2px solid #fbbf24;
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        margin-bottom: 28px;
        padding: 18px;
        font-weight: 500;
        animation: fadeInUp 0.6s ease;
        color: #92400e;
        box-shadow: 0 2px 10px rgba(251, 191, 36, 0.2);
    }

    .dark-mode .alert-warning {
        background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
        border-color: #fbbf24;
        color: #fef3c7;
        box-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
    }

    /* ===== ORDER FORM CHECKBOX ===== */
    #order-form .form-check {
        padding: 18px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 10px;
        margin-top: 24px;
        border: 2px solid #e5e7eb;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    #order-form .form-check:hover {
        border-color: #cbd5e1;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-1px);
    }

    .dark-mode #order-form .form-check {
        background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
        border-color: #404040;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .dark-mode #order-form .form-check:hover {
        border-color: #525252;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    }

    #order-form .form-check-input {
        width: 24px;
        height: 24px;
        accent-color: #667eea;
        cursor: pointer;
        margin-top: 0;
        margin-right: 12px;
        flex-shrink: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: static;
    }

    #order-form .form-check-input:checked {
        transform: scale(1.15);
        animation: pulse 0.3s ease-in-out;
    }

    #order-form .form-check-label {
        margin-left: 0;
        margin-bottom: 0;
        padding-left: 0;
        font-weight: 600;
        cursor: pointer;
        font-size: 15px;
        color: #374151;
        transition: color 0.3s ease;
        display: inline-block;
    }

    .dark-mode #order-form .form-check-label {
        color: #e5e7eb;
    }

    /* ===== TOOLTIP STYLES ===== */
    .tooltip {
        transition: opacity 0.15s ease-in-out !important;
    }

    .tooltip.show {
        opacity: 0.95 !important;
    }

    .tooltip-inner {
        transition: none !important;
        padding: 10px 14px;
        border-radius: 8px;
        font-size: 13px;
        max-width: 250px;
    }

    /* ===== SUBMIT BUTTON (MASS/AUTO ORDER) ===== */
    .btn-submit {
        background: linear-gradient(135deg, #f59373 0%, #ff6b6b 100%);
        border: none;
        border-radius: 12px;
        color: #fff;
        padding: 14px 28px;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(245, 147, 115, 0.3);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        cursor: pointer;
    }

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(245, 147, 115, 0.4);
    }

    .btn-submit.disabled,
    .btn-submit:disabled {
        background: #6c757d !important;
        cursor: not-allowed;
        opacity: 0.7;
        box-shadow: none;
        transform: none !important;
    }

    /* ===== MASS ORDER STYLES ===== */
    .bulk-order-page,
    .auto-order-page {
        padding: 20px 0;
    }

    .mass-order .form-control {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: #fff;
        padding: 16px;
        font-size: 14px;
        font-family: monospace;
        line-height: 1.6;
        transition: all 0.3s ease;
    }

    .mass-order .form-control:focus {
        background: rgba(255, 255, 255, 0.08);
        border-color: #f59373;
        box-shadow: 0 0 0 3px rgba(245, 147, 115, 0.15);
        outline: none;
    }

    .label-default {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
        padding: 10px 15px;
        border-radius: 8px;
        display: inline-block;
        margin-bottom: 20px;
        font-size: 13px;
    }

    /* ===== ORDERS LIST PAGE STYLES ===== */
    .orders-page {
        padding: 20px 0;
    }

    .modal-backdrop {
        opacity: 0 !important;
    }

    /* Search Form */
    .search-form .form-control {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: #fff;
        padding: 12px 16px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .search-form .form-control::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .search-form .form-control:focus {
        background: rgba(255, 255, 255, 0.08);
        border-color: #f59373;
        box-shadow: 0 0 0 3px rgba(245, 147, 115, 0.15);
        outline: none;
    }

    .search-form select.form-control {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 40px;
        cursor: pointer;
    }

    .search-form select.form-control option {
        background: #1e1e2e;
        color: #fff;
    }

    .btn-search {
        position: relative !important;
        background: rgba(245, 147, 115, 0.15) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        overflow: hidden !important;
        z-index: 1;
        color: #fff;
        padding: 12px 24px;
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s ease;
        width: 100%;
    }

    .btn-search:hover {
        transform: translateY(-3px) scale(1.02) !important;
        background: rgba(245, 147, 115, 0.25) !important;
        border-color: rgba(245, 147, 115, 0.5) !important;
        box-shadow: 0 8px 30px rgba(245, 147, 115, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }

    .btn-search::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.4) 0%, rgba(255, 107, 107, 0.4) 100%) !important;
        opacity: 0 !important;
        transition: opacity 0.4s ease !important;
        z-index: -1 !important;
    }

    .btn-search::after {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -100% !important;
        width: 60% !important;
        height: 200% !important;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent) !important;
        transform: skewX(-25deg) !important;
        transition: left 0.6s ease !important;
    }

    .btn-search:hover::before {
        opacity: 1 !important;
    }

    .btn-search:hover::after {
        left: 150% !important;
    }

    /* Modern Nav Pills */
    .modern-nav-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .modern-nav-pills .nav-item {
        margin: 0;
    }

    .modern-nav-pills .nav-link {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 24px !important;
        background: rgba(245, 147, 115, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 14px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        text-decoration: none !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow: hidden !important;
        z-index: 1;
    }

    .modern-nav-pills .nav-link::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.4) 0%, rgba(255, 107, 107, 0.4) 100%) !important;
        opacity: 0 !important;
        transition: opacity 0.4s ease !important;
        z-index: -1 !important;
    }

    .modern-nav-pills .nav-link::after {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -100% !important;
        width: 60% !important;
        height: 200% !important;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent) !important;
        transform: skewX(-25deg) !important;
        transition: left 0.6s ease !important;
    }

    .modern-nav-pills .nav-link:hover {
        background: rgba(245, 147, 115, 0.2) !important;
        border-color: rgba(245, 147, 115, 0.4) !important;
        color: #fff !important;
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 8px 30px rgba(245, 147, 115, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }

    .modern-nav-pills .nav-link:hover::before {
        opacity: 1 !important;
    }

    .modern-nav-pills .nav-link:hover::after {
        left: 150% !important;
    }

    .modern-nav-pills .nav-link.active {
        background: rgba(245, 147, 115, 0.2) !important;
        border-color: rgba(245, 147, 115, 0.5) !important;
        color: #fff !important;
        box-shadow: 0 8px 25px rgba(245, 147, 115, 0.3);
    }

    .modern-nav-pills .nav-link.active::before {
        opacity: 1 !important;
    }

    /* Modern Orders Table */
    .modern-orders-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .modern-orders-table thead {
        background: rgba(255, 255, 255, 0.03);
    }

    .modern-orders-table thead th {
        padding: 16px 20px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: rgba(255, 255, 255, 0.6);
        border: none;
        text-align: center;
    }

    .modern-orders-table thead th:first-child {
        border-radius: 12px 0 0 12px;
    }

    .modern-orders-table thead th:last-child {
        border-radius: 0 12px 12px 0;
    }

    .modern-orders-table tbody tr {
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .modern-orders-table tbody tr:hover {
        background: rgba(255, 255, 255, 0.03);
    }

    .modern-orders-table tbody td {
        padding: 20px;
        vertical-align: middle;
        border: none;
        color: rgba(255, 255, 255, 0.9);
        text-align: center;
    }

    .modern-orders-table a {
        color: #f59373;
        text-decoration: none;
    }

    .modern-orders-table a:hover {
        text-decoration: underline;
    }

    /* Order Details in Table */
    .order-details {
        text-align: left !important;
    }

    .order-details h5 {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 6px;
        color: #fff;
    }

    .order-details a {
        color: #667eea;
        font-size: 13px;
        text-decoration: none;
        word-break: break-all;
    }

    .order-details a:hover {
        text-decoration: underline;
    }

    /* Stats Button */
    .btn-stats {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
        padding: 8px 14px;
        font-size: 12px;
        font-weight: 600;
        border: none;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .btn-stats:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
    }

    /* More Button */
    .btn-more {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
        padding: 8px 14px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
    }

    .btn-more:hover {
        background: rgba(245, 147, 115, 0.1);
        border-color: rgba(245, 147, 115, 0.3);
        color: #f59373;
        text-decoration: none;
    }

    /* Pagination */
    .modern-pagination {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 30px;
    }

    .modern-pagination .page-link {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
        padding: 10px 16px;
        border-radius: 10px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .modern-pagination .page-link:hover {
        background: rgba(245, 147, 115, 0.1);
        border-color: rgba(245, 147, 115, 0.3);
        color: #f59373;
    }

    .modern-pagination .page-item.active .page-link {
        background: linear-gradient(135deg, #f59373 0%, #ff6b6b 100%);
        border-color: transparent;
        color: #fff;
    }

    /* Chart Mini Card */
    .chart-mini-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 8px;
        max-width: 180px;
        margin: 0 auto;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .chart-mini-card:hover {
        border-color: rgba(245, 147, 115, 0.3);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    /* Modern Modal */
    .modern-modal .modal-content {
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    }

    .modern-modal .modal-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 24px;
    }

    .modern-modal .modal-title {
        color: #fff;
        font-weight: 700;
    }

    .modern-modal .close {
        color: rgba(255, 255, 255, 0.6);
        text-shadow: none;
        opacity: 1;
    }

    .modern-modal .modal-body {
        padding: 25px;
    }

    .modern-modal .modal-footer {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
    }

    /* ===== LIGHT MODE OVERRIDES FOR ORDER PAGES ===== */
    body:not(.dark-mode) .glass-card {
        background: rgba(0, 0, 0, 0.02);
        border-color: rgba(0, 0, 0, 0.08);
    }

    body:not(.dark-mode) .glass-card .card-title {
        color: #333;
        border-bottom-color: rgba(0, 0, 0, 0.1);
    }

    body:not(.dark-mode) .mass-order .form-control {
        background: #fff;
        border-color: #ddd;
        color: #333;
    }

    body:not(.dark-mode) .label-default {
        background: #f0f0f0;
        color: #666;
    }

    body:not(.dark-mode) .search-form .form-control {
        background: #fff;
        border-color: rgba(0, 0, 0, 0.1);
        color: #333;
    }

    body:not(.dark-mode) .modern-nav-pills .nav-link {
        background: rgba(0, 0, 0, 0.03);
        border-color: rgba(0, 0, 0, 0.1);
        color: #666;
    }

    body:not(.dark-mode) .modern-orders-table thead th {
        color: #666;
    }

    body:not(.dark-mode) .modern-orders-table tbody tr {
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    body:not(.dark-mode) .modern-orders-table tbody tr:hover {
        background: #f8f9fa;
    }

    body:not(.dark-mode) .modern-orders-table tbody td {
        color: #333;
    }

    body:not(.dark-mode) .order-details h5 {
        color: #333;
    }

    body:not(.dark-mode) .modern-modal .modal-content {
        background: #fff;
        border-color: #ddd;
    }

    body:not(.dark-mode) .modern-modal .modal-title {
        color: #333;
    }

    body:not(.dark-mode) .modern-modal .close {
        color: #333;
    }

    body:not(.dark-mode) .form-group label {
        color: #333;
    }

    /* ===== ORDER PAGES RESPONSIVE ===== */
    @media (max-width: 991px) {
        .modern-orders-table thead {
            display: none;
        }

        .modern-orders-table tbody tr {
            display: block;
            margin-bottom: 16px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 16px;
        }

        .modern-orders-table tbody td {
            display: block;
            text-align: left !important;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .modern-orders-table tbody td:last-child {
            border-bottom: none;
        }

        .modern-orders-table tbody td::before {
            content: attr(data-label);
            font-weight: 700;
            font-size: 11px;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
            display: block;
            margin-bottom: 4px;
        }

        .progress-modern {
            margin: 0 0 6px 0;
        }

        .modern-nav-pills {
            overflow-x: visible;
            overflow-y: visible;
            flex-wrap: wrap;
            gap: 8px;
            padding-bottom: 0;
        }

        .modern-nav-pills .nav-link {
            white-space: nowrap;
            font-size: 13px;
            padding: 10px 16px;
        }
    }

    @media (max-width: 768px) {
        #order-form .card-body {
            padding: 28px;
        }

        .vote-buttons-container {
            flex-direction: column;
            align-items: stretch;
        }

        .vote-button {
            width: 100%;
        }

        .join-checkbox-container {
            margin-left: 0;
            margin-top: 16px;
        }

        #order-form .card-title {
            font-size: 23px;
        }

        .fa-question-circle {
            cursor: pointer;
            font-size: 19px !important;
            -webkit-tap-highlight-color: transparent;
        }

        /* Mobile reorder: Order Details below Place Order */
        .card-body>.row {
            display: flex !important;
            flex-direction: column !important;
        }

        .card-body>.row>.col-md-6 {
            order: 1;
            width: 100%;
            margin-bottom: 0;
        }

        .card-body>.row>.col-md {
            order: 2;
            margin-top: 35px !important;
            width: 100% !important;
        }
    }

    /* ===== INPUT TEXT VISIBILITY ===== */
    #order-form .form-control::placeholder {
        color: #9ca3af;
        opacity: 1;
        font-weight: 400;
    }

    .dark-mode #order-form .form-control::placeholder {
        color: #6b7280;
    }

    #order-form input[type="text"],
    #order-form input[type="number"],
    #order-form input[type="text"]:focus,
    #order-form input[type="number"]:focus {
        color: #1a1a1a !important;
        font-weight: 500;
    }

    .dark-mode #order-form input[type="text"],
    .dark-mode #order-form input[type="number"],
    .dark-mode #order-form input[type="text"]:focus,
    .dark-mode #order-form input[type="number"]:focus {
        color: #ffffff !important;
    }

    #order-form .form-control[disabled] {
        color: #6b7280 !important;
        opacity: 0.8;
    }


    /* ===== ORDER LIST PAGE STYLES ===== */
    .modal-backdrop {
        opacity: 0 !important;
    }

    /* ===== MODERN ORDER LIST STYLES ===== */
    .orders-page {
        padding: 20px 0;
    }

    /* Breadcrumb */
    /* (Common styles repeated for safety/isolation) */
    .modern-breadcrumb {
        background: transparent;
        padding: 0;
        margin-bottom: 20px;
    }

    .modern-breadcrumb li {
        display: inline-flex;
        align-items: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 14px;
    }

    .modern-breadcrumb li a {
        color: #f59373;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .modern-breadcrumb li a:hover {
        color: #ff6b6b;
    }

    .modern-breadcrumb li.active {
        color: rgba(255, 255, 255, 0.9);
    }

    .modern-breadcrumb li::after {
        content: '/';
        margin: 0 10px;
        opacity: 0.5;
    }

    .modern-breadcrumb li:last-child::after {
        display: none;
    }

    /* Glassmorphism Cards */
    .glass-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .glass-card:hover {
        border-color: rgba(245, 147, 115, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .glass-card .card-body {
        padding: 24px;
    }

    /* Search Form */
    .search-form .form-control {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: #fff;
        padding: 12px 16px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .search-form .form-control::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .search-form .form-control:focus {
        background: rgba(255, 255, 255, 0.08);
        border-color: #f59373;
        box-shadow: 0 0 0 3px rgba(245, 147, 115, 0.15);
        outline: none;
    }

    .search-form select.form-control {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 40px;
        cursor: pointer;
    }

    .search-form select.form-control option {
        background: #1e1e2e;
        color: #fff;
    }

    .btn-search {
        position: relative !important;
        background: rgba(245, 147, 115, 0.15) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        overflow: hidden !important;
        z-index: 1;
        color: #fff;
        padding: 12px 24px;
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s ease;
        width: 100%;
    }

    .btn-search:hover {
        transform: translateY(-3px) scale(1.02) !important;
        background: rgba(245, 147, 115, 0.25) !important;
        border-color: rgba(245, 147, 115, 0.5) !important;
        box-shadow: 0 8px 30px rgba(245, 147, 115, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }

    .btn-search::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.4) 0%, rgba(255, 107, 107, 0.4) 100%) !important;
        opacity: 0 !important;
        transition: opacity 0.4s ease !important;
        z-index: -1 !important;
    }

    .btn-search::after {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -100% !important;
        width: 60% !important;
        height: 200% !important;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent) !important;
        transform: skewX(-25deg) !important;
        transition: left 0.6s ease !important;
    }

    .btn-search:hover::before {
        opacity: 1 !important;
    }

    .btn-search:hover::after {
        left: 150% !important;
    }

    /* Modern Nav Pills */
    .modern-nav-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .modern-nav-pills .nav-item {
        margin: 0;
    }

    .modern-nav-pills .nav-link {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 24px !important;
        background: rgba(245, 147, 115, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 14px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        text-decoration: none !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow: hidden !important;
        z-index: 1;
    }

    .modern-nav-pills .nav-link::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.4) 0%, rgba(255, 107, 107, 0.4) 100%) !important;
        opacity: 0 !important;
        transition: opacity 0.4s ease !important;
        z-index: -1 !important;
    }

    .modern-nav-pills .nav-link::after {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -100% !important;
        width: 60% !important;
        height: 200% !important;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent) !important;
        transform: skewX(-25deg) !important;
        transition: left 0.6s ease !important;
    }

    .modern-nav-pills .nav-link:hover {
        background: rgba(245, 147, 115, 0.2) !important;
        border-color: rgba(245, 147, 115, 0.4) !important;
        color: #fff !important;
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 8px 30px rgba(245, 147, 115, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }

    .modern-nav-pills .nav-link:hover::before {
        opacity: 1 !important;
    }

    .modern-nav-pills .nav-link:hover::after {
        left: 150% !important;
    }

    .modern-nav-pills .nav-link.active {
        background: rgba(245, 147, 115, 0.2) !important;
        border-color: rgba(245, 147, 115, 0.5) !important;
        color: #fff !important;
        box-shadow: 0 8px 25px rgba(245, 147, 115, 0.3);
    }

    .modern-nav-pills .nav-link.active::before {
        opacity: 1 !important;
    }

    /* Modern Table */
    .modern-orders-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .modern-orders-table thead {
        background: rgba(255, 255, 255, 0.03);
    }

    .modern-orders-table thead th {
        padding: 16px 20px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: rgba(255, 255, 255, 0.6);
        border: none;
        text-align: center;
    }

    .modern-orders-table thead th:first-child {
        border-radius: 12px 0 0 12px;
    }

    .modern-orders-table thead th:last-child {
        border-radius: 0 12px 12px 0;
    }

    .modern-orders-table tbody tr {
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .modern-orders-table tbody tr:hover {
        background: rgba(255, 255, 255, 0.03);
    }

    .modern-orders-table tbody td {
        padding: 20px;
        vertical-align: middle;
        border: none;
        color: rgba(255, 255, 255, 0.9);
        text-align: center;
    }

    .order-id {
        font-weight: 700;
        color: #f59373;
        font-size: 15px;
    }

    .order-details {
        text-align: left !important;
    }

    .order-details h5 {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 6px;
        color: #fff;
    }

    .order-details a {
        color: #667eea;
        font-size: 13px;
        text-decoration: none;
        word-break: break-all;
    }

    .order-details a:hover {
        text-decoration: underline;
    }

    .order-meta {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 8px;
    }

    .price-value {
        font-weight: 700;
        font-size: 14px;
    }

    /* Progress Bar */
    .progress-modern {
        width: 100%;
        max-width: 120px;
        height: 8px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        overflow: hidden;
        margin: 0 auto 6px;
    }

    .progress-bar-modern {
        height: 100%;
        border-radius: 8px;
        transition: width 0.3s ease;
    }

    .progress-bar-modern.success {
        background: linear-gradient(90deg, #18e200, #4cd137);
    }

    .progress-bar-modern.danger {
        background: linear-gradient(90deg, #ff6b6b, #ff4757);
    }

    .progress-bar-modern.primary {
        background: linear-gradient(90deg, #f59373, #667eea);
    }

    .progress-text {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.7);
    }

    /* Status Badges */
    .status-badge {
        display: inline-block;
        padding: 6px 14px;
        border-radius: 50px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .status-badge.processing {
        background: rgba(255, 200, 87, 0.15);
        color: #ffc857;
        border: 1px solid rgba(255, 200, 87, 0.3);
    }

    .status-badge.progress {
        background: rgba(24, 226, 0, 0.15);
        color: #18e200;
        border: 1px solid rgba(24, 226, 0, 0.3);
    }

    .status-badge.completed {
        background: rgba(76, 209, 55, 0.15);
        color: #4cd137;
        border: 1px solid rgba(76, 209, 55, 0.3);
    }

    .status-badge.canceled,
    .status-badge.refunded {
        background: rgba(255, 107, 107, 0.15);
        color: #ff6b6b;
        border: 1px solid rgba(255, 107, 107, 0.3);
    }

    .status-badge.awaiting,
    .status-badge.pending {
        background: rgba(102, 126, 234, 0.15);
        color: #667eea;
        border: 1px solid rgba(102, 126, 234, 0.3);
    }

    .status-badge.partial {
        background: rgba(255, 152, 0, 0.15);
        color: #ff9800;
        border: 1px solid rgba(255, 152, 0, 0.3);
    }

    /* Show Stats Button */
    .btn-stats {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
        padding: 8px 14px;
        font-size: 12px;
        font-weight: 600;
        border: none;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .btn-stats:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
    }

    /* More Dropdown */
    .btn-more {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
        padding: 8px 14px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
    }

    .btn-more:hover {
        background: rgba(245, 147, 115, 0.1);
        border-color: rgba(245, 147, 115, 0.3);
        color: #f59373;
        text-decoration: none;
    }

    /* Pagination */
    .modern-pagination {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 30px;
    }

    .modern-pagination .page-link {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
        padding: 10px 16px;
        border-radius: 10px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .modern-pagination .page-link:hover {
        background: rgba(245, 147, 115, 0.1);
        border-color: rgba(245, 147, 115, 0.3);
        color: #f59373;
    }

    .modern-pagination .page-item.active .page-link {
        background: linear-gradient(135deg, #f59373 0%, #ff6b6b 100%);
        border-color: transparent;
        color: #fff;
    }

    /* Chart Mini Card */
    .chart-mini-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 8px;
        max-width: 180px;
        margin: 0 auto;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .chart-mini-card:hover {
        border-color: rgba(245, 147, 115, 0.3);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    /* Modal Styles */
    .modern-modal .modal-content {
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    }

    .modern-modal .modal-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 24px;
    }

    .modern-modal .modal-title {
        color: #fff;
        font-weight: 700;
    }

    .modern-modal .close {
        color: rgba(255, 255, 255, 0.6);
        text-shadow: none;
        opacity: 1;
    }

    /* Mobile Responsive */
    @media (max-width: 991px) {
        .modern-orders-table thead {
            display: none;
        }

        .modern-orders-table tbody tr {
            display: block;
            margin-bottom: 16px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 16px;
        }

        .modern-orders-table tbody td {
            display: block;
            text-align: left !important;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .modern-orders-table tbody td:last-child {
            border-bottom: none;
        }

        .modern-orders-table tbody td::before {
            content: attr(data-label);
            font-weight: 700;
            font-size: 11px;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
            display: block;
            margin-bottom: 4px;
        }

        .progress-modern {
            margin: 0 0 6px 0;
        }

        .modern-nav-pills {
            overflow-x: auto;
            flex-wrap: nowrap;
            padding-bottom: 10px;
        }

        .modern-nav-pills .nav-link {
            white-space: nowrap;
        }
    }

    /* Light mode overrides */
    body:not(.dark-mode) .glass-card {
        background: rgba(0, 0, 0, 0.02);
        border-color: rgba(0, 0, 0, 0.08);
    }

    body:not(.dark-mode) .search-form .form-control {
        background: #fff;
        border-color: rgba(0, 0, 0, 0.1);
        color: #333;
    }

    body:not(.dark-mode) .modern-nav-pills .nav-link {
        background: rgba(0, 0, 0, 0.03);
        border-color: rgba(0, 0, 0, 0.1);
        color: #666;
    }

    body:not(.dark-mode) .modern-orders-table tbody td {
        color: #333;
    }

    body:not(.dark-mode) .order-details h5 {
        color: #333;
    }

    /* ===== ORDER STATISTICS STYLES ===== */
    .main-content {
        background-color: #2d2d2d;
        border-radius: 10px;
        padding: 10px;
        margin: 25px 0px 25px 0px;
    }

    .flex-container,
    .user-section {
        display: flex;
        justify-content: space-between;
        margin: 0px 50px 20px 50px;
    }

    .flex-container span,
    .flex-container i {
        font-size: 20px;
        margin: 0px 10px 0px 10px;

    }

    @media (max-width: 768px) {

        .flex-container,
        .user-section {
            display: flex;
            justify-content: space-between;
            margin: 0 0 10px 0;
            width: 100%;
        }

        .flex-container span,
        .flex-container i {
            display: flex;
            justify-content: center;
            font-size: 4vw;
            margin: 0px 10px 0px 20px;
        }
    }

    .user-section {
        margin: 10px 50px 20px 50px;
        color: #797979;
        font-size: 15px;
        text-align: left;
    }

    .user-section span {
        margin: 0px 0px 0px 10px;
    }

    .user-section a {
        margin: 0px 0px 0px 10px;
        text-decoration: none !important;
        font-size: 16px;
    }

    @media (max-width: 768px) {
        .user-section {
            margin: 10px;
            font-size: 5vw;
            text-align: center;
        }

        .user-section span {
            margin: 0px 0px 10px 10px;
            font-size: 3vw;
        }

        .user-section a {
            margin: 0;
            font-size: 3vw;
        }
    }

    .show-stats-btn {
        background-color: #5f76e8;
        color: #fff;
        padding: 7px 10px;
        font-size: 75%;
        text-align: center;
        vertical-align: baseline;
        border: none;
        border-radius: 10rem;
    }


    .thumbnail {
        cursor: pointer;
    }

    .thumbnail_chart {
        width: 50%;
        height: auto;
        object-fit: cover;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 1000000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.8);
    }

    .modal-content {
        /* Glassmorphism Background */
        background: linear-gradient(180deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        /* Layout */
        margin: 60px auto;
        padding: 0;
        width: 100%;
        max-width: 600px;
        position: relative;

        /* Border & Shadow */
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 24px;
        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);

        /* Animation */
        animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-30px) scale(0.95);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* Modal Header */
    .modal-content .modal-header {
        background: rgb(148 77 69) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 20px 28px !important;
        border-radius: 24px 24px 0 0 !important;
    }

    .modal-content .modal-header .modal-title {
        color: #ffffff;
        font-weight: 700;
        font-size: 18px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .modal-content .modal-header .modal-title i {
        color: #f59373;
    }

    /* Modal Body */
    .modal-content .modal-body {
        padding: 28px;
        color: rgba(255, 255, 255, 0.85);
    }

    .modal-content .modal-body p {
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .modal-content .modal-body .form-group label {
        color: rgba(255, 255, 255, 0.8);
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .modal-content .modal-body .form-control {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: #ffffff;
        padding: 12px 16px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .modal-content .modal-body .form-control:focus {
        background: rgba(0, 0, 0, 0.4);
        border-color: #f59373;
        box-shadow: 0 0 0 3px rgba(245, 147, 115, 0.15);
        outline: none;
    }

    .modal-content .modal-body .form-control::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    /* Modal Footer */
    .modal-content .modal-footer {
        background: rgba(255, 255, 255, 0.02);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 18px 28px;
        border-radius: 0 0 24px 24px;
        display: flex;
        justify-content: flex-end;
        gap: 12px;
    }

    /* Modal Buttons */
    .modal-content .modal-footer .btn {
        padding: 10px 24px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .modal-content .modal-footer .btn-secondary,
    .modal-content .modal-footer .btn-default,
    .modal-content .modal-footer [data-dismiss="modal"] {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.8);
    }

    .modal-content .modal-footer .btn-secondary:hover,
    .modal-content .modal-footer .btn-default:hover,
    .modal-content .modal-footer [data-dismiss="modal"]:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.25);
        color: #ffffff;
    }

    .modal-content .modal-footer .btn-primary {
        background: linear-gradient(135deg, #f59373 0%, #ff6b6b 100%);
        border: none;
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(245, 147, 115, 0.3);
    }

    .modal-content .modal-footer .btn-primary:hover {
        background: linear-gradient(135deg, #ff6b6b 0%, #f59373 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(245, 147, 115, 0.4);
    }

    .modal-content .modal-footer .btn-danger {
        background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
        border: none;
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }

    .modal-content .modal-footer .btn-danger:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    }

    .modal-content .modal-footer .btn-success {
        background: linear-gradient(135deg, #4cd137 0%, #18e200 100%);
        border: none;
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(76, 209, 55, 0.3);
    }

    .modal-content .modal-footer .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(76, 209, 55, 0.4);
    }

    .modal-content .close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 10px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 20px;
        font-weight: 300;
        cursor: pointer;
        z-index: 100;
        transition: all 0.3s ease;
        opacity: 1;
        text-shadow: none;
    }

    .modal-content .close:hover {
        background: rgba(255, 107, 107, 0.2);
        border-color: rgba(255, 107, 107, 0.4);
        color: #ff6b6b;
        transform: rotate(90deg);
    }

    canvas {
        max-width: 100%;
    }

    @media screen and (max-width: 1200px) {
        #showStatsBtn {
            display: block;
            min-width: 100px;
        }

        #chartStatsBtn {
            display: none;
        }
    }

    @media screen and (min-width: 1200px) {
        #showStatsBtn {
            display: none;
        }

        #chartStatsBtn {
            display: block;
        }
    }

    /* ===== AUTO ORDER PAGE STYLES ===== */
    /* ===== MODERN GLASSMORPHISM STYLES ===== */
    .auto-order-page {
        padding: 20px 0;
    }

    .modern-breadcrumb {
        background: transparent;
        padding: 0;
        margin-bottom: 20px;
    }

    .modern-breadcrumb li {
        display: inline-flex;
        align-items: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 14px;
    }

    .modern-breadcrumb li a {
        color: #f59373;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .modern-breadcrumb li a:hover {
        color: #ff6b6b;
    }

    .modern-breadcrumb li.active {
        color: rgba(255, 255, 255, 0.9);
    }

    .modern-breadcrumb li::after {
        content: '/';
        margin: 0 10px;
        opacity: 0.5;
    }

    .modern-breadcrumb li:last-child::after {
        display: none;
    }

    .glass-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .glass-card:hover {
        border-color: rgba(245, 147, 115, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .glass-card .card-body {
        padding: 30px;
    }

    .glass-card .card-title {
        color: #fff;
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 8px;
        display: block;
    }

    .form-control {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: #fff;
        padding: 12px 16px;
        font-size: 14px;
        height: auto;
        transition: all 0.3s ease;
    }

    .form-control:focus {
        background: rgba(255, 255, 255, 0.08);
        border-color: #f59373;
        box-shadow: 0 0 0 3px rgba(245, 147, 115, 0.15);
        outline: none;
    }

    .form-control option {
        background: #1e1e2e;
        color: #fff;
    }

    select.form-control {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 40px;
        cursor: pointer;
    }

    .btn-submit {
        background: linear-gradient(135deg, #f59373 0%, #ff6b6b 100%);
        border: none;
        border-radius: 12px;
        color: #fff;
        padding: 14px 28px;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(245, 147, 115, 0.3);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(245, 147, 115, 0.4);
    }

    .modern-orders-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 10px;
        margin-top: -10px;
    }

    .modern-orders-table thead th {
        border: none;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 500;
        padding: 15px;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 1px;
    }

    .modern-orders-table tbody tr {
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }

    .modern-orders-table tbody tr:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .modern-orders-table td {
        border: none;
        padding: 15px;
        vertical-align: middle;
        color: #fff;
        font-size: 14px;
    }

    .modern-orders-table td:first-child {
        border-radius: 10px 0 0 10px;
    }

    .modern-orders-table td:last-child {
        border-radius: 0 10px 10px 0;
    }

    .modern-orders-table a {
        color: #f59373;
        text-decoration: none;
    }

    .modern-orders-table a:hover {
        text-decoration: underline;
    }

    .modern-modal .modal-content {
        background: #1e1e2e;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .modern-modal .modal-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
    }

    .modern-modal .modal-title {
        color: #fff;
        font-weight: 600;
    }

    .modern-modal .close {
        color: #fff;
        text-shadow: none;
        opacity: 0.7;
    }

    .modern-modal .close:hover {
        opacity: 1;
    }

    .modern-modal .modal-body {
        padding: 25px;
    }

    .modern-modal .modal-footer {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
    }

    body:not(.dark-mode) .glass-card {
        background: rgba(0, 0, 0, 0.02);
        border-color: rgba(0, 0, 0, 0.08);
    }

    body:not(.dark-mode) .glass-card .card-title {
        color: #333;
        border-bottom-color: rgba(0, 0, 0, 0.1);
    }

    body:not(.dark-mode) .form-control {
        background: #fff;
        border-color: #ddd;
        color: #333;
    }

    body:not(.dark-mode) .modern-orders-table thead th {
        color: #666;
    }

    body:not(.dark-mode) .modern-orders-table tbody tr {
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    body:not(.dark-mode) .modern-orders-table tbody tr:hover {
        background: #f8f9fa;
    }

    body:not(.dark-mode) .modern-orders-table td {
        color: #333;
    }

    body:not(.dark-mode) .modern-modal .modal-content {
        background: #fff;
        border-color: #ddd;
    }

    body:not(.dark-mode) .modern-modal .modal-title {
        color: #333;
    }

    body:not(.dark-mode) .modern-modal .close {
        color: #333;
    }

    /* ===== SERVICES PAGE STYLES ===== */
    /* ===== SERVICES PAGE MODERN DESIGN (MATCHING DASHBOARD) ===== */
    .services-container {
        padding: 20px 0;
    }

    .services-container .card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        transition: all 0.3s ease;
        margin-bottom: 20px;
    }

    .services-container .card-body {
        padding: 30px;
    }

    /* Search Form */
    .services-container .form-control {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 14px 16px;
        color: #ffffff;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.5;
        height: auto;
        transition: all 0.3s ease;
    }

    .services-container .form-control::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .services-container .form-control:focus {
        background: rgba(255, 255, 255, 0.08);
        border-color: #f59373;
        box-shadow: 0 0 0 3px rgba(245, 147, 115, 0.15);
        outline: none;
    }

    .services-container select.form-control {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23f59373' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        padding-right: 40px;
    }

    .services-container select.form-control option {
        background-color: #1a1a2e;
        color: #ffffff;
        padding: 10px;
    }

    /* Search Button (matching Add Funds) - СѓР±СЂР°Р»Рё С‚РµРЅРё */
    .services-container .btn-primary {
        background: linear-gradient(135deg, #f59373 0%, #ff6b6b 100%);
        border: none;
        border-radius: 12px;
        padding: 14px 24px;
        font-weight: 600;
        font-size: 14px;
        color: white;
        transition: all 0.3s ease;
    }

    .services-container .btn-primary:hover {
        background: linear-gradient(135deg, #ff6b6b 0%, #f59373 100%);
    }

    .services-container .btn-primary i {
        margin-right: 8px;
    }

    /* Accordion */
    .accordion-service .card {
        margin-bottom: 16px;
    }

    .accordion-service .card-header {
        background: rgba(255, 255, 255, 0.02);
        border: none;
        padding: 0;
    }

    .accordion-service .btn-header-link {
        width: 100%;
        text-align: left;
        padding: 20px 24px;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
        transition: all 0.3s ease;
        display: block;
        border-radius: 20px;
    }

    .accordion-service .btn-header-link:hover {
        color: #f59373;
        background: rgba(255, 255, 255, 0.02);
    }

    .accordion-service .btn-header-link[aria-expanded="true"] {
        color: #f59373;
        padding: 5px 25px;
    }

    .accordion-service .btn-header-link i {
        margin-right: 10px;
        color: #f59373;
    }

    .accordion-service .collapse {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Table */
    .services-container .table-responsive {
        border-radius: 12px;
        overflow-x: auto;
    }

    .services-container .table {
        margin: 0;
    }

    .services-container .table thead {
        background: rgba(255, 255, 255, 0.02);
    }

    .services-container .table thead th {
        padding: 18px 20px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: rgba(255, 255, 255, 0.7);
        border: none;
    }

    .services-container .table tbody tr {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }

    .services-container .table tbody tr:hover {
        background: rgba(255, 255, 255, 0.02);
    }

    .services-container .table tbody td {
        padding: 18px 20px;
        border: none;
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
    }

    /* More Button - СѓР±СЂР°Р»Рё С‚РµРЅРё */
    .services-container .btn-default {
        background: linear-gradient(135deg, #f59373 0%, #ff6b6b 100%);
        border: none;
        border-radius: 10px;
        padding: 8px 16px;
        font-weight: 600;
        font-size: 13px;
        color: white;
        transition: all 0.3s ease;
    }

    .services-container .btn-default:hover {
        background: linear-gradient(135deg, #ff6b6b 0%, #f59373 100%);
        color: white;
    }

    .services-container .btn-default i {
        margin-right: 6px;
    }

    /* Modal */
    .modal-content {
        background: rgba(30, 30, 30, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        color: #ffffff;
    }

    .modal-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 24px 30px;
    }

    .modal-title {
        font-size: 20px;
        font-weight: 700;
        color: #ffffff;
    }

    .modal-header .close {
        color: rgba(255, 255, 255, 0.7);
        opacity: 1;
        text-shadow: none;
        font-size: 28px;
    }

    .modal-header .close:hover {
        color: #f59373;
    }

    .modal-body {
        padding: 24px 30px;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
    }

    .modal-footer {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 30px;
    }

    .modal-footer .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
        border-radius: 10px;
        padding: 10px 20px;
        font-weight: 600;
    }

    .modal-footer .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .modal-footer .order-now {
        background: linear-gradient(135deg, #f59373 0%, #ff6b6b 100%);
        border: none;
        border-radius: 10px;
        padding: 10px 24px;
        font-weight: 600;
        color: white;
        box-shadow: 0 4px 12px rgba(245, 147, 115, 0.3);
    }

    .modal-footer .order-now:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(245, 147, 115, 0.4);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .services-container .card-body {
            padding: 20px;
        }

        .accordion-service .btn-header-link {
            padding: 16px 20px;
            font-size: 15px;
        }

        .services-container .table thead th {
            font-size: 11px;
            padding: 12px 10px;
        }

        .services-container .table tbody td {
            padding: 12px 10px;
            font-size: 13px;
        }
    }

    /* ===== ADD FUND PAGE STYLES (DASHBOARD THEME REDESIGN) ===== */

    /* Pricing Cards - matching Dashboard Stat Cards */
    .pricing-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 35px 25px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        min-height: 280px;
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    /* Remove the gradient animation */
    .pricing-card::before {
        display: none;
    }

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
        border-color: rgba(245, 147, 115, 0.3);
    }

    /* Selected state - applies to any clicked card */
    .pricing-card.selected {
        background: rgba(245, 147, 115, 0.08);
        border-color: #f59373;
        box-shadow: 0 0 20px rgba(245, 147, 115, 0.3);
    }

    /* Remove checkmarks from style.css */
    .pricing-card.selected::before,
    .pricing-card.selected::after {
        display: none !important;
    }

    /* Reset popular-package styling from style.css - make it look like other cards */
    .pricing-card.popular-package {
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .pricing-card.popular-package:hover {
        border-color: rgba(245, 147, 115, 0.3) !important;
        transform: translateY(-5px) !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3) !important;
    }

    .pricing-card.popular-package.selected {
        background: rgba(245, 147, 115, 0.08) !important;
        border-color: #f59373 !important;
        box-shadow: 0 0 20px rgba(245, 147, 115, 0.3) !important;
        transform: translateY(-5px) !important;
    }




    .pricing-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 20px;
        backdrop-filter: blur(5px);
    }

    .pricing-points {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .pricing-points i {
        color: #f59373;
        font-size: 20px;
    }

    .pricing-price {
        font-size: 28px;
        font-weight: 700;
        background: linear-gradient(135deg, #f59373 0%, #667eea 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 5px;
    }

    .pricing-old-price {
        font-size: 14px;
        text-decoration: line-through;
        color: #6b7280;
        margin-right: 8px;
        font-weight: 400;
        -webkit-text-fill-color: #6b7280;
        /* Override gradient for old price */
    }

    .pricing-per-point {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.6);
    }

    /* Custom Text Classes from previous clean-up */
    .text-theme {
        color: #f59373 !important;
    }

    .save-badge {
        margin-top: 10px;
        display: inline-block;
        padding: 4px 12px;
        background: rgba(24, 226, 0, 0.1);
        border: 1px solid rgba(24, 226, 0, 0.2);
        border-radius: 12px;
        font-size: 12px;
        color: #18e200;
        font-weight: 600;
    }

    .custom-badge-bg {
        background: linear-gradient(135deg, #667eea, #764ba2);
        border: none;
    }

    .pricing-custom-text {
        font-size: 18px;
        background: linear-gradient(135deg, #f59373 0%, #667eea 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .flexible-pricing {
        margin-top: 10px;
        display: inline-block;
        padding: 4px 12px;
        background: rgba(102, 126, 234, 0.1);
        border: 1px solid rgba(102, 126, 234, 0.2);
        border-radius: 12px;
        font-size: 12px;
        color: #667eea;
        font-weight: 600;
    }

    /* Card Containers */
    .card-body-nopadding {
        padding: 0 !important;
    }

    .pricing-packages-card,
    .orders-table-card,
    .info-banner,
    .card {
        background: transparent !important;
        /* Let specific children handle backgrounds or set specific overrides */
        box-shadow: none !important;
        border: none !important;
        overflow: visible !important;
    }

    /* Ensure the main cards inside Add Fund have the dashboard style background if they aren't pricing cards */
    .add-fund-container .card {
        /* Reset general card styles for the container to avoid double backgrounds */
        background: transparent;
        box-shadow: none;
        border: none;
    }

    /* Specific styling for the surrounding cards to match dashboard containers */
    .add-fund-container .card>.card-body {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 24px;
        margin-bottom: 20px;
    }

    /* Details/Summary Accordions */
    details.details-card {
        border-radius: 16px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    details.details-card summary {
        list-style: none;
        padding: 20px 24px;
        background: rgba(255, 255, 255, 0.05);
        cursor: pointer;
        font-weight: 600;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
        border-radius: 16px;
        position: relative;
    }

    /* Add arrow indicator */
    details.details-card summary::after {
        content: '+';
        font-size: 20px;
        font-weight: 300;
        transition: transform 0.3s ease;
        opacity: 0.8;
        color: #f59373;
        line-height: 1;
    }

    details.details-card[open] summary::after {
        content: '\2212';
        /* Minus symbol */
        transform: rotate(0deg);
    }

    details.details-card summary:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    details.details-card[open] summary {
        border-radius: 16px 16px 0 0;
        background: rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .details-content {
        background: rgba(255, 255, 255, 0.02);
        padding: 24px;
        font-size: 14px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
        border-top: none;
        border-radius: 0 0 16px 16px;
    }

    /* Modern Service Points List - Grid with Cards */
    .service-points-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 12px;
    }

    .service-points-list li {
        background: rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 14px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .service-points-list li::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 0% 50%, rgba(245, 147, 115, 0.05), transparent 60%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .service-points-list li:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(245, 147, 115, 0.3);
        transform: translateX(4px);
    }

    .service-points-list li:hover::before {
        opacity: 1;
    }

    .service-points-list li strong {
        color: #f59373;
        font-weight: 600;
    }


    .summary-flex {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 15px;
    }

    /* Gateway Cards - matching Dashboard Stat Cards interactiveness */
    .gateway-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 20px;
        text-align: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        height: 100%;
        position: relative;
        overflow: hidden;
    }

    .gateway-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 100%, rgba(102, 126, 234, 0.1), transparent 70%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .gateway-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
        border-color: rgba(102, 126, 234, 0.3);
    }

    .gateway-card:hover::before {
        opacity: 1;
    }

    .gateway {
        width: 100%;
        height: 80px;
        object-fit: contain;
        margin-bottom: 15px;
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
        transition: transform 0.3s ease;
    }

    .gateway-card:hover .gateway {
        transform: scale(1.1);
    }

    /* Buttons inside Gateway Cards */
    .btn.addFund {
        /* Base styles matching Dashboard .btn-add-funds */
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 10px 15px;
        background: rgba(245, 147, 115, 0.15);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        color: #fff !important;
        font-weight: 600;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-decoration: none;
        transition: all 0.3s ease;
        overflow: hidden;
        margin-top: 10px;
    }

    .btn.addFund:hover {
        background: rgba(245, 147, 115, 0.25);
        border-color: rgba(245, 147, 115, 0.5);
        box-shadow: 0 5px 15px rgba(245, 147, 115, 0.3);
        transform: translateY(-2px);
    }

    /* ===== UNIFIED BUTTON STYLES FOR USER PANEL (GLASSMORPHISM - MATCHING ADD FUNDS) ===== */

    /* Base Button Style - Applied to all primary buttons */
    .btn-primary,
    .checkCalc,
    .btn-pay-action,
    .btn.addFund,
    button[type="submit"]:not(.btn-secondary),
    .submit-btn,
    .place_order {
        /* Frosted Glass Base */
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 12px 28px !important;
        background: rgba(245, 147, 115, 0.15) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 14px !important;

        /* Typography */
        color: #ffffff !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        text-decoration: none !important;

        /* Shadow & Effects */
        box-shadow: 0 4px 15px rgba(245, 147, 115, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow: hidden !important;
        z-index: 1 !important;
        cursor: pointer !important;
        justify-content: center !important;
    }

    /* Gradient Overlay */
    .btn-primary::before,
    .checkCalc::before,
    .btn-pay-action::before,
    .btn.addFund::before,
    button[type="submit"]:not(.btn-secondary)::before,
    .submit-btn::before,
    .place_order::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.4) 0%, rgba(255, 107, 107, 0.4) 100%) !important;
        opacity: 0 !important;
        transition: opacity 0.4s ease !important;
        z-index: -1 !important;
    }

    /* Shine Effect */
    .btn-primary::after,
    .checkCalc::after,
    .btn-pay-action::after,
    .btn.addFund::after,
    button[type="submit"]:not(.btn-secondary)::after,
    .submit-btn::after,
    .place_order::after {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -100% !important;
        width: 60% !important;
        height: 200% !important;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent) !important;
        transform: skewX(-25deg) !important;
        transition: left 0.6s ease !important;
    }

    /* HOVER State */
    .btn-primary:hover:not(:disabled),
    .checkCalc:hover:not(:disabled),
    .btn-pay-action:hover:not(:disabled),
    .btn.addFund:hover:not(:disabled),
    button[type="submit"]:not(.btn-secondary):hover:not(:disabled),
    .submit-btn:hover:not(:disabled),
    .place_order:hover:not(.disabled) {
        background: rgba(245, 147, 115, 0.25) !important;
        border-color: rgba(245, 147, 115, 0.5) !important;
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 8px 30px rgba(245, 147, 115, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }

    /* Activate gradient on hover */
    .btn-primary:hover:not(:disabled)::before,
    .checkCalc:hover:not(:disabled)::before,
    .btn-pay-action:hover:not(:disabled)::before,
    .btn.addFund:hover:not(:disabled)::before,
    button[type="submit"]:not(.btn-secondary):hover:not(:disabled)::before,
    .submit-btn:hover:not(:disabled)::before,
    .place_order:hover:not(.disabled)::before {
        opacity: 1 !important;
    }

    /* Shine on hover */
    .btn-primary:hover:not(:disabled)::after,
    .checkCalc:hover:not(:disabled)::after,
    .btn-pay-action:hover:not(:disabled)::after,
    .btn.addFund:hover:not(:disabled)::after,
    button[type="submit"]:not(.btn-secondary):hover:not(:disabled)::after,
    .submit-btn:hover:not(:disabled)::after,
    .place_order:hover:not(.disabled)::after {
        left: 140% !important;
    }

    /* ACTIVE State */
    .btn-primary:active:not(:disabled),
    .checkCalc:active:not(:disabled),
    .btn-pay-action:active:not(:disabled),
    .btn.addFund:active:not(:disabled),
    button[type="submit"]:not(.btn-secondary):active:not(:disabled),
    .submit-btn:active:not(:disabled),
    .place_order:active:not(.disabled) {
        transform: translateY(-1px) scale(0.98) !important;
        box-shadow: 0 2px 10px rgba(245, 147, 115, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    }

    /* Disabled state */
    .btn-primary:disabled,
    .checkCalc:disabled,
    .btn-pay-action:disabled,
    .btn.addFund:disabled,
    button[type="submit"]:not(.btn-secondary):disabled,
    .submit-btn:disabled {
        background: rgba(255, 255, 255, 0.08) !important;
        color: rgba(255, 255, 255, 0.3) !important;
        box-shadow: none !important;
        cursor: not-allowed !important;
        transform: none !important;
    }

    /* Secondary gradient variant (for danger/cancel actions) */
    .btn-danger,
    .btn-cancel,
    .btn-secondary {
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%) !important;
        box-shadow: 0 8px 20px rgba(255, 107, 107, 0.35) !important;
    }

    .btn-danger:hover:not(:disabled),
    .btn-cancel:hover:not(:disabled),
    .btn-secondary:hover:not(:disabled) {
        box-shadow: 0 12px 30px rgba(255, 107, 107, 0.5) !important;
    }

    /* Success variant (for confirm actions) */
    .btn-success,
    .btn-confirm {
        background: linear-gradient(135deg, #18e200 0%, #4cd137 100%) !important;
        box-shadow: 0 8px 20px rgba(24, 226, 0, 0.35) !important;
    }

    .btn-success:hover:not(:disabled),
    .btn-confirm:hover:not(:disabled) {
        box-shadow: 0 12px 30px rgba(24, 226, 0, 0.5) !important;
    }

    /* Modal and Form Styles */
    .modal-content {
        background: rgba(20, 20, 30, 0.98);
        backdrop-filter: blur(30px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    }

    .modal-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 5px 25px;
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.1) 0%, rgba(102, 126, 234, 0.05) 100%);
        border-radius: 24px 24px 0 0;
    }



    .modal-title {
        font-weight: 700;
        color: #fff;
        font-size: 20px;
        letter-spacing: 0.5px;
    }

    .close {
        color: rgba(255, 255, 255, 0.6);
        text-shadow: none;
        transition: all 0.3s;
        font-size: 28px;
        font-weight: 300;
        opacity: 1;
    }

    .close:hover {
        color: #fff;
        transform: rotate(90deg);
    }

    .modal-body {
        padding: 28px;
    }

    .close:focus,
    .close:hover {
        outline: none;
    }

    /* Form Groups */
    .form-group {
        margin-bottom: 24px;
    }

    /* Inputs in Modal */
    .form-control {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #fff;
        transition: all 0.3s ease;
        border-radius: 12px;
        padding: 14px 16px;
        font-size: 15px;
        font-weight: 500;
    }

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .form-control:focus {
        background: rgba(255, 255, 255, 0.08);
        border-color: #f59373;
        box-shadow: 0 0 0 4px rgba(245, 147, 115, 0.15);
        color: #fff;
        outline: none;
    }

    .input-group-text {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.7);
        font-weight: 600;
        padding: 14px 16px;
        font-size: 14px;
    }

    .deposit-limit-container {
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 20px;
        border-radius: 14px;
        margin-bottom: 24px;
    }

    .deposit-limit-text {
        font-size: 15px;
        color: #fff;
        font-weight: 600;
        margin: 0;
    }

    /* Crypto Warning Box - Enhanced */
    .crypto-warning-box {
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
        border: 1px solid rgba(251, 191, 36, 0.25);
        border-left: 3px solid #fbbf24;
        border-radius: 10px;
        padding: 14px 16px;
        margin-top: 12px;
    }

    .crypto-warning-text {
        color: #fef3c7;
        font-size: 13px;
        line-height: 1.6;
    }

    /* Pay Action Button in Modal/AJAX Response */
    .btn-pay-action {
        background: linear-gradient(135deg, #f59373 0%, #ff6b6b 100%);
        border: none;
        border-radius: 14px;
        padding: 16px;
        font-weight: 700;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        box-shadow: 0 8px 20px rgba(245, 147, 115, 0.4);
        transition: all 0.3s ease;
        width: 100%;
    }

    .btn-pay-action:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(245, 147, 115, 0.6);
    }

    .form-label-styled {
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
        opacity: 0.7;
        font-weight: 700;
        margin-bottom: 10px;
        display: block;
    }

    /* Modal Footer */
    .modal-footer {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 24px 28px;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 0 0 24px 24px;
    }


    /* Info Banner Styling */
    .info-banner {
        background: rgb(49 42 39) !important;
        border: 1px solid rgba(102, 126, 234, 0.2) !important;
        border-radius: 16px;
        padding: 15px 20px;
        margin-bottom: 25px;
        color: #e0e6ed;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .info-banner a {
        color: #f59373;
        font-weight: 700;
        text-decoration: none;
        border-bottom: 1px dashed #f59373;
    }

    .info-banner a:hover {
        border-bottom-style: solid;
    }


    /* ==========================================
        NAVIGATION DROPDOWN STYLES
        Matches Custom Select Design
        ========================================== */
    .dropdown-menu-modern {
        background: rgb(37, 37, 37) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
        padding: 8px 0 !important;
        margin-top: 10px !important;
        /* Spacing from nav */
    }

    /* Remove old internal shadow/blur pseudo-element */
    .dropdown-menu-modern::before {
        display: none !important;
    }

    .dropdown-item-modern {
        padding: 12px 20px !important;
        font-size: 15px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        font-weight: 500 !important;
        border-radius: 8px !important;
        margin: 2px 8px !important;
        transition: all 0.2s ease !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .dropdown-item-modern svg {
        opacity: 0.7 !important;
        transition: all 0.2s ease !important;
        width: 18px !important;
        height: 18px !important;
    }

    .dropdown-item-modern:hover {
        background: rgba(245, 147, 115, 0.1) !important;
        color: #fff !important;
        transform: translateX(4px) !important;
    }

    .dropdown-item-modern:hover svg {
        color: #f59373 !important;
        opacity: 1 !important;
        transform: scale(1.1) !important;
    }

    .dropdown-divider-modern {
        background: rgba(255, 255, 255, 0.1) !important;
        margin: 8px 0 !important;
    }

    /* Active state for dropdown items */
    .dropdown-item-modern.active {
        background: linear-gradient(90deg, rgba(245, 147, 115, 0.15), transparent) !important;
        color: #f59373 !important;
    }

    .dropdown-item-modern.active svg {
        color: #f59373 !important;
        opacity: 1 !important;
    }

    /* User Profile Dropdown Specifics */
    /* ==========================================
        NAVIGATION SHINE EFFECT
        Matches .btn-add-funds shine
        ========================================== */
    .nav-link-modern,
    .user-profile-btn,
    .notification-btn,
    .theme-btn {
        position: relative !important;
        overflow: hidden !important;
    }

    /* Shine Pseudo-element */
    .nav-link-modern::after,
    .user-profile-btn::after,
    .notification-btn::after,
    .theme-btn::after {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -100% !important;
        width: 60% !important;
        height: 200% !important;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.15),
                transparent) !important;
        transform: skewX(-25deg) !important;
        transition: left 0.6s ease !important;
        pointer-events: none !important;
        z-index: 100 !important;
    }

    /* Hover State for Shine & Text Color */
    .nav-link-modern:hover,
    .user-profile-btn:hover {
        color: #ffffff !important;
    }

    .nav-link-modern:hover::after,
    .user-profile-btn:hover::after,
    .notification-btn:hover::after,
    .theme-btn:hover::after {
        left: 140% !important;
    }

    /* ==========================================
        MOBILE MENU OPTIMIZATION
        Smooth animation & Burger to X
        ========================================== */
    .navbar-collapse.collapsing {
        transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        height: 0;
        overflow: hidden;
    }

    .navbar-collapse.show {
        transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .modern-toggler,
    .navbar-toggler,
    .navbar-collapse {
        transition-delay: 0s !important;
    }

    /* BURGER TO X TRANSFORMATION */
    .modern-toggler .toggler-line {
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform-origin: center;
    }

    /* When menu is open (aria-expanded="true") */
    .modern-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .modern-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .modern-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* ==========================================
        NAVIGATION MENU STYLES
        ========================================== */

    /* Modern Header Styles */
    .modern-header {
        background: #1b1b1b;
        background: linear-gradient(180deg, #1b1b1b 0%, #151515 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: sticky;
        top: 0;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .modern-header::before {
        content: "";
        position: absolute;
        background: inherit;
        z-index: -1;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        box-shadow: inset 0 0 2000px rgba(255, 255, 255, 0.05);
        filter: blur(10px);
        overflow: hidden;
    }

    .modern-header:hover {
        border-bottom-color: rgba(255, 255, 255, 0.15);
    }

    /* Shift entire header content left by reducing container padding */
    .modern-header .container-fluid {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    /* Logo */
    .logo-modern {
        padding: 8px 0;
        position: relative;
        z-index: 10;
    }

    .logo-img {
        max-height: 45px;
        display: block;
        transition: all 0.3s ease;
    }

    .logo-modern:hover .logo-img {
        transform: scale(1.05);
    }

    /* Mobile Toggler */
    .modern-toggler {
        border: none;
        padding: 8px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        transition: all 0.3s ease;
        position: relative;
        z-index: 10;
    }

    .modern-toggler:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .modern-toggler:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    }

    .toggler-line {
        width: 24px;
        height: 2px;
        background: currentColor;
        display: block;
        margin: 5px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    /* Navigation Links */
    .nav-link-modern {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        margin: 0 4px;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        z-index: 10;
    }

    .nav-link-modern .nav-icon {
        width: 26px;
        height: 26px;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .nav-link-modern .chevron-icon {
        margin-left: 2px;
        opacity: 0.6;
        transition: all 0.3s ease;
    }

    .nav-link-modern:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-1px);
    }

    .nav-link-modern:hover .nav-icon,
    .nav-link-modern:hover .chevron-icon {
        color: #ffffff;
        transform: scale(1.1);
    }

    .nav-link-modern.active {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
    }

    .nav-link-modern.active .nav-icon {
        color: #ffffff;
    }

    /* Dropdown Menu */
    .dropdown-modern {
        position: relative;
    }

    .dropdown-menu-modern {
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        min-width: 240px;
        background: linear-gradient(135deg, rgba(26, 31, 58, 0.98) 0%, rgba(30, 35, 60, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 8px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        overflow: hidden;
        z-index: 1100;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    }

    /* Removed ::before blur hack */

    .dropdown-modern.show .dropdown-menu-modern,
    .dropdown-modern:hover .dropdown-menu-modern {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .user-dropdown {
        left: auto;
        right: 0;
        transform: none !important;
        /* Override center transform */
        min-width: 280px;
    }

    .dropdown-modern.show .user-dropdown,
    .user-profile-modern:hover .user-dropdown {
        transform: translateY(0) !important;
    }

    .dropdown-item-modern {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        border-radius: 8px;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .dropdown-item-modern svg {
        flex-shrink: 0;
        opacity: 0.7;
        transition: all 0.3s ease;
    }

    .dropdown-item-modern:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        text-decoration: none;
        transform: translateX(4px);
    }

    .dropdown-item-modern:hover svg {
        color: #ffffff;
        opacity: 1;
        transform: scale(1.1);
    }

    .dropdown-item-modern.active,
    .dropdown-item-modern.logout-item:hover {
        background: rgba(255, 107, 107, 0.15);
        color: #ff6b6b;
    }

    .dropdown-divider-modern {
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 8px 0;
    }

    /* Right Icons */
    .navbar-icons {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: 20px;
        position: relative;
        z-index: 10;
        overflow: visible !important;
        /* Fix for badge clipping */
    }

    /* Theme Button */
    .theme-btn {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        color: rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
        position: relative;
        text-decoration: none;
    }

    .theme-btn:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        transform: translateY(-2px);
        text-decoration: none;
    }

    /* ==========================================
    NOTIFICATION STYLES (Consolidated)
    ========================================== */

    .notification-modern {
        position: relative;
        overflow: visible !important;
    }

    /* Notification Button - Matching .nav-link-modern */
    .notification-btn {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        /* Keeping dimensions for icon alignment */
        border-radius: 10px;
        /* Match nav-link-modern radius */
        background: transparent;
        /* Match nav-link-modern default bg */
        border: none !important;
        transition: all 0.3s ease;
        cursor: pointer;
        color: rgba(255, 255, 255, 0.8);
        /* Match nav-link-modern color */
        overflow: visible !important;
        z-index: 10;
        /* Match nav-link-modern z-index */
    }

    /* Force disable any unwanted pseudo-element shine */
    .notification-btn::before,
    .notification-btn::after {
        display: none !important;
        content: none !important;
    }

    /* Hover State - Matching .nav-link-modern */
    .notification-btn:hover {
        background: rgba(255, 255, 255, 0.08);
        /* Match nav-link-modern hover bg */
        color: #ffffff;
        transform: translateY(-1px);
        /* Match nav-link-modern transform */
        box-shadow: none !important;
        /* Remove previous glow to strictly match */
        text-decoration: none;
    }

    /* Notification badge - Ensure visibility and correct positioning */
    .notification-badge {
        position: absolute;
        top: -8px !important;
        /* Moved further out */
        right: -8px !important;
        /* Moved further out */
        background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
        color: #ffffff;
        font-size: 11px;
        font-weight: 700;
        min-width: 18px;
        height: 18px;
        border-radius: 50%;
        /* Perfect circle */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
        border: 2px solid var(--darkblue, #1a1f3a);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
        z-index: 9999 !important;
        /* Highest priority */
    }

    /* Dropdown Menu */
    .notification-dropdown {
        position: absolute;
        top: calc(100% + 15px);
        right: -10px;
        width: 350px;
        max-height: 450px;
        background: linear-gradient(135deg, rgba(26, 31, 58, 0.98) 0%, rgba(30, 35, 60, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
        overflow: hidden;
        z-index: 9999;
        display: none;
        padding-bottom: 0;
    }

    .notification-dropdown.show {
        display: block;
        animation: dropdownFadeIn 0.3s ease;
    }

    @keyframes dropdownFadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .notification-header {
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.02);
    }

    .notification-header h6 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #ffffff;
    }

    .notification-body {
        max-height: 320px;
        overflow-y: auto;
        padding: 8px 0;
    }

    .notification-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 20px;
        transition: all 0.2s ease;
        cursor: pointer;
        border-left: 3px solid transparent;
        text-decoration: none;
        color: inherit;
    }

    .notification-item:hover {
        background: rgba(255, 255, 255, 0.05);
        text-decoration: none;
    }

    .notification-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(245, 147, 115, 0.2) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .notification-icon i {
        font-size: 18px;
        color: #667eea;
    }

    .notification-content {
        flex: 1;
        min-width: 0;
    }

    .notification-text {
        display: block;
        font-size: 14px;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 4px;
    }

    .notification-time {
        display: block;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
    }

    .notification-footer {
        padding: 12px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.02);
        text-align: center;
    }

    .notification-clear,
    .no-notifications {
        font-size: 13px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
    }

    /* Theme Toggle */
    .theme-icon {
        transition: all 0.3s ease;
    }

    .theme-btn:hover .theme-icon {
        transform: rotate(20deg);
    }

    #sun-icon,
    #moon-icon {
        display: none;
    }

    /* User Profile */
    .user-profile-btn {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 6px 12px 6px 6px;
        background: transparent;
        /* Match nav-link-modern default */
        border-radius: 12px;
        /* Match properties of other nav items */
        transition: all 0.3s ease;
        text-decoration: none;
        color: inherit;
    }

    .user-profile-btn:hover {
        background: rgba(255, 255, 255, 0.08);
        /* Match nav-link-modern hover */
        text-decoration: none;
        transform: translateY(-1px);
        /* Match nav-link-modern transform */
    }

    .user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid rgba(255, 255, 255, 0.2);
        flex-shrink: 0;
    }

    .user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .user-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .user-name {
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
    }

    .user-balance {
        font-size: 12px;
        opacity: 0.7;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    /* Light Mode */
    body:not(.dark-mode) .modern-header {
        background: rgba(255, 255, 255, 0.8);
        border-bottom-color: rgba(0, 0, 0, 0.1);
    }

    body:not(.dark-mode) .nav-link-modern,
    body:not(.dark-mode) .notification-btn,
    body:not(.dark-mode) .theme-btn,
    body:not(.dark-mode) .user-profile-btn {
        color: rgba(0, 0, 0, 0.8);
    }

    /* Light Mode Dropdowns */
    body:not(.dark-mode) .dropdown-menu-modern,
    body:not(.dark-mode) .notification-dropdown {
        background: #ffffff;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

    body:not(.dark-mode) .dropdown-item-modern {
        color: rgba(30, 30, 40, 0.9);
    }

    body:not(.dark-mode) .notification-header h6,
    body:not(.dark-mode) .notification-item {
        color: rgba(30, 30, 40, 0.9);
    }

    body:not(.dark-mode) .notification-item {
        border-bottom-color: rgba(0, 0, 0, 0.05);
    }

    body:not(.dark-mode) .dropdown-divider-modern {
        background: rgba(0, 0, 0, 0.1);
    }

    body:not(.dark-mode) .notification-header {
        border-bottom-color: rgba(0, 0, 0, 0.1);
    }

    body:not(.dark-mode) .notification-footer {
        border-top-color: rgba(0, 0, 0, 0.1);
    }

    /* Dark Mode Dropdowns */
    body.dark-mode .dropdown-menu-modern,
    body.dark-mode .notification-dropdown {
        background: #1b1b1b;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }

    body.dark-mode .dropdown-item-modern {
        color: rgba(255, 255, 255, 0.9);
    }

    body.dark-mode .notification-header h6,
    body.dark-mode .notification-item {
        color: rgba(255, 255, 255, 0.9);
    }

    body.dark-mode .notification-item {
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }

    body.dark-mode .dropdown-divider-modern {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Mobile Backdrop */
    .mobile-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1500;
    }

    .mobile-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    /* Hide mobile dashboard icon on desktop */
    .mobile-dashboard-icon {
        display: none;
    }

    /* Mobile Styles */
    @media (max-width: 1199px) {

        /* Mobile Dashboard Icon - positioned next to burger */
        .mobile-dashboard-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: rgba(255, 255, 255, 0.8);
            transition: all 0.3s ease;
            position: relative;
            z-index: 2100;
            margin-left: auto;
            margin-right: 10px;
        }

        .mobile-dashboard-icon:hover {
            background: rgba(255, 255, 255, 0.12);
            color: #ffffff;
            transform: translateY(-2px);
            text-decoration: none;
        }

        .mobile-dashboard-icon svg {
            flex-shrink: 0;
        }

        /* Hamburger Animation */
        .modern-toggler {
            z-index: 2100;
        }

        /* Hide hamburger when menu is open */
        .modern-toggler.active {
            opacity: 0;
            pointer-events: none;
        }

        .modern-toggler .toggler-line {
            transform-origin: center;
        }

        .modern-toggler.active .toggler-line:nth-child(1) {
            transform: rotate(45deg) translateY(7px) translateX(7px);
        }

        .modern-toggler.active .toggler-line:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }

        .modern-toggler.active .toggler-line:nth-child(3) {
            transform: rotate(-45deg) translateY(-7px) translateX(7px);
        }

        /* Mobile Drawer - Redesigned */
        .navbar-collapse {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0 !important;
            width: 100%;
            max-width: 400px;
            height: 100dvh !important;
            min-height: 100% !important;
            background: rgba(15, 15, 15, 0.85) !important;
            backdrop-filter: blur(25px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
            transform: translateY(-100%) !important;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            z-index: 9999 !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            padding: 0;
            box-shadow: none !important;
            border-left: 1px solid rgba(255, 255, 255, 0.08);
            visibility: hidden;
        }

        .navbar-collapse::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top right, rgba(245, 147, 115, 0.05), transparent 60%);
            z-index: -1;
            pointer-events: none;
        }

        /* Open State */
        .navbar-collapse.show,
        .navbar-collapse.collapsing.is-opening {
            visibility: visible;
            transform: translateY(0) !important;
        }

        /* Closing State */
        .navbar-collapse.collapsing.is-closing {
            visibility: visible;
            transform: translateY(-100%) !important;
        }

        /* Force Bootstrap to use our transform transition instead of height */
        .navbar-collapse.collapsing {
            height: 100dvh !important;
            display: block !important;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s !important;
        }

        /* Mobile Nav Items - Better Layout */
        .navbar-nav {
            width: 100%;
            padding: 95px 20px 20px;
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .navbar-nav .nav-item {
            width: 100%;
            margin: 0;
        }

        .nav-link-modern {
            display: flex;
            align-items: center;
            gap: 14px;
            margin: 0 0 4px 0;
            padding: 16px 20px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 14px;
            min-height: 56px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.85);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
        }

        .nav-link-modern:hover,
        .nav-link-modern.active {
            background: rgba(245, 147, 115, 0.12);
            border-color: rgba(245, 147, 115, 0.3);
            color: #f59373;
            /* Removed translateX to keep alignment with other buttons */
        }

        .nav-link-modern .nav-icon {
            width: 22px;
            height: 22px;
            flex-shrink: 0;
            opacity: 0.7;
            transition: all 0.3s ease;
        }

        .nav-link-modern:hover .nav-icon,
        .nav-link-modern.active .nav-icon {
            opacity: 1;
            color: #f59373;
        }

        /* Mobile Dropdowns - Improved */
        .dropdown-modern {
            width: 100%;
            margin: 0;
        }

        .dropdown-toggle-modern {
            width: 100%;
            justify-content: flex-start;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 5px;
            transition: all 0.3s ease;
        }

        .dropdown-toggle-modern .chevron-icon {
            margin-left: auto;
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            opacity: 0.6;
        }

        .dropdown-modern.show .dropdown-toggle-modern {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .dropdown-modern.show .chevron-icon {
            transform: rotate(180deg);
            opacity: 1;
        }

        .dropdown-menu-modern {
            position: static !important;
            transform: translateY(-10px) !important;
            margin: 0;
            padding: 0;
            width: 100%;
            max-height: 0;
            opacity: 0;
            visibility: hidden;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease;
            box-shadow: none;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            border: none;
            display: none;
        }

        .dropdown-menu-modern::before {
            display: none;
        }

        .dropdown-modern.show .dropdown-menu-modern {
            display: block;
            transform: translateY(0) !important;
            max-height: 800px;
            opacity: 1;
            visibility: visible;
            margin: 6px 0 12px 0;
            padding: 8px 6px;
            background: rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.03);
        }

        .dropdown-item-modern {
            padding: 12px 16px 12px 48px;
            min-height: 48px;
            font-size: 14px;
            background: transparent;
            border-radius: 8px;
            margin: 0;
            width: 100%;
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.3s ease,
                background 0.2s ease,
                transform 0.2s ease;
        }

        /* РљР°СЃРєР°РґРЅР°СЏ Р°РЅРёРјР°С†РёСЏ РґР»СЏ СЌР»РµРјРµРЅС‚РѕРІ РјРµРЅСЋ */
        .dropdown-modern.show .dropdown-item-modern {
            opacity: 1;
            transform: translateX(0);
        }

        .dropdown-modern.show .dropdown-item-modern:nth-child(1) {
            transition-delay: 0.1s;
        }

        .dropdown-modern.show .dropdown-item-modern:nth-child(2) {
            transition-delay: 0.15s;
        }

        .dropdown-modern.show .dropdown-item-modern:nth-child(3) {
            transition-delay: 0.2s;
        }

        .dropdown-modern.show .dropdown-item-modern:nth-child(4) {
            transition-delay: 0.25s;
        }

        .dropdown-modern.show .dropdown-item-modern:nth-child(5) {
            transition-delay: 0.3s;
        }

        .dropdown-modern.show .dropdown-item-modern:nth-child(6) {
            transition-delay: 0.35s;
        }

        .dropdown-modern.show .dropdown-item-modern:nth-child(7) {
            transition-delay: 0.4s;
        }

        .dropdown-modern.show .dropdown-item-modern:nth-child(8) {
            transition-delay: 0.45s;
        }

        .dropdown-item-modern:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(4px);
        }

        .dropdown-item-modern svg {
            width: 16px;
            height: 16px;
        }

        .dropdown-divider-modern {
            margin: 2px 0;
            background: rgba(255, 255, 255, 0.08);
        }

        /* User Dropdown - Improved */
        .user-dropdown {
            left: 0;
            right: auto;
            width: 100%;
        }

        /* Mobile Bottom Section - Now below profile */
        .navbar-icons {
            position: relative;
            width: calc(100% - 40px);
            margin: 10px 20px 20px;
            padding: 16px;
            background: rgba(255, 255, 255, 0.04);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 18px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            z-index: 10;
            order: 10;
            /* Move below user profile */
        }

        .notification-btn,
        .theme-btn {
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 10px;
        }

        .notification-btn:hover,
        .theme-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        /* User Profile in Mobile - Redesigned */
        .user-profile-modern {
            width: 100%;
            margin-top: 8px;
            margin-bottom: 8px;
        }

        .user-profile-btn {
            width: 100%;
            justify-content: flex-start;
            padding: 18px 20px;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(245, 147, 115, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            min-height: 80px;
            margin-bottom: 0;
        }

        .user-avatar {
            width: 48px;
            height: 48px;
            border: 2px solid #f59373;
            box-shadow: 0 0 15px rgba(245, 147, 115, 0.3);
        }

        .user-info {
            display: flex !important;
            flex-direction: column;
            gap: 4px;
            margin-left: 12px;
        }

        .user-name {
            font-size: 17px;
            font-weight: 700;
            color: #f59373;
        }

        .user-balance {
            font-size: 14px;
            font-weight: 600;
            opacity: 0.9;
            color: #fff;
            background: rgba(255, 255, 255, 0.1);
            padding: 2px 10px;
            border-radius: 20px;
            width: fit-content;
            display: inline-flex;
            align-items: center;
        }

        .user-profile-btn .chevron-icon {
            margin-left: auto;
            opacity: 0.8 !important;
        }
    }

    @media (max-width: 767px) {
        .modern-header {
            padding: 8px 0;
        }

        /* Fullscreen mobile menu on smartphones */
        .navbar-collapse {
            width: 100%;
            max-width: 100%;
            border-radius: 0;
            border-left: none;
        }

        .navbar-icons {
            flex-wrap: wrap;
            gap: 10px;
        }

        .user-info {
            display: none;
        }

        .notification-btn,
        .theme-btn {
            width: 44px;
            height: 44px;
        }

        /* Larger touch targets for mobile */
        .nav-link-modern {
            min-height: 52px;
            padding: 16px;
            margin-bottom: 5px;
        }

        .dropdown-item-modern {
            min-height: 48px;
            padding: 14px 16px;
        }
    }

    /* Dark Mode Mobile Menu */
    body.dark-mode .navbar-collapse::before {
        box-shadow: inset 0 0 2000px rgba(0, 0, 0, 0.3);
    }

    body.dark-mode .navbar-collapse::after {
        color: rgba(255, 255, 255, 0.9);
    }

    body:not(.dark-mode) .navbar-collapse {
        background: #f8f9fa;
        background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    }

    body:not(.dark-mode) .navbar-collapse::before {
        box-shadow: inset 0 0 2000px rgba(0, 0, 0, 0.02);
    }

    body:not(.dark-mode) .navbar-collapse::after {
        color: rgba(30, 30, 40, 0.9);
    }

    /* ==========================================
    NOTIFICATION FIXES
    ========================================== */

    /* Notification badge - ensure it's visible and not cut off */
    .notification-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
        color: #ffffff;
        font-size: 11px;
        font-weight: 700;
        min-width: 18px;
        height: 18px;
        border-radius: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
        border: 2px solid var(--darkblue, #1a1f3a);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
        z-index: 10;
    }

    /* Notification button container */
    .notification-modern {
        position: relative;
    }

    .notification-btn {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        cursor: pointer;
        color: inherit;
    }

    .notification-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        color: inherit;
        text-decoration: none;
    }

    /* Notification dropdown - beautiful popup */
    .notification-dropdown {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 350px;
        max-width: calc(100vw - 40px);
        max-height: 450px;
        background: rgba(40, 40, 45, 0.92) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
        overflow: hidden;
        z-index: 9999;
        display: none;
    }

    .notification-dropdown.show {
        display: block;
        animation: dropdownFadeIn 0.3s ease;
    }

    @keyframes dropdownFadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .notification-header {
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.02);
    }

    .notification-header h6 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #ffffff;
    }

    .notification-body {
        max-height: 320px;
        overflow-y: auto;
        padding: 8px 0;
    }

    .notification-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 20px;
        transition: all 0.2s ease;
        cursor: pointer;
        border-left: 3px solid transparent;
        text-decoration: none;
        color: inherit;
    }

    .notification-item:hover {
        background: rgba(255, 255, 255, 0.05);
        text-decoration: none;
    }

    .notification-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(245, 147, 115, 0.2) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .notification-icon i {
        font-size: 18px;
        color: #667eea;
    }

    .notification-content {
        flex: 1;
        min-width: 0;
    }

    .notification-text {
        display: block;
        font-size: 14px;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 4px;
    }

    .notification-time {
        display: block;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
    }

    .notification-footer {
        padding: 12px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.02);
        text-align: center;
    }

    .notification-clear {
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
    }

    .notification-clear:hover {
        color: #f59373;
        text-decoration: none;
    }

    .no-notifications {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.5);
    }


    /* Mobile responsive */
    @media (max-width: 767px) {
        .notification-dropdown {
            width: calc(100vw - 40px);
            right: -150px;
        }
    }

    /* ==========================================
    STAT ICON FIX
    ========================================== */

    /* Fix for stat icons - prevent squashing */
    .stat-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .stat-icon svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    /* ==========================================
    ORDERS TABLE STYLES
    ========================================== */

    /* View All link - white text */
    .view-all-link {
        color: #ffffff !important;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: all 0.3s ease;
    }

    .view-all-link:hover {
        color: #667eea !important;
        text-decoration: none;
        transform: translateX(4px);
    }

    /* Order ID - white text */
    .order-id {
        color: #ffffff !important;
        font-weight: 600;
        font-size: 14px;
    }

    /* Status badges with beautiful colors and transparency */
    .status-badge {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 14px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        text-transform: capitalize !important;
        white-space: nowrap !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid !important;
        transition: all 0.3s ease !important;
        min-width: 100px !important;
    }

    /* Processing - РЅРµР¶РЅС‹Р№ С„РёРѕР»РµС‚РѕРІС‹Р№ */
    .status-badge.processing,
    .status-badge.pending,
    .status-badge.awaiting {
        background: rgba(102, 126, 234, 0.15) !important;
        color: #a5b4fc !important;
        border-color: rgba(102, 126, 234, 0.3) !important;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2) !important;
    }

    .status-badge.processing:hover,
    .status-badge.pending:hover,
    .status-badge.awaiting:hover {
        background: rgba(102, 126, 234, 0.25) !important;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
    }


    /* In Progress - РЅРµР¶РЅС‹Р№ РѕСЂР°РЅР¶РµРІС‹Р№ */
    span.status-badge.progress,
    .status-badge.progress {
        background: rgba(245, 147, 115, 0.15) !important;
        color: #fbbf77 !important;
        border-color: rgba(245, 147, 115, 0.3) !important;
        box-shadow: 0 2px 8px rgba(245, 147, 115, 0.2) !important;
    }

    span.status-badge.progress:hover,
    .status-badge.progress:hover {
        background: rgba(245, 147, 115, 0.25) !important;
        box-shadow: 0 4px 12px rgba(245, 147, 115, 0.3) !important;
    }

    /* Completed - РЅРµР¶РЅС‹Р№ Р·РµР»РµРЅС‹Р№ */
    .status-badge.completed {
        background: rgba(52, 211, 153, 0.15) !important;
        color: #6ee7b7 !important;
        border-color: rgba(52, 211, 153, 0.3) !important;
        box-shadow: 0 2px 8px rgba(52, 211, 153, 0.2) !important;
    }

    .status-badge.completed:hover {
        background: rgba(52, 211, 153, 0.25) !important;
        box-shadow: 0 4px 12px rgba(52, 211, 153, 0.3) !important;
    }

    /* Cancelled - РЅРµР¶РЅС‹Р№ СЃРёРЅРёР№ */
    .status-badge.canceled {
        background: rgba(96, 165, 250, 0.15) !important;
        color: #93c5fd !important;
        border-color: rgba(96, 165, 250, 0.3) !important;
        box-shadow: 0 2px 8px rgba(96, 165, 250, 0.2) !important;
    }

    .status-badge.canceled:hover {
        background: rgba(96, 165, 250, 0.25) !important;
        box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3) !important;
    }

    /* Refunded - РЅРµР¶РЅС‹Р№ РєСЂР°СЃРЅС‹Р№ */
    .status-badge.refunded,
    .status-badge.partial {
        background: rgba(248, 113, 113, 0.15) !important;
        color: #fca5a5 !important;
        border-color: rgba(248, 113, 113, 0.3) !important;
        box-shadow: 0 2px 8px rgba(248, 113, 113, 0.2) !important;
    }

    .status-badge.refunded:hover,
    .status-badge.partial:hover {
        background: rgba(248, 113, 113, 0.25) !important;
        box-shadow: 0 4px 12px rgba(248, 113, 113, 0.3) !important;
    }

    /* Ensure badges don't get squashed */
    .status-badge {
        flex-shrink: 0;
    }

    /* Table white text */
    .modern-table td,
    .modern-table th {
        color: rgba(255, 255, 255, 0.9);
    }

    .modern-table .price-value,
    .modern-table .date-value {
        color: rgba(255, 255, 255, 0.8);
    }

    .modern-table .order-link {
        color: #667eea;
    }

    .modern-table .order-link:hover {
        color: #f59373;
    }

    /* ==========================================
    FORCE IN PROGRESS STYLE (override any conflicts)
    ========================================== */

    td span.status-badge.progress,
    .modern-table span.status-badge.progress,
    table span.status-badge.progress,
    span.status-badge.progress {
        background: rgba(245, 147, 115, 0.15) !important;
        color: #fbbf77 !important;
        border-color: rgba(245, 147, 115, 0.3) !important;
        box-shadow: 0 2px 8px rgba(245, 147, 115, 0.2) !important;
        border: 1px solid rgba(245, 147, 115, 0.3) !important;
        padding: 6px 14px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    /* ==========================================
    FINAL OVERRIDE FOR IN PROGRESS - MAXIMUM PRIORITY
    ========================================== */

    /* Use extremely specific selectors to override everything */
    body .modern-table td span.status-badge.progress,
    body table td span.status-badge.progress,
    body tr td span.status-badge.progress,
    body span.status-badge.progress.progress,
    body .status-badge.progress,
    span.status-badge.progress.progress,
    .status-badge.progress.progress {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 14px !important;
        min-width: 100px !important;
        height: auto !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        text-transform: capitalize !important;
        white-space: nowrap !important;
        backdrop-filter: blur(10px) !important;
        flex-shrink: 0 !important;

        /* In Progress РѕСЂР°РЅР¶РµРІС‹Р№ С†РІРµС‚ */
        background: rgba(245, 147, 115, 0.15) !important;
        background-color: rgba(245, 147, 115, 0.15) !important;
        color: #fbbf77 !important;
        overflow: visible !important;
        flex-direction: row !important;
        transition: all 0.3s ease !important;
    }

    /* ==========================================
    MOBILE OPTIMIZATIONS FOR DASHBOARD & ORDERS
    ========================================== */

    /* Base spacing improvements for all screen sizes */
    .modern-table td {
        padding: 12px !important;
        vertical-align: top;
    }

    .order-details-cell {
        line-height: 1.6;
    }

    .order-service {
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
    }

    .order-link {
        display: block;
        margin-bottom: 8px;
        word-break: break-all;
    }

    .order-meta {
        margin-bottom: 8px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .progress-modern {
        margin: 12px 0;
    }

    .progress-text {
        margin-top: 4px;
        font-size: 12px;
    }

    .price-value,
    .date-value {
        display: block;
        font-weight: 600;
    }

    .status-badge {
        margin-top: 8px;
    }

    /* Mobile optimizations - Smartphones */
    @media (max-width: 767px) {

        /* Remove horizontal scroll */
        .table-responsive,
        .modern-table-wrapper {
            overflow-x: visible !important;
            overflow-y: visible !important;
        }

        /* Latest Orders card spacing */
        .orders-table-card {
            padding: 16px;
            overflow: visible !important;
        }

        .card-header-modern {
            padding: 16px;
            margin-bottom: 16px;
        }

        /* Table row as card */
        .modern-table tbody tr {
            display: block;
            margin-bottom: 24px;
            padding: 16px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .modern-table thead {
            display: none;
        }

        .modern-table td {
            display: block;
            padding: 8px 0 !important;
            border: none;
            text-align: left !important;
        }

        /* Order ID prominent */
        .modern-table td:first-child {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 12px;
            padding-bottom: 12px !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Add labels for mobile */
        .modern-table td[data-label]:before {
            content: attr(data-label) ": ";
            font-weight: 600;
            opacity: 0.6;
            margin-right: 8px;
            display: inline-block;
            min-width: 80px;
        }

        /* Order Details section */
        .order-details-cell {
            margin-bottom: 16px;
            padding: 12px 0 !important;
        }

        .order-service {
            font-size: 15px;
            margin-bottom: 10px;
        }

        .order-link {
            font-size: 13px;
            margin-bottom: 10px;
            color: #667eea;
        }

        .order-meta {
            font-size: 12px;
            gap: 12px;
            margin-top: 8px;
        }

        .order-meta span {
            display: inline-block;
        }

        /* Price section */
        .modern-table td[data-label="Price"] {
            margin: 16px 0;
        }

        .price-value {
            font-size: 18px;
            color: #667eea;
        }

        /* Progress section */
        .modern-table td[data-label="Progress"] {
            margin: 16px 0;
        }

        .progress-modern {
            margin: 12px 0;
            height: 8px;
            border-radius: 4px;
        }

        .progress-text {
            margin-top: 8px;
            font-size: 13px;
        }

        /* Date section */
        .modern-table td[data-label="Date"],
        .modern-table td[data-label="Ordered"] {
            margin: 16px 0;
        }

        .date-value {
            font-size: 14px;
        }

        /* Status section */
        .modern-table td[data-label="Status"] {
            margin-top: 16px;
            padding-top: 16px !important;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .status-badge {
            margin-top: 8px;
            width: fit-content;
        }

        /* Buttons section - make visible */
        .modern-table td button,
        .modern-table td .btn,
        .modern-table td a.btn {
            display: block !important;
            width: 100% !important;
            margin: 8px 0 !important;
            white-space: normal !important;
            overflow: visible !important;
            text-overflow: clip !important;
        }

        /* Fix text overflow in cards */
        .modern-table tbody tr {
            overflow: visible !important;
            word-wrap: break-word !important;
        }

        .modern-table td {
            overflow: visible !important;
            word-wrap: break-word !important;
        }

        /* Labels spacing */
        .modern-table td[data-label] {
            margin-bottom: 12px;
        }

        .modern-table td[data-label]:not(:last-child) {
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* Stats cards on mobile */
        .stat-card {
            margin-bottom: 16px;
        }

        /* Welcome card */
        .welcome-card {
            padding: 20px;
        }

        .welcome-content {
            flex-direction: column;
            gap: 16px;
        }
    }

    /* Tablet optimizations */
    @media (min-width: 768px) and (max-width: 991px) {
        .modern-table td {
            padding: 10px !important;
            font-size: 13px;
        }

        .order-service {
            font-size: 14px;
        }

        .order-link {
            font-size: 12px;
        }

        .order-meta {
            font-size: 11px;
        }
    }

    /* ==========================================
    ALL ORDERS MOBILE - CLEAN REDESIGN
    ========================================== */

    /* Mobile only - smartphones */
    @media (max-width: 767px) {

        /* Force ALL table-responsive to not scroll on orders page */
        body .orders-page .table-responsive,
        body .table-responsive,
        .orders-page .table-responsive,
        .table-responsive {
            overflow-x: visible !important;
            overflow-y: visible !important;
            overflow: visible !important;
            -webkit-overflow-scrolling: auto !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 100% !important;
            display: block !important;
        }

        /* Remove all table scroll */
        body .all-orders-mobile-table,
        body .modern-orders-table,
        .all-orders-mobile-table,
        .modern-orders-table,
        .all-orders-mobile-table tbody,
        .modern-orders-table tbody,
        .all-orders-mobile-table tr,
        .modern-orders-table tr,
        .all-orders-mobile-table td,
        .modern-orders-table td {
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 100% !important;
            overflow: visible !important;
            box-sizing: border-box !important;
        }

        /* Hide table header */
        .all-orders-mobile-table thead {
            display: none !important;
        }

        /* Card style for each order */
        .all-orders-mobile-table tbody tr {
            background: rgba(255, 255, 255, 0.02) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 12px !important;
            padding: 20px !important;
            margin-bottom: 24px !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        }

        /* Each data cell */
        .all-orders-mobile-table td {
            text-align: left !important;
            padding: 12px 0 !important;
            border: none !important;
            position: relative !important;
            clear: both !important;
        }

        /* Order ID - prominent */
        .all-orders-mobile-table td.order-id {
            font-size: 18px !important;
            font-weight: 700 !important;
            color: #ffffff !important;
            margin-bottom: 16px !important;
            padding-bottom: 16px !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        }

        /* Add label before content using data-label */
        .all-orders-mobile-table td[data-label]:not(.order-id)::before {
            content: attr(data-label) !important;
            display: block !important;
            font-weight: 700 !important;
            font-size: 11px !important;
            text-transform: uppercase !important;
            opacity: 0.6 !important;
            margin-bottom: 8px !important;
            letter-spacing: 0.5px !important;
        }

        /* Order Details section */
        .all-orders-mobile-table td.order-details {
            margin-bottom: 16px !important;
        }

        .all-orders-mobile-table td.order-details h5 {
            font-size: 16px !important;
            font-weight: 600 !important;
            margin-bottom: 12px !important;
            color: #ffffff !important;
        }

        .all-orders-mobile-table td.order-details a {
            display: block !important;
            font-size: 13px !important;
            color: #667eea !important;
            margin-bottom: 12px !important;
            word-break: break-all !important;
            line-height: 1.4 !important;
        }

        .all-orders-mobile-table td.order-details br {
            display: block !important;
            content: "" !important;
            margin: 6px 0 !important;
        }

        /* Price, Start Score sections */
        .all-orders-mobile-table td[data-label="Price:"],
        .all-orders-mobile-table td[data-label="Start Score:"] {
            font-size: 16px !important;
            font-weight: 600 !important;
            margin: 16px 0 !important;
        }

        /* Progress section */
        .all-orders-mobile-table td[data-label="Progress:"] {
            margin: 20px 0 !important;
        }

        .all-orders-mobile-table .progress-modern {
            margin: 12px 0 !important;
            height: 10px !important;
            border-radius: 5px !important;
            background: rgba(255, 255, 255, 0.1) !important;
            overflow: hidden !important;
        }

        .all-orders-mobile-table .progress-text {
            margin-top: 8px !important;
            font-size: 14px !important;
            font-weight: 600 !important;
        }

        /* Stats section - buttons visible */
        .all-orders-mobile-table td[data-label="Stats:"] {
            margin: 20px 0 !important;
        }

        .all-orders-mobile-table .show-stats-btn {
            width: 100% !important;
            padding: 12px !important;
            font-size: 14px !important;
            border-radius: 8px !important;
            margin: 8px 0 !important;
        }

        /* Date section */
        .all-orders-mobile-table td[data-label="Date:"] {
            font-size: 14px !important;
            margin: 16px 0 !important;
        }

        /* Status section */
        .all-orders-mobile-table td:nth-last-child(2) {
            margin: 20px 0 !important;
            padding-top: 20px !important;
            border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        }

        /* More actions buttons */
        .all-orders-mobile-table td:last-child {
            margin-top: 16px !important;
            display: flex !important;
            gap: 8px !important;
            flex-wrap: wrap !important;
        }

        .all-orders-mobile-table td:last-child .btn {
            flex: 1 !important;
            min-width: calc(50% - 4px) !important;
            margin: 0 !important;
            padding: 10px !important;
            font-size: 13px !important;
        }
    }

    /* ==========================================
        PROFILE PAGE STYLES
        ========================================== */

    .profile-container {
        padding: 20px 0;
    }

    .profile-container .card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 24px;
        transition: all 0.3s ease;
    }

    .profile-container .card-body {
        padding: 30px;
    }

    /* Avatar Upload Card */
    .avatar-card {
        text-align: center;
    }

    .avatar-card .image-input {
        position: relative;
        width: 180px;
        height: 180px;
        margin: 0 auto 24px;
        border-radius: 50%;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.05);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 3px solid rgba(255, 255, 255, 0.1);
    }

    .avatar-card .image-input:hover {
        transform: scale(1.05);
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(245, 147, 115, 0.3);
    }

    .avatar-card .image-input #image {
        display: none;
    }

    .avatar-card .image-input #image-label {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(0, 0, 0, 0.4) !important;
        opacity: 0;
        transition: all 0.3s ease;
        cursor: pointer;
        z-index: 2;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        transform: none !important;
    }

    .avatar-card .image-input:hover #image-label {
        opacity: 1;
    }

    .avatar-card .image-input #image-label i {
        font-size: 32px;
        color: #ffffff;
    }

    .avatar-card .preview-image {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        max-width: 150px;
    }

    .avatar-card p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
        margin-bottom: 24px;
        margin-top: 16px;
        text-align: center;
    }

    /* Tabs */
    .profile-container .nav-tabs {
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 24px;
    }

    .profile-container .nav-tabs .nav-item {
        margin-bottom: -2px;
    }

    .profile-container .nav-tabs .nav-link {
        background: transparent;
        border: none;
        border-bottom: 2px solid transparent;
        color: rgba(255, 255, 255, 0.6);
        padding: 12px 24px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .profile-container .nav-tabs .nav-link:hover {
        color: rgba(255, 255, 255, 0.9);
        border-bottom-color: rgba(245, 147, 115, 0.3);
    }

    .profile-container .nav-tabs .nav-link.active {
        color: #f59373;
        border-bottom-color: #f59373;
        background: transparent;
    }

    /* Form Groups */
    .profile-container .form-group {
        margin-bottom: 20px;
    }

    .profile-container .form-group label {
        color: rgba(255, 255, 255, 0.7);
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
        display: block;
    }

    .profile-container .form-control {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 14px 16px;
        color: rgba(255, 255, 255, 0.95);
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .profile-container .form-control:focus {
        background: rgba(255, 255, 255, 0.08);
        border-color: #f59373;
        box-shadow: 0 0 0 3px rgba(245, 147, 115, 0.1);
        outline: none;
        color: rgba(255, 255, 255, 0.95);
    }

    .profile-container .form-control::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .profile-container .form-control:read-only {
        background: rgba(255, 255, 255, 0.02);
        cursor: not-allowed;
        opacity: 0.6;
    }

    .profile-container select.form-control {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23f59373' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        padding-right: 40px;
    }

    .profile-container select.form-control option {
        background-color: #1a1a2e;
        color: #ffffff;
        padding: 10px;
    }

    /* Submit Buttons */
    .profile-container .btn-primary {
        /* Frosted Glass Base */
        position: relative;
        background: rgba(245, 147, 115, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 14px;

        /* Typography */
        padding: 12px 28px;
        font-weight: 600;
        font-size: 14px;
        color: #ffffff;
        text-transform: uppercase;
        letter-spacing: 0.8px;

        /* Shadow & Effects */
        box-shadow:
            0 4px 15px rgba(245, 147, 115, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        overflow: hidden;
        z-index: 1;
    }

    /* Gradient Overlay */
    .profile-container .btn-primary::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,
                rgba(245, 147, 115, 0.4) 0%,
                rgba(255, 107, 107, 0.4) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    /* Shine Effect */
    .profile-container .btn-primary::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -100%;
        width: 60%;
        height: 200%;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.15),
                transparent);
        transform: skewX(-25deg);
        transition: left 0.6s ease;
    }

    .profile-container .btn-primary:hover {
        background: rgba(245, 147, 115, 0.25);
        border-color: rgba(245, 147, 115, 0.5);
        transform: translateY(-3px) scale(1.02);
        box-shadow:
            0 8px 30px rgba(245, 147, 115, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .profile-container .btn-primary:hover::before {
        opacity: 1;
    }

    .profile-container .btn-primary:hover::after {
        left: 140%;
    }

    .profile-container .btn-primary:active {
        transform: translateY(-1px) scale(0.98);
        box-shadow:
            0 2px 10px rgba(245, 147, 115, 0.3),
            inset 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    /* Error Messages */
    .profile-container .text-danger {
        color: #ff6b6b;
        font-size: 12px;
        margin-top: 6px;
        display: block;
    }

    /* Referral Link Card */
    .referral-card h5 {
        color: rgba(255, 255, 255, 0.95);
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .referral-card .input-group {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .referral-card .form-control {
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.9);
        padding: 14px 16px;
    }

    .referral-card .input-group-append .input-group-text {
        /* Frosted Glass Base */
        position: relative;
        background: rgba(245, 147, 115, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2) !important;

        /* Typography */
        color: #ffffff;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        cursor: pointer;
        padding: 12px 20px;

        /* Shadow & Effects */
        box-shadow:
            0 4px 15px rgba(245, 147, 115, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        z-index: 1;
    }

    .referral-card .input-group-append .input-group-text::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,
                rgba(245, 147, 115, 0.4) 0%,
                rgba(255, 107, 107, 0.4) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    .referral-card .input-group-append .input-group-text::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -100%;
        width: 60%;
        height: 200%;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.15),
                transparent);
        transform: skewX(-25deg);
        transition: left 0.6s ease;
    }

    .referral-card .input-group-append .input-group-text:hover {
        background: rgba(245, 147, 115, 0.25);
        border-color: rgba(245, 147, 115, 0.5) !important;
        transform: translateY(-3px) scale(1.02);
        box-shadow:
            0 8px 30px rgba(245, 147, 115, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .referral-card .input-group-append .input-group-text:hover::before {
        opacity: 1;
    }

    .referral-card .input-group-append .input-group-text:hover::after {
        left: 140%;
    }

    .referral-card .input-group-append .input-group-text:active {
        transform: translateY(-1px) scale(0.98);
        box-shadow:
            0 2px 10px rgba(245, 147, 115, 0.3),
            inset 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .profile-container .card-body {
            padding: 20px;
        }

        .avatar-card .image-input {
            width: 140px;
            height: 140px;
        }

        .profile-container .nav-tabs .nav-link {
            padding: 10px 16px;
            font-size: 13px;
        }
    }

    /* ==========================================
        FLATPICKR PREMIUM GLASS THEME
        ========================================== */
    .flatpickr-calendar {
        background: rgba(30, 30, 30, 0.8) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 15px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
        color: #fff !important;
    }

    .flatpickr-calendar.arrowTop:after,
    .flatpickr-calendar.arrowTop:before {
        border-bottom-color: rgba(30, 30, 30, 0.8) !important;
    }

    .flatpickr-month {
        color: #fff !important;
        fill: #fff !important;
    }

    .flatpickr-weekday {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    .flatpickr-day {
        color: #fff !important;
        border-radius: 8px !important;
    }

    .flatpickr-day:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .flatpickr-day.today {
        border-color: #f59373 !important;
        color: #f59373 !important;
    }

    .flatpickr-day.selected {
        background: linear-gradient(135deg, #f59373 0%, #ff7e5f 100%) !important;
        border-color: transparent !important;
        color: #fff !important;
        box-shadow: 0 4px 12px rgba(245, 147, 115, 0.4) !important;
    }

    .flatpickr-current-month .flatpickr-monthDropdown-months {
        background: transparent !important;
    }

    .flatpickr-months .flatpickr-prev-month:hover svg,
    .flatpickr-months .flatpickr-next-month:hover svg {
        fill: #f59373 !important;
    }

    .flatpickr-calendar .numInputWrapper span.arrowUp:after {
        border-bottom-color: #fff !important;
    }

    .flatpickr-calendar .numInputWrapper span.arrowDown:after {
        border-top-color: #fff !important;
    }

    /* ===== MASS ORDER PREMIUM STYLES ===== */
    .bg-glass-header {
        background: rgba(255, 255, 255, 0.03);
    }

    .border-glass {
        border-color: rgba(255, 255, 255, 0.08) !important;
    }

    .alert-glass-warning {
        background: rgba(245, 147, 115, 0.1);
        border: 1px solid rgba(245, 147, 115, 0.2);
        padding: 16px 20px;
        border-radius: 14px;
        color: #f59373;
    }

    .instruction-guide {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 14px;
        padding: 20px;
    }

    .guide-title {
        color: #f59373;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .guide-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .guide-list li {
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

    .guide-list li i {
        color: #f59373;
        font-size: 12px;
        margin-right: 10px;
    }

    .example-box {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .example-header {
        background: rgba(255, 255, 255, 0.05);
        padding: 8px 15px;
        font-size: 11px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.4);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .example-content {
        display: block;
        padding: 12px 15px;
        color: #f59373;
        font-family: 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.6;
    }

    .glass-input {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
        border-radius: 12px !important;
        padding: 15px !important;
        transition: all 0.3s ease !important;
    }

    .glass-input:focus {
        border-color: #f59373 !important;
        background: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 0 0 4px rgba(245, 147, 115, 0.1) !important;
    }

    .error-glass {
        color: #ff6b6b;
        font-size: 13px;
        display: flex;
        align-items: center;
        font-weight: 500;
    }

    .btn-place-order {
        background: linear-gradient(135deg, #f59373 0%, #ff6b6b 100%);
        border: none;
        border-radius: 12px;
        color: #fff;
        padding: 16px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(245, 147, 115, 0.3);
    }

    .btn-place-order:hover:not(.disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(245, 147, 115, 0.4);
    }

    .btn-place-order.disabled,
    .btn-place-order:disabled {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: rgba(255, 255, 255, 0.2) !important;
        box-shadow: none !important;
        cursor: not-allowed;
    }

    /* ===== SERVICES PAGE UI REFINEMENTS ===== */

    /* Z-Index fix for Services Page filter */
    .services-container .card:has(.custom-select-wrapper.active) {
        z-index: 1001 !important;
        position: relative !important;
    }

    .services-container .card-body:has(.custom-select-wrapper.active) {
        overflow: visible !important;
    }

    /* Redesign category accordion headers (Glassmorphism .btn-primary style) */
    .dark-mode .accordion-service .card {
        background: transparent !important;
        border: none !important;
        margin-bottom: 12px !important;
    }

    .dark-mode .accordion-service .card-header {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }

    .dark-mode .accordion-service .card-header .btn-header-link {
        /* Frosted Glass Base (like .btn-primary) */
        position: relative;
        background: rgba(255, 255, 255, 0.06) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 14px !important;

        /* Typography */
        padding: 12px 24px !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        color: #ffffff !important;
        text-align: left !important;

        /* Shadow & Effects */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;

        /* Layout */
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        text-decoration: none !important;
        overflow: hidden;
        z-index: 1;
    }

    .dark-mode .accordion-service .card-header .btn-header-link:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }

    .dark-mode .accordion-service .card-header .btn-header-link i {
        font-size: 20px !important;
        opacity: 0.9 !important;
    }

    .dark-mode .accordion-service .card-header .btn-header-link.collapsed {
        background: rgba(255, 255, 255, 0.04) !important;
        color: rgba(255, 255, 255, 0.7) !important;
        box-shadow: none !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .dark-mode .accordion-service .card-header .btn-header-link.collapsed:hover {
        background: rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
    }


    /* ===== SERVICES MODAL WINDOW STYLES ===== */

    /* Modal backdrop */
    #description .modal-content {
        background: #1a1a1a !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    }

    /* Modal header - Glassmorphism style */
    #description .modal-header {
        background: rgba(255, 255, 255, 0.06) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 14px 14px 0 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 20px 25px !important;
    }

    #description .modal-title {
        color: #ffffff !important;
        font-weight: 600 !important;
        font-size: 18px !important;
    }

    #description .modal-header .close {
        color: #ffffff !important;
        opacity: 0.7 !important;
        text-shadow: none !important;
        transition: all 0.2s ease;
    }

    #description .modal-header .close:hover {
        opacity: 1 !important;
        transform: scale(1.1);
    }

    /* Modal body */
    #description .modal-body {
        background: #1a1a1a !important;
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 25px !important;
    }

    /* Modal footer */
    #description .modal-footer {
        background: rgba(255, 255, 255, 0.02) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0 0 14px 14px !important;
        padding: 20px 25px !important;
    }

    /* Modal buttons */
    #description .modal-footer .btn-secondary {
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
        border-radius: 10px !important;
        padding: 10px 20px !important;
        font-weight: 600 !important;
        transition: all 0.2s ease !important;
    }

    #description .modal-footer .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        transform: translateY(-2px);
    }

    #description .modal-footer .btn-primary {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        border-radius: 10px !important;
        padding: 10px 20px !important;
        font-weight: 600 !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
    }

    #description .modal-footer .btn-primary:hover {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.25) !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    }

    /* ===== PAGINATION GLASSMORPHISM STYLES ===== */

    /* Pagination container */
    .card-footer-modern .pagination {
        margin: 0;
        gap: 8px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Pagination items */
    .card-footer-modern .page-item {
        margin: 0 4px;
    }

    /* Pagination links - Glassmorphism base */
    .card-footer-modern .page-link {
        background: rgba(255, 255, 255, 0.04) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 10px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        padding: 10px 16px !important;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Hover state */
    .card-footer-modern .page-link:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* Active page */
    .card-footer-modern .page-item.active .page-link {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.25) !important;
        color: #ffffff !important;
        font-weight: 700;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transform: scale(1.08);
    }

    /* Disabled state */
    .card-footer-modern .page-item.disabled .page-link {
        background: rgba(255, 255, 255, 0.02) !important;
        border-color: rgba(255, 255, 255, 0.05) !important;
        color: rgba(255, 255, 255, 0.3) !important;
        cursor: not-allowed;
        opacity: 0.5;
    }

    .card-footer-modern .page-item.disabled .page-link:hover {
        transform: none;
        box-shadow: none;
    }

    /* First/Last/Prev/Next buttons */
    .card-footer-modern .page-item:first-child .page-link,
    .card-footer-modern .page-item:last-child .page-link {
        border-radius: 10px !important;
    }

    /* Animation on page change */
    @keyframes pageChange {
        0% {
            transform: scale(1);
            opacity: 0.7;
        }

        50% {
            transform: scale(1.15);
            opacity: 1;
        }

        100% {
            transform: scale(1.08);
            opacity: 1;
        }
    }

    .card-footer-modern .page-item.active .page-link {
        animation: pageChange 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ===== UNIVERSAL BUTTON STYLE (BASED ON .btn-add-funds) - COMPREHENSIVE OVERRIDE ===== */
    /* Using body selector to ensure higher specificity than style.css */

    body .btn-primary,
    body .btn.btn-primary,
    body button.btn-primary,
    body a.btn-primary {
        /* Frosted Glass Base */
        position: relative !important;
        background: rgba(245, 147, 115, 0.15) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 14px !important;

        /* Typography */
        padding: 12px 28px !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        text-decoration: none !important;

        /* Shadow & Effects */
        box-shadow:
            0 4px 15px rgba(245, 147, 115, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow: hidden !important;
        z-index: 1 !important;
    }

    /* Gradient Overlay */
    body .btn-primary::before,
    body .btn.btn-primary::before,
    body button.btn-primary::before,
    body a.btn-primary::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(135deg,
                rgba(245, 147, 115, 0.4) 0%,
                rgba(255, 107, 107, 0.4) 100%) !important;
        opacity: 0 !important;
        transition: opacity 0.4s ease !important;
        z-index: -1 !important;
    }

    /* Shine Effect */
    body .btn-primary::after,
    body .btn.btn-primary::after,
    body button.btn-primary::after,
    body a.btn-primary::after {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -100% !important;
        width: 60% !important;
        height: 200% !important;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.15),
                transparent) !important;
        transform: skewX(-25deg) !important;
        transition: left 0.6s ease !important;
        z-index: 1 !important;
    }

    /* HOVER State */
    body .btn-primary:hover:not(:disabled),
    body .btn.btn-primary:hover:not(:disabled),
    body button.btn-primary:hover:not(:disabled),
    body a.btn-primary:hover {
        background: rgba(245, 147, 115, 0.25) !important;
        border-color: rgba(245, 147, 115, 0.5) !important;
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow:
            0 8px 30px rgba(245, 147, 115, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }

    body .btn-primary:hover::before,
    body .btn.btn-primary:hover::before,
    body button.btn-primary:hover::before,
    body a.btn-primary:hover::before {
        opacity: 1 !important;
    }

    body .btn-primary:hover::after,
    body .btn.btn-primary:hover::after,
    body button.btn-primary:hover::after,
    body a.btn-primary:hover::after {
        left: 140% !important;
    }

    /* ACTIVE State */
    body .btn-primary:active:not(:disabled),
    body .btn.btn-primary:active:not(:disabled),
    body button.btn-primary:active:not(:disabled),
    body a.btn-primary:active {
        transform: translateY(-1px) scale(0.98) !important;
        box-shadow:
            0 2px 10px rgba(245, 147, 115, 0.3),
            inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    }

    /* DISABLED State */
    body .btn-primary:disabled,
    body .btn.btn-primary:disabled,
    body button.btn-primary:disabled,
    body .btn-primary.disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        transform: none !important;
        box-shadow: none !important;
    }

    /* ===== UNIVERSAL TAB STYLES (MATCHING .btn-primary) ===== */
    /* Applies to all .nav-tabs .nav-link in user panel */

    body .nav-tabs {
        border-bottom: none !important;
        gap: 10px;
    }

    body .nav-tabs .nav-link {
        /* Frosted Glass Base */
        position: relative !important;
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;

        /* Typography */
        color: rgba(255, 255, 255, 0.7) !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        padding: 10px 24px !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow: hidden !important;
        z-index: 1 !important;
        margin-bottom: 0 !important;
    }

    body .nav-tabs .nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
        transform: translateY(-2px) !important;
    }

    /* ACTIVE STATE - Matches .btn-primary active look */
    body .nav-tabs .nav-link.active,
    body .nav-tabs .nav-item.show .nav-link {
        background: rgba(245, 147, 115, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
        box-shadow:
            0 4px 15px rgba(245, 147, 115, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        transform: translateY(-2px) !important;
    }

    /* Active Tab Shine Effect */
    body .nav-tabs .nav-link.active::after {
        content: '';
        position: absolute !important;
        top: -50% !important;
        left: -100% !important;
        width: 60% !important;
        height: 200% !important;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.15),
                transparent) !important;
        transform: skewX(-25deg) !important;
        transition: left 0.6s ease !important;
        z-index: 1 !important;
        animation: shine-effect 2s infinite;
    }

    /* Gradient Overlay for Active Tab */
    body .nav-tabs .nav-link.active::before {
        content: '';
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(135deg,
                rgba(245, 147, 115, 0.4) 0%,
                rgba(255, 107, 107, 0.4) 100%) !important;
        opacity: 0.3 !important;
        z-index: -1 !important;
        transition: opacity 0.4s ease !important;
    }


    /* ===== REDDIT ACCOUNTS PAGE SPECIFIC STYLES ===== */
    .reddit-accounts-container {
        padding: 20px 0;
    }

    .reddit-accounts-container .card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        transition: all 0.3s ease;
        position: relative;
    }

    .reddit-accounts-container .card-body {
        padding: 30px;
    }

    /* Navigation Tabs are handled by global .nav-tabs styles now */
    /* See .nav-tabs block for styles */

    /* Content Wrapper */
    .content-wrapper {
        position: relative;
        min-height: 400px;
        transition: opacity 0.3s ease;
    }

    .content-wrapper.content-dimmed {
        opacity: 0.4;
        pointer-events: none;
    }

    /* Loading Spinner */
    #loading-spinner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        width: 60px;
        height: 60px;
    }

    /* Table Styles */
    .reddit-accounts-container .table-responsive {
        border-radius: 12px;
        overflow-x: auto;
    }

    .reddit-accounts-container .table {
        margin: 0;
        width: 100%;
    }

    .reddit-accounts-container .table thead {
        background: rgba(255, 255, 255, 0.02);
    }

    .reddit-accounts-container .table thead th {
        padding: 18px 20px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: rgba(255, 255, 255, 0.7);
        border: none;
    }

    .reddit-accounts-container .table tbody tr {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }

    .reddit-accounts-container .table tbody tr:hover {
        background: rgba(255, 255, 255, 0.02);
    }

    .reddit-accounts-container .table tbody td {
        padding: 20px;
        vertical-align: middle;
        border: none;
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        font-weight: 500;
    }

    .reddit-accounts-container .table tbody td a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: color 0.3s ease;
        font-weight: 600;
    }

    .reddit-accounts-container .table tbody td a:hover {
        color: #ffffff;
        text-decoration: none;
    }

    /* Button Spinner Styles */
    .btn-primary .spinner {
        position: absolute;
        width: 20px;
        height: 20px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-top-color: white;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .btn-primary span {
        position: relative;
        z-index: 2;
        transition: opacity 0.3s ease;
    }

    .btn-primary.loading span {
        opacity: 0;
    }

    .btn-primary.loading .spinner {
        opacity: 1;
    }

    /* Empty State */
    .empty-state {
        text-align: center;
        padding: 60px 20px;
        color: rgba(255, 255, 255, 0.6);
    }

    .empty-state h4 {
        font-size: 18px;
        margin-bottom: 10px;
        color: rgba(255, 255, 255, 0.8);
    }

    .empty-state p {
        font-size: 14px;
        margin: 0;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .reddit-accounts-container .card-body {
            padding: 20px;
        }

        .reddit-accounts-container .nav-tabs {
            flex-direction: column;
            gap: 8px;
        }

        .reddit-accounts-container .nav-tabs .nav-link {
            width: 100%;
            text-align: center;
        }
    }

    /* ==========================================
    REFERRAL PAGE STYLES
    ========================================== */

    .referral-card {
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        overflow: hidden;
        margin-bottom: 25px;
    }

    .referral-header {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
        padding: 25px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .referral-header h4 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
        color: #fff;
    }

    .referral-body {
        padding: 30px;
    }

    .referral-input-group {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        padding: 6px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        margin-bottom: 40px;
    }

    .referral-input-group:focus-within {
        border-color: rgba(102, 126, 234, 0.5);
        box-shadow: 0 0 15px rgba(102, 126, 234, 0.15);
    }

    .referral-input {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: #fff;
        font-size: 16px;
        padding: 10px 15px;
        width: 100%;
        font-family: inherit;
        outline: none !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        height: auto;
    }

    .referral-input:focus {
        background: transparent !important;
        box-shadow: none !important;
        color: #fff;
        outline: none !important;
        border: none !important;
    }

    .referral-steps {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin-bottom: 10px;
    }

    .step-item {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 16px;
        padding: 25px;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: transform 0.3s ease;
    }

    .step-item:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.05);
    }

    .step-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(245, 147, 115, 0.2) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 24px;
        color: #fff;
    }

    .step-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #fff;
    }

    /* Referral Components */
    .btn-referral-search {
        padding: 10px 15px;
        border-radius: 12px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .label-spacer {
        color: transparent;
        user-select: none;
    }

    .text-referral-primary {
        color: #667eea;
    }

    .bonus-remark {
        color: #ffffff !important;
    }

    /* Update badge for bonus to be cleaner if needed */
    .badge-bonus {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        font-weight: 500;
    }

    /* Standalone Glass Input (for forms without wrappers) */
    .glass-form-control {
        background: rgba(0, 0, 0, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        color: #fff !important;
        padding: 12px 15px !important;
        width: 100%;
        transition: all 0.3s ease;
        outline: none !important;
        display: block;
    }

    /* Glass Cancel Button */
    .btn-glass-cancel {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        transition: all 0.3s ease;
    }

    .btn-glass-cancel:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    /* Modal Specific: Thinner header/content */
    .modal-content.referral-card {
        background: rgba(30, 30, 45, 0.6);
        /* Slightly more transparent/thinner feeling than solid */
        backdrop-filter: blur(15px);
    }

    .modal-header.border-bottom-0 {
        background: rgba(255, 255, 255, 0.02);
        /* Thinner header bg */
    }

    .glass-form-control:focus {
        border-color: rgba(102, 126, 234, 0.5) !important;
        box-shadow: 0 0 15px rgba(102, 126, 234, 0.15) !important;
        background: rgba(0, 0, 0, 0.3) !important;
    }

    .glass-form-control::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }



    .step-desc {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.6);
        line-height: 1.5;
        margin: 0;
    }

    /* Light Mode Support for Referral */
    body:not(.dark-mode) .referral-card {
        background: rgba(255, 255, 255, 0.8);
        border-color: rgba(0, 0, 0, 0.1);
    }

    body:not(.dark-mode) .referral-header {
        background: rgba(0, 0, 0, 0.02);
        border-bottom-color: rgba(0, 0, 0, 0.1);
    }

    body:not(.dark-mode) .referral-header h4 {
        color: #333;
    }

    body:not(.dark-mode) .referral-input-group {
        background: #fff;
        border-color: rgba(0, 0, 0, 0.15);
    }

    body:not(.dark-mode) .referral-input {
        color: #333;
    }

    body:not(.dark-mode) .step-item {
        background: rgba(255, 255, 255, 0.6);
        border-color: rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    body:not(.dark-mode) .step-title {
        color: #333;
    }

    body:not(.dark-mode) .step-desc {
        color: #666;
    }

    /* ==========================================
    API DOCS STYLES
    ========================================== */
    .api-method-badge {
        background: rgba(102, 126, 234, 0.2);
        color: #667eea;
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        font-family: 'Space Mono', monospace;
        border: 1px solid rgba(102, 126, 234, 0.3);
    }

    .api-method-badge.post {
        background: rgba(40, 199, 111, 0.15);
        color: #28c76f;
        border-color: rgba(40, 199, 111, 0.3);
    }

    .api-method-badge.get {
        background: rgba(102, 126, 234, 0.15);
        color: #667eea;
        border-color: rgba(102, 126, 234, 0.3);
    }

    .glass-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 8px;
        margin-bottom: 20px;
    }

    .glass-table th {
        color: rgba(255, 255, 255, 0.5);
        font-weight: 500;
        text-transform: uppercase;
        font-size: 13px;
        padding: 10px 15px;
        border: none;
        letter-spacing: 1px;
    }

    .glass-table td {
        background: rgba(255, 255, 255, 0.03);
        padding: 15px;
        color: #fff;
        vertical-align: middle;
    }

    .glass-table td:first-child {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        width: 20%;
        font-weight: 600;
        color: #71d0f5;
        /* Light blue for keys */
        font-family: 'Space Mono', monospace;
    }

    .glass-table td:last-child {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .code-block-wrapper {
        background: #1e1e2d;
        /* Dark code bg */
        border-radius: 12px;
        padding: 0;
        overflow: hidden;
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.05);
        margin-top: 15px;
    }

    .code-block-header {
        background: rgba(255, 255, 255, 0.05);
        padding: 8px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .code-lang-label {
        color: rgba(255, 255, 255, 0.5);
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 600;
    }

    .code-content {
        padding: 15px;
        margin: 0;
        overflow-x: auto;
        color: #a9b7c6;
        /* Generic code color */
        font-family: 'Space Mono', 'Fira Code', monospace;
        font-size: 14px;
        line-height: 1.5;
    }

    .code-keyword {
        color: #cc7832;
    }

    /* Orange */
    .code-string {
        color: #6a8759;
    }

    /* Green */
    .code-number {
        color: #6897bb;
    }

    /* Blue */
    .code-prop {
        color: #9876aa;
    }

    /* Purple */

    .api-endpoint-url {
        background: rgba(0, 0, 0, 0.2);
        padding: 8px 12px;
        border-radius: 6px;
        font-family: monospace;
        color: #e0e0e0;
        display: inline-block;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* ==========================================
    ITEM DETAIL PAGE STYLES
    ========================================== */
    .item-detail-container {
        padding-bottom: 50px;
    }

    .item-info-card {
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        padding: 30px;
    }

    .item-image-container {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 15px;
        padding: 20px;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }

    .item-image-container:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(102, 126, 234, 0.3);
    }

    .item-title {
        font-size: 28px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 20px;
    }

    .item-meta-item {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 12px;
    }

    .item-meta-item i {
        color: #667eea;
    }

    .item-price-large {
        font-size: 32px;
        font-weight: 800;
        color: #fff;
        margin: 20px 0;
    }

    .item-description-content {
        color: rgba(255, 255, 255, 0.8) !important;
        line-height: 1.7;
    }

    .item-description-content p,
    .item-description-content span,
    .item-description-content div {
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .item-description-content a {
        color: #667eea;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .item-description-content a:hover {
        color: #71d0f5;
    }

    /* Payment selection in modal */
    .payment-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
        margin-top: 15px;
    }

    .payment-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 10px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .payment-item:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .payment-item.active {
        background: rgba(102, 126, 234, 0.15);
        border-color: #667eea;
        box-shadow: 0 0 15px rgba(102, 126, 234, 0.2);
    }

    .payment-item img {
        max-width: 60px;
        height: 40px;
        object-fit: contain;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

    .payment-item .payment-name {
        font-size: 11px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.7);
        text-transform: uppercase;
    }

    .payment-item.active .payment-name {
        color: #fff;
    }

    .terms-agreement {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        padding: 15px;
        border-radius: 12px;
        margin-top: 20px;
    }

    .purchase-notice {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.5);
        line-height: 1.5;
    }

    /* ==========================================
    TICKET VIEW PAGE STYLES
    ========================================== */
    .ticket-view-container {
        padding-bottom: 40px;
    }

    .ticket-header-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 25px;
    }

    .ticket-info-item {
        display: flex;
        flex-direction: column;
    }

    .ticket-info-label {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
    }

    .ticket-info-value {
        font-size: 16px;
        font-weight: 600;
        color: #fff;
    }

    /* Chat Bubbles Interface */
    .chat-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .chat-bubble-wrapper {
        display: flex;
        width: 100%;
    }

    .chat-bubble-wrapper.user {
        justify-content: flex-end;
    }

    .chat-bubble-wrapper.admin {
        justify-content: flex-start;
    }

    .chat-bubble {
        max-width: 80%;
        padding: 16px 20px;
        border-radius: 20px;
        position: relative;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .chat-bubble-wrapper.user .chat-bubble {
        background: rgba(102, 126, 234, 0.15);
        border: 1px solid rgba(102, 126, 234, 0.3);
        border-bottom-right-radius: 4px;
    }

    .chat-bubble-wrapper.admin .chat-bubble {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top-left-radius: 4px;
    }

    .chat-bubble-meta {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.4);
        margin-top: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .chat-bubble-sender {
        font-weight: 700;
        font-size: 13px;
        margin-bottom: 5px;
        display: block;
    }

    .chat-bubble-wrapper.user .chat-bubble-sender {
        color: #71d0f5;
        text-align: right;
    }

    .chat-bubble-wrapper.admin .chat-bubble-sender {
        color: #f59373;
    }

    .chat-message-text {
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
        word-break: break-word;
    }

    .chat-attachment {
        display: inline-flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 6px 12px;
        border-radius: 8px;
        margin-top: 10px;
        font-size: 12px;
        color: #667eea;
        text-decoration: none;
        transition: all 0.2s;
    }

    .chat-attachment:hover {
        background: rgba(102, 126, 234, 0.15);
        color: #fff;
    }

    /* Reply Area */
    .reply-card {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        padding: 25px;
    }

    .reply-textarea {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: #fff;
        padding: 15px;
        width: 100%;
        min-height: 120px;
        resize: none;
        transition: all 0.3s;
    }

    .reply-textarea:focus {
        background: rgba(0, 0, 0, 0.3);
        border-color: #667eea;
        outline: none;
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.1);
    }

    .custom-file-upload {
        display: inline-flex;
        align-items: center;
        cursor: pointer;
        background: rgba(255, 255, 255, 0.03);
        border: 1px dashed rgba(255, 255, 255, 0.2);
        padding: 10px 20px;
        border-radius: 10px;
        transition: all 0.3s;
        color: rgba(255, 255, 255, 0.6);
    }

    .custom-file-upload:hover {
        border-color: #667eea;
        background: rgba(102, 126, 234, 0.05);
        color: #fff;
    }

    /* Support Stats/Info */
    .support-info-card {
        background: rgba(102, 126, 234, 0.05);
        border-left: 4px solid #667eea;
        padding: 15px 20px;
        border-radius: 0 12px 12px 0;
        margin-bottom: 25px;
    }

    .support-info-title {
        font-size: 14px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 5px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .support-info-text {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 0;
    }

    /* ==========================================
    NOTIFLIX GLASSMORPHISM OVERRIDES
    ========================================== */
    #NotiflixNotifyWrap [id^="NotiflixNotify-"],
    #NotiflixNotifyWrap .notiflix-notify,
    #NotiflixNotifyWrap .nx-message-wrap {
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
        padding: 12px 20px !important;
        min-width: 280px !important;
        margin-bottom: 15px !important;
        align-items: center !important;
    }

    /* Position Override to move below the header */
    #NotiflixNotifyWrap {
        top: 100px !important;
    }

    /* Success State (Matches Dashboard Pastel Orange/Pink) */
    #NotiflixNotifyWrap .success,
    #NotiflixNotifyWrap .notiflix-notify.success,
    #NotiflixNotifyWrap .nx-message-wrap.success {
        background: rgba(245, 147, 115, 0.25) !important;
        border-left: 5px solid #f59373 !important;
    }

    #NotiflixNotifyWrap .success .notiflix-notify-icon,
    #NotiflixNotifyWrap .success .nx-message-icon {
        background: #f59373 !important;
    }

    /* Failure State (Matches Dashboard Darker Accents) */
    #NotiflixNotifyWrap .failure,
    #NotiflixNotifyWrap .notiflix-notify.failure,
    #NotiflixNotifyWrap .nx-message-wrap.failure {
        background: rgba(255, 107, 107, 0.2) !important;
        border-left: 5px solid #ff6b6b !important;
    }

    #NotiflixNotifyWrap .failure .notiflix-notify-icon,
    #NotiflixNotifyWrap .failure .nx-message-icon {
        background: #ff6b6b !important;
    }

    /* Warning State (Matches Dashboard Warm Glow) */
    #NotiflixNotifyWrap .warning,
    #NotiflixNotifyWrap .notiflix-notify.warning,
    #NotiflixNotifyWrap .nx-message-wrap.warning {
        background: rgba(102, 126, 234, 0.2) !important;
        border-left: 5px solid #667eea !important;
    }

    #NotiflixNotifyWrap .warning .notiflix-notify-icon,
    #NotiflixNotifyWrap .warning .nx-message-icon {
        background: #667eea !important;
    }

    /* Typography and Layout */
    #NotiflixNotifyWrap .notiflix-notify-message,
    #NotiflixNotifyWrap .nx-message-text {
        font-family: inherit !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        color: #fff !important;
        line-height: 1.4 !important;
        margin: 0 !important;
    }

    #NotiflixNotifyWrap .notiflix-notify-icon,
    #NotiflixNotifyWrap .nx-message-icon {
        border-radius: 50% !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-right: 12px !important;
    }

    #NotiflixNotifyWrap .notiflix-notify-icon svg,
    #NotiflixNotifyWrap .nx-message-icon svg {
        width: 14px !important;
        height: 14px !important;
        fill: #fff !important;
    }

    /* ==========================================
    SERVICES PAGE - MOBILE OPTIMIZATION
    ========================================== */

    /* Services Container */
    .services-container .card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        margin-bottom: 16px;
    }

    /* Accordion Header */
    .accordion-service .card-header {
        background: rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0;
    }

    .accordion-service .btn-header-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 18px 24px;
        font-size: 16px;
        font-weight: 600;
        color: #f59373;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .accordion-service .btn-header-link:hover {
        background: rgba(245, 147, 115, 0.1);
    }

    .accordion-service .btn-header-link::after {
        content: '\\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
        transition: transform 0.3s ease;
    }

    .accordion-service .btn-header-link[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    /* Services Table Desktop */
    .accordion-service .table {
        margin: 0;
    }

    .accordion-service .table thead th {
        background: rgba(255, 255, 255, 0.03);
        border: none;
        padding: 14px 16px;
        font-size: 13px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.7);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .accordion-service .table tbody tr {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: background 0.2s ease;
    }

    .accordion-service .table tbody tr:hover {
        background: rgba(255, 255, 255, 0.03);
    }

    .accordion-service .table tbody td {
        padding: 14px 16px;
        border: none;
        vertical-align: middle;
        font-size: 14px;
    }

    /* Mobile Responsive Table */
    @media (max-width: 991px) {
        .accordion-service .table-responsive {
            overflow: visible;
        }

        .accordion-service .table {
            display: block;
        }

        .accordion-service .table thead {
            display: none;
        }

        .accordion-service .table tbody {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 16px;
        }

        .accordion-service .table tbody tr {
            display: flex;
            flex-direction: column;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 14px;
            padding: 16px;
            gap: 10px;
        }

        .accordion-service .table tbody tr:hover {
            background: rgba(245, 147, 115, 0.08);
            border-color: rgba(245, 147, 115, 0.2);
        }

        .accordion-service .table tbody td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            text-align: right !important;
        }

        .accordion-service .table tbody td:last-child {
            border-bottom: none;
            padding-top: 12px;
            justify-content: center;
        }

        .accordion-service .table tbody td::before {
            content: attr(data-label);
            font-weight: 600;
            color: rgba(255, 255, 255, 0.6);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            text-align: left;
        }

        /* Service Name - Make it stand out */
        .accordion-service .table tbody td:nth-child(2) {
            order: -1;
            border-bottom: 1px solid rgba(245, 147, 115, 0.2);
            padding-bottom: 12px;
            margin-bottom: 4px;
        }

        .accordion-service .table tbody td:nth-child(2)::before {
            display: none;
        }

        .accordion-service .table tbody td:nth-child(2) {
            font-size: 15px;
            font-weight: 600;
            color: #f59373;
            text-align: left !important;
            justify-content: flex-start;
        }

        /* Service ID */
        .accordion-service .table tbody td:nth-child(1) {
            order: 0;
        }

        .accordion-service .table tbody td:nth-child(1)::before {
            content: 'ID';
        }

        /* Interval */
        .accordion-service .table tbody td:nth-child(3)::before {
            content: 'Interval';
        }

        /* Min */
        .accordion-service .table tbody td:nth-child(4)::before {
            content: 'Min';
        }

        /* Max */
        .accordion-service .table tbody td:nth-child(5)::before {
            content: 'Max';
        }

        /* Rate */
        .accordion-service .table tbody td:nth-child(6) {
            background: rgba(245, 147, 115, 0.1);
            border-radius: 8px;
            padding: 10px 12px !important;
            margin-top: 4px;
        }

        .accordion-service .table tbody td:nth-child(6)::before {
            content: 'Rate/1k';
            color: #f59373;
        }

        /* More Button */
        .accordion-service .table tbody td:nth-child(7) {
            order: 10;
        }

        .accordion-service .table tbody td:nth-child(7)::before {
            display: none;
        }

        .accordion-service .table tbody td:nth-child(7) .btn {
            width: 100%;
            padding: 12px 20px;
            border-radius: 10px;
            background: linear-gradient(135deg, rgba(245, 147, 115, 0.2) 0%, rgba(102, 126, 234, 0.15) 100%);
            border: 1px solid rgba(245, 147, 115, 0.3);
            color: #f59373;
            font-weight: 600;
        }
    }

    @media (max-width: 575px) {
        .accordion-service .btn-header-link {
            padding: 16px 18px;
            font-size: 15px;
        }

        .accordion-service .table tbody {
            padding: 12px;
        }

        .accordion-service .table tbody tr {
            padding: 14px;
        }
    }

    /* ==========================================
    ORDER CANCEL BUTTON - GLASSMORPHISM STYLE
    ========================================== */

    /* Info Button Base (Reason) */
    .btn.infoBtn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 10px;
        background: rgba(102, 126, 234, 0.15);
        border: 1px solid rgba(102, 126, 234, 0.3);
        color: #667eea;
        font-size: 14px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .btn.infoBtn:hover {
        background: rgba(102, 126, 234, 0.25);
        border-color: rgba(102, 126, 234, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
        color: #667eea;
    }

    .btn.infoBtn:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    }

    /* Cancel Button (Red Variant) */
    .btn.infoBtn.red,
    .btn-info.red.infoBtn {
        background: rgba(255, 107, 107, 0.15);
        border: 1px solid rgba(255, 107, 107, 0.3);
        color: #ff6b6b;
    }

    .btn.infoBtn.red:hover,
    .btn-info.red.infoBtn:hover {
        background: rgba(255, 107, 107, 0.25);
        border-color: rgba(255, 107, 107, 0.5);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
        color: #ff6b6b;
    }

    .btn.infoBtn.red:active,
    .btn-info.red.infoBtn:active {
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
    }

    /* Ensure icon is properly sized */
    .btn.infoBtn i {
        font-size: 14px;
        line-height: 1;
    }

    /* Mobile Responsive - Beautiful Round Icon */
    @media (max-width: 991px) {
        .btn.infoBtn {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            font-size: 16px;
        }

        .btn.infoBtn i {
            font-size: 16px;
        }

        /* Center the button in mobile card layout */
        .modern-table tbody td[data-label*="More"] .btn.infoBtn,
        .accordion-service .table tbody td:last-child .btn.infoBtn {
            margin: 0 auto;
        }
    }

    /* ==========================================
    FIXED SIDEBAR NEWS - GLASSMORPHISM REDESIGN
    ========================================== */

    /* Fixed Icon Toggle Button */
    .fixed-icon {
        position: fixed;
        top: 120px;
        right: 400px;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px 0 0 14px;
        background: rgba(25, 25, 30, 0.85) !important;
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-right: none;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        z-index: 999999;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        color: #f59373;
        font-size: 18px;
    }

    .fixed-icon:hover {
        background: rgba(245, 147, 115, 0.15) !important;
        color: #f59373;
        transform: translateX(-5px);
    }

    .fixed-icon.rfixedicon {
        right: 0;
        border-radius: 14px 0 0 14px;
    }

    .fixed-icon i {
        transition: transform 0.3s ease;
    }

    .fixed-icon:hover i {
        transform: scale(1.1);
    }

    /* Fixed Sidebar Panel */
    .fixedsidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 400px;
        height: 100%;
        padding: 0;
        background: rgba(18, 18, 22, 0.92) !important;
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        overflow-x: hidden;
        overflow-y: auto;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 9999;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .fixedsidebar.rfixed {
        right: -400px;
    }

    /* Sidebar Header */
    .fixedsidebar .fs-header {
        position: sticky;
        top: 0;
        width: 100%;
        padding: 20px 24px;
        padding-right: 70px;
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.15) 0%, rgba(102, 126, 234, 0.1) 100%);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 10;
        position: relative;
    }

    .fixedsidebar .fs-header h5 {
        font-size: 18px;
        font-weight: 700;
        color: #f59373 !important;
        margin: 0;
    }

    .fixedsidebar .btn-close {
        position: absolute !important;
        right: 24px !important;
        top: 50% !important;
        left: auto !important;
        transform: translateY(-50%) !important;
        width: 36px !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 10px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 20px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        padding: 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .fixedsidebar .btn-close:hover {
        background: rgba(255, 107, 107, 0.2);
        color: #ff6b6b;
        border-color: rgba(255, 107, 107, 0.3);
    }

    /* Sidebar Content Wrapper */
    .fixedsidebar .fs-wrapper {
        padding: 20px;
        padding-top: 80px;
        background: transparent !important;
    }

    /* News Item Card - Force dark theme */
    .fixedsidebar .fs-wrapper .content {
        background: rgba(30, 30, 35, 0.9) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px;
        padding: 20px;
        margin-bottom: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
        transition: all 0.3s ease;
    }

    .fixedsidebar .fs-wrapper .content:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(245, 147, 115, 0.2);
        transform: translateY(-2px);
    }

    /* Feature Date Row */
    .fixedsidebar .featureDate {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.5);
    }

    .fixedsidebar .featureDate span {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    /* Category Badge */
    .fixedsidebar .category {
        display: inline-flex;
        align-items: center;
        padding: 5px 12px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-radius: 20px;
        background: linear-gradient(135deg, #f59373 0%, #e8825e 100%) !important;
        color: #fff;
    }

    .fixedsidebar .category.categoryNew,
    .fixedsidebar .category.new {
        background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%) !important;
    }

    /* Feature Title */
    .fixedsidebar .featureTitle {
        font-size: 17px !important;
        font-weight: 700;
        color: #fff !important;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    /* Feature Content */
    .fixedsidebar .featureContent {
        font-size: 14px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.7);
    }

    .fixedsidebar .featureContent p {
        color: rgba(255, 255, 255, 0.7) !important;
        margin-bottom: 0;
    }

    /* Custom Scrollbar */
    .fixedsidebar::-webkit-scrollbar {
        width: 6px;
    }

    .fixedsidebar::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02);
    }

    .fixedsidebar::-webkit-scrollbar-thumb {
        background: rgba(245, 147, 115, 0.3);
        border-radius: 3px;
    }

    .fixedsidebar::-webkit-scrollbar-thumb:hover {
        background: rgba(245, 147, 115, 0.5);
    }

    /* Mobile Responsive */
    @media (max-width: 575px) {
        .fixedsidebar {
            width: 100%;
            max-width: 320px;
        }

        .fixed-icon {
            right: 320px;
            width: 44px;
            height: 44px;
            top: 100px;
        }

        .fixed-icon.rfixedicon {
            right: 0;
        }

        .fixedsidebar.rfixed {
            right: -320px;
        }

        .fixedsidebar .fs-header {
            padding: 16px 18px;
        }

        .fixedsidebar .fs-wrapper {
            padding: 16px;
        }

        .fixedsidebar .fs-wrapper .content {
            padding: 16px;
        }
    }

    /* ==========================================
       MOBILE MENU HAMBURGER ANIMATION
       ========================================== */

    /* ==========================================
       MOBILE MENU HAMBURGER PROVEN STYLES
       ========================================== */

    /* Default: Hidden on Desktop */
    @media (min-width: 1200px) {
        .custom-modern-toggler {
            display: none !important;
        }
    }

    /* Mobile Styles */
    @media (max-width: 1199.98px) {
        .custom-modern-toggler {
            width: 44px !important;
            height: 44px !important;
            padding: 0 !important;
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            border-radius: 12px !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 6px !important;
            position: relative !important;
            z-index: 99999 !important;
            outline: none !important;
            margin-left: 10px !important;
            transition: all 0.3s ease !important;
        }

        .custom-modern-toggler:hover,
        .custom-modern-toggler.is-active {
            background: rgba(255, 255, 255, 0.1) !important;
            border-color: rgba(245, 147, 115, 0.5) !important;
        }

        /* Lines */
        .custom-modern-toggler .toggler-line {
            display: block !important;
            width: 24px !important;
            height: 2px !important;
            background-color: #ffffff !important;
            border-radius: 2px !important;
            transition: all 0.3s ease !important;
            opacity: 1 !important;
            margin: 0 !important;
        }

        /* Active State (X) */
        .custom-modern-toggler.is-active .toggler-line:nth-child(1) {
            transform: translateY(8px) rotate(45deg) !important;
        }

        .custom-modern-toggler.is-active .toggler-line:nth-child(2) {
            opacity: 0 !important;
            transform: scale(0) !important;
        }

        .custom-modern-toggler.is-active .toggler-line:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg) !important;
        }

        /* Light Mode Overrides */
        body:not(.dark-mode) .custom-modern-toggler {
            background: rgba(0, 0, 0, 0.05) !important;
            border-color: rgba(0, 0, 0, 0.1) !important;
        }

        body:not(.dark-mode) .custom-modern-toggler .toggler-line {
            background-color: #333333 !important;
        }

        body:not(.dark-mode) .custom-modern-toggler:hover,
        body:not(.dark-mode) .custom-modern-toggler.is-active {
            background: rgba(0, 0, 0, 0.08) !important;
            border-color: rgba(245, 147, 115, 0.5) !important;
        }
    }

    /* ==========================================
        REMOVE UNNECESSARY CARD BORDERS AND MARGINS
        ========================================== */

    /* Remove borders from all cards */
    .card,
    .card-body {
        border: none !important;
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }

    /* Remove padding and margins from card containers */
    .card-body.card-body-nopadding {
        padding: 0 !important;
    }

    /* Remove borders from generic containers */
    .dark-mode .card,
    .dark-mode .card-body {
        border: none !important;
        box-shadow: none !important;
    }

    /* Ensure no bottom spacing */
    .row.mb-4,
    .row.mb-3 {
        margin-bottom: 0 !important;
    }

    /* ==========================================
   REDDIT ACCOUNTS PAGE STYLES
   ========================================== */

    .reddit-accounts-container {
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }

    .reddit-accounts-container .card {
        background: rgba(255, 255, 255, 0.03) !important;
        backdrop-filter: blur(15px) !important;
        border-radius: 20px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
        overflow: visible !important;
    }

    /* Force horizontal scroll for tabs on mobile */
    .reddit-accounts-container .nav-tabs {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 0 10px !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .reddit-accounts-container .nav-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .reddit-accounts-container .nav-item {
        margin-bottom: -1px !important;
    }

    .reddit-accounts-container .nav-link {
        border: none !important;
        color: rgba(255, 255, 255, 0.6) !important;
        padding: 12px 20px !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        white-space: nowrap !important;
        background: transparent !important;
    }

    .reddit-accounts-container .nav-link.active {
        color: #f59373 !important;
        border-bottom: 2px solid #f59373 !important;
    }

    .content-wrapper {
        position: relative !important;
        padding: 15px !important;
    }

    .content-dimmed {
        opacity: 0.3 !important;
        pointer-events: none !important;
    }

    .loading-spinner {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 60px !important;
        height: 60px !important;
        z-index: 9999 !important;
    }

    /* Mobile Table to Cards - Very High Specificity */
    @media screen and (max-width: 991px) {
        .reddit-accounts-container .nav-tabs {
            flex-direction: column !important;
            border-bottom: none !important;
            gap: 10px !important;
            padding: 0 !important;
            margin-bottom: 20px !important;
        }

        .reddit-accounts-container .nav-item {
            width: 100% !important;
        }

        .reddit-accounts-container .nav-link {
            text-align: center !important;
            background: rgba(255, 255, 255, 0.05) !important;
            border-radius: 12px !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            padding: 15px !important;
        }

        .reddit-accounts-container .nav-link.active {
            background: rgba(245, 147, 115, 0.2) !important;
            border-color: #f59373 !important;
            color: #f59373 !important;
            border-bottom: 1px solid #f59373 !important;
        }

        .reddit-accounts-container .table-responsive {
            overflow: visible !important;
            border: none !important;
        }

        .reddit-accounts-container .table {
            margin-bottom: 0 !important;
        }

        .reddit-accounts-container .table thead {
            display: none !important;
        }

        .reddit-accounts-container .table tbody,
        .reddit-accounts-container .table tbody tr,
        .reddit-accounts-container .table tbody td {
            display: block !important;
            width: 100% !important;
        }

        .reddit-accounts-container .table tbody tr {
            background: rgba(255, 255, 255, 0.05) !important;
            border-radius: 15px !important;
            margin-bottom: 20px !important;
            padding: 20px !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        }

        .reddit-accounts-container .table tbody td {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            padding: 12px 0 !important;
            border: none !important;
            text-align: right !important;
            min-height: auto !important;
            background: transparent !important;
        }

        .reddit-accounts-container .table tbody td::before {
            content: attr(data-label) !important;
            font-weight: 700 !important;
            text-align: left !important;
            color: rgba(245, 147, 115, 0.7) !important;
            text-transform: uppercase !important;
            font-size: 11px !important;
            letter-spacing: 0.5px !important;
            margin-right: 15px !important;
        }

        /* Specialized look for Account Name */
        .reddit-accounts-container .table tbody td[data-label='Name'] {
            flex-direction: column !important;
            align-items: flex-start !important;
            text-align: left !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
            margin-bottom: 15px !important;
            padding-bottom: 15px !important;
        }

        .reddit-accounts-container .table tbody td[data-label='Name']::before {
            margin-bottom: 10px !important;
        }

        .account-name-link {
            font-size: 16px !important;
            font-weight: 700 !important;
            color: #f59373 !important;
            line-height: 1.4 !important;
        }

        /* Action button at bottom */
        .reddit-accounts-container .table tbody td[data-label='Action'] {
            justify-content: center !important;
            padding-top: 15px !important;
            border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
            margin-top: 10px !important;
        }

        .reddit-accounts-container .table tbody td[data-label='Action']::before {
            display: none !important;
        }

        .buy-account-btn {
            width: 100% !important;
            height: 50px !important;
            font-size: 16px !important;
        }
    }

    /* Buy Button Styling */
    .buy-account-btn {
        position: relative !important;
        padding: 10px 25px !important;
        background: linear-gradient(135deg, #f59373 0%, #ff6b6b 100%) !important;
        border: none !important;
        border-radius: 10px !important;
        color: #fff !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        overflow: hidden !important;
        transition: all 0.3s ease !important;
        min-width: 110px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .buy-account-btn:hover:not(:disabled) {
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 15px rgba(245, 147, 115, 0.4) !important;
    }

    .buy-account-btn .spinner {
        display: none;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 20px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-top: 3px solid #fff;
        border-radius: 50%;
        animation: btn-spin 0.8s linear infinite;
    }

    .buy-account-btn.loading span {
        visibility: hidden;
    }

    .buy-account-btn.loading .spinner {
        display: block;
    }

    @keyframes btn-spin {
        from {
            transform: translate(-50%, -50%) rotate(0deg);
        }

        to {
            transform: translate(-50%, -50%) rotate(360deg);
        }
    }

    /* ==========================================
   AUTO ORDER PAGE STYLES
   ========================================== */

    /* Delete Modal Specific Styles */
    .delete-icon-wrapper {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: rgba(220, 53, 69, 0.1);
        color: #dc3545;
        font-size: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        border: 1px solid rgba(220, 53, 69, 0.2);
    }

    /* Modal Styles Consolidated */
    /* ==========================================
   PREMIUM MODAL OVERHAUL
   ========================================== */
    .glass-modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(10, 15, 30, 0.4);
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
        z-index: 10000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
        opacity: 0;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .glass-modal-overlay.active {
        display: flex;
        opacity: 1;
    }

    .glass-modal {
        background: rgba(25, 30, 50, 0.85);
        background-image: radial-gradient(circle at 0% 0%, rgba(245, 147, 115, 0.05), transparent 50%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        width: 100%;
        max-width: 550px;
        max-height: 90vh;
        overflow-y: auto;
        overflow-x: hidden;
        position: relative;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        transform: scale(0.9) translateY(20px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .glass-modal .modal-body {
        padding-bottom: 200px !important;
    }

    .glass-modal-overlay.active .glass-modal {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    /* Ensure dropdowns and tooltips appear above modal */
    .tooltip {
        z-index: 10500 !important;
    }

    .custom-select-options {
        position: absolute;
        z-index: 10100 !important;
    }

    /* Modal Close Button Animation */
    .modal-close-btn {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        outline: none;
    }

    .modal-close-btn:hover {
        background: rgba(255, 107, 107, 0.15);
        border-color: rgba(255, 107, 107, 0.3);
        color: #ff6b6b;
        transform: rotate(90deg);
    }

    /* Scrollbar Style */
    .glass-modal::-webkit-scrollbar {
        width: 5px;
    }

    .glass-modal::-webkit-scrollbar-track {
        background: transparent;
    }

    .glass-modal::-webkit-scrollbar-thumb {
        background: rgba(245, 147, 115, 0.2);
        border-radius: 10px;
    }

    .glass-modal::-webkit-scrollbar-thumb:hover {
        background: rgba(245, 147, 115, 0.4);
    }

    .glass-modal .btn-premium {
        background: linear-gradient(135deg, #f59373, #f57373);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        font-weight: 700;
        text-transform: uppercase;
        border-radius: 14px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 20px -5px rgba(245, 147, 115, 0.3);
        letter-spacing: 1px;
    }

    .glass-modal .btn-premium:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 15px 25px -5px rgba(245, 147, 115, 0.4);
        filter: brightness(1.1);
    }

    .glass-modal .btn-gray {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
        font-weight: 700;
        text-transform: uppercase;
        border-radius: 14px;
        transition: 0.3s ease;
        padding: 12px 28px;
        letter-spacing: 1px;
    }

    .glass-modal .btn-gray:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        color: #fff;
    }

    .compact-qty-wrapper {
        width: 100%;
    }

    /* Modal quantity buttons */
    .qty-btn-modal:hover {
        background: #f59373 !important;
        color: #000 !important;
        transform: scale(1.1);
    }

    .compact-qty {
        width: 100%;
        height: 52px !important;
        font-weight: 800 !important;
        font-size: 18px !important;
        border-radius: 14px !important;
        text-align: center;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
        transition: all 0.3s ease !important;
        display: block;
        padding: 0 10px;
    }

    .compact-qty:focus {
        background: rgba(255, 255, 255, 0.07) !important;
        border-color: #f59373 !important;
        box-shadow: 0 0 20px rgba(245, 147, 115, 0.1) !important;
    }

    .glass-modal .custom-select-wrapper .custom-select-trigger {
        height: 52px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: 0.3s;
    }

    .glass-modal .custom-select-wrapper.active .custom-select-trigger {
        border-color: #f59373;
        background: rgba(255, 255, 255, 0.07);
    }

    .glass-modal .type-selector {
        display: flex;
        flex-direction: row;
        gap: 12px;
        width: 100%;
    }

    .glass-modal .type-opt {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 14px 22px;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .glass-modal .type-opt:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .glass-modal .type-opt i {
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .glass-modal .type-opt:hover i {
        transform: scale(1.2) rotate(5deg);
    }

    .glass-modal .type-opt.active {
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.2) 0%, rgba(255, 107, 107, 0.1) 100%);
        border-color: #f59373;
        color: #f59373;
        transform: scale(1.02);
    }

    .glass-modal .type-opt.active i {
        transform: scale(1.1);
    }

    .glass-modal .custom-switch input:checked+label {
        background-color: #f59373;
        border-color: #f59373;
    }

    /* Styling consistent with premium dashboard */
    .auto-order-page {
        padding-top: 2rem;
    }

    .premium-title {
        font-weight: 700;
        letter-spacing: 0.5px;
        background: linear-gradient(135deg, #fff, #f59373);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Mode Tabs */
    .mode-selector-tabs {
        display: flex;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 4px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mode-tab {
        flex: 1;
        text-align: center;
        padding: 10px;
        border-radius: 9px;
        cursor: pointer;
        transition: 0.3s;
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
        font-weight: 600;
        font-size: 14px;
    }

    .mode-tab.active {
        background: rgba(245, 147, 115, 0.2);
        color: #f59373;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    /* Target Prefix Style */
    .glass-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    .input-prefix {
        position: absolute;
        left: 15px;
        color: #f59373;
        font-weight: 700;
        font-family: monospace;
    }

    .glass-input-wrapper input {
        padding-left: 40px !important;
    }

    /* Premium Quantity Control */
    .premium-quantity-control {
        display: flex;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 5px;
        align-items: center;
        justify-content: space-between;
    }

    .qty-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.2s;
    }

    .qty-btn:hover {
        background: #f59373;
        color: #000;
    }

    .qty-input {
        background: transparent;
        border: none;
        color: #fff;
        text-align: center;
        width: 50px;
        font-weight: 700;
        font-size: 16px;
    }

    /* Custom Switch Refined */
    .custom-switch {
        position: relative;
        width: 44px;
        height: 22px;
        display: inline-block;
        vertical-align: middle;
        flex-shrink: 0;
    }

    .custom-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .custom-switch label {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        border-radius: 34px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
    }

    .custom-switch label:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 3px;
        top: 2px;
        background-color: white;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .custom-switch input:checked+label {
        background-color: #f59373;
        border-color: #f59373;
    }

    .custom-switch input:checked+label:before {
        transform: translateX(20px);
    }

    /* Fix for Number Input Spinners - Comprehensive */
    input[type=number].no-spinners::-webkit-inner-spin-button,
    input[type=number].no-spinners::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    input[type=number].no-spinners {
        -moz-appearance: textfield;
    }

    /* Total Points Display */
    .total-points-display {
        background: rgba(245, 147, 115, 0.1);
        border: 1px dashed rgba(245, 147, 115, 0.3);
        padding: 12px;
        border-radius: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .total-points-display .label {
        color: rgba(255, 255, 255, 0.7);
        font-weight: 600;
        font-size: 14px;
    }

    .total-points-display .value {
        color: #f59373;
        font-weight: 800;
        font-size: 18px;
    }

    /* Tables */
    .premium-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 8px;
    }

    .premium-table th {
        padding: 15px;
        color: rgba(255, 255, 255, 0.4);
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 600;
    }

    .premium-table tr {
        transition: 0.3s;
    }

    .premium-table td {
        background: rgba(255, 255, 255, 0.03);
        padding: 15px;
    }

    .premium-table td:first-child {
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    .premium-table td:last-child {
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .target-icon {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .user-icon {
        background: rgba(0, 123, 255, 0.1);
        color: #007bff;
    }

    .sub-icon {
        background: rgba(255, 69, 0, 0.1);
        color: #ff4500;
    }

    .service-badge {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 13px;
        display: inline-block;
    }

    /* Responsive Table Stacking */
    @media (max-width: 991px) {
        .premium-table thead {
            display: none;
        }

        .premium-table tr {
            display: block;
            margin-bottom: 20px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 10px;
        }

        .premium-table td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: transparent !important;
            padding: 10px 15px !important;
            border: none !important;
            text-align: right !important;
            width: 100%;
        }

        .premium-table td:first-child {
            padding-top: 15px !important;
        }

        .premium-table td:last-child {
            padding-bottom: 15px !important;
        }

        .premium-table td::before {
            content: attr(data-label);
            color: rgba(255, 255, 255, 0.4);
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            margin-right: 15px;
            text-align: left;
            flex-shrink: 0;
        }

        .action-btns {
            justify-content: flex-end;
        }

        .target-icon {
            width: 32px;
            height: 32px;
            font-size: 15px;
        }
    }

    .order-count-badge {
        background: #f59373;
        color: #000;
        font-weight: 800;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 13px;
    }

    .btn-action {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        border: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: 0.2s;
        margin-left: 5px;
        cursor: pointer;
    }

    .btn-action.edit {
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
    }

    .btn-action.delete {
        background: rgba(220, 53, 69, 0.1);
        color: #dc3545;
    }

    .btn-action:hover {
        transform: translateY(-2px);
    }

    .gap-3 {
        gap: 1rem;
    }

    /* ==========================================
   AUTO ORDER PAGE MOBILE OPTIMIZATION
   ========================================== */

    @media (max-width: 767px) {

        /* Help card full width on mobile */
        .auto-order-help-card {
            margin-bottom: 20px;
        }

        .auto-order-help-card h6 {
            font-size: 14px;
        }

        .auto-order-help-card p,
        .auto-order-help-card li {
            font-size: 12px;
        }

        .auto-order-help-card .fa-info-circle {
            font-size: 20px !important;
        }

        /* Form layout optimizations */
        .auto-order-page {
            padding-top: 1rem;
        }

        .auto-order-page .row {
            margin-left: -10px;
            margin-right: -10px;
        }

        .auto-order-page .col-xl-4,
        .auto-order-page .col-xl-8 {
            padding-left: 10px;
            padding-right: 10px;
        }

        /* Mode selector tabs mobile */
        .mode-tab {
            font-size: 13px;
            padding: 8px;
        }

        .mode-tab i {
            font-size: 14px;
        }

        /* Premium quantity control mobile */
        .premium-quantity-control {
            padding: 3px;
        }

        .qty-btn {
            width: 28px;
            height: 28px;
        }

        .qty-input {
            font-size: 14px;
        }

        /* Total points display mobile */
        .total-points-display {
            flex-direction: column;
            align-items: flex-start;
            gap: 5px;
        }

        .total-points-display .label {
            font-size: 12px;
        }

        .total-points-display .value {
            font-size: 16px;
        }

        /* Glass modal mobile optimization */
        .glass-modal-overlay {
            padding: 10px;
        }

        .glass-modal {
            max-width: 100%;
            max-height: 95vh;
            border-radius: 20px;
        }

        .glass-modal .modal-header {
            padding: 15px;
        }

        .glass-modal .modal-body {
            padding: 15px !important;
            padding-bottom: 150px !important;
        }

        .glass-modal .modal-footer {
            padding: 15px;
            flex-direction: column;
            gap: 10px;
        }

        .glass-modal .modal-footer .btn {
            width: 100%;
            margin: 0 !important;
        }

        /* Type selector mobile */
        .glass-modal .type-selector {
            gap: 8px;
        }

        .glass-modal .type-opt {
            padding: 12px 16px;
            font-size: 14px;
        }

        /* Modal quantity buttons mobile */
        .premium-quantity-control button {
            width: 32px;
            height: 32px;
        }

        /* Custom select mobile */
        .custom-select-wrapper .custom-select-trigger {
            font-size: 14px;
        }

        .custom-select-options {
            font-size: 14px;
        }

        /* Premium title mobile */
        .premium-title {
            font-size: 18px;
        }

        /* Card padding mobile */
        .glass-card .card-body {
            padding: 20px !important;
        }

        /* Service badge mobile */
        .service-badge {
            font-size: 11px;
            padding: 4px 8px;
        }

        /* Order count badge mobile */
        .order-count-badge {
            font-size: 11px;
            padding: 3px 8px;
        }

        /* Action buttons mobile */
        .btn-action {
            width: 30px;
            height: 30px;
        }

        /* Delete modal mobile */
        .delete-icon-wrapper {
            width: 60px;
            height: 60px;
            font-size: 28px;
        }

        .glass-modal h4 {
            font-size: 18px;
        }

        .glass-modal p {
            font-size: 14px;
        }
    }

    /* Small mobile devices */
    @media (max-width: 480px) {
        .premium-title {
            font-size: 16px;
        }

        .glass-modal .type-selector {
            flex-direction: column;
            gap: 10px;
        }

        .glass-modal .type-opt {
            width: 100%;
        }

        .mode-tab {
            font-size: 12px;
            padding: 6px;
        }

        .glass-card .card-body {
            padding: 15px !important;
        }
    }

    /* ==========================================
       LIVE AUTO-REFRESH INDICATOR
       ========================================== */

    .tabs-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .live-indicator {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
        border: 1px solid rgba(34, 197, 94, 0.3);
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        color: #22c55e;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
        flex-shrink: 0;
        margin-left: auto;
    }

    .live-dot {
        width: 8px;
        height: 8px;
        background: #22c55e;
        border-radius: 50%;
        animation: livePulse 2s ease-in-out infinite;
        box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
    }

    .live-timer {
        font-size: 11px;
        opacity: 0.8;
        font-family: 'SF Mono', Monaco, monospace;
    }

    @keyframes livePulse {

        0%,
        100% {
            opacity: 1;
            box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
        }

        50% {
            opacity: 0.7;
            box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
        }
    }

    .live-indicator.refreshing {
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.2), rgba(245, 147, 115, 0.05));
        border-color: rgba(245, 147, 115, 0.4);
        color: #f59373;
        box-shadow: 0 2px 12px rgba(245, 147, 115, 0.2);
    }

    .live-indicator.refreshing .live-dot {
        background: #f59373;
        animation: liveRefreshing 0.4s ease-in-out infinite;
        box-shadow: 0 0 8px rgba(245, 147, 115, 0.8);
    }

    @keyframes liveRefreshing {

        0%,
        100% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.4);
        }
    }

    .live-indicator.paused {
        background: rgba(156, 163, 175, 0.1);
        border-color: rgba(156, 163, 175, 0.2);
        color: #9ca3af;
        box-shadow: none;
    }

    .live-indicator.paused .live-dot {
        background: #9ca3af;
        animation: none;
        box-shadow: none;
    }

    .live-indicator.paused .live-text::after {
        content: ' (Paused)';
        font-size: 10px;
        opacity: 0.7;
    }

    /* ===========================================
       MODERN NAV PILLS - RESPONSIVE TABS
       =========================================== */

    .modern-nav-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        list-style: none;
        padding: 0;
        margin: 0;
        flex: 1;
    }

    .modern-nav-pills .nav-item {
        flex: 0 0 auto;
    }

    .modern-nav-pills .nav-link {
        display: inline-block;
        padding: 10px 18px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .modern-nav-pills .nav-link:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
        color: #fff;
        transform: translateY(-2px);
    }

    .modern-nav-pills .nav-link.active {
        background: linear-gradient(135deg, rgba(245, 147, 115, 0.2), rgba(245, 147, 115, 0.05));
        border-color: #f59373;
        color: #f59373;
        box-shadow: 0 4px 12px rgba(245, 147, 115, 0.15);
    }

    /* Row update animation */
    .modern-table tbody tr.row-updated {
        animation: rowHighlight 1.5s ease-out;
    }

    @keyframes rowHighlight {
        0% {
            background: rgba(245, 147, 115, 0.4) !important;
            box-shadow: inset 0 0 20px rgba(245, 147, 115, 0.2);
        }

        100% {
            background: transparent;
            box-shadow: none;
        }
    }

    /* Responsive adjustments for tabs */
    @media (max-width: 1200px) {
        .modern-nav-pills .nav-link {
            padding: 9px 15px;
            font-size: 12px;
        }
    }

    @media (max-width: 991px) {
        .tabs-container {
            gap: 10px;
        }

        .modern-nav-pills {
            gap: 6px;
        }

        .modern-nav-pills .nav-link {
            padding: 8px 12px;
            font-size: 11px;
        }

        .live-indicator {
            padding: 6px 10px;
            font-size: 11px;
        }
    }

    @media (max-width: 767px) {
        .tabs-container {
            gap: 8px;
        }

        .modern-nav-pills {
            gap: 5px;
            flex: 1 1 100%;
            order: 2;
        }

        .live-indicator {
            order: 1;
            margin-left: 0;
            margin-bottom: 5px;
        }

        .live-dot {
            width: 6px;
            height: 6px;
        }

        .live-timer {
            font-size: 10px;
        }

        .modern-nav-pills .nav-link {
            padding: 8px 14px;
            font-size: 11px;
            border-radius: 8px;
        }
    }

    @media (max-width: 576px) {
        .modern-nav-pills .nav-link {
            padding: 7px 12px;
            font-size: 10px;
        }
    }

    @media (max-width: 480px) {
        .modern-nav-pills {
            gap: 4px;
        }

        .modern-nav-pills .nav-link {
            padding: 6px 10px;
            font-size: 10px;
        }
    }