        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --primary-light: #818cf8;
            --success: #10b981;
            --success-light: #34d399;
            --danger: #ef4444;
            --warning: #f59e0b;
            --dark: #111827;
            --dark-light: #1f2937;
            --light-bg: #f9fafb;
            --card-bg: #ffffff;
            --border: #e5e7eb;
            --text-primary: #1a1d29;
            --text-secondary: #6b7280;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            font-weight: 400;
            line-height: 1.7;
            color: var(--text-primary);
            background-color: var(--light-bg);
            overflow-x: hidden;
        }


        /* ===== ADMIN PART ===== */
        .admin_menu_wrapper {
        /*   padding:40px 0 80px 0;*/
           width:100%; 

        }

        .admin_menu {
           display:block;
           margin:0 auto;
           list-style:none; 
        }

        .admin_menu li {
           float:left;
           margin-right:20px;
        }

        /* ===== ADMIN PART ===== */


#proof-float-preview {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    display: none;
}

#proof-float-preview img {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,.5);
    background: #000;
}


        /* ===== HEADER & HERO ===== */
        .header {
            position: relative;
            background: 
                linear-gradient(135deg, rgba(99, 102, 241, 0.85) 0%, rgba(16, 185, 129, 0.8) 100%),
                url("https://images.unsplash.com/photo-1620336655055-bd87c5d1d73f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: #fff;
            overflow: hidden;
            min-height: 60px;
/*            min-height: 100vh; */
            display: flex;
            flex-direction: column;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
        }

        /* Glass Navbar */
        .navbar-glass {
            backdrop-filter: blur(20px);
            background: rgba(255, 255, 255, 0.08) !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1rem 0;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .navbar-glass.scrolled {
            background: rgba(17, 24, 39, 0.95) !important;
            padding: 0.5rem 0;
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            letter-spacing: -0.5px;
            color: #fff !important;
        }

        .navbar-brand span {
            background: linear-gradient(90deg, #fff, #d1fae5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-link {
            font-weight: 500;
            color: rgba(255, 255, 255, 0.85) !important;
            margin: 0 0.5rem;
            padding: 0.5rem 1rem !important;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .nav-link:hover {
            color: #fff !important;
            background: rgba(255, 255, 255, 0.1);
        }




/* ===== WPML LANGUAGE SWITCHER STYLES ===== */
.wpml-ls-statics-shortcode_actions {
    position: relative;
    margin-left: 1rem;
}

.wpml-ls {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wpml-ls-legacy-list-vertical {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wpml-ls-legacy-list-vertical:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wpml-ls-item {
    margin: 0;
    padding: 0;
    position: relative;
}

.wpml-ls-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.wpml-ls-current-language .wpml-ls-link {
    background: rgba(255, 255, 255, 0.15);
}

.wpml-ls-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wpml-ls-flag {
    width: 20px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wpml-ls-native {
    font-weight: 500;
}

.wpml-ls-display {
    display: none; /* �������� ���������� �������� */
}

/* ����� ��� ��������� ��������� */
@media (max-width: 992px) {
    .wpml-ls-statics-shortcode_actions {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .wpml-ls-legacy-list-vertical {
        background: rgba(255, 255, 255, 0.05);
    }
}

/* ����� ��� ������� ������� */
.navbar-glass.scrolled .wpml-ls-legacy-list-vertical {
    background: rgba(17, 24, 39, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-glass.scrolled .wpml-ls-link {
    color: rgba(255, 255, 255, 0.9);
}

/* Compact version for mobile */
.wpml-ls-compact {
    display: none;
}

@media (max-width: 768px) {
    .wpml-ls-statics-shortcode_actions {
        display: none;
    }
    
    .wpml-ls-compact {
        display: block;
    }
    
    .wpml-ls-compact .wpml-ls-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .wpml-ls-compact .wpml-ls-native {
        display: none;
    }
}

/* Dropdown alternative (if you want dropdown instead of list) */
.wpml-ls-dropdown {
    position: relative;
    display: inline-block;
}

.wpml-ls-dropdown-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wpml-ls-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wpml-ls-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 160px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
    z-index: 1000;
    animation: fadeInUp 0.3s ease;
}

.wpml-ls-dropdown-menu.show {
    display: block;
}

.wpml-ls-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.wpml-ls-dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.wpml-ls-dropdown-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.1));
    color: var(--primary);
}



        /* Hero Section */
        .hero {
            padding: 120px 0 80px;
            position: relative;
            z-index: 1;
            flex: 1;
            display: flex;
            align-items: center;
        }

        .hero-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 60px;
        }

        .hero-text {
            flex: 1;
            max-width: 600px;
        }

        .hero-visual {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            background: linear-gradient(to right, #ffffff, #d1fae5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 2.5rem;
            max-width: 500px;
        }

        /* Stats visualization in hero */
        .stats-visual {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 24px;
            padding: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            max-width: 400px;
            width: 100%;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .stats-visual h4 {
            color: white;
            font-size: 1.25rem;
            margin-bottom: 1.5rem;
            font-weight: 600;
            text-align: center;
        }

        .stat-bar {
            margin-bottom: 1.5rem;
        }

        .stat-bar-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
        }

        .stat-bar-container {
            height: 10px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 5px;
            overflow: hidden;
        }

        .stat-bar-fill {
            height: 100%;
            border-radius: 5px;
            transition: width 1.5s ease-in-out;
        }

        .stat-bar-fill.roi {
            background: linear-gradient(90deg, #10b981, #34d399);
            width: 0; /* будет заполняться через JS */
        }

        .stat-bar-fill.win-rate {
            background: linear-gradient(90deg, #f59e0b, #fbbf24);
            width: 0; /* будет заполняться через JS */
        }

        .stat-bar-fill.aum {
            background: linear-gradient(90deg, #6366f1, #818cf8);
            width: 0; /* будет заполняться через JS */
        }

        .live-stats {
            display: flex;
            justify-content: space-between;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .live-stat {
            text-align: center;
        }

        .live-stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            display: block;
        }

        .live-stat-label {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.7);
            display: block;
            margin-top: 0.25rem;
        }

        /* Hero CTA Buttons */
        .hero-cta {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .hero-stats {
            display: flex;
            align-items: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .hero-stat {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .hero-stat-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            color: white;
        }

        .hero-stat-text {
            display: flex;
            flex-direction: column;
        }

        .hero-stat-value {
            font-size: 1.75rem;
            font-weight: 700;
            color: white;
            line-height: 1;
        }

        .hero-stat-label {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 0.25rem;
        }

        /* ===== BUTTONS ===== */
        .btn {
            padding: 0.875rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .btn-primary, .btn-success {
            background: linear-gradient(135deg, var(--primary), var(--success));
            border: none;
            color: white;
        }

        .btn-primary:hover, .btn-success:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 24px rgba(99, 102, 241, 0.3);
        }

        .btn-outline-light {
            border-color: rgba(255, 255, 255, 0.3);
            color: white;
            background: transparent;
        }

        .btn-outline-light:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: white;
            transform: translateY(-3px);
        }

        /* ===== STATS CARDS ===== */
        .section {
            padding: 100px 0;
            position: relative;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: var(--text-secondary);
            max-width: 700px;
            margin-bottom: 3rem;
        }

        .stat-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 2rem;
            border: 1px solid var(--border);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            height: 100%;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--success));
        }

        .stat-card:hover {
            transform: translateY(-10px);
            box-shadow: 
                0 25px 50px rgba(0, 0, 0, 0.1),
                0 10px 20px rgba(0, 0, 0, 0.05);
            border-color: var(--primary-light);
        }

        .stat-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .stat-icon.positive {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.2));
            color: var(--success);
        }

        .stat-icon.neutral {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(129, 140, 248, 0.2));
            color: var(--primary);
        }

        .stat-label {
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-secondary);
            margin-bottom: 0.75rem;
        }

        .stat-value {
            font-size: 2.75rem;
            font-weight: 800;
            color: var(--dark);
            line-height: 1;
            margin: 0.5rem 0;
        }

        .stat-value.positive {
            background: linear-gradient(135deg, var(--success), var(--success-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .stat-change {
            font-size: 0.9rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .stat-change.positive {
            color: var(--success);
        }

        /* ===== TRADES TABLE ===== */
        .table-container {
            background: var(--card-bg);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
        }

        .table {
            margin: 0;
            border-collapse: separate;
            border-spacing: 0;
        }

        .table thead th {
            background: var(--light-bg);
            padding: 1.5rem 1.75rem;
            font-weight: 600;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-secondary);
            border-bottom: 2px solid var(--border);
        }

        .table tbody td {
            padding: 1.5rem 1.75rem;
            border-bottom: 1px solid var(--border);
            transition: background 0.2s;
            vertical-align: middle;
        }

        .table tbody tr {
            transition: all 0.2s;
        }

        .table tbody tr:hover {
            background: var(--light-bg);
            transform: translateX(4px);
        }

        .table tbody tr:last-child td {
            border-bottom: none;
        }

        .badge {
            padding: 0.5rem 1rem;
            font-weight: 600;
            border-radius: 8px;
            border: none;
        }

        .badge-success {
            background: linear-gradient(135deg, var(--success), var(--success-light)) !important;
        }

        .badge-danger {
            background: linear-gradient(135deg, var(--danger), #f87171) !important;
        }

        .users-btn {
            background: linear-gradient(135deg, var(--dark), var(--dark-light)) !important;
/*            cursor: pointer;*/
            transition: all 0.3s;
            border: none;
        }

        .users-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(17, 24, 39, 0.2);
        }


.table-footer-note {
  margin-top: 15px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}

.table-footer-note i {
  color: #667eea;
  margin-right: 8px;
}




        /* ===== FEATURES / PHILOSOPHY ===== */
        .feature-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 2.5rem;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            height: 100%;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        }

        .feature-icon {
            width: 64px;
            height: 64px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.75rem;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(129, 140, 248, 0.2));
            color: var(--primary);
        }

        .feature-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .feature-text {
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* ===== FEES SECTION ===== */
        .fees-card {
            background: linear-gradient(135deg, var(--dark), var(--dark-light));
            color: white;
            border-radius: 24px;
            padding: 3rem;
            position: relative;
            overflow: hidden;
        }

        .fees-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
            border-radius: 50%;
        }

        /* ===== MODAL ===== */
        .modal-content {
            border-radius: 24px;
            border: none;
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }

        .modal-header {
            border-bottom: 1px solid var(--border);
            padding: 1.5rem 2rem;
            background: var(--light-bg);
        }

        .modal-body {
            padding: 2rem;
        }

        .user-chip {
            background: linear-gradient(135deg, var(--light-bg), #ffffff);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 0.75rem 1.25rem;
            margin: 0.5rem;
            display: inline-block;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.2s;
        }

        .user-chip:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);
        }

        /* ===== FOOTER ===== */
        .footer {
            background: var(--dark);
            color: white;
            padding: 4rem 0 2rem;
        }

        .footer-logo {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 1rem;
            background: linear-gradient(90deg, var(--primary), var(--success));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-link {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-link:hover {
            color: white;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .social-link {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            text-decoration: none;
            transition: all 0.3s;
        }

        .social-link:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
            margin-top: 3rem;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }

        /* ===== ANIMATIONS ===== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in-up {
            animation: fadeInUp 0.6s ease forwards;
        }

        @keyframes fillBar {
            from {
                width: 0;
            }
            to {
                width: var(--target-width);
            }
        }

        .animate-fill-bar {
            animation: fillBar 1.5s ease-in-out forwards;
        }

        .delay-1 { animation-delay: 0.1s; opacity: 0; }
        .delay-2 { animation-delay: 0.2s; opacity: 0; }
        .delay-3 { animation-delay: 0.3s; opacity: 0; }
        .delay-4 { animation-delay: 0.4s; opacity: 0; }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1200px) {
            .hero h1 {
                font-size: 3rem;
            }
            
            .hero-content {
                gap: 40px;
            }
        }

        @media (max-width: 992px) {
            .hero-content {
                flex-direction: column;
                text-align: center;
            }
            
            .hero-text {
                max-width: 100%;
            }
            
            .hero p {
                max-width: 100%;
                margin-left: auto;
                margin-right: auto;
            }
            
            .hero-cta {
                justify-content: center;
            }
            
            .hero-stats {
                justify-content: center;
            }
            
            .stats-visual {
                margin: 0 auto;
            }
            
            .hero {
                padding: 100px 0 60px;
            }
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .section {
                padding: 60px 0;
            }
            
            .stat-value {
                font-size: 2.25rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .hero-stat {
                flex-direction: column;
                text-align: center;
                gap: 0.5rem;
            }
            
            .hero-stat-icon {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .hero-stat-value {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .btn {
                padding: 0.75rem 1.5rem;
                font-size: 0.9rem;
            }
            
            .hero-cta {
                flex-direction: column;
                align-items: stretch;
            }
            
            .hero-cta .btn {
                width: 100%;
                text-align: center;
            }
        }


<!-- FRONT PAGE - Closed Trades -->


.trade-period {
}

.trade-period__open {
    line-height: 1.3;
}

.trade-period__close {
    line-height: 1.3;
}

.trade-period__duration {
    margin-top: 2px;
}

<!-- FRONT PAGE - Closed Trades -->




/* FAQ Simple Container НАЧАЛО */

        .sf-container {
            border-radius: 24px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            background: #fff;
            max-width: 900px;
            margin: auto;
        }

        .sf-item {
            cursor: pointer;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .sf-item:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        }

        .sf-item.active {
            border-color: var(--primary);
            background: linear-gradient(
                135deg,
                rgba(99,102,241,0.03),
                rgba(16,185,129,0.03)
            );
        }

        .sf-number {
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary), var(--success));
            color: #fff;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
        }

        .sf-icon {
            transition: transform 0.3s ease;
            color: var(--text-secondary);
        }

        .sf-item.active .sf-icon {
            transform: rotate(180deg);
            color: var(--primary);
        }

        .sf-answer {
            display: none;
        }

        .sf-item.active .sf-answer {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


/* FAQ Simple Container КОНЕЦ */



/* =============== НАЧАЛО DASBOARD =============== */

        /* ===== SIDEBAR ===== */
        .dashboard-wrapper {
            display: flex;
            min-height: 100vh;
        }

        .sidebar {
            width: var(--sidebar-width);
            background: var(--dark);
            color: white;
            position: fixed;
            height: 100vh;
            overflow-y: auto;
            z-index: 1000;
            transition: transform 0.3s ease;
            box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
        }

        .sidebar-header {
            padding: 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .sidebar-brand {
            font-size: 1.5rem;
            font-weight: 700;
            background: linear-gradient(90deg, var(--primary), var(--success));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: block;
            text-decoration: none;
        }

        .user-info {
            padding: 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .user-avatar {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            background: linear-gradient(135deg, var(--primary), var(--success));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .user-name {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .user-tier {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.3));
            border: 1px solid rgba(245, 158, 11, 0.3);
            border-radius: 8px;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--warning);
        }

        .sidebar-nav {
            padding: 1rem 0;
        }

        .nav-item {
            margin: 0.25rem 0;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.875rem 1.5rem;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }

        .nav-link:hover {
            color: white;
            background: rgba(255, 255, 255, 0.05);
            border-left-color: var(--primary);
        }

        .nav-link.active {
            color: white;
            background: rgba(99, 102, 241, 0.15);
            border-left-color: var(--primary);
        }

        .nav-link i {
            font-size: 1.125rem;
            width: 24px;
            text-align: center;
        }

        .sidebar-footer {
            padding: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: auto;
        }

        /* ===== MAIN CONTENT ===== */
        .main-content {
            flex: 1;
            margin-left: var(--sidebar-width);
            min-height: 100vh;
        }

        /* ===== TOP NAVBAR ===== */
        .top-navbar {
            background: var(--card-bg);
            border-bottom: 1px solid var(--border);
            padding: 1rem 1.5rem;
            position: sticky;
            top: 0;
            z-index: 100;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .page-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0;
            color: var(--dark);
        }

        .top-nav-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .notification-btn {
            position: relative;
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 1.25rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .notification-btn:hover {
            background: var(--light-bg);
            color: var(--primary);
        }

        .notification-badge {
            position: absolute;
            top: 0;
            right: 0;
            width: 8px;
            height: 8px;
            background: var(--danger);
            border-radius: 50%;
            border: 2px solid var(--card-bg);
        }

        /* Language Switcher */
        .language-switcher {
            position: relative;
        }

        .language-btn {
            background: var(--light-bg);
            border: 1px solid var(--border);
            color: var(--text-primary);
            padding: 0.5rem 0.75rem;
            border-radius: 10px;
            font-weight: 500;
            font-size: 0.875rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .language-btn:hover {
            background: var(--primary-light);
            color: white;
            border-color: var(--primary);
        }

        .language-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 0.5rem;
            background: var(--card-bg);
            border-radius: 16px;
            padding: 0.75rem;
            min-width: 160px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            border: 1px solid var(--border);
            display: none;
            z-index: 1000;
        }

        .language-dropdown.show {
            display: block;
        }

        .language-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            border-radius: 12px;
            color: var(--text-primary);
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .language-option:hover {
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary);
        }

        .language-option.active {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.1));
            color: var(--primary);
        }

        /* ===== DASHBOARD CONTENT ===== */
        .dashboard-content {
            padding: 2rem;
        }

        /* ===== SUMMARY CARDS ===== */
        .summary-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .summary-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 1.75rem;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .summary-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
            border-color: var(--primary);
        }

        .summary-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--success));
        }

        .summary-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }

        .summary-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .summary-icon.equity {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(129, 140, 248, 0.2));
            color: var(--primary);
        }

        .summary-icon.balance {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.2));
            color: var(--success);
        }

        .summary-icon.profit {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.2));
            color: var(--warning);
        }

        .summary-icon.roi {
            background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.2));
            color: var(--info);
        }

        .summary-title {
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
        }

        .summary-value {
            font-size: 2rem;
            font-weight: 800;
            color: var(--dark);
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        .summary-change {
            font-size: 0.875rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .summary-change.positive {
            color: var(--success);
        }

        .summary-change.negative {
            color: var(--danger);
        }

        /* ===== WITHDRAWAL CARD ===== */
        .withdrawal-card {
            background: linear-gradient(135deg, var(--dark), var(--dark-light));
            color: white;
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 2rem;
            position: relative;
            overflow: hidden;
        }

        .withdrawal-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
            border-radius: 50%;
        }

        .withdrawal-content {
            position: relative;
            z-index: 1;
        }

        .withdrawal-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .withdrawal-description {
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 1.5rem;
        }

        .withdrawal-amount {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .amount-input {
            flex: 1;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 1rem;
            color: white;
            font-size: 1.125rem;
            font-weight: 600;
        }

        .amount-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .max-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .max-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .withdrawal-info {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: 1.5rem;
        }

        .info-row {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .info-row:last-child {
            border-bottom: none;
        }

        .info-label {
            color: rgba(255, 255, 255, 0.7);
        }

        .info-value {
            color: white;
            font-weight: 600;
        }

        /* ===== TRADES SECTIONS ===== */
        .trades-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        @media (max-width: 1200px) {
            .trades-grid {
                grid-template-columns: 1fr;
            }
        }

        .trades-section {
            background: var(--card-bg);
            border-radius: 20px;
            border: 1px solid var(--border);
            overflow: hidden;
        }

        .section-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .section-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--dark);
            margin: 0;
        }

        .section-badge {
            background: linear-gradient(135deg, var(--primary), var(--success));
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .trades-list {
            padding: 0;
            margin: 0;
            max-height: 400px;
            overflow-y: auto;
        }

        .trade-item {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border);
            transition: background 0.3s ease;
        }

        .trade-item:hover {
            background: var(--light-bg);
        }

        .trade-item:last-child {
            border-bottom: none;
        }

        .trade-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
        }

        .trade-asset {
            font-weight: 600;
            color: var(--dark);
        }

        .trade-direction {
            padding: 0.25rem 0.75rem;
            border-radius: 8px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .trade-direction.long {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.2));
            color: var(--success);
        }

        .trade-direction.short {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(248, 113, 113, 0.2));
            color: var(--danger);
        }

        .trade-details {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }

        .trade-detail {
            display: flex;
            flex-direction: column;
        }

        .detail-label {
            font-size: 0.75rem;
            color: var(--text-secondary);
            margin-bottom: 0.25rem;
        }

        .detail-value {
            font-weight: 600;
            color: var(--dark);
        }

        .detail-value.positive {
            color: var(--success);
        }

        .detail-value.negative {
            color: var(--danger);
        }

        .trade-progress {
            margin-top: 0.75rem;
        }

        .progress-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-secondary);
            margin-bottom: 0.25rem;
        }

        .progress-bar {
            height: 6px;
            background: var(--border);
            border-radius: 3px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            border-radius: 3px;
            background: linear-gradient(90deg, var(--primary), var(--success));
        }

        /* ===== PERFORMANCE CHART ===== */
        .performance-section {
            background: var(--card-bg);
            border-radius: 20px;
            border: 1px solid var(--border);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .chart-container {
            height: 300px;
            margin-top: 1rem;
        }

        /* ===== RECENT ACTIVITY ===== */
        .activity-list {
            padding: 0;
            margin: 0;
            max-height: 300px;
            overflow-y: auto;
        }

        .activity-item {
            padding: 1rem 1.5rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .activity-item:last-child {
            border-bottom: none;
        }

        .activity-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .activity-icon.deposit {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.2));
            color: var(--success);
        }

        .activity-icon.withdrawal {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(248, 113, 113, 0.2));
            color: var(--danger);
        }

        .activity-icon.trade {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(129, 140, 248, 0.2));
            color: var(--primary);
        }

        .activity-icon.profit {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.2));
            color: var(--warning);
        }

        .activity-content {
            flex: 1;
        }

        .activity-title {
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 0.25rem;
        }

        .activity-description {
            font-size: 0.875rem;
            color: var(--text-secondary);
        }

        .activity-time {
            font-size: 0.75rem;
            color: var(--text-secondary);
            white-space: nowrap;
        }

        /* ===== BUTTONS ===== */
        .btn {
            padding: 0.875rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .btn-primary, .btn-success {
            background: linear-gradient(135deg, var(--primary), var(--success));
            border: none;
            color: white;
        }

        .btn-primary:hover, .btn-success:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 24px rgba(99, 102, 241, 0.3);
        }

        .btn-outline-light {
            border-color: rgba(255, 255, 255, 0.3);
            color: white;
            background: transparent;
        }

        .btn-outline-light:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: white;
            transform: translateY(-3px);
        }

        /* ===== MODALS ===== */
        .modal-content {
            border-radius: 24px;
            border: none;
            overflow: hidden;
        }

        .modal-header {
            border-bottom: 1px solid var(--border);
            padding: 1.5rem 2rem;
        }

        .modal-body {
            padding: 2rem;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 992px) {
            .sidebar {
                transform: translateX(-100%);
            }
            
            .sidebar.active {
                transform: translateX(0);
            }
            
            .main-content {
                margin-left: 0;
            }
            
            .mobile-menu-toggle {
                display: block;
            }
            
            .summary-cards {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
            
            .trades-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .dashboard-content {
                padding: 1rem;
            }
            
            .summary-cards {
                grid-template-columns: 1fr;
            }
            
            .withdrawal-amount {
                flex-direction: column;
            }
            
            .amount-input {
                width: 100%;
            }
            
            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
        }

        @media (max-width: 576px) {
            .trade-details {
                grid-template-columns: 1fr;
            }
            
            .activity-item {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .activity-time {
                align-self: flex-end;
            }
            
            .btn {
                padding: 0.75rem 1.5rem;
                font-size: 0.9rem;
            }
        }

        /* ===== UTILITIES ===== */
        .text-success { color: var(--success) !important; }
        .text-danger { color: var(--danger) !important; }
        .text-warning { color: var(--warning) !important; }
        .text-primary { color: var(--primary) !important; }

        /* Mobile menu toggle */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--dark);
            font-size: 1.5rem;
            cursor: pointer;
        }

        @media (max-width: 992px) {
            .mobile-menu-toggle {
                display: block;
            }
        }

/* =============== КОНЕЦ DASBOARD =============== */



.proof-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.proof-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.proof-btn:active {
  transform: translateY(0);
}



/* Для контраста с кнопкой SHORT */
.direction-short {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  /* Красный/розовый градиент */
}

/* Для контраста с кнопкой Users */
.users-count {
  background: rgba(59, 130, 246, 0.2);
  /* Синий фон с прозрачностью */
}


/*
.proof-wrapper {
    position: relative;
    display: inline-block;
}

.proof-preview {
    position: absolute;
    bottom: 120%;
    right: 0;
    width: 320px;
    background: #000;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .2s ease;
    z-index: 1100;
}

.proof-preview img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.proof-wrapper:hover .proof-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
*/


.page-numbers {
    list-style: none;
    display: flex;
    gap: 6px;
    padding: 0;
}

.page-numbers li a,
.page-numbers li span {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    text-decoration: none;
    color: #0d6efd;
}

.page-numbers li .current {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}
