/* 
 * iFreelance FINAL STYLE 2025
 * Clean, Stable, Branded (Purple/Green)
 */

:root {
    /* --- BRAND COLORS --- */
    --color-primary: #7c3aed;       /* Royal Purple */
    --color-primary-hover: #6d28d9;
    --color-accent: #10b981;        /* Neon Green */
    --color-accent-hover: #059669;
    
    /* --- UI COLORS --- */
    --bg-body: #f8f9fa;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    
    --text-main: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    
    /* --- METRICS --- */
    --container-width: 1280px;
    --header-height: 100px;
    --radius-card: 16px;
    --radius-btn: 50px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 30px -5px rgba(0,0,0,0.1);
}

[data-theme="dark"] {
    --bg-body: #111827;
    --bg-surface: #1f2937;
    --bg-card: #1f2937;
    --border-color: #374151;
    --text-main: #f9fafb;
    --text-secondary: #d1d5db;
}
[data-theme="dark"] .paid-project-card.project-highlighted {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(16, 185, 129, 0.15));
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}
[data-theme="dark"] .paid-project-card.project-highlighted.project-pinned.project-urgent {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(16, 185, 129, 0.2));
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

/* --- ПЛАВНАЯ ПРОКРУТКА --- */
html {
    scroll-behavior: smooth;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; }

html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: scroll !important; /* Принудительный скролл на html */
    overflow-x: hidden;
}

/* --- КАСТОМНЫЙ КУРСОР --- */
* {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="%237c3aed" stroke-width="2" opacity="0.8"/><circle cx="12" cy="12" r="3" fill="%237c3aed"/></svg>') 12 12, auto;
}

/* Курсор для интерактивных элементов */
a, button, input[type="button"], input[type="submit"], input[type="reset"], 
input[type="checkbox"], input[type="radio"], select, textarea, 
[role="button"], [onclick], .btn, .clickable {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="%2310b981" stroke-width="2" opacity="0.9"/><circle cx="12" cy="12" r="4" fill="%2310b981"/><path d="M12 2 L12 8 M12 16 L12 22 M2 12 L8 12 M16 12 L22 12" stroke="%2310b981" stroke-width="2" opacity="0.6"/></svg>') 12 12, pointer;
}

/* Курсор для текста */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], 
input[type="url"], input[type="tel"], input[type="number"], textarea, 
[contenteditable="true"], .editable {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 2 L18 18 M2 18 L18 2" stroke="%237c3aed" stroke-width="2" opacity="0.7"/><circle cx="10" cy="10" r="8" fill="none" stroke="%237c3aed" stroke-width="1.5" opacity="0.5"/></svg>') 10 10, text;
}

/* Курсор для перетаскивания */
[draggable="true"], .draggable {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 4 L12 8 L16 4 M8 20 L12 16 L16 20 M4 8 L8 12 L4 16 M20 8 L16 12 L20 16" stroke="%2310b981" stroke-width="2" fill="none"/><circle cx="12" cy="12" r="3" fill="%2310b981" opacity="0.3"/></svg>') 12 12, move;
}

/* Курсор "не разрешено" */
.disabled, [disabled], .not-allowed {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="%23ef4444" stroke-width="2" opacity="0.6"/><path d="M6 6 L18 18" stroke="%23ef4444" stroke-width="3"/></svg>') 12 12, not-allowed;
}

/* Курсор ожидания */
.wait, .loading, [aria-busy="true"] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="%236b7280" stroke-width="2" opacity="0.5" stroke-dasharray="31.416" stroke-dashoffset="31.416"><animate attributeName="stroke-dashoffset" values="31.416;0" dur="1s" repeatCount="indefinite"/></circle></svg>') 12 12, wait;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: visible !important; /* Не перехватываем прокрутку на body */
    height: auto !important;
}

/* Основной контент должен занимать все доступное пространство */
main, .main-content {
    flex: 1 0 auto;
}

/* Footer должен быть прибит к низу */
.footer-2025 {
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
}
a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }
.container { 
    max-width: var(--container-width); 
    margin: 0 auto; 
    padding: 0 20px; 
    width: 100%;
    box-sizing: border-box;
    position: relative;
}
/* Для десктопа всегда центрируем */
/* Медиа-запрос для больших экранов - это нормально */
@media (min-width: 1025px) {
    .container {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
        left: auto;
        right: auto;
    }
}

/* Синхронизация контейнера в хедере с основным контейнером */
.app-header .container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

/* --- UTILS --- */
.section-std { padding: 80px 0; }
.bg-white { background-color: var(--bg-surface); }
.bg-gray { background-color: var(--bg-body); } /* Body is usually gray-ish in light mode */
.bg-dark { background-color: #0f0518; color: white; }

.section-title { font-size: 2rem; font-weight: 800; margin-bottom: 40px; text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.view-all-link { color: var(--color-primary); font-weight: 600; font-size: 0.875rem; }
.view-all-link:hover { text-decoration: underline; }

/* --- BUTTONS --- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: var(--radius-btn); font-weight: 600; font-size: 0.875rem; border: none; cursor: pointer; transition: 0.2s; text-align: center; gap: 8px; }
.btn i { flex-shrink: 0; }
.btn span { flex-shrink: 0; }
.btn-primary { background: var(--color-primary); color: white !important; box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3); }
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); }
.btn-glass { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary) !important; }
.btn-glass:hover { background: rgba(124, 58, 237, 0.05); }
.btn-sm { 
    padding: 8px 16px; 
    font-size: 0.75rem; 
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}
.btn-large { padding: 16px 32px; font-size: 1rem; font-weight: 700; }
.w-100 { width: 100%; }

/* --- HEADER --- */
.app-header {
    height: var(--header-height) !important;
    background: var(--bg-surface) !important;
    border-bottom: 1px solid var(--border-color) !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.app-header .container { 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; /* ПО ЦЕНТРУ */ 
    height: 100%;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 12px 20px;
    gap: 30px;
    box-sizing: border-box;
    flex-wrap: nowrap !important; /* Предотвращаем перенос элементов */
    vertical-align: middle !important;
}

/* Logo */
.logo-wrapper { 
    flex-shrink: 0 !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: none !important;
    height: 100% !important;
}
.logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none;
    transition: transform 0.3s ease;
    min-width: 0;
    visibility: visible !important;
    opacity: 1 !important;
}
.logo-link:hover { transform: scale(1.05); }
.logo-container {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.logo-image {
    height: 40px !important;
    width: auto !important;
    max-width: min(300px, 28vw) !important;
    min-width: 0 !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.logo-text { 
    font-size: 1.625rem; 
    font-weight: 800; 
    display: flex; 
    align-items: baseline; 
    color: var(--text-main); 
    transition: transform 0.3s ease;
    position: relative;
    outline: none;
    border: none;
    line-height: 1;
}
.logo-i {
    color: var(--text-main) !important;
}
.logo-freelancer {
    color: var(--color-primary) !important;
}
.logo-text:focus {
    outline: none;
    border: none;
}
.logo-text:hover .logo-dot { animation-duration: 1s; }
.logo-dot { 
    width: 6px; height: 6px; background: var(--color-accent); border-radius: 50%; 
    margin: 0 4px; animation: logoPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    display: inline-block;
    position: relative;
}
@keyframes logoPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    }
    50% { 
        transform: scale(1.4);
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.9);
    }
}
.logo-pro { 
    font-style: normal !important;
    margin-left: 4px;
    animation: logoGlow 3s ease-in-out infinite;
    display: inline-block;
    font-weight: 900;
    position: relative;
    z-index: 1;
    color: var(--color-accent) !important; /* Зеленый акцент */
    text-shadow: none;
    outline: none !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9em;
    font-variant: small-caps;
}
.logo-pro::before,
.logo-pro::after {
    display: none !important;
}
[data-theme="dark"] .logo-pro {
    color: #10b981 !important; /* Зеленый для темной темы */
    border: none !important;
    background: none !important;
}
@keyframes logoGlow {
    0%, 100% { 
        opacity: 1;
        filter: brightness(1);
    }
    50% { 
        opacity: 0.8;
        filter: brightness(1.2);
    }
}
.footer-logo { 
    margin-bottom: 20px; 
    display: inline-block;
}
.footer-logo .logo-image {
    height: 50px;
    width: auto;
    max-width: 250px;
}

@media (max-width: 768px) {
    .footer-logo .logo-image {
        height: 44px !important;
        max-width: min(280px, 40vw) !important;
    }
}

@media (max-width: 480px) {
    .footer-logo .logo-image {
        height: 40px !important;
        max-width: min(260px, 45vw) !important;
    }
}

/* Nav */
.main-nav { 
    display: flex; 
    gap: 30px; 
    flex: 1; 
    justify-content: center; 
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Для гостей навигация сдвигается вправо */
.main-nav-guest {
    justify-content: flex-end;
    flex: 0 1 auto;
    margin-left: auto;
    gap: 20px;
}

/* Для гостей скрываем выпадающее меню "Ещё" и показываем все ссылки */
.main-nav-guest .nav-dropdown-wrap {
    display: none;
}

.main-nav-guest .nav-link {
    display: flex;
}
.nav-link { 
    font-weight: 600; 
    color: var(--text-secondary); 
    font-size: 0.9375rem; 
    padding: 8px 12px; 
    position: relative; 
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
    transition: all 0.3s ease;
    height: 40px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}
.nav-link:hover { color: var(--color-primary); }

/* CTA кнопки в навигации - выделенные важные функции */
.nav-link-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    margin: 0 4px;
    position: relative;
    overflow: hidden;
}

.nav-link-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link-cta:hover::before {
    left: 100%;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    color: white !important;
}

.nav-link-cta i {
    margin-right: 8px;
    font-size: 1rem;
}

.nav-link-cta span {
    position: relative;
    z-index: 1;
}

/* Специальные стили для "Найти работу" */
.nav-link-find-work {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-link-find-work:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Специальные стили для "Разместить проект" */
.nav-link-post-project {
    background: linear-gradient(135deg, var(--color-accent), #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

.nav-link-post-project:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5);
    }
}

/* Dropdown */
.nav-dropdown-wrap { position: relative; height: 100%; display: flex; align-items: center; }
.nav-dropdown-list {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(0);
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: 12px; box-shadow: var(--shadow-md);
    min-width: 200px; padding: 8px 0;
    opacity: 0; visibility: hidden; transition: 0.2s;
    z-index: 100;
    padding-top: 10px; /* Bridge for mouse */
}
.nav-dropdown-wrap:hover .nav-dropdown-list { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; font-size: 0.875rem; color: var(--text-main); }
.dropdown-item:hover { background: rgba(0,0,0,0.03); color: var(--color-primary); }
.dropdown-item i { width: 20px; text-align: center; color: var(--text-muted); }
.dropdown-divider { height: 1px; background: var(--border-color); margin: 8px 0; }

/* Header Actions */
.header-actions { 
    display: flex; 
    gap: 12px; 
    align-items: center !important; 
    justify-content: center !important;
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
    height: 100% !important;
    padding: 0 !important;
}

.header-actions .nav-link,
.header-actions .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}
.header-actions > * { 
    position: relative;
    display: flex;
    align-items: center;
}
/* Гарантируем единый стиль кнопки баланса независимо от других элементов */
.header-actions .header-balance-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 14px !important;
    height: 40px !important;
    min-width: auto !important;
    width: auto !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}
/* Контейнер для кнопки языка с выпадающим списком */
.header-actions > button#languageLink {
    position: relative;
}
.icon-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); background: transparent; border: none;
    cursor: pointer; font-size: 1.125rem; transition: 0.2s;
}
.icon-btn:hover { background: rgba(0,0,0,0.05); color: var(--color-primary); }

/* Return to Admin Button */
.btn-return-admin {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    margin-right: 12px;
}

.btn-return-admin:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.btn-return-admin i {
    font-size: 1rem;
}

.btn-return-admin span {
    display: inline;
}

@media (max-width: 768px) {
    .btn-return-admin span {
        display: none;
    }
    .btn-return-admin {
        padding: 8px 12px;
        margin-right: 8px;
    }
}

/* Mode Switcher */
.mode-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-surface);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    height: 40px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    margin-right: 0;
}
.mode-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    height: 100%;
}
.mode-btn i {
    font-size: 0.875rem;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mode-btn:hover {
    background: rgba(124, 58, 237, 0.05);
    color: var(--color-primary);
}
.mode-btn.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}
[data-theme="dark"] .mode-switcher {
    background: var(--bg-surface);
    border-color: var(--border-color);
}
[data-theme="dark"] .mode-btn:hover {
    background: rgba(124, 58, 237, 0.15);
}
[data-theme="dark"] .mode-btn.active {
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.5);
}

/* Language Dropdown */
.language-switcher-wrapper {
    position: relative;
    display: inline-block;
}
.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10000;
    padding: 6px 0;
    margin-top: 4px;
}
.language-dropdown::-webkit-scrollbar {
    width: 6px;
}
.language-dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.language-dropdown::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}
.language-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
.language-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.language-item:hover {
    background: rgba(124, 58, 237, 0.08);
    color: var(--color-primary);
}
.language-item.active {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.15), rgba(16, 185, 129, 0.15));
    color: var(--color-primary);
    font-weight: 600;
    position: relative;
}
.language-item.active::before {
    content: '✓';
    position: absolute;
    right: 16px;
    color: var(--color-primary);
    font-weight: 700;
}
.language-flag {
    font-size: 1.25rem;
    line-height: 1;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}
.language-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
[data-theme="dark"] .language-dropdown {
    background: var(--bg-surface);
    border-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .language-item:hover {
    background: rgba(124, 58, 237, 0.15);
}
[data-theme="dark"] .language-item.active {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.25), rgba(16, 185, 129, 0.25));
}

/* Balance Button - единый стиль для всех пользователей */
.header-balance-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 14px !important;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(16, 185, 129, 0.1)) !important;
    border: 1px solid rgba(124, 58, 237, 0.2) !important;
    border-radius: 12px !important;
    color: var(--text-main) !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    transition: 0.2s !important;
    white-space: nowrap !important;
    height: 40px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    min-width: auto !important;
    width: auto !important;
    margin: 0 !important;
}
.header-balance-btn i {
    color: var(--color-primary) !important;
    font-size: 1rem !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}
.header-balance-btn .balance-amount {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums !important;
    font-size: 0.875rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
}
.header-balance-btn:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(16, 185, 129, 0.15)) !important;
    border-color: var(--color-primary) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2) !important;
}
[data-theme="dark"] .header-balance-btn {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(16, 185, 129, 0.2)) !important;
    border-color: rgba(124, 58, 237, 0.3) !important;
}
[data-theme="dark"] .header-balance-btn:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(16, 185, 129, 0.25)) !important;
}

/* Badge уведомлений в шапке */
.icon-btn.relative {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 4px 7px;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5), 0 0 0 2px var(--bg-surface);
    border: 2px solid var(--bg-surface);
    z-index: 10;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    animation: badgePulse 2s ease-in-out infinite;
}

.notification-badge:empty {
    width: 12px;
    height: 12px;
    min-width: 12px;
    padding: 0;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5), 0 0 0 2px var(--bg-surface);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.7), 0 0 0 2px var(--bg-surface);
    }
}

.icon-btn.relative:hover .notification-badge {
    animation: badgePulse 1s ease-in-out infinite;
    transform: scale(1.15);
}

[data-theme="dark"] .notification-badge {
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6), 0 0 0 2px var(--bg-surface);
    border-color: var(--bg-surface);
}

[data-theme="dark"] .icon-btn.relative:hover .notification-badge {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.8), 0 0 0 2px var(--bg-surface);
}

.user-avatar {
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    border: 2px solid var(--border-color);
    box-shadow: 0 0 0 1px var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    font-weight: 700;
    color: var(--text-secondary);
}
.user-avatar:hover {
    border-color: var(--color-primary);
    transform: scale(1.05);
}
.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.user-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 1;
}

/* Mobile Toggle - по умолчанию скрыт, показывается на ≤1600px */
.mobile-burger { 
    display: none; 
    font-size: 1.5rem; 
    border: none; 
    background: none; 
    color: var(--text-main);
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* --- HERO SECTION (SPLIT) --- */
.hero-split {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    position: relative;
    overflow: visible;
    width: 100%;
    display: block;
}
.hero-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.hero-split .container {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logged In Hero */
.hero-single { text-align: center; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.hero-title { font-size: 2.625rem; font-weight: 800; margin-bottom: 30px; line-height: 1.2; }
.hero-search {
    display: flex; border: 1px solid var(--border-color);
    background: var(--bg-surface); border-radius: 50px; padding: 6px;
    box-shadow: var(--shadow-md);
}
.hero-search input { flex: 1; border: none; background: transparent; padding: 0 20px; font-size: 1rem; outline: none; color: var(--text-main); }
.hero-search button { width: 48px; height: 48px; border-radius: 50%; background: var(--color-primary); color: white; border: none; font-size: 1.125rem; cursor: pointer; }

/* Guest Split */
.split-wrapper { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    perspective: 1200px; /* 3D перспектива */
}
.split-card {
    position: relative; 
    height: 320px; 
    border-radius: 24px; 
    overflow: hidden;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    padding: 40px; 
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    /* Многослойные тени для объема */
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 1px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.split-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}
.split-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-2deg) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 5px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.split-card:hover::before {
    opacity: 1;
}
/* Индивидуальные эффекты для каждой карточки */
.split-freelancer { 
    background: linear-gradient(135deg, #7c3aed, #4c1d95); 
    color: white;
    border: 1px solid rgba(124, 58, 237, 0.3);
}
.split-freelancer:hover {
    background: linear-gradient(135deg, #8b5cf6, #5b21b6);
    box-shadow: 
        0 20px 60px rgba(124, 58, 237, 0.4),
        0 5px 20px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.split-employer { 
    background: linear-gradient(135deg, #10b981, #047857); 
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.split-employer:hover {
    background: linear-gradient(135deg, #34d399, #059669);
    box-shadow: 
        0 20px 60px rgba(16, 185, 129, 0.4),
        0 5px 20px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.split-content { 
    position: relative; 
    z-index: 2;
    transform: translateZ(20px); /* Выдвигаем контент вперед в 3D */
    transition: transform 0.4s;
}
.split-card:hover .split-content {
    transform: translateZ(30px) scale(1.02);
}
.split-content h2 { 
    font-size: 2rem; 
    margin-bottom: 10px; 
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s;
}
.split-card:hover .split-content h2 {
    transform: translateZ(10px);
}
.split-content p { 
    font-size: 1.125rem; 
    opacity: 0.9; 
    margin-bottom: 24px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
.split-bg-icon { 
    position: absolute; 
    bottom: -20px; 
    right: -20px; 
    font-size: 11.25rem; 
    opacity: 0.1; 
    pointer-events: none;
    transform: translateZ(-10px); /* Отодвигаем иконку назад */
    transition: transform 0.4s, opacity 0.4s;
}
.split-card:hover .split-bg-icon {
    transform: translateZ(-20px) scale(1.1);
    opacity: 0.15;
}

/* Freelancer Button on Purple */
.split-freelancer .btn { 
    background: white; 
    color: #7c3aed !important; 
    transition: all 0.3s ease;
}
.split-freelancer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    background: white;
}
/* Employer Button on Green */
.split-employer .btn { 
    background: white; 
    color: #059669 !important; 
    transition: all 0.3s ease;
}
.split-employer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    background: white;
}

/* Hero Search (Logged In) - всегда в одну линию */
.hero-search-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    border-radius: 50px;
    padding: 6px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
    gap: 0;
}
.hero-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0 20px;
    font-size: 1rem;
    outline: none;
    color: var(--text-main);
}
.hero-search-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    border: none;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.hero-search-btn:hover {
    background: var(--color-primary-hover);
    transform: scale(1.05);
}

/* --- SECTIONS --- */
.section-2025 { padding: 60px 0; }
.section-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.ds-title-lg { font-size: 2rem; font-weight: 800; margin: 0; }
.link-view-all { color: var(--color-primary); font-weight: 600; font-size: 0.875rem; display: flex; align-items: center; gap: 6px; }
.link-view-all:hover { text-decoration: underline; }

/* --- CATEGORIES (ICONS) --- */
.categories-icons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-icon-card {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 24px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    transition: 0.2s;
}
.cat-icon-card:hover { border-color: var(--color-primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-icon-circle {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(124, 58, 237, 0.1); color: var(--color-primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.cat-name { font-weight: 700; font-size: 1rem; color: var(--text-main); }

/* --- FREELANCER CARDS (SCROLL) --- */
.scroll-container {
    display: flex; gap: 24px; overflow-x: auto; padding-bottom: 20px;
    scrollbar-width: none; width: 100%;
}
.scroll-container::-webkit-scrollbar { display: none; }
.scroll-container.top-others {
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
}

/* ТОП #1 - Список (горизонтальный) */
.top-freelancer-list {
    position: relative;
    margin-bottom: 30px;
}

.top-badge-number-list {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    z-index: 10;
    border: 4px solid var(--bg-surface);
    animation: topBadgePulse 2s ease-in-out infinite;
}

@keyframes topBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.freelancer-list-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05));
    border: 2px solid var(--color-primary);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
    transition: 0.3s;
    overflow: hidden;
}

.freelancer-list-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.freelancer-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(124, 58, 237, 0.25);
}

.f-avatar-list {
    position: relative;
    flex-shrink: 0;
    width: min(120px, 20vw);
    height: min(120px, 20vw);
}

.f-avatar-list img,
.avatar-placeholder-list {
    width: min(120px, 20vw);
    height: min(120px, 20vw);
    border-radius: 50%;
    border: 4px solid var(--bg-surface);
    box-shadow: 0 0 0 3px var(--color-primary), 0 8px 30px rgba(124, 58, 237, 0.3);
    object-fit: cover;
}

.avatar-placeholder-list {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
}

.premium-badge-list {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
    border: 2px solid var(--bg-surface);
    z-index: 5;
}

.f-info-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.f-header-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.f-name-list {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
    line-height: 1.2;
}

.f-spec-list {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.f-stats-list {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item-list i {
    font-size: 1.25rem;
    color: var(--color-primary);
    width: 24px;
    text-align: center;
}

.stat-value-list {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    min-width: 40px;
}

.stat-label-list {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.f-action-list {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .freelancer-list-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .f-stats-list {
        justify-content: center;
        gap: 20px;
    }
    
    .f-action-list {
        width: 100%;
    }
    
    .f-action-list .btn {
        width: 100%;
    }
    
    .top-badge-number-list {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Бейджи для остальных карточек */
.top-badge-small {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
    z-index: 5;
    border: 2px solid var(--bg-surface);
}

/* ========================================
   БЕЙДЖИ ТИПОВ ТОПОВ (Вариант C - Гибридная система)
   ======================================== */

/* Большой бейдж "Звезда" для ТОП #1 */
.top-type-badge {
    position: absolute;
    top: -15px;
    right: 140px; /* Сдвинут вправо, чтобы не накладываться на Premium */
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--bg-surface);
}

.star-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #92400e;
}

.rising-badge {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
}

/* Маленькие бейджи для карточек #2-#5 */
.top-type-badge-small {
    position: absolute;
    top: 15px;
    right: 60px; /* Сдвинут вправо, чтобы не накладываться на Premium */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    z-index: 6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--bg-surface);
}

.star-badge-small {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #92400e;
}

.rising-badge-small {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
}

/* Анимация для восходящих звезд */
.rising-badge i,
.rising-badge-small i {
    animation: fireGlow 2s ease-in-out infinite;
}

@keyframes fireGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* ========================================
   БЕЙДЖИ PREMIUM (Золотая корона)
   ======================================== */

/* Большой круглый бейдж Premium для ТОП #1 */
.premium-badge-top {
    position: absolute;
    top: -15px;
    right: 80px; /* Рядом со звездой */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #92400e;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    border: 2px solid var(--bg-surface);
    transition: transform 0.3s ease;
}

.premium-badge-top:hover {
    transform: scale(1.1);
}

/* Маленький круглый бейдж Premium для карточек #2-#5 */
.premium-badge-top-small {
    position: absolute;
    top: 15px;
    right: 55px; /* Рядом со звездой/огнем */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #92400e;
    z-index: 6;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    border: 2px solid var(--bg-surface);
}

/* Анимация блеска для короны */
.premium-badge-top i,
.premium-badge-top-small i {
    animation: crownShine 3s ease-in-out infinite;
}

@keyframes crownShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .top-type-badge {
        top: -10px;
        right: 120px; /* Сдвинут вправо на мобильных */
        padding: 6px 12px;
        font-size: 0.75rem;
        gap: 4px;
    }
    
    .top-type-badge-small {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        top: 10px;
        right: 50px; /* Сдвинут вправо на мобильных */
    }
    
    .premium-badge-top {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        right: 70px;
    }
    
    .premium-badge-top-small {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        right: 45px;
    }
}

.freelancer-card-2025 {
    flex: 0 0 280px; width: 280px;
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: 20px; padding: 30px 20px; text-align: center;
    position: relative; transition: 0.3s; box-shadow: var(--shadow-sm);
}
.freelancer-card-2025:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.premium-badge-card { position: absolute; top: 15px; right: 15px; color: #f59e0b; background: rgba(245, 158, 11, 0.1); padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: bold; }
.f-avatar-large {
    width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 15px;
    background: #eee; overflow: hidden; border: 3px solid var(--bg-surface);
    box-shadow: 0 0 0 2px var(--color-primary);
}
.f-avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.avatar-placeholder {
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white; 
    font-size: 2rem; 
    font-weight: 700; 
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}
.f-name-card { font-size: 1.125rem; font-weight: 700; margin: 10px 0 5px; color: var(--text-main); }
.f-spec-card { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 12px; }
.f-stats-card {
    display: flex; justify-content: space-around; align-items: center;
    margin-bottom: 15px; padding: 10px 0; border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.f-rating-stat, .f-projects-stat {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.8125rem; font-weight: 600; color: var(--text-main);
}
.f-rating-stat i, .f-projects-stat i { font-size: 0.875rem; }

/* --- EMPLOYERS GRID & LIST --- */
.employers-list-modern { display: grid; gap: 16px; }
.employers-grid-modern { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 20px; 
}
.employer-card-modern {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 20px; text-align: center; transition: 0.2s;
}
.employer-card-modern:hover { transform: translateY(-3px); border-color: var(--color-accent); }
.e-avatar {
    width: 60px; height: 60px; border-radius: 12px; overflow: hidden; margin: 0 auto 10px;
    background: #eee;
}
.e-avatar img { width: 100%; height: 100%; object-fit: cover; }
.e-avatar .avatar-placeholder { font-size: 1.5rem; background: linear-gradient(135deg, #10b981, #059669); }
.e-name { font-size: 1rem; font-weight: 700; margin: 10px 0 5px; color: var(--text-main); }
.f-rating-mini { display: flex; align-items: center; gap: 4px; font-size: 0.8125rem; color: #f59e0b; }
.e-stats { font-size: 0.8125rem; color: var(--text-secondary); }

/* ========================================
   МЕДАЛИ ДЛЯ ТОП-3 (ЗОЛОТО, СЕРЕБРО, БРОНЗА)
   ======================================== */

.top-medal {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
    border: 4px solid var(--bg-surface);
    animation: medalGlow 2s ease-in-out infinite;
}

.top-medal-gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

.top-medal-silver {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    color: #fff;
    box-shadow: 0 6px 25px rgba(192, 192, 192, 0.4);
}

.top-medal-bronze {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: #fff;
    box-shadow: 0 6px 25px rgba(205, 127, 50, 0.4);
}

.top-medal i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.medal-number {
    font-size: 0.9rem;
    font-weight: 900;
}

.top-medal-small {
    position: absolute;
    top: -12px;
    left: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 10;
    border: 3px solid var(--bg-surface);
    color: #fff;
}

.top-medal-small.top-medal-silver {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
}

.top-medal-small.top-medal-bronze {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
}

.top-medal-small i {
    font-size: 1rem;
    margin-bottom: 1px;
}

.top-medal-small span {
    font-size: 0.7rem;
    font-weight: 900;
}

@keyframes medalGlow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(255, 215, 0, 0.7);
    }
}

.top-freelancer-gold .freelancer-list-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    border-color: #FFD700;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.25);
}

/* ========================================
   БЕЙДЖИ ОНЛАЙН И ВЕРИФИЦИРОВАН
   ======================================== */

.online-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    z-index: 5;
}

.online-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #10b981;
    border: 3px solid var(--bg-surface);
    display: block;
    animation: onlinePulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

@keyframes onlinePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.online-badge-small {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    z-index: 5;
}

.online-badge-small .online-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--bg-surface);
}

.verified-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    z-index: 5;
    border: 2px solid var(--bg-surface);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.verified-badge-small {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    z-index: 5;
    border: 2px solid var(--bg-surface);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.f-avatar-list {
    position: relative;
}

.f-avatar-large {
    position: relative;
}

/* ========================================
   БЕЙДЖ "НОВЕНЬКИЙ" ДЛЯ НОВЫХ ЛИЦ
   ======================================== */

.newbie-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: newbiePulse 2s ease-in-out infinite;
    border: 2px solid var(--bg-surface);
    white-space: nowrap;
}

.newbie-badge i {
    font-size: 0.875rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes newbiePulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    }
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.new-face-card {
    position: relative;
    overflow: visible;
    margin-top: 20px;
    padding-top: 8px;
}

.new-face-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ========================================
   УЛУЧШЕННЫЕ HOVER ЭФФЕКТЫ
   ======================================== */

.freelancer-card-2025 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.freelancer-card-2025:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.25);
    border-color: var(--color-primary);
}

.top-freelancer-gold .freelancer-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.35);
}

.new-face-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* --- NEW FACES --- */
.grid-freelancers-regular { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.freelancer-mini-card {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 15px;
    transition: 0.2s; height: 100%;
}
.freelancer-mini-card:hover { border-color: var(--color-primary); }
.f-mini-header { display: flex; align-items: center; gap: 12px; }
.f-avatar-mini {
    width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    background: #eee;
}
.f-avatar-mini img { width: 100%; height: 100%; object-fit: cover; }
.f-avatar-mini .avatar-placeholder { font-size: 1.25rem; }
.f-info-mini { overflow: hidden; flex: 1; }
.f-name { font-weight: 700; font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-main); }
.f-spec { font-size: 0.75rem; color: var(--text-secondary); margin: 4px 0; }

/* --- PROJECTS --- */
.projects-list-modern { display: grid; gap: 16px; }
.project-row-modern {
    background: var(--bg-surface); 
    border: 1px solid var(--border-color);
    border-radius: 12px; 
    padding: 28px 20px 20px 20px; /* Одинаковые отступы: 20px слева/справа/снизу, 28px сверху (для бейджей) */
    display: flex; 
    justify-content: space-between; 
    align-items: stretch; /* Растягиваем элементы по высоте */
    gap: 24px;
    transition: 0.2s;
    position: relative;
    min-height: 140px; /* Минимальная высота для лучшего отображения */
    box-sizing: border-box; /* Учитываем padding в общей ширине */
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.project-row-modern:hover { 
    border-left: 4px solid var(--color-primary); 
    transform: translateX(5px); 
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.1);
}

/* ПЛАТНЫЕ ПРОЕКТЫ - 5 ВИДОВ КАРТОЧЕК */

/* 1. Обычная платная карточка - унифицированные отступы */
.paid-project-card {
    background: var(--bg-surface); 
    border: 1px solid var(--border-color);
    border-radius: 12px; 
    padding: 28px 20px 20px 20px; /* Одинаковые отступы как у .project-row-modern */
    display: flex; 
    justify-content: space-between; 
    align-items: stretch;
    gap: 24px;
    transition: 0.2s;
    position: relative;
    min-height: 140px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.paid-project-card:hover { 
    transform: translateX(5px); 
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.1);
    border-left: 4px solid var(--color-primary);
}

/* 2. Выделение цветом (другой фон) */
.project-row-modern.project-highlighted {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(16, 185, 129, 0.15));
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.paid-project-card.project-highlighted {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(16, 185, 129, 0.15));
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}
/* Если задан кастомный цвет через inline стили, они переопределят базовые стили */
/* Inline стили имеют приоритет, поэтому базовые стили будут переопределены автоматически */
.paid-project-card.project-highlighted .p-title a {
    color: var(--text-main);
}
.paid-project-card.project-highlighted .p-meta {
    color: var(--text-secondary);
}
.paid-project-card.project-highlighted .p-budget {
    color: var(--color-accent);
}

/* 3. Закреп на верху - иконки на верхней границе в ряд */
.project-row-modern.project-pinned {
    border-top: 4px solid #f59e0b;
    position: relative;
    padding-top: 28px; /* Увеличена высота формы для бейджей */
}

.paid-project-card.project-pinned {
    border-top: 4px solid #f59e0b;
    position: relative;
    padding-top: 28px; /* Увеличена высота формы для бейджей */
}

/* Отдельные подложки для каждого бейджа на верхней границе */
.project-row-modern > .p-top-badge,
.paid-project-card > .p-top-badge {
    position: absolute;
    top: 0; /* Ровно с границей */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 6px 6px;
    font-size: 0.75rem;
    transition: 0.2s;
    padding: 4px 10px; /* Прямоугольная вытянутая форма */
    height: 24px; /* Высота подложки */
    min-width: 36px; /* Минимальная ширина для прямоугольной формы */
    background: transparent; /* Прозрачный фон */
    box-shadow: none; /* Без тени */
    z-index: 1;
}

/* Позиционирование каждого бейджа - динамическое через nth-of-type */
.project-row-modern > .p-top-badge:nth-of-type(1),
.paid-project-card > .p-top-badge:nth-of-type(1) {
    left: 20px;
}

.project-row-modern > .p-top-badge:nth-of-type(2),
.paid-project-card > .p-top-badge:nth-of-type(2) {
    left: 66px; /* 20px + 36px + 10px gap */
}

.project-row-modern > .p-top-badge:nth-of-type(3),
.paid-project-card > .p-top-badge:nth-of-type(3) {
    left: 112px; /* 66px + 36px + 10px gap */
}

.project-row-modern > .p-top-badge:nth-of-type(4),
.paid-project-card > .p-top-badge:nth-of-type(4) {
    left: 158px; /* 112px + 36px + 10px gap */
}

.p-top-badge:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.p-top-badge.badge-pinned {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.p-top-badge.badge-paid {
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.1);
}

.p-top-badge.badge-urgent {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    animation: rocketPulse 2s ease-in-out infinite;
}

.p-top-badge.badge-highlighted {
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.1);
}

.p-top-badge.badge-verified {
    color: var(--color-accent);
    background: rgba(16, 185, 129, 0.1);
}

.p-top-badge.badge-top {
    color: #fbbf24; /* Золотой цвет для топ фрилансера */
    background: rgba(251, 191, 36, 0.1);
}

/* Статусы фрилансера (справа в заголовке) */
.p-freelancer-status {
    margin-left: auto;
    flex-shrink: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
    border: 1px solid;
    transition: 0.2s;
}

.status-badge.status-студия,
.status-badge.status-studio {
    color: #8b5cf6;
    border-color: #8b5cf6;
}

.status-badge.status-эксперт,
.status-badge.status-expert {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.status-badge.status-мастер,
.status-badge.status-master {
    color: #f59e0b;
    border-color: #f59e0b;
}

.p-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}


/* 4. Срочный заказ (красная ракета) - на верхней границе */
.project-row-modern.project-urgent {
    border-left: 4px solid #ef4444;
    position: relative;
}

.paid-project-card.project-urgent {
    border-left: 4px solid #ef4444;
    position: relative;
}

/* Для срочного + закреп */
.project-row-modern.project-urgent.project-pinned {
    border-top: 4px solid #f59e0b;
    border-left: 4px solid #ef4444;
}

.paid-project-card.project-urgent.project-pinned {
    border-top: 4px solid #f59e0b;
    border-left: 4px solid #ef4444;
}
@keyframes rocketPulse {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-3px) scale(1.1);
        opacity: 0.9;
    }
}

/* 5. Комбинация 2+3+4 (выделение + закреп + срочный) */
.project-row-modern.project-highlighted.project-pinned.project-urgent {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(16, 185, 129, 0.2));
    border: 2px solid var(--color-primary);
    border-top: 4px solid #f59e0b;
    border-left: 4px solid #ef4444;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
    padding-top: 28px; /* Для бейджей */
}

.paid-project-card.project-highlighted.project-pinned.project-urgent {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(16, 185, 129, 0.2));
    border: 2px solid var(--color-primary);
    border-top: 4px solid #f59e0b;
    border-left: 4px solid #ef4444;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
    padding-top: 28px; /* Для бейджей */
}

/* Темная тема для выделенных карточек */
[data-theme="dark"] .paid-project-card.project-highlighted {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(16, 185, 129, 0.25));
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}
[data-theme="dark"] .paid-project-card.project-highlighted .p-title a {
    color: #f9fafb;
}
[data-theme="dark"] .paid-project-card.project-highlighted .p-meta {
    color: #d1d5db;
}
[data-theme="dark"] .paid-project-card.project-highlighted.project-pinned.project-urgent {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(16, 185, 129, 0.3));
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.p-info { 
    flex: 1; 
    min-width: 0; /* Для правильного обрезания текста */
    display: flex;
    flex-direction: column;
    width: 100%; /* Растягиваем до конца */
    gap: 12px; /* Одинаковые отступы между секциями */
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

/* Удалено .p-meta-header - метаданные только внизу */

/* Заголовок + бейдж "Срочно" */
.p-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
    min-width: 0;
    box-sizing: border-box;
}

.p-title {
    flex: 1;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: 700;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.p-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.p-title a:hover {
    color: var(--color-primary);
}

.p-urgent-badge-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: urgentPulse 2s ease-in-out infinite;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    align-self: flex-start;
}

.p-urgent-badge-title i {
    font-size: 0.875rem;
    animation: rocketPulse 2s ease-in-out infinite;
}

/* Описание + сумма */
.p-description-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.p-description {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    min-width: 0;
}

.p-description-row .p-budget {
    font-weight: 700; 
    color: var(--color-accent); 
    font-size: 1.375rem; 
    white-space: nowrap;
    text-align: center;
    flex-shrink: 0;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Удалено дублирование - стили для .p-title уже определены выше */
.p-title a { 
    font-weight: 700; 
    font-size: 1.125rem; 
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.p-title a:hover { color: var(--color-primary); }

/* Бейджи проектов */
.project-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.project-badge {
    font-size: 0.875rem;
    padding: 4px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.project-badge.paid {
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.1);
}
.project-badge.pinned {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}
.project-badge.urgent {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    animation: urgentPulse 2s ease-in-out infinite;
}
@keyframes urgentPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.p-meta { 
    font-size: 0.8125rem; 
    color: var(--text-secondary); 
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.p-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--bg-body);
    border-radius: 6px;
    transition: 0.2s;
}

.p-meta-item:hover {
    background: rgba(124, 58, 237, 0.05);
}

.p-meta-item i {
    color: var(--text-muted);
    font-size: 0.6875rem;
    opacity: 0.7;
}

/* Верхний ряд в List View - бейджи слева */
.p-top-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.p-badges-top {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
    padding-top: 2px;
}

.p-badge-top {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.75rem;
    transition: 0.2s;
    flex-shrink: 0;
}

.p-badge-top:hover {
    transform: scale(1.1);
}

.p-badge-top.badge-pinned {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
}

.p-badge-top.badge-paid {
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.15);
}

.p-badge-top.badge-urgent {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    animation: urgentPulse 2s ease-in-out infinite;
}

.p-badge-top.badge-highlighted {
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.15);
}

/* Удалено .p-title-row - больше не используется */

.p-title {
    flex: 1;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: 700;
}

.p-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.p-title a:hover {
    color: var(--color-primary);
}

/* Стили для .p-urgent-badge-title перенесены в .p-right-column */

.p-employer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color); /* Разделитель восстановлен */
    flex-wrap: wrap;
    width: 100%; /* Растягиваем до конца */
}

.p-meta-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.p-meta-center .p-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.p-meta-center .p-meta-item i {
    font-size: 0.6875rem;
    color: var(--text-tertiary);
}

/* Раскраска рейтинга в мета */
.p-meta-rating {
    font-weight: 600;
}

.p-meta-rating i {
    color: #fbbf24 !important; /* Золотой цвет для звезды */
}

.p-meta-rating .rating-value {
    font-weight: 700;
}

/* Рейтинг 0-2.9 - красный */
.p-meta-rating[data-rating="0"] .rating-value,
.p-meta-rating[data-rating^="0."] .rating-value,
.p-meta-rating[data-rating^="1."] .rating-value,
.p-meta-rating[data-rating^="2."] .rating-value {
    color: #ef4444;
}

/* Рейтинг 3.0-3.9 - оранжевый */
.p-meta-rating[data-rating^="3."] .rating-value {
    color: #f59e0b;
}

/* Рейтинг 4.0-4.4 - желтый */
.p-meta-rating[data-rating^="4."] .rating-value {
    color: #eab308;
}

/* Рейтинг 4.5-5.0 - зеленый */
.p-meta-rating[data-rating="4.5"] .rating-value,
.p-meta-rating[data-rating="4.6"] .rating-value,
.p-meta-rating[data-rating="4.7"] .rating-value,
.p-meta-rating[data-rating="4.8"] .rating-value,
.p-meta-rating[data-rating="4.9"] .rating-value,
.p-meta-rating[data-rating="5"] .rating-value,
.p-meta-rating[data-rating="5.0"] .rating-value {
    color: var(--color-accent);
}

/* Альтернативный способ через атрибуты для точных значений */
.p-meta-rating[data-rating*="4.5"] .rating-value,
.p-meta-rating[data-rating*="4.6"] .rating-value,
.p-meta-rating[data-rating*="4.7"] .rating-value,
.p-meta-rating[data-rating*="4.8"] .rating-value,
.p-meta-rating[data-rating*="4.9"] .rating-value {
    color: var(--color-accent);
}

.p-employer-row .p-employer-link {
    flex-shrink: 0;
}

.p-employer-row .p-respond-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.p-employer-row .p-respond-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.p-employer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: 0.2s;
    flex-shrink: 0;
    min-width: 0;
}

/* Контейнер для аватара работодателя */
.p-employer-link > div[style*="position: relative"] {
    position: relative !important;
    width: min(28px, 6vw) !important;
    height: 28px !important;
    max-width: min(28px, 6vw) !important;
    max-height: 28px !important;
    min-width: min(28px, 6vw) !important;
    min-height: 28px !important;
    flex-shrink: 0 !important;
    overflow: hidden;
}

.p-employer-link:hover {
    color: var(--color-primary);
}

.p-employer-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.p-employer-avatar-placeholder {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    aspect-ratio: 1 / 1 !important;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2) !important;
    border-radius: 50% !important;
    user-select: none !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.p-employer-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Стили для фрилансеров - копия стилей работодателей */
.p-freelancer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: 0.2s;
    flex-shrink: 0;
    min-width: 0;
}

/* Контейнер для аватара фрилансера */
.p-freelancer-link > div[style*="position: relative"] {
    position: relative !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
    overflow: hidden;
}

.p-freelancer-link:hover {
    color: var(--color-primary);
}

.p-freelancer-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.p-freelancer-avatar-placeholder,
.p-employer-avatar-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    aspect-ratio: 1 / 1 !important;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2) !important;
    border-radius: 50% !important;
    user-select: none !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.p-freelancer-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p-respond-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.p-respond-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}
@keyframes urgentPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6);
    }
}

/* Удалено - правая колонка больше не используется */

/* ============================================
   НОВЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ПРОЕКТОВ 2025
   ============================================ */

/* Обертка страницы */
.projects-page-wrapper {
    width: 100%;
}

/* GRID VIEW - Карточки в сетке */
.projects-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

/* В grid view карточки должны быть вертикальными с фиксированной структурой */
.projects-grid-modern .project-row-modern {
    flex-direction: column;
    align-items: stretch;
    display: flex;
    height: 100%;
}

/* В grid view p-info должен быть вертикальным с фиксированными позициями */
.projects-grid-modern .p-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

/* В grid view p-title-row должен быть горизонтальным */
.projects-grid-modern .p-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-shrink: 0;
}

/* В grid view p-description должен быть отдельно с фиксированной высотой */
.projects-grid-modern .p-description {
    margin: 0;
    min-height: 60px;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex-shrink: 0;
}

/* В grid view p-budget должен быть центрирован и в фиксированной позиции */
.projects-grid-modern .p-budget {
    text-align: center;
    margin: 12px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    flex-shrink: 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Увеличиваем размер суммы везде */
.p-budget {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* В grid view p-meta-center должен быть списком с фиксированной высотой */
.projects-grid-modern .p-meta-center {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    flex-shrink: 0;
    min-height: 50px;
    align-items: center;
    margin-bottom: 12px;
}

.employers-grid-modern .p-meta-center,
.freelancers-grid-modern .p-meta-center {
    margin-bottom: 12px;
}

/* В grid view работодатель и кнопка должны быть вертикально с фиксированными позициями */
.projects-grid-modern .p-employer-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    flex-shrink: 0;
    margin-top: auto;
}

.projects-grid-modern .p-respond-btn {
    width: 100%;
    justify-content: center;
    flex-shrink: 0;
}

/* Карточка проекта (Grid) */
.project-card-modern {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
    border-color: var(--color-primary);
}

/* Верх карточки - бейджи слева, "Срочно" справа */
.project-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    min-height: 32px;
}

.project-badges-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.project-top-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 24px;
    padding: 4px 10px;
    background: #ffffff;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.75rem;
    position: relative;
    z-index: 2;
}

.project-top-badge.badge-pinned {
    color: #f59e0b;
}

.project-top-badge.badge-paid {
    color: #10b981;
}

.project-top-badge.badge-highlighted {
    color: #7c3aed;
}

.project-urgent-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.project-urgent-badge-top i {
    animation: rocketPulse 2s ease-in-out infinite;
}

.project-category-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: 0.2s;
}

.project-category-modern:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.project-category-modern i {
    color: var(--text-muted);
    font-size: 0.6875rem;
}

/* Компактные бейджи - только важные */
.project-badges-compact {
    display: flex;
    gap: 4px;
    align-items: center;
}

.project-badge-compact {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.6875rem;
    line-height: 1;
    transition: 0.2s;
}

.project-badge-compact:hover {
    transform: scale(1.1);
}

.project-badge-compact.badge-pinned {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
}

.project-badge-compact.badge-urgent {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    animation: urgentPulse 2s ease-in-out infinite;
}

.project-badge-compact.badge-paid {
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.15);
}

/* Контент карточки */
.project-card-content {
    flex: 1;
    margin-bottom: 0;
}

.project-title-modern {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.project-title-modern a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.project-title-modern a:hover {
    color: var(--color-primary);
}

.project-description-modern {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Мета-данные: дата, просмотры, отклики, категория */
.project-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.meta-item-modern {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--bg-body);
    border-radius: 6px;
    transition: 0.2s;
}

.meta-item-modern:hover {
    background: rgba(124, 58, 237, 0.05);
}

.meta-item-modern i {
    color: var(--text-muted);
    font-size: 0.625rem;
    opacity: 0.7;
}

/* Компактные мета-данные - без лишних иконок */
.project-meta-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.meta-compact-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--bg-body);
    border-radius: 6px;
    transition: 0.2s;
}

.meta-compact-item:hover {
    background: rgba(124, 58, 237, 0.05);
}

.meta-compact-item i {
    color: var(--text-muted);
    font-size: 0.625rem;
    opacity: 0.7;
}

/* Низ карточки */
/* Секция с суммой */
.project-budget-section {
    margin: 16px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.project-budget-modern {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1.375rem;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(124, 58, 237, 0.05));
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.project-card-modern:hover .project-budget-modern {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(124, 58, 237, 0.1));
    border-color: var(--color-primary);
}

/* Футер карточки: работодатель слева, кнопка справа */
.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    flex-wrap: wrap;
}

.project-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.project-employer-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: 0.2s;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
}

.project-employer-modern:hover {
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
    border-color: var(--color-primary);
}

.employer-avatar-modern,
.employer-avatar-placeholder-modern {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.employer-avatar-placeholder-modern {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.employer-name-modern {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-respond-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.btn-respond-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Платные проекты в Grid */
.project-card-modern.paid-project-card {
    border: 2px solid rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03), rgba(124, 58, 237, 0.03));
}

.project-card-modern.paid-project-card:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.project-card-modern.project-highlighted {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(16, 185, 129, 0.15));
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.project-card-modern.project-pinned {
    padding-top: 28px;
    position: relative;
}

.project-card-modern.project-urgent {
    border-left: 4px solid #ef4444;
    position: relative;
}

.project-card-modern.project-highlighted.project-pinned.project-urgent {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(16, 185, 129, 0.2));
    border: 2px solid var(--color-primary);
    border-top: 4px solid #f59e0b;
    border-left: 4px solid #ef4444;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

/* Пагинация */
.projects-pagination-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    padding: 30px 0;
    flex-wrap: wrap;
}

.pagination-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-btn-modern:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.pagination-numbers-modern {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-number-modern {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-number-modern:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.pagination-number-modern.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    transform: scale(1.05);
}

.pagination-ellipsis-modern {
    padding: 0 8px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Пустое состояние */
.projects-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-body);
    border-radius: 20px;
    border: 2px dashed var(--border-color);
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.empty-state-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .projects-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .projects-grid-modern {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .project-card-modern {
        padding: 20px;
    }
    
    .project-footer-modern {
        flex-direction: column;
        align-items: stretch;
    }
    
    
    .project-row-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .p-budget {
        align-self: flex-start;
    }
    
    .p-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .p-employer-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .p-respond-btn {
        width: 100%;
        justify-content: center;
    }
    
    .projects-pagination-modern {
        gap: 4px;
    }
    
    .pagination-btn-modern {
        padding: 10px 16px;
        font-size: 0.8125rem;
    }
    
    .pagination-number-modern {
        min-width: 40px;
        height: 40px;
        font-size: 0.8125rem;
    }
    
    .filter-content-modern {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }
    
    .filter-header-modern {
        padding: 16px 20px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .filter-footer-modern {
        flex-direction: column;
        padding: 16px 20px;
        gap: 12px;
    }
    
    .btn-filter-reset-modern,
    .btn-filter-apply-modern {
        width: 100%;
        justify-content: center;
    }
}

/* --- BLOG --- */
.news-grid-modern { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Медиа-запрос для больших экранов - это нормально */
@media (min-width: 1400px) {
    .news-grid-modern { grid-template-columns: repeat(3, 1fr); }
}
.news-card-modern {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: 16px; overflow: hidden; transition: 0.3s;
    display: flex; flex-direction: column; height: 100%;
}
.news-card-modern:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.news-image-link { display: block; text-decoration: none; }
.news-image {
    width: 100%; height: 200px; background-size: cover; background-position: center;
    background-color: #f3f4f6; transition: transform 0.3s;
}
.news-card-modern:hover .news-image { transform: scale(1.05); }
.news-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-date { 
    font-size: 0.75rem; color: var(--text-muted); 
    margin-bottom: 12px; font-weight: 500;
}
.news-title { 
    font-size: 1.25rem; font-weight: 700; color: var(--text-main); 
    line-height: 1.4; margin-bottom: 12px;
}
.news-title a { color: inherit; text-decoration: none; transition: 0.2s; }
.news-title a:hover { color: var(--color-primary); }
.news-excerpt {
    font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6;
    margin-bottom: 20px; flex: 1;
}
.news-read-more {
    margin-top: auto; align-self: flex-start;
    display: inline-flex; align-items: center;
}

/* --- RADIO --- */
.section-dark { background: #0f0518; color: white; }
.radio-card-2025 {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px; padding: 30px; display: flex; align-items: center; justify-content: space-between;
    gap: 30px;
}
.radio-visualizer { display: flex; gap: 4px; height: 40px; align-items: flex-end; }
.wave-bar {
    width: 6px; background: var(--color-accent); border-radius: 2px;
    animation: jump 1s infinite;
    height: 20%;
}
@keyframes jump { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.wave-bar:nth-child(odd) { animation-duration: 0.8s; background: var(--color-primary); }
.wave-bar:nth-child(even) { animation-duration: 1.2s; }

.radio-info { flex: 1; }
.radio-controls-modern { display: flex; gap: 16px; align-items: center; }
.radio-btn-play {
    width: 56px; height: 56px; border-radius: 50%; background: white;
    color: var(--color-primary); font-size: 1.5rem; border: none;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: 0.2s;
}
.radio-btn-play:hover { transform: scale(1.1); }
.radio-btn-play.playing { background: var(--color-accent); color: white; }
.radio-btn-nav {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1);
    color: white; border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: 0.2s;
}
.radio-btn-nav:hover { background: rgba(255,255,255,0.2); }

/* --- SEARCH MODAL --- */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.search-modal.active {
    opacity: 1;
    visibility: visible;
}
.search-modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 0;
}
.search-modal-form {
    width: 100%;
}
.search-modal-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-surface);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    padding: 16px 24px;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}
.search-modal-input-wrapper i:first-child {
    color: var(--text-muted);
    font-size: 1.125rem;
}
.search-modal-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.125rem;
    color: var(--text-main);
    outline: none;
    font-weight: 500;
}
.search-modal-input::placeholder {
    color: var(--text-muted);
}
.search-modal-submit {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: 0.2s;
}
.search-modal-submit:hover {
    background: var(--color-primary-hover);
    transform: scale(1.05);
}
.search-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: 0.2s;
}
.search-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* --- MOBILE --- */
/* Стили мобильного меню перенесены в responsive-comprehensive.css для правильной работы */

/* --- SCROLL TO TOP BUTTON --- */
.scroll-to-top {
    position: fixed !important;
    bottom: 160px !important;
    right: 20px !important;
    width: min(56px, 12vw) !important;
    height: 56px !important;
    min-width: min(56px, 12vw) !important;
    min-height: 56px !important;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent)) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 1.25rem !important;
    cursor: pointer !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3) !important;
    z-index: 999999 !important; /* Высокий z-index, но ниже чатбота */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) scale(0.8) !important;
    pointer-events: none !important;
}
.scroll-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
    display: flex !important;
    z-index: 999999 !important; /* Высокий z-index, но ниже чатбота */
}
.scroll-to-top:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4) !important;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary)) !important;
}

/* --- CHATBOT BUTTON --- */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 999999;
    transition: right 0.3s ease, bottom 0.3s ease;
}
.chatbot-container.has-scroll-button {
    bottom: 90px;
    right: 110px;
}
.chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border: none;
    color: white;
    font-size: 1.375rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    animation: chatbotPulse 2s ease-in-out infinite;
}
.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}
@keyframes chatbotPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3); }
    50% { box-shadow: 0 4px 24px rgba(124, 58, 237, 0.6); }
}

/* --- FOOTER --- */
.footer-2025 {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: auto; /* Прибиваем footer к низу */
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-brand-col p {
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 300px;
    font-size: 0.875rem;
    line-height: 1.6;
}
.footer-title {
    color: var(--text-main);
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-link {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: 0.2s;
    text-decoration: none;
}
.footer-link:hover {
    color: var(--color-primary);
    padding-left: 4px;
}
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: 0.3s;
    border: 1px solid var(--border-color);
    text-decoration: none;
}
.social-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--color-primary);
}

/* Кнопки скачивания приложений */
.footer-app-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}
.app-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 200px;
}
.app-store-btn:hover {
    background: var(--bg-surface);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.15);
}
.app-store-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.rustore-btn .app-store-icon {
    fill: var(--color-primary);
}
.appstore-btn .app-store-icon {
    fill: var(--text-main);
}
.app-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.app-store-label {
    font-size: 10px;
    color: var(--text-secondary);
    line-height: 1;
}
.app-store-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
}
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-brand-col {
        grid-column: span 2;
    }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand-col {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    /* Навигация и меню управляются через responsive-comprehensive.css */
    /* Здесь только специфичные стили для контента */
    
    /* На мобильных скрываем текст баланса, оставляем только иконку */
    .header-balance-btn .balance-amount {
        display: none;
    }
    .header-balance-btn {
        width: 40px;
        height: 40px;
        padding: 0;
    }
    
    /* Адаптивность для CTA кнопок в навигации */
    .nav-link-cta {
        padding: 8px 16px !important;
        font-size: 0.8125rem !important;
    }
    
    .nav-link-cta i {
        margin-right: 6px;
        font-size: 0.875rem;
    }
    
    .nav-link-cta span {
        display: none;
    }
    
    /* На очень маленьких экранах показываем только иконки */
    @media (max-width: 480px) {
        .nav-link-cta {
            padding: 8px 12px !important;
            min-width: 40px;
            justify-content: center;
        }
        
        .nav-link-cta i {
            margin-right: 0;
        }
        
        .header-actions {
            justify-content: center;
        }
    }
    .split-wrapper { grid-template-columns: 1fr; }
    .categories-icons-grid { grid-template-columns: repeat(2, 1fr); }
    .employers-grid-modern { grid-template-columns: repeat(3, 1fr); }
    .employers-list-modern { gap: 12px; }
    .grid-freelancers-regular { grid-template-columns: repeat(2, 1fr); }
    .news-grid-modern { grid-template-columns: repeat(2, 1fr); }
    /* Кнопки управляются через responsive-comprehensive.css */
}
/* ============================================
   СТРАНИЦА "ВСЕ ПРОЕКТЫ" - 2025 DESIGN
   ============================================ */

/* Hero секция */
.projects-hero {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 24px;
    padding: 60px 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.2);
}

.projects-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    animation: heroGlow 8s ease-in-out infinite;
}

.projects-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    filter: blur(60px);
    animation: heroGlow 8s ease-in-out infinite reverse;
}

@keyframes heroGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.projects-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.projects-hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.projects-hero-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.projects-hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.projects-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
}

.projects-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px 32px;
    text-align: center;
    min-width: 180px;
    transition: 0.3s;
}

.hero-stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-stat-item i {
    font-size: 2rem;
    color: white;
    margin-bottom: 12px;
    display: block;
}

.hero-stat-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Поиск и фильтры */
.projects-search-section {
    margin-bottom: 40px;
}

.projects-search-wrapper {
    margin-bottom: 24px;
    width: 100%;
}

.projects-search-wrapper .main-search {
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 56px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.projects-search-wrapper .main-search:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
    transform: translateY(-2px);
}

.projects-search-wrapper .main-search-input {
    flex: 1;
    padding: 0 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    border: none;
    outline: none;
    background: transparent;
}

.projects-search-wrapper .main-search-input::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

.projects-search-wrapper .search-submit-btn {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: 0.3s;
    flex-shrink: 0;
}

.projects-search-wrapper .search-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

/* Заголовок списка проектов */
.projects-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.projects-list-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.projects-list-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.projects-list-title i {
    color: var(--color-primary);
    font-size: 1.75rem;
}

.projects-list-count {
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.projects-list-count strong {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.125rem;
}

.projects-list-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.view-toggle {
    display: flex;
    gap: 4px;
    background: var(--bg-body);
    padding: 4px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.view-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    font-size: 1rem;
}

.view-btn:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-primary);
}

.view-btn.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

@media (max-width: 768px) {
    .project-row-modern { flex-direction: column; align-items: flex-start; gap: 10px; }
    .radio-card-2025 { flex-direction: column; text-align: center; gap: 20px; }
    .radio-visualizer { display: none; }
    .categories-icons-grid { grid-template-columns: 1fr; }
    .employers-grid-modern { grid-template-columns: repeat(2, 1fr); }
    .news-grid-modern { grid-template-columns: 1fr; }
    .projects-hero { padding: 40px 20px; }
    .projects-hero-title { font-size: 2rem; }
    .projects-hero-subtitle { font-size: 1rem; }
    .projects-hero-stats { gap: 20px; }
    .hero-stat-item { min-width: 140px; padding: 20px 24px; }
    .projects-list-header { flex-direction: column; align-items: flex-start; }
    
    /* Адаптивность для фрилансеров */
    .p-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .p-freelancer-status {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .p-meta-center {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }
    
    .p-meta-item {
        font-size: 0.6875rem;
        padding: 3px 6px;
    }
    
    .p-employer-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .p-employer-link {
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .p-respond-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Адаптивность для очень маленьких экранов (320px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .projects-hero {
        padding: 30px 12px;
    }
    
    .projects-hero-title {
        font-size: 1.5rem;
    }
    
    .projects-hero-subtitle {
        font-size: 0.875rem;
    }
    
    .projects-hero-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-stat-item {
        width: 100%;
        min-width: auto;
        padding: 16px;
    }
    
    .projects-grid-modern {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .project-row-modern {
        padding: 16px;
    }
    
    .p-title {
        font-size: 1rem;
    }
    
    .p-description {
        font-size: 0.8125rem;
        line-height: 1.4;
    }
    
    .p-budget {
        font-size: 1.25rem;
    }
    
    .p-meta-center {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .p-meta-item {
        font-size: 0.625rem;
    }
    
    .p-employer-avatar,
    .p-employer-avatar-placeholder {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        aspect-ratio: 1 / 1 !important;
        font-size: 0.625rem;
    }
    
    .p-freelancer-avatar,
    .p-freelancer-avatar-placeholder,
    .p-employer-avatar,
    .p-employer-avatar-placeholder {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        aspect-ratio: 1 / 1 !important;
        font-size: 0.625rem;
    }
    
    .p-employer-link > div[style*="position: relative"],
    .p-freelancer-link > div[style*="position: relative"] {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        aspect-ratio: 1 / 1 !important;
    }
    
    .p-employer-name {
        font-size: 0.75rem;
    }
    
    .p-freelancer-avatar,
    .p-freelancer-avatar-placeholder,
    .p-employer-avatar,
    .p-employer-avatar-placeholder {
        width: 24px;
        height: 24px;
        font-size: 0.625rem;
    }
    
    .p-freelancer-name {
        font-size: 0.75rem;
    }
    
    .p-respond-btn {
        font-size: 0.8125rem;
        padding: 10px 16px;
    }
    
    .projects-list-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .projects-list-header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-section-modern {
        margin: 12px 0;
    }
    
    .filter-header-modern {
        padding: 12px;
    }
    
    .filter-content-modern {
        padding: 12px;
    }
    
    .projects-pagination-modern {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .pagination-btn-modern {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .pagination-number-modern {
        min-width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }
}

/* Адаптивность для экстремально маленьких экранов (320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .projects-hero {
        padding: 20px 8px;
    }
    
    .projects-hero-title {
        font-size: 1.25rem;
    }
    
    .projects-hero-subtitle {
        font-size: 0.8125rem;
    }
    
    .project-row-modern {
        padding: 12px;
    }
    
    .p-title {
        font-size: 0.875rem;
    }
    
    .p-budget {
        font-size: 1.125rem;
    }
    
    .p-top-badge {
        font-size: 0.625rem;
        padding: 3px 8px;
        height: 20px;
        min-width: 28px;
    }
    
    .status-badge {
        font-size: 0.5625rem;
        padding: 3px 8px;
    }
}

/* ============================================
   КАРТОЧКИ ПРОЕКТОВ - 2025 DESIGN
   ============================================ */

.projects-wrapper {
    width: 100%;
}

.projects-container {
    width: 100%;
}

/* Grid View */
.projects-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

/* List View */
.projects-list-view {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 0;
}

/* ============================================
   КАРТОЧКИ ПРОЕКТОВ - СТИЛЬ КАК НА ГЛАВНОЙ
   ============================================ */

/* Grid View - карточки как на главной */
.projects-grid-view .project-card-new {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.projects-grid-view .project-card-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

/* Grid View - структура как на главной */
.projects-grid-view .project-card-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.projects-grid-view .project-card-body {
    flex: 1;
    margin-bottom: 16px;
}

.projects-grid-view .project-title-new {
    margin: 0 0 8px 0;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.projects-grid-view .project-title-new a {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.projects-grid-view .project-title-new a:hover {
    color: var(--color-primary);
}

.projects-grid-view .project-description-new {
    margin: 8px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.projects-grid-view .project-meta-new {
    margin-top: 12px;
    font-size: 0.8125rem;
}

.projects-grid-view .project-budget-new {
    margin-bottom: 16px;
    padding: 0;
    background: none;
    border: none;
    text-align: left;
}

.projects-grid-view .project-budget-new .budget-label {
    display: none;
}

.projects-grid-view .project-budget-new .budget-value-new {
    font-size: 1.125rem;
    color: var(--color-accent);
    font-weight: 700;
}

/* Grid view использует те же стили, что и list view */

/* List View - используем стиль project-row-modern */
.projects-list-view .project-card-new {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
    position: relative;
}

.projects-list-view .project-card-new:hover {
    border-left: 4px solid var(--color-primary);
    transform: translateX(5px);
}

/* Платные проекты - стиль как на главной */
.projects-grid-view .project-card-new.project-card-paid,
.projects-list-view .project-card-new.project-card-paid {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
    position: relative;
}

.projects-grid-view .project-card-new.project-card-paid:hover,
.projects-list-view .project-card-new.project-card-paid:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

/* Выделение цветом */
.projects-grid-view .project-card-new.project-card-highlighted,
.projects-list-view .project-card-new.project-card-highlighted,
.projects-grid-view .project-card-new.project-card-paid.project-card-highlighted,
.projects-list-view .project-card-new.project-card-paid.project-card-highlighted {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(16, 185, 129, 0.15));
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* Закреп на верху */
.projects-grid-view .project-card-new.project-card-pinned,
.projects-list-view .project-card-new.project-card-pinned,
.projects-grid-view .project-card-new.project-card-paid.project-card-pinned,
.projects-list-view .project-card-new.project-card-paid.project-card-pinned {
    border-top: 4px solid #f59e0b;
    position: relative;
    padding-top: 24px;
}

.projects-grid-view .project-card-new.project-card-pinned::before,
.projects-list-view .project-card-new.project-card-pinned::before,
.projects-grid-view .project-card-new.project-card-paid.project-card-pinned::before,
.projects-list-view .project-card-new.project-card-paid.project-card-pinned::before {
    content: '\f08d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -8px;
    left: 20px;
    color: #f59e0b;
    font-size: 1.125rem;
    background: var(--bg-surface);
    padding: 4px 8px;
    border-radius: 0 0 6px 6px;
    z-index: 1;
}

[data-theme="dark"] .projects-grid-view .project-card-new.project-card-pinned::before,
[data-theme="dark"] .projects-list-view .project-card-new.project-card-pinned::before,
[data-theme="dark"] .projects-grid-view .project-card-new.project-card-paid.project-card-pinned::before,
[data-theme="dark"] .projects-list-view .project-card-new.project-card-paid.project-card-pinned::before {
    background: var(--bg-surface);
}

/* Срочный заказ */
.projects-grid-view .project-card-new.project-card-urgent,
.projects-list-view .project-card-new.project-card-urgent,
.projects-grid-view .project-card-new.project-card-paid.project-card-urgent,
.projects-list-view .project-card-new.project-card-paid.project-card-urgent {
    border-left: 4px solid #ef4444;
    position: relative;
}

.projects-grid-view .project-card-new.project-card-urgent::after,
.projects-list-view .project-card-new.project-card-urgent::after,
.projects-grid-view .project-card-new.project-card-paid.project-card-urgent::after,
.projects-list-view .project-card-new.project-card-paid.project-card-urgent::after {
    content: '\f135';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ef4444;
    font-size: 1.25rem;
    animation: rocketPulse 2s ease-in-out infinite;
    z-index: 1;
}

/* Комбинация всех трех */
.projects-grid-view .project-card-new.project-card-highlighted.project-card-pinned.project-card-urgent,
.projects-list-view .project-card-new.project-card-highlighted.project-card-pinned.project-card-urgent,
.projects-grid-view .project-card-new.project-card-paid.project-card-highlighted.project-card-pinned.project-card-urgent,
.projects-list-view .project-card-new.project-card-paid.project-card-highlighted.project-card-pinned.project-card-urgent {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(16, 185, 129, 0.2));
    border: 2px solid var(--color-primary);
    border-top: 4px solid #f59e0b;
    border-left: 4px solid #ef4444;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

/* Темная тема */
[data-theme="dark"] .projects-grid-view .project-card-new.project-card-highlighted,
[data-theme="dark"] .projects-list-view .project-card-new.project-card-highlighted,
[data-theme="dark"] .projects-grid-view .project-card-new.project-card-paid.project-card-highlighted,
[data-theme="dark"] .projects-list-view .project-card-new.project-card-paid.project-card-highlighted {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(16, 185, 129, 0.25));
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

[data-theme="dark"] .projects-grid-view .project-card-new.project-card-highlighted.project-card-pinned.project-card-urgent,
[data-theme="dark"] .projects-list-view .project-card-new.project-card-highlighted.project-card-pinned.project-card-urgent,
[data-theme="dark"] .projects-grid-view .project-card-new.project-card-paid.project-card-highlighted.project-card-pinned.project-card-urgent,
[data-theme="dark"] .projects-list-view .project-card-new.project-card-paid.project-card-highlighted.project-card-pinned.project-card-urgent {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(16, 185, 129, 0.3));
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

@keyframes rocketPulse {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-3px) scale(1.1); opacity: 0.9; }
}

/* Заголовок карточки - стиль как на главной */
.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.project-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: 0.2s;
}

.project-category-badge:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.project-category-badge i {
    color: var(--text-muted);
    font-size: 0.6875rem;
}

.project-status-badges {
    display: flex;
    gap: 6px;
    align-items: center;
}

.project-status-badge {
    font-size: 0.875rem;
    padding: 4px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.badge-pinned {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.badge-highlighted {
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.1);
}

.badge-urgent {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    animation: urgentPulse 2s ease-in-out infinite;
}

.badge-paid {
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.1);
}

@keyframes urgentPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Тело карточки */
.project-card-body {
    flex: 1;
    margin-bottom: 16px;
}

.project-title-new {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.project-title-new a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.project-title-new a:hover {
    color: var(--color-primary);
}

.project-description-new {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-meta-new {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--text-muted);
    font-size: 0.6875rem;
}

/* Бюджет */
.project-budget-new {
    padding: 16px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.project-budget-new:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: var(--color-primary);
    transform: scale(1.02);
}

.project-budget-new:hover .budget-value-new {
    color: white;
}

.budget-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.project-budget-new:hover .budget-label {
    color: rgba(255, 255, 255, 0.9);
}

.budget-value-new {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

/* Футер карточки */
.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.project-employer-new {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.2s;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
}

.project-employer-new:hover {
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
    border-color: var(--color-primary);
}

.employer-avatar-small,
.employer-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.employer-avatar-placeholder {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.btn-respond-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    white-space: nowrap;
    min-width: 140px;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.btn-respond-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-respond-new i {
    font-size: 0.8125rem;
}

/* List View - стиль как на главной (project-row-modern) */
.projects-list-view .project-card-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: 0.2s;
    position: relative;
    flex-wrap: wrap;
    gap: 16px;
}

.projects-list-view .project-card-new:hover {
    border-left: 4px solid var(--color-primary);
    transform: translateX(5px);
}

.projects-list-view .project-card-header {
    display: none; /* Скрываем заголовок в list view */
}

.projects-list-view .project-card-body {
    flex: 1;
    min-width: 300px;
}

.projects-list-view .project-card-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.projects-list-view .project-budget-new {
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    text-align: right;
}

.projects-list-view .project-budget-new .budget-label {
    display: none;
}

.projects-list-view .project-budget-new .budget-value-new {
    font-size: 1.125rem;
    color: var(--color-accent);
    font-weight: 700;
}

.projects-list-view .project-title-new {
    margin: 0 0 8px 0;
    font-size: 1.125rem;
}

.projects-list-view .project-title-new a {
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.projects-list-view .project-title-new a:hover {
    color: var(--color-primary);
}

.projects-list-view .project-description-new {
    margin: 8px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.projects-list-view .project-meta-new {
    margin-top: 8px;
    font-size: 0.8125rem;
}

.projects-list-view .project-employer-new {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: 0.2s;
}

.projects-list-view .project-employer-new:hover {
    color: var(--color-primary);
}

.projects-list-view .btn-respond-new {
    padding: 10px 20px;
    font-size: 0.875rem;
    min-width: auto;
}

/* ============================================
   ФИЛЬТРЫ - СОВРЕМЕННЫЙ РЕДИЗАЙН 2025
   ============================================ */

.filter-section-modern {
    background: var(--bg-surface);
    border: none;
    border-radius: 24px;
    padding: 0;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.filter-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.filter-section-modern:hover {
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
    transform: translateY(-2px);
}

.filter-section-modern:hover::before {
    opacity: 1;
}

.filter-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.filter-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-title-modern {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.3px;
}

.filter-title-modern i {
    color: var(--color-primary);
    font-size: 1rem;
    opacity: 0.8;
}

.filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.filter-header-actions-modern {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-reset-btn-modern,
.filter-toggle-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-body);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-toggle-modern {
    padding: 10px;
    width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: 10px;
}

.filter-reset-btn-modern::before,
.filter-toggle-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    border-radius: 50%;
}

.filter-reset-btn-modern:hover::before,
.filter-toggle-modern:hover::before {
    width: 200px;
    height: 200px;
}

.filter-reset-btn-modern:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-2px);
}

.filter-toggle-modern:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.filter-toggle-modern i {
    transition: transform 0.3s;
}

.filter-section-modern.filter-collapsed .filter-toggle-modern i {
    transform: rotate(180deg);
}

.filter-content-modern {
    padding: 32px;
    min-height: 120px;
    background: var(--bg-surface);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: none;
    overflow: visible;
}

.filter-section-modern.filter-collapsed .filter-content-modern {
    max-height: none;
    padding: 32px;
    overflow: visible;
}

.filter-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.filter-loading i {
    color: var(--color-primary);
    font-size: 1.125rem;
}

.filter-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px 32px;
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.btn-filter-reset-modern,
.btn-filter-apply-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-filter-reset-modern {
    background: var(--bg-body);
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-filter-reset-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.1), transparent);
    transition: left 0.5s;
}

.btn-filter-reset-modern:hover::before {
    left: 100%;
}

.btn-filter-reset-modern:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-2px);
}

.btn-filter-apply-modern {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.btn-filter-apply-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    border-radius: 50%;
}

.btn-filter-apply-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-filter-apply-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

/* Стили для элементов фильтров */
.filter-content-modern .filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-content-modern .budget-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-content-modern .budget-inputs input {
    flex: 1;
}

.filter-content-modern .budget-inputs span {
    color: var(--text-secondary);
    font-weight: 500;
}

.filter-content-modern .budget-type {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.filter-content-modern .category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.filter-content-modern .category-search {
    margin-bottom: 12px;
}

.btn-filter-reset-modern span,
.btn-filter-apply-modern span {
    position: relative;
    z-index: 1;
}

/* Элементы фильтров - новый стиль */
.filter-group-modern {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.filter-group-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.filter-group-modern:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

.filter-group-modern:hover::before {
    transform: scaleX(1);
}

.filter-label-modern {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.6875rem;
}

.filter-label-modern::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    display: block;
}

.form-select-modern,
.form-input-modern {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--text-main);
    transition: all 0.3s;
    outline: none;
    font-weight: 500;
}

.form-select-modern:focus,
.form-input-modern:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    transform: translateY(-1px);
}

.form-select-modern:hover,
.form-input-modern:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
}

/* Checkbox и Radio - новый стиль */
.filter-checkbox-modern,
.filter-radio-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    background: var(--bg-body);
}

.filter-checkbox-modern:hover,
.filter-radio-modern:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05));
    border-color: var(--color-primary);
    transform: translateX(4px);
}

.filter-checkbox-modern input[type="checkbox"],
.filter-radio-modern input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-primary);
    transition: transform 0.2s;
}

.filter-checkbox-modern:hover input[type="checkbox"],
.filter-radio-modern:hover input[type="radio"] {
    transform: scale(1.1);
}

/* Категории - новый стиль */
.category-tags-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tag-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-body);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.category-tag-modern:hover {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.category-tag-modern input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.category-tag-modern.active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(16, 185, 129, 0.1));
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

/* Совместимость со старыми классами фильтров - НОВЫЙ ДИЗАЙН */
.filter-content-modern .filter-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    background: var(--bg-body);
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-content-modern .filter-group:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
    transform: translateY(-1px);
    background: var(--bg-surface);
}

.filter-content-modern .filter-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.2px;
}

.filter-content-modern .filter-label i {
    color: var(--color-primary);
    font-size: 0.875rem;
    opacity: 0.7;
}

.filter-content-modern .form-select,
.filter-content-modern .form-input,
.filter-content-modern .city-select,
.filter-content-modern input[type="number"],
.filter-content-modern input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--text-main);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-weight: 500;
}

.filter-content-modern .form-select:focus,
.filter-content-modern .form-input:focus,
.filter-content-modern .city-select:focus,
.filter-content-modern input[type="number"]:focus,
.filter-content-modern input[type="text"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
    transform: translateY(-1px);
}

.filter-content-modern .form-select:hover,
.filter-content-modern .form-input:hover,
.filter-content-modern .city-select:hover,
.filter-content-modern input[type="number"]:hover,
.filter-content-modern input[type="text"]:hover {
    border-color: var(--color-primary);
}

.filter-content-modern .filter-checkbox,
.filter-content-modern .filter-radio,
.filter-content-modern .checkbox-option,
.filter-content-modern .radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid transparent;
    background: var(--bg-body);
    font-size: 0.875rem;
    font-weight: 500;
}

.filter-content-modern .filter-checkbox:hover,
.filter-content-modern .filter-radio:hover,
.filter-content-modern .checkbox-option:hover,
.filter-content-modern .radio-option:hover {
    background: rgba(124, 58, 237, 0.04);
    border-color: var(--color-primary);
    transform: translateX(2px);
}

.filter-content-modern .filter-checkbox input[type="checkbox"],
.filter-content-modern .filter-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-primary);
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-surface);
    position: relative;
}

.filter-content-modern .filter-radio input[type="radio"] {
    border-radius: 50%;
}

/* Checked состояние для чекбоксов */
.filter-content-modern .filter-checkbox input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: var(--color-primary);
}

.filter-content-modern .filter-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

/* Checked состояние для радио */
.filter-content-modern .filter-radio input[type="radio"]:checked {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: var(--color-primary);
}

.filter-content-modern .filter-radio input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.filter-content-modern .filter-checkbox:hover input[type="checkbox"],
.filter-content-modern .filter-radio:hover input[type="radio"] {
    transform: scale(1.1);
    border-color: var(--color-primary);
}

/* Checked состояние для опций */
.filter-content-modern .checkbox-option:has(input[type="checkbox"]:checked),
.filter-content-modern .radio-option:has(input[type="radio"]:checked) {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
}

.filter-content-modern .category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-body);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.filter-content-modern .category-tag:hover {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.04);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.12);
}

.filter-content-modern .category-tag input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.filter-content-modern .category-tag.active {
    background: rgba(124, 58, 237, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.15);
    font-weight: 600;
}

/* ============================================
   ФИЛЬТРЫ - 2025 DESIGN (НОВЫЕ СТИЛИ)
   ============================================ */

.filter-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 0;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.filter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.filter-section:hover {
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.12);
    transform: translateY(-2px);
}

.filter-section:hover::before {
    opacity: 1;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03), rgba(16, 185, 129, 0.03));
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.filter-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 28px;
    right: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.filter-section:hover .filter-header::after {
    transform: scaleX(1);
}

.filter-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.filter-title i {
    color: var(--color-primary);
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 12px;
    transition: 0.3s;
}

.filter-section:hover .filter-title i {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    transform: rotate(5deg) scale(1.05);
}

.filter-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-reset-btn,
.filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.filter-reset-btn::before,
.filter-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    border-radius: 50%;
}

.filter-reset-btn:hover::before {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15), transparent);
}

.filter-toggle:hover::before {
    width: 200px;
    height: 200px;
}

.filter-reset-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.filter-toggle:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.filter-reset-btn span,
.filter-toggle span {
    position: relative;
    z-index: 1;
}

.filter-reset-btn i,
.filter-toggle i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.filter-toggle:hover i {
    transform: rotate(180deg);
}

/* НОВЫЙ СТИЛЬ ДЛЯ filter-content */
.filter-content {
    padding: 32px 28px;
    min-height: 120px;
    background: var(--bg-surface);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    position: relative;
}

.filter-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(124, 58, 237, 0.02) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(16, 185, 129, 0.02) 50%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.filter-section:hover .filter-content::before {
    opacity: 1;
}

.filter-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.02), rgba(16, 185, 129, 0.02));
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    position: relative;
}

.filter-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s;
}

.filter-section:hover .filter-footer::before {
    transform: scaleX(1);
}

.btn-reset-filters {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-reset-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.1), transparent);
    transition: left 0.5s;
}

.btn-reset-filters:hover::before {
    left: 100%;
}

.btn-reset-filters:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.btn-apply-filter {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-apply-filter::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    border-radius: 50%;
}

.btn-apply-filter:hover::before {
    width: 300px;
    height: 300px;
}

.btn-apply-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.btn-apply-filter span,
.btn-apply-filter i {
    position: relative;
    z-index: 1;
}

/* Элементы фильтров - НОВЫЙ СТИЛЬ */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.filter-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.filter-group:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

.filter-group:hover::before {
    transform: scaleX(1);
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.filter-label::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    display: block;
}

.form-select,
.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--text-main);
    transition: all 0.3s;
    outline: none;
    font-weight: 500;
}

.form-select:focus,
.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    transform: translateY(-1px);
}

.form-select:hover,
.form-input:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
}

/* Checkbox и Radio в фильтрах - НОВЫЙ СТИЛЬ */
.filter-checkbox,
.filter-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    background: var(--bg-body);
}

.filter-checkbox:hover,
.filter-radio:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05));
    border-color: var(--color-primary);
    transform: translateX(4px);
}

.filter-checkbox input[type="checkbox"],
.filter-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-primary);
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-surface);
    position: relative;
}

.filter-radio input[type="radio"] {
    border-radius: 50%;
}

/* Checked состояние для чекбоксов */
.filter-checkbox input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: var(--color-primary);
}

.filter-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

/* Checked состояние для радио */
.filter-radio input[type="radio"]:checked {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: var(--color-primary);
}

.filter-radio input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.filter-checkbox:hover input[type="checkbox"],
.filter-radio:hover input[type="radio"] {
    transform: scale(1.1);
    border-color: var(--color-primary);
}

/* ============================================
   ПАГИНАЦИЯ - 2025 DESIGN
   ============================================ */

.projects-pagination-new {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    padding: 30px 0;
    flex-wrap: wrap;
}

.pagination-btn-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-btn-new:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.pagination-numbers-new {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-number-new {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-number-new:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.pagination-number-new.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    transform: scale(1.05);
}

.pagination-ellipsis {
    padding: 0 8px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Пустое состояние */
.projects-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-body);
    border-radius: 20px;
    border: 2px dashed var(--border-color);
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.empty-state-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Адаптивность для карточек */
@media (max-width: 1024px) {
    .projects-list-view .project-card-new {
        grid-template-columns: 1fr 200px;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .projects-grid-view {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .projects-list-view .project-card-new {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 16px;
        padding: 20px;
    }
    
    .projects-list-view .project-card-header {
        grid-column: 1;
        grid-row: 1;
    }
    
    .projects-list-view .project-card-body {
        grid-column: 1;
        grid-row: 2;
        padding-right: 0;
    }
    
    .projects-list-view .project-budget-new {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
    }
    
    .projects-list-view .project-card-footer {
        grid-column: 1;
        grid-row: 4;
        flex-direction: column;
        align-items: stretch;
    }
    
    .projects-list-view .project-employer-new {
        width: 100%;
        justify-content: center;
    }
    
    .projects-list-view .btn-respond-new {
        width: 100%;
        min-width: auto;
    }
    
    .project-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-respond-new {
        width: 100%;
        justify-content: center;
    }
    
    .projects-pagination-new {
        gap: 4px;
    }
    
    .pagination-btn-new {
        padding: 10px 16px;
        font-size: 0.8125rem;
    }
    
    .pagination-number-new {
        min-width: 40px;
        height: 40px;
        font-size: 0.8125rem;
    }
    
    .filter-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 20px;
    }
    
    .filter-header {
        padding: 20px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .filter-footer {
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }
    
    .filter-footer .btn {
        width: 100%;
    }
    
    .filter-group {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .project-card-new {
        padding: 20px;
    }
    
    .project-title-new {
        font-size: 1.125rem;
    }
    
    .budget-value-new {
        font-size: 1.25rem;
    }
}

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ ДЛЯ СТРАНИЦЫ ПРОЕКТОВ
   ============================================ */

/* Улучшенные карточки с градиентами */
.project-card-new {
    position: relative;
    overflow: visible;
}

.project-card-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.02), rgba(16, 185, 129, 0.02));
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: 20px;
    z-index: 0;
}

.project-card-new:hover::after {
    opacity: 1;
}

.project-card-new > * {
    position: relative;
    z-index: 1;
}

/* Улучшенные бейджи статусов */
.project-status-badge {
    position: relative;
    overflow: hidden;
}

.project-status-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Улучшенная категория */
.project-category-badge {
    position: relative;
    overflow: hidden;
}

.project-category-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transition: left 0.5s;
}

.project-category-badge:hover::before {
    left: 100%;
}

/* Улучшенный бюджет */
.project-budget-new {
    position: relative;
    overflow: hidden;
}

.project-budget-new::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    border-radius: 50%;
}

.project-budget-new:hover::before {
    width: 200%;
    height: 200%;
}

/* Улучшенная кнопка отклика */
.btn-respond-new {
    position: relative;
    overflow: hidden;
}

.btn-respond-new::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-respond-new:hover::before {
    width: 300px;
    height: 300px;
}

.btn-respond-new span,
.btn-respond-new i {
    position: relative;
    z-index: 1;
}

/* Улучшенный аватар работодателя */
.employer-avatar-small {
    transition: 0.3s;
    border: 2px solid transparent;
}

.project-employer-new:hover .employer-avatar-small {
    transform: scale(1.1);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.employer-avatar-placeholder {
    transition: 0.3s;
}

.project-employer-new:hover .employer-avatar-placeholder {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Улучшенная пагинация */
.pagination-number-new {
    position: relative;
    overflow: hidden;
}

.pagination-number-new::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    border-radius: 50%;
}

.pagination-number-new:hover::before {
    width: 100px;
    height: 100px;
}

.pagination-number-new.active::before {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
}

/* Улучшенные кнопки пагинации */
.pagination-btn-new {
    position: relative;
    overflow: hidden;
}

.pagination-btn-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
    transition: left 0.5s;
}

.pagination-btn-new:hover::before {
    left: 100%;
}

.pagination-btn-new span,
.pagination-btn-new i {
    position: relative;
    z-index: 1;
}

/* Состояние загрузки */
.projects-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: 300px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Улучшенные мета-данные */
.meta-item {
    position: relative;
    padding: 4px 8px;
    border-radius: 6px;
    transition: 0.2s;
}

.meta-item:hover {
    background: rgba(124, 58, 237, 0.05);
    color: var(--color-primary);
}

.meta-item:hover i {
    color: var(--color-primary);
    transform: scale(1.1);
}

/* Улучшенный заголовок проекта */
.project-title-new a {
    position: relative;
    display: inline-block;
}

.project-title-new a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.3s;
}

.project-title-new a:hover::after {
    width: 100%;
}

/* Улучшенное описание */
.project-description-new {
    position: relative;
}

/* Специальные эффекты для платных проектов */
.project-card-paid .project-title-new a {
    color: var(--color-accent);
    font-weight: 800;
}

.project-card-paid .project-budget-new {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-color: rgba(16, 185, 129, 0.3);
}

.project-card-paid .project-budget-new:hover {
    background: linear-gradient(135deg, #10B981, #059669);
}

/* Специальные эффекты для закрепленных */
.project-card-pinned .project-title-new a {
    color: #f59e0b;
}

/* Специальные эффекты для срочных */
.project-card-urgent .project-title-new a {
    color: #ef4444;
    animation: urgentPulse 2s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Адаптивность для улучшенных элементов */
@media (max-width: 768px) {
    .project-card-new::after {
        display: none;
    }
    
    .project-budget-new::before {
        display: none;
    }
    
    .btn-respond-new::before {
        display: none;
    }
    
    .pagination-number-new::before {
        display: none;
    }
    
    .pagination-btn-new::before {
        display: none;
    }
}

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ПРОЕКТОВ
   ============================================ */

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0 60px;
    background: var(--bg-body);
}

.projects-section {
    margin-top: 40px;
    padding: 30px 0;
    position: relative;
}

.projects-search-section {
    margin-bottom: 40px;
    position: relative;
}

/* Улучшенная секция поиска */
.projects-search-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.projects-search-wrapper .main-search {
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-search-wrapper .main-search:focus-within {
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.projects-search-wrapper .main-search-input {
    font-size: 1rem;
    font-weight: 500;
    padding: 0 24px;
}

.projects-search-wrapper .main-search-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.projects-search-wrapper .search-submit-btn {
    transition: all 0.3s;
}

.projects-search-wrapper .search-submit-btn:hover {
    transform: scale(1.05);
}

/* ============================================
   СТРАНИЦА ДЕТАЛЬНОГО ПРОСМОТРА ПРОЕКТА
   ============================================ */

/* Хлебные крошки */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--text-secondary);
    transition: 0.2s;
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs span:last-child {
    color: var(--text-main);
    font-weight: 600;
}

/* Основной контейнер страницы проекта */
.project-detail-page {
    padding: 40px 0 60px;
}

.project-detail-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    margin-top: 24px;
}

/* Основной контент */
.project-detail-main {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    padding: 32px;
    border: 1px solid var(--border-color);
}

/* Заголовок проекта */
.project-detail-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.project-detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.project-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.project-badge.pinned-badge {
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.project-badge.urgent-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.project-badge.highlighted-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.project-badge.status-badge.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.project-badge.status-badge.status-completed {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.project-badge.status-badge.status-cancelled {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.project-badge.status-badge.status-in-progress {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.project-badge.status-badge.status-draft {
    background: rgba(156, 163, 175, 0.1);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.2);
}

/* Мета-информация */
.project-detail-meta {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.meta-item i {
    color: var(--color-primary);
    font-size: 0.875rem;
}

/* Бюджет проекта */
.project-detail-budget {
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.1);
    text-align: center;
}

.project-detail-budget h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.budget-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.budget-value.large {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
}

.budget-hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Описание проекта */
.project-detail-description {
    margin-bottom: 32px;
}

.project-detail-description h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px 0;
}

.description-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    white-space: pre-wrap;
}

/* Файлы проекта */
.project-detail-files {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-body);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.project-detail-files h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-detail-files h3 i {
    color: var(--color-primary);
}

.files-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
    justify-content: center;
}

.files-empty i {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: 0.2s;
}

.file-item:hover {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
    transform: translateX(4px);
}

.file-item i {
    color: var(--color-primary);
    font-size: 1.125rem;
}

.file-item span:first-of-type {
    flex: 1;
    font-weight: 500;
}

.file-size {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Отклики на проект */
.project-responses-section {
    margin-top: 40px;
    margin-bottom: 32px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.project-responses-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 20px 0;
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.response-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.response-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-edit-response,
.btn-delete-response {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.875rem;
}

.btn-edit-response:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
}

.btn-delete-response:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.responses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.response-card {
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: 0.2s;
}

.response-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.response-freelancer {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.response-avatar,
.response-avatar-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.response-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.response-freelancer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.response-freelancer-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9375rem;
}

.response-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.response-rating i {
    color: #fbbf24;
}

.response-date {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.response-content-wrapper {
    margin-bottom: 16px;
}

.response-message {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-main);
    white-space: pre-wrap;
}

.response-edit-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.response-edit-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-main);
    background: var(--bg-surface);
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.response-edit-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.response-edit-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.response-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.response-deadline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.response-deadline i {
    color: var(--color-primary);
}

.response-price {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-left: auto;
}

.response-price i {
    color: var(--color-accent);
}

.price-hidden {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.price-hidden i.fa-lock {
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.price-hidden span {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}

.btn-purchase-price {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-purchase-price:hover {
    background: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.btn-purchase-price i {
    font-size: 0.75rem;
    color: white;
}

/* Кнопка отклика */
.project-detail-actions {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.btn-respond-project {
    width: 100%;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
}

/* Боковая панель */
.project-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-employer-card,
.project-info-card,
.project-files-sidebar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 24px;
}

.project-employer-card h3,
.project-info-card h3,
.project-files-sidebar-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-files-sidebar-card h3 i {
    color: var(--color-primary);
}

.employer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    padding: 12px;
    border-radius: 12px;
    transition: 0.2s;
}

.employer-link:hover {
    background: rgba(124, 58, 237, 0.05);
}

.employer-avatar,
.employer-avatar-initials {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.employer-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.employer-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-main);
}

.info-item i {
    color: var(--color-primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Файлы проекта в боковой панели */
.project-files-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-file-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-main);
    transition: 0.2s;
}

.project-file-sidebar-item:hover {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
    transform: translateX(3px);
}

.project-file-sidebar-item i {
    color: var(--color-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.project-file-sidebar-item .file-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.project-file-sidebar-item .file-name {
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-file-sidebar-item .file-size {
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

.project-files-sidebar-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    text-align: center;
}

.project-files-sidebar-empty i {
    font-size: 2rem;
    color: var(--text-muted);
}

/* Кнопки действий */
/* Стили для улучшенных кнопок действий проекта */
.project-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.project-action-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.project-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.project-action-btn:active {
    transform: translateY(0);
}

.project-action-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    flex-shrink: 0;
}

.project-action-btn-escrow {
    border-color: #007bff;
}

.project-action-btn-escrow .project-action-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
}

.project-action-btn-escrow:hover {
    border-color: #0056b3;
    background: #f8f9ff;
}

.project-action-btn-workspace {
    border-color: #28a745;
}

.project-action-btn-workspace .project-action-icon {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: #fff;
}

.project-action-btn-workspace:hover {
    border-color: #1e7e34;
    background: #f8fff9;
}

.project-action-btn-complete {
    border-color: #ffc107;
}

.project-action-btn-complete .project-action-icon {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #fff;
}

.project-action-btn-complete:hover {
    border-color: #e0a800;
    background: #fffef8;
}

.project-action-btn-submit {
    border-color: #28a745;
}

.project-action-btn-submit .project-action-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
}

.project-action-btn-submit:hover {
    border-color: #1e7e34;
    background: #f8fff9;
}

.project-action-content {
    flex: 1;
    min-width: 0;
}

.project-action-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.project-action-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.project-action-btn-disabled {
    opacity: 0.7;
    cursor: default;
}

.project-action-btn-disabled:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-color: #e0e0e0;
}

@media (max-width: 768px) {
    .project-actions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .project-action-btn {
        padding: 16px;
    }
    
    .project-action-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .project-action-title {
        font-size: 15px;
    }
    
    .project-action-desc {
        font-size: 12px;
    }
}

.project-actions-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-actions-card .btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
}

.btn-bookmark-project.active,
.btn-bookmark-project.active i {
    color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
}

.btn-bookmark-project.active:hover {
    background: rgba(16, 185, 129, 0.1) !important;
}

/* ============================================
   СТРАНИЦА ОТКЛИКА НА ПРОЕКТ
   ============================================ */

.respond-project-page {
    padding: 40px 0 60px;
}

.respond-project-page .page-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 32px 0;
}

.respond-project-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.respond-project-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.respond-project-info {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 32px;
}

.respond-project-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.respond-project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.respond-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
}

.respond-project-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.respond-project-meta .meta-item i {
    color: var(--color-primary);
    font-size: 0.875rem;
}

.respond-project-description {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.respond-project-description h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px 0;
}

.respond-project-description .description-content {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-main);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.respond-project-files {
    margin-bottom: 0;
}

.respond-project-files h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.respond-project-files h3 i {
    color: var(--color-primary);
}

.respond-files-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.respond-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-main);
    transition: 0.2s;
}

.respond-file-item:hover {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
    transform: translateX(3px);
}

.respond-file-item i {
    color: var(--color-primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.respond-file-item .file-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.respond-file-item .file-name {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.respond-file-item .file-size {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.respond-files-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
}

.respond-files-empty i {
    font-size: 2.25rem;
    color: var(--text-muted);
}

.project-info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.project-info-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-info-meta i {
    color: var(--color-primary);
}

.respond-project-form {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Дополнительные опции формы */
.form-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: var(--bg-body);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-option-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-main);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.signature-preview {
    margin-top: 8px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}

.signature-preview .preview-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.signature-preview .preview-content i {
    color: var(--color-primary);
    font-size: 0.875rem;
}

.portfolio-preview {
    margin-top: 12px;
}

.portfolio-works-selection {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.selection-hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

.portfolio-works-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.portfolio-work-item {
    display: block;
    cursor: pointer;
}

.portfolio-work-item input[type="checkbox"] {
    display: none;
}

.work-preview-card {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.2s;
    background: var(--bg-surface);
}

.portfolio-work-item:hover .work-preview-card {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.portfolio-work-item input[type="checkbox"]:checked + .work-preview-card {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.work-preview-image {
    width: 100%;
    height: min(120px, 20vw);
    object-fit: cover;
    display: block;
}

.work-preview-placeholder {
    width: 100%;
    height: min(120px, 20vw);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    color: var(--text-muted);
}

.work-preview-placeholder i {
    font-size: 2rem;
}

.work-preview-info {
    padding: 10px 12px;
}

.work-preview-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-preview-category {
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

.portfolio-empty-message {
    padding: 32px 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: 12px;
    border: 2px dashed var(--color-primary);
}

.portfolio-empty-message i {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    opacity: 0.8;
}

.portfolio-empty-message p {
    margin: 10px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.portfolio-empty-message p strong {
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.9375rem;
}

.portfolio-empty-message .btn {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    background: var(--color-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.portfolio-empty-message .btn:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
}

.portfolio-empty-message .btn i {
    font-size: 0.875rem;
    margin: 0;
    opacity: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-main);
}

.form-textarea,
.form-input-modern {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-main);
    background: var(--bg-surface);
    transition: 0.2s;
    box-sizing: border-box;
}

.form-textarea:focus,
.form-input-modern:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   СТРАНИЦА СОЗДАНИЯ/РЕДАКТИРОВАНИЯ ПРОЕКТА - 2025 DESIGN
   ============================================ */

.post-project-section {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.post-project-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.post-project-form-wrapper {
    max-width: 100%;
}

.post-project-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-section {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-section:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
    transform: translateY(-2px);
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.form-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.3s;
}

.form-section:hover .form-section-title::after {
    width: 100%;
}

.form-section-title i {
    color: var(--color-primary);
    font-size: 1.375rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label.checkbox-label {
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.form-group label.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-primary);
    margin-right: 8px;
}

.form-input,
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="datetime-local"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-main);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.form-input:focus,
.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="datetime-local"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    transform: translateY(-1px);
}

.form-input:hover,
.form-group input[type="text"]:hover,
.form-group input[type="number"]:hover,
.form-group input[type="datetime-local"]:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--color-primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 4px;
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 2px solid var(--border-color);
    margin-top: 8px;
}

.post-project-info {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.info-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.info-box h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h3 i {
    color: var(--color-primary);
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-box ul li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.info-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* Currency Switcher */
.currency-switcher {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.currency-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.currency-option:hover {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
}

.currency-option input[type="radio"] {
    display: none;
}

.currency-option input[type="radio"]:checked + .currency-label {
    color: var(--color-primary);
    font-weight: 600;
}

.currency-option:has(input[type="radio"]:checked) {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.1);
}

.currency-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    transition: color 0.2s;
}

.currency-label i {
    font-size: 1.125rem;
}

.currency-symbol {
    font-weight: 600;
    color: var(--text-secondary);
}

/* Price Display */
.price-display {
    margin-top: 12px;
    padding: 12px;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--text-main);
}

.price-display .total-price {
    display: block;
    margin-top: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Color Picker */
.color-picker-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.color-picker-input {
    width: 60px;
    height: 50px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    padding: 2px;
}

.color-text-input {
    flex: 1;
}

.color-preview {
    margin-top: 12px;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    border: 2px solid var(--border-color);
}

/* File Upload */
.files-preview {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.875rem;
}

.file-name {
    flex: 1;
    color: var(--text-main);
    font-weight: 500;
}

.file-size {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin-left: 12px;
}

.btn-remove-file {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    margin-left: 12px;
}

.btn-remove-file:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Existing Files */
.existing-files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.existing-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.875rem;
}

.existing-file-item i {
    color: var(--color-primary);
}

.existing-file-item .file-name {
    flex: 1;
    color: var(--text-main);
    font-weight: 500;
}

.existing-file-item .file-size {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.btn-remove-existing-file {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-remove-existing-file:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Service Status */
.service-status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: 12px;
}

.service-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
    .post-project-section {
        padding: 24px 20px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* ============================================
   СТРАНИЦА ВХОДА - 2025 DESIGN
   ============================================ */

.auth-container {
    min-height: calc(100vh - var(--header-height) - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg-body);
}

.auth-box {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    padding: 48px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    max-width: 480px;
    width: 100%;
    position: relative;
    overflow: visible;
}

.auth-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 16px;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.auth-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper.has-icon .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    z-index: 1;
}

.input-wrapper.has-icon .form-input {
    padding-left: 44px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--text-main);
    transition: all 0.3s;
    outline: none;
    font-weight: 500;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    transform: translateY(-1px);
}

.form-input:hover {
    border-color: var(--color-primary);
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
}

.form-link {
    font-size: 0.8125rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.form-link:hover {
    text-decoration: underline;
    color: var(--color-primary-hover);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.form-checkbox span {
    font-size: 0.875rem;
    color: var(--text-main);
}

.btn-block {
    width: 100%;
    padding: 16px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.auth-footer {
    margin-top: 32px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.auth-footer a:hover {
    text-decoration: underline;
    color: var(--color-primary-hover);
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert li {
    margin: 4px 0;
}

/* Предупреждение о входе под пользователем */
.admin-impersonation-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.1));
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.warning-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f59e0b;
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-content {
    flex: 1;
}

.warning-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
}

.warning-content p {
    margin: 0 0 16px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.warning-content strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Кнопка возврата в header */
.impersonate-return-btn {
    position: relative;
    animation: pulse-warning 2s ease-in-out infinite;
}

.impersonate-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #f59e0b;
    color: white;
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.4);
}

@keyframes pulse-warning {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

[data-theme="dark"] .admin-impersonation-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.15));
    border-color: #f59e0b;
}

[data-theme="dark"] .warning-content h3,
[data-theme="dark"] .warning-content strong {
    color: #f9fafb;
}

/* ============================================
   СТРАНИЦА ПЕРЕВОДА iCREDITS - 2025 DESIGN
   ============================================ */

.transfer-page {
    min-height: calc(100vh - var(--header-height) - 100px);
    padding: 40px 20px;
    background: var(--bg-body);
}

.page-header {
    text-align: center;
    margin-bottom: 32px;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-title i {
    color: var(--color-primary);
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.transfer-balance-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-card);
    padding: 32px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
    color: white;
}

.balance-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.balance-content {
    flex: 1;
}

.balance-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Общий стиль для balance-amount (не в header) */
.balance-amount {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

/* Специфичный стиль для balance-amount в карточках баланса (не в header) */
.transfer-balance-card .balance-amount,
.transfer-balance-card .balance-content .balance-amount {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.transfer-form-card,
.transfer-history-card {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title i {
    color: var(--color-primary);
}

.transfer-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.user-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-body);
}

.search-result-item.no-results {
    cursor: default;
    color: var(--text-muted);
    font-style: italic;
}

.search-result-item i {
    color: var(--color-primary);
    width: 20px;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-info strong {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.875rem;
}

.search-result-info span {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.transfers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.transfer-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-body);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: 0.2s;
}

.transfer-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.transfer-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.transfer-item.outgoing .transfer-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.transfer-item.incoming .transfer-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-accent);
}

.transfer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transfer-user {
    font-size: 0.9375rem;
    color: var(--text-main);
}

.transfer-user strong {
    font-weight: 600;
    margin-right: 4px;
}

.transfer-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

.transfer-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.transfer-date i {
    font-size: 0.625rem;
}

.transfer-amount {
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.transfer-amount.positive {
    color: var(--color-accent);
}

.transfer-amount.negative {
    color: #ef4444;
}

.transfer-history-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    border: 2px dashed var(--border-color);
}

.transfer-history-empty i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}

.transfer-history-empty p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

[data-theme="dark"] .transfer-balance-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

[data-theme="dark"] .transfer-item {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .transfer-history-empty {
    background: rgba(255, 255, 255, 0.02);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.deadline-inputs {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.deadline-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.deadline-input-group .form-input-modern {
    width: 100%;
}

.deadline-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 16px;
}

.form-actions .btn {
    min-width: 140px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.form-actions .btn i {
    flex-shrink: 0;
    font-size: 0.875rem;
}

.form-actions .btn span,
.form-actions .btn {
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-secondary {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--bg-body);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.respond-project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.employer-info-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 24px;
}

.employer-info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 20px 0;
}

.employer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    padding: 12px;
    border-radius: 12px;
    transition: 0.2s;
}

.employer-link:hover {
    background: rgba(124, 58, 237, 0.05);
}

.employer-avatar,
.employer-avatar-initials {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.employer-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.employer-info {
    display: flex;
    flex-direction: column;
}

.employer-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

/* Информационный блок безопасности */
.respond-safety-notice {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.safety-notice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(124, 58, 237, 0.2);
}

.safety-notice-header i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.safety-notice-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.safety-notice-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.safety-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.safety-item i {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.safety-item .safety-text {
    flex: 1;
}

.safety-item .safety-text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.safety-item .safety-text p {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.project-files-card {
    background: var(--bg-body);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.project-files-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-files-card h3 i {
    color: var(--color-primary);
}

.project-files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: 0.2s;
}

.project-file-item:hover {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
    transform: translateX(4px);
}

.project-file-item i {
    color: var(--color-primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.project-file-item .file-name {
    flex: 1;
    font-weight: 500;
    font-size: 0.875rem;
}

.project-file-item .file-size {
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.project-files-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
    justify-content: center;
}

.project-files-empty i {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .respond-project-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .respond-project-sidebar {
        order: -1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .respond-project-main {
        padding: 24px 20px;
    }
    
    .deadline-inputs {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .project-detail-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .project-detail-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .project-detail-main {
        padding: 24px 20px;
    }
    
    .project-detail-title {
        font-size: 1.5rem;
    }
    
    .budget-value.large {
        font-size: 1.5rem;
    }
    
    .meta-row {
        gap: 16px;
    }
    
    .response-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .project-employer-card,
    .project-info-card {
        padding: 20px;
    }
}

/* Улучшенный переключатель вида */
.view-toggle {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4px;
    display: flex;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.view-btn {
    position: relative;
    overflow: hidden;
}

.view-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    border-radius: 50%;
}

.view-btn:hover::before {
    width: 60px;
    height: 60px;
}

.view-btn.active::before {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent);
}

/* Улучшенный заголовок списка проектов */
.projects-list-header {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.projects-list-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.projects-list-title::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

.projects-list-count {
    position: relative;
    padding-left: 16px;
}

.projects-list-count::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
}

.projects-list-count strong {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Улучшенные пустые состояния */
.projects-empty-state {
    position: relative;
    overflow: hidden;
}

.projects-empty-state::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05), transparent);
    animation: emptyStatePulse 4s ease-in-out infinite;
}

@keyframes emptyStatePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.empty-state-icon {
    position: relative;
    z-index: 1;
    animation: emptyIconFloat 3s ease-in-out infinite;
}

@keyframes emptyIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.empty-state-title {
    position: relative;
    z-index: 1;
}

.empty-state-text {
    position: relative;
    z-index: 1;
}

/* Анимация появления карточек */
.projects-grid-view .project-card-new,
.projects-list-view .project-card-new {
    animation: cardFadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.projects-grid-view .project-card-new:nth-child(1) { animation-delay: 0.05s; }
.projects-grid-view .project-card-new:nth-child(2) { animation-delay: 0.1s; }
.projects-grid-view .project-card-new:nth-child(3) { animation-delay: 0.15s; }
.projects-grid-view .project-card-new:nth-child(4) { animation-delay: 0.2s; }
.projects-grid-view .project-card-new:nth-child(5) { animation-delay: 0.25s; }
.projects-grid-view .project-card-new:nth-child(6) { animation-delay: 0.3s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Улучшенная адаптивность */
@media (max-width: 1024px) {
    .main-content {
        padding: 30px 0 50px;
    }
    
    .projects-section {
        margin-top: 30px;
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px 0 40px;
    }
    
    .projects-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .projects-list-title::after {
        display: none;
    }
    
    .projects-list-count {
        padding-left: 0;
    }
    
    .projects-list-count::before {
        display: none;
    }
}

/* Employer actions on responses */
.response-employer-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.response-employer-actions .btn {
    flex: 1;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.response-employer-actions .btn i {
    font-size: 0.875rem;
    margin: 0;
    flex-shrink: 0;
}

.response-employer-actions .btn span {
    white-space: nowrap;
}

/* Кнопка "Ответить" */
.response-employer-actions .btn-reply-response {
    background: linear-gradient(135deg, var(--color-primary), #6d28d9);
    color: white;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.response-employer-actions .btn-reply-response:hover {
    background: linear-gradient(135deg, #6d28d9, var(--color-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.response-employer-actions .btn-reply-response:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}

/* Кнопка "Выбрать исполнителем" */
.response-employer-actions .btn-select-freelancer {
    background: linear-gradient(135deg, var(--color-accent), #059669);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.response-employer-actions .btn-select-freelancer:hover {
    background: linear-gradient(135deg, #059669, var(--color-accent));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.response-employer-actions .btn-select-freelancer:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* Кнопка "Отказать в сотрудничестве" */
.response-employer-actions .btn-reject-freelancer {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.response-employer-actions .btn-reject-freelancer:hover {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.response-employer-actions .btn-reject-freelancer:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* Disabled состояние */
.response-employer-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.response-employer-actions .btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Conversation dialog under response */
.response-conversation {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.conversation-messages {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--bg-body);
    border-radius: 8px;
}

.conversation-messages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.conversation-message {
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
}

.conversation-message.message-employer {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--color-primary);
    margin-left: 20%;
    align-self: flex-end;
    border-left: 3px solid var(--color-primary);
}

.conversation-message.message-freelancer {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--color-accent);
    margin-right: 20%;
    align-self: flex-start;
    border-right: 3px solid var(--color-accent);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.8125rem;
}

.message-header strong {
    color: var(--text-main);
    font-weight: 600;
}

.message-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.message-content {
    color: var(--text-main);
    line-height: 1.6;
    white-space: pre-wrap;
}

.no-messages {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-style: italic;
}

.loading-messages,
.error-messages {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
}

.conversation-reply-form {
    margin-top: 16px;
}

.conversation-message-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    resize: vertical;
    min-height: 80px;
}

.conversation-reply-form .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    justify-content: flex-end;
}

/* ============================================
   КАРТОЧКИ ФРИЛАНСЕРОВ V2 - СОВРЕМЕННЫЙ ДИЗАЙН
   ============================================ */

/* Обертка для карточек */
.freelancers-wrapper {
    width: 100%;
}

.freelancers-container {
    display: grid;
    gap: 24px;
    width: 100%;
}

/* Grid режим */
.freelancers-grid-view {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* List режим */
.freelancers-list-view {
    grid-template-columns: 1fr;
}

/* Базовые стили карточки */
.freelancer-card-v2 {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.freelancer-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

/* Премиум карточка */
.freelancer-card-premium {
    border: 2px solid var(--color-primary);
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.08) 0%, 
        var(--bg-card) 50%,
        rgba(124, 58, 237, 0.06) 100%);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
}

.freelancer-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 1;
}

/* Премиум бейдж */
.freelancer-premium-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: white;
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Заголовок карточки */
.freelancer-card-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 20px 12px;
    position: relative;
    z-index: 2;
}

/* Статус бейджи */
.freelancer-status-badges-v2 {
    display: flex;
    gap: 8px;
    align-items: center;
}

.status-badge-v2 {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8125rem;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.status-badge-v2:hover {
    transform: scale(1.1);
}

.status-badge-premium {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
}

.status-badge-verified {
    background: linear-gradient(135deg, var(--color-accent), #059669);
}

/* Статус доступности */
.freelancer-availability-v2 {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-accent);
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* Основной контент */
.freelancer-card-body-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 16px;
    text-align: center;
}

/* В list режиме body должен быть горизонтальным */
.freelancer-card-list .freelancer-card-body-v2 {
    flex-direction: row !important;
    align-items: stretch !important;
    text-align: left !important;
    padding: 16px 24px !important;
    gap: 24px !important;
}

/* Аватар */
.freelancer-avatar-section-v2 {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.freelancer-card-list .freelancer-avatar-section-v2 {
    flex-shrink: 0 !important;
    margin: 0 !important;
    width: min(80px, 18vw) !important;
}

.freelancer-avatar-wrapper-v2 {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.freelancer-card-list .freelancer-avatar-wrapper-v2 {
    width: 80px;
    height: 80px;
}

.freelancer-avatar-v2 {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 4px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: block !important;
}

.freelancer-card-list .freelancer-avatar-v2 {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    aspect-ratio: 1 / 1 !important;
    border-width: 3px;
}

.freelancer-card-v2:hover .freelancer-avatar-v2 {
    border-color: var(--color-primary);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.3);
}

.freelancer-avatar-placeholder-v2 {
    width: min(100px, 20vw) !important;
    height: 100px !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 4px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.freelancer-card-list .freelancer-avatar-placeholder-v2 {
    width: min(80px, 18vw) !important;
    height: 80px !important;
    border-width: 3px;
    font-size: 1.75rem;
}

.status-indicator-v2 {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: var(--color-accent);
    border: 4px solid var(--bg-card);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.freelancer-card-list .status-indicator-v2 {
    width: 16px;
    height: 16px;
    border-width: 3px;
}

/* Информация о фрилансере */
.freelancer-info-v2 {
    width: 100%;
}

.freelancer-card-list .freelancer-info-v2 {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    min-width: 0 !important;
    text-align: left !important;
}

.freelancer-name-v2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1.3;
    color: var(--text-main);
}

.freelancer-card-list .freelancer-name-v2 {
    font-size: 1.375rem;
    margin-bottom: 0;
}

.freelancer-name-v2 a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.freelancer-name-v2 a:hover {
    color: var(--color-primary);
}

.freelancer-specialization-v2 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 0 12px 0;
}

.freelancer-card-list .freelancer-specialization-v2 {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Рейтинг */
.freelancer-rating-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.freelancer-card-list .freelancer-rating-v2 {
    justify-content: flex-start;
    margin-bottom: 0;
}

.rating-stars-v2 {
    display: flex;
    gap: 2px;
    color: #FBBF24;
    font-size: 1rem;
}

.freelancer-card-list .rating-stars-v2 {
    font-size: 0.875rem;
}

.rating-value-v2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.freelancer-card-list .rating-value-v2 {
    font-size: 0.9375rem;
}

.reviews-count-v2 {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Мета-информация */
.freelancer-meta-v2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.freelancer-card-list .freelancer-meta-v2 {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
    justify-content: flex-start !important;
}

.meta-item-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 4px 10px;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.freelancer-card-list .meta-item-v2 {
    font-size: 0.75rem;
    padding: 5px 12px;
}

.meta-item-v2:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-primary);
}

.meta-item-v2 i {
    font-size: 0.6875rem;
    color: var(--color-primary);
    opacity: 0.8;
}

/* Категории/Навыки */
.freelancer-categories-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 16px;
    justify-content: center;
}

.freelancer-card-list .freelancer-categories-v2 {
    justify-content: flex-start !important;
    padding: 16px 0 !important;
    border-top: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
    margin: 0 !important;
}

.category-tag-v2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1.5px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.1);
}

.freelancer-card-list .category-tag-v2 {
    font-size: 0.6875rem;
    padding: 5px 11px;
}

.category-tag-v2:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Ценовой диапазон */
.freelancer-price-v2 {
    padding: 16px 20px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.05) 0%, 
        var(--bg-card) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    margin: 0;
}

.freelancer-card-list .freelancer-price-v2 {
    flex-shrink: 0 !important;
    width: min(180px, 25vw) !important;
    min-width: min(120px, 20vw) !important;
    border: none !important;
    border-left: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.price-label-v2 {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.price-value-v2 {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
}

.freelancer-card-list .price-value-v2 {
    font-size: 1.25rem;
    font-weight: 800;
}

/* Футер */
.freelancer-card-footer-v2 {
    padding: 20px;
    margin-top: auto;
}

.freelancer-card-list .freelancer-card-footer-v2 {
    flex-shrink: 0 !important;
    width: min(160px, 30vw) !important;
    padding: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-left: 1px solid var(--border-color) !important;
    margin-top: 0 !important;
}

.btn-view-profile-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.freelancer-card-list .btn-view-profile-v2 {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.875rem;
}

.btn-view-profile-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* List режим */
.freelancer-card-v2.freelancer-card-list {
    flex-direction: row !important;
    align-items: stretch !important;
    padding: 24px !important;
    gap: 24px !important;
    min-height: 200px;
    position: relative;
    display: flex !important;
}

.freelancer-card-v2.freelancer-card-list .freelancer-card-header-v2 {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 0;
    width: auto;
    z-index: 10;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .freelancer-card-list {
        flex-direction: column;
        padding: 20px !important;
        gap: 16px !important;
    }
    
    .freelancer-card-list .freelancer-card-header-v2 {
        position: static;
        padding: 12px 16px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    
    .freelancer-card-list .freelancer-card-body-v2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px !important;
        gap: 16px !important;
    }
    
    .freelancer-card-list .freelancer-price-v2 {
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid var(--border-color) !important;
    }
    
    .freelancer-card-list .freelancer-card-footer-v2 {
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid var(--border-color) !important;
    }
}

@media (max-width: 1024px) {
    .freelancers-grid-view {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .freelancers-grid-view {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
    }
    
    .freelancer-avatar-v2,
    .freelancer-avatar-placeholder-v2 {
        width: min(80px, 18vw) !important;
        height: 80px !important;
        font-size: 1.75rem;
        border-width: 3px;
    }
    
    .freelancer-name-v2 {
        font-size: 1.125rem;
    }
    
    .category-tag-v2 {
        font-size: 0.625rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .freelancers-grid-view {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .freelancer-avatar-v2,
    .freelancer-avatar-placeholder-v2 {
        width: min(70px, 15vw) !important;
        height: 70px !important;
        font-size: 1.5rem;
    }
    
    .freelancer-name-v2 {
        font-size: 1rem;
    }
}

/* Пустое состояние */
.freelancers-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.empty-state-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ============================================
   EMPLOYER PROFILE PAGE - НОВЫЕ СТИЛИ 2025
   ============================================ */
.emp-profile-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.own-profile-notice { animation: slideDown 0.4s ease-out; transition: all 0.3s ease; }
.own-profile-notice:hover { box-shadow: 0 6px 24px rgba(59, 130, 246, 0.2) !important; transform: translateY(-2px); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.emp-hero { background: linear-gradient(135deg, var(--color-primary, #7c3aed) 0%, var(--color-accent, #06b6d4) 100%); border-radius: 0; padding: 60px 40px; margin-bottom: 40px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); position: relative; overflow: hidden; }
.emp-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%); opacity: 0.6; }
.emp-hero-content { display: flex; gap: 32px; align-items: flex-start; position: relative; z-index: 1; }
.emp-avatar-wrapper { position: relative; flex-shrink: 0; }
.emp-avatar { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255, 255, 255, 0.3); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
.emp-avatar-placeholder { width: 150px; height: 150px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); color: white; font-size: 3rem; font-weight: 700; text-transform: uppercase; border: 4px solid rgba(255, 255, 255, 0.3); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
.emp-avatar-badges { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; }
.emp-badge-verified, .emp-badge-premium { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; background: rgba(255, 255, 255, 0.9); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.emp-badge-verified { color: #10b981; }
.emp-badge-premium { color: #fbbf24; }
.emp-info { flex: 1; min-width: 0; }
.emp-name { font-size: 2rem; font-weight: 700; color: white; margin: 0 0 12px 0; line-height: 1.2; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
.emp-username { font-size: 1rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.emp-username i { color: rgba(255, 255, 255, 0.9); }
.emp-role { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); color: white; border-radius: 20px; font-size: 0.875rem; font-weight: 600; margin-bottom: 16px; border: 1px solid rgba(255, 255, 255, 0.3); }
.emp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.emp-rating-stars { display: flex; gap: 4px; color: #ffd700; font-size: 1.125rem; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.emp-rating-value { font-size: 1.25rem; font-weight: 700; color: white; }
.emp-rating-count { font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.emp-registered { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.9); }
.emp-registered i { color: rgba(255, 255, 255, 0.7); }
.emp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.emp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-btn); font-size: 0.875rem; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: all 0.3s; cursor: pointer; }
.emp-btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; }
.emp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); }
.emp-btn-outline { background: transparent; border-color: var(--border-color); color: var(--text-main); }
.emp-btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(124, 58, 237, 0.05); }
.emp-btn-danger { background: transparent; border-color: #ef4444; color: #ef4444; }
.emp-btn-danger:hover { background: #ef4444; color: white; }
.emp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.emp-stat-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.emp-stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.emp-stat-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: rgba(124, 58, 237, 0.1); color: var(--color-primary); flex-shrink: 0; }
.emp-stat-icon-success { background: rgba(16, 185, 129, 0.1); color: var(--color-accent); }
.emp-stat-icon-primary { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.emp-stat-icon-warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.emp-stat-icon-accent { background: rgba(16, 185, 129, 0.1); color: var(--color-accent); }
.emp-stat-content { flex: 1; }
.emp-stat-value { font-size: 1.75rem; font-weight: 700; color: var(--text-main); line-height: 1; margin-bottom: 6px; }
.emp-stat-label { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1; }
.emp-section { background: var(--bg-surface); border-radius: var(--radius-card); padding: 32px; box-shadow: var(--shadow-sm); }
.emp-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--border-color); }
.emp-section-title { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin: 0; display: flex; align-items: center; gap: 12px; }
.emp-section-title i { color: var(--color-primary); }
.emp-section-count { padding: 6px 16px; background: rgba(124, 58, 237, 0.1); color: var(--color-primary); border-radius: 20px; font-size: 0.875rem; font-weight: 600; }
.emp-project-status { padding: 4px 12px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.emp-status-active { background: rgba(16, 185, 129, 0.1); color: var(--color-accent); }
.emp-status-progress { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.emp-status-completed { background: rgba(107, 114, 128, 0.1); color: #6b7280; }
.emp-status-cancelled { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
@media (max-width: 992px) {
    .emp-hero-content { flex-direction: column; align-items: center; text-align: center; }
    .emp-info { display: flex; flex-direction: column; align-items: center; }
    .emp-actions { justify-content: center; }
    .emp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .emp-hero { padding: 24px; }
    .emp-name { font-size: 1.5rem; }
    .emp-avatar, .emp-avatar-placeholder { width: min(120px, 20vw); height: min(120px, 20vw); }
    .emp-avatar-placeholder { font-size: 2.5rem; }
    .emp-stats { grid-template-columns: 1fr; }
    .emp-section { padding: 20px; }
}
@media (max-width: 768px) {
    .own-profile-notice { flex-direction: column; text-align: center; padding: 20px !important; }
    .own-profile-notice > div:last-child { width: 100%; }
    .own-profile-notice > div:last-child a { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .emp-hero { padding: 16px; }
    .emp-actions { flex-direction: column; width: 100%; }
    .emp-btn { width: 100%; justify-content: center; }
}

/* ============================================
   USER PROFILE PAGE (profile.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.prof-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.prof-alert { padding: 16px 20px; border-radius: var(--radius-card); margin-bottom: 24px; display: flex; align-items: flex-start; gap: 12px; }
.prof-alert-success { background: rgba(16, 185, 129, 0.1); border: 2px solid rgba(16, 185, 129, 0.3); color: var(--color-accent); }
.prof-alert-error { background: rgba(239, 68, 68, 0.1); border: 2px solid rgba(239, 68, 68, 0.3); color: #ef4444; }
.prof-alert ul { margin: 8px 0 0 0; padding-left: 20px; }
.prof-alert li { margin-bottom: 4px; }
.prof-hero { background: var(--bg-surface); border-radius: var(--radius-card); padding: 40px; margin-bottom: 32px; box-shadow: var(--shadow-md); }
.prof-hero-content { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.prof-avatar-wrapper { position: relative; flex-shrink: 0; }
.prof-avatar { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg-body); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.prof-avatar-placeholder { width: 150px; height: 150px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; font-size: 3rem; font-weight: 700; text-transform: uppercase; border: 4px solid var(--bg-body); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.prof-avatar-badges { position: absolute; top: 0; right: 0; display: flex; gap: 4px; }
.prof-badge-verified, .prof-badge-premium { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; background: var(--bg-surface); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.prof-badge-verified { color: #10b981; }
.prof-badge-premium { color: #fbbf24; }
.prof-avatar-upload { position: absolute; bottom: 0; right: 0; }
.prof-avatar-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); }
.prof-avatar-btn:hover { transform: scale(1.1); background: var(--color-accent); }
.prof-info { flex: 1; min-width: 0; }
.prof-name { font-size: 2rem; font-weight: 700; color: var(--text-main); margin: 0 0 12px 0; line-height: 1.2; }
.prof-username { font-size: 1rem; color: var(--text-secondary); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.prof-username i { color: var(--color-primary); }
.prof-roles { margin-bottom: 16px; }
.prof-role-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; font-size: 0.875rem; font-weight: 600; }
.prof-role-both { background: rgba(124, 58, 237, 0.1); color: var(--color-primary); }
.prof-role-freelancer { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.prof-role-employer { background: rgba(16, 185, 129, 0.1); color: var(--color-accent); }
.prof-public-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.prof-public-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(124, 58, 237, 0.05); border: 2px solid rgba(124, 58, 237, 0.2); color: var(--color-primary); border-radius: var(--radius-btn); font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: all 0.3s; }
.prof-public-link:hover { background: rgba(124, 58, 237, 0.1); border-color: var(--color-primary); transform: translateY(-2px); }
.prof-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.prof-stat-item { text-align: center; }
.prof-stat-value { font-size: 1.75rem; font-weight: 700; color: var(--text-main); line-height: 1; margin-bottom: 6px; }
.prof-stat-label { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1; }
.prof-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; border-bottom: 2px solid var(--border-color); }
.prof-tab-link { display: flex; align-items: center; gap: 8px; padding: 12px 20px; color: var(--text-secondary); text-decoration: none; border-bottom: 3px solid transparent; transition: all 0.3s; font-weight: 600; font-size: 0.875rem; }
.prof-tab-link:hover { color: var(--color-primary); background: rgba(124, 58, 237, 0.05); }
.prof-tab-link.active { color: var(--color-primary); border-bottom-color: var(--color-primary); background: rgba(124, 58, 237, 0.05); }
.prof-content { background: var(--bg-surface); border-radius: var(--radius-card); padding: 32px; box-shadow: var(--shadow-sm); }
.prof-section { }
.prof-section-title { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin: 0 0 24px 0; display: flex; align-items: center; gap: 12px; }
.prof-section-title i { color: var(--color-primary); }
.prof-form { }
.prof-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 24px; }
.prof-form-group { }
.prof-form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.prof-form-input, .prof-form-textarea, .prof-form-select { width: 100%; padding: 12px 16px; border: 2px solid var(--border-color); border-radius: var(--radius-btn); font-size: 0.875rem; color: var(--text-main); background: var(--bg-body); transition: all 0.3s; }
.prof-form-input:focus, .prof-form-textarea:focus, .prof-form-select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); }
.prof-form-textarea { resize: vertical; min-height: 120px; }
.prof-form-hint { display: block; font-size: 0.75rem; color: var(--text-secondary); margin-top: 6px; }
.prof-form-actions { margin-top: 24px; }
.prof-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-btn); font-size: 0.875rem; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: all 0.3s; cursor: pointer; }
.prof-btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; }
.prof-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); }
.prof-btn-outline { background: transparent; border-color: var(--border-color); color: var(--text-main); }
.prof-btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(124, 58, 237, 0.05); }
.prof-btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.prof-settings-list { }
.prof-setting-item { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border-color); }
.prof-setting-item:last-child { border-bottom: none; }
.prof-setting-info { flex: 1; }
.prof-setting-title { font-size: 1rem; font-weight: 700; color: var(--text-main); margin: 0 0 4px 0; }
.prof-setting-desc { font-size: 0.8125rem; color: var(--text-secondary); margin: 0; }
.prof-setting-value { display: flex; align-items: center; gap: 12px; }
.prof-setting-current { font-size: 0.875rem; font-weight: 600; color: var(--text-main); }
.prof-setting-amount { font-size: 1.125rem; font-weight: 700; color: var(--color-primary); }
@media (max-width: 992px) {
    .prof-hero-content { flex-direction: column; align-items: center; text-align: center; }
    .prof-info { display: flex; flex-direction: column; align-items: center; }
    .prof-stats { justify-content: center; }
    .prof-public-links { justify-content: center; }
}
@media (max-width: 768px) {
    .prof-hero { padding: 24px; }
    .prof-name { font-size: 1.5rem; }
    .prof-avatar, .prof-avatar-placeholder { 
        width: 120px !important; 
        height: 120px !important;
        min-width: 120px !important;
        min-height: 120px !important;
        max-width: 120px !important;
        max-height: 120px !important;
        aspect-ratio: 1 / 1 !important;
    }
    .prof-avatar-placeholder { font-size: 2.5rem; }
    .prof-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .prof-tab-link { white-space: nowrap; }
    .prof-content { padding: 20px; }
    .prof-form-grid { grid-template-columns: 1fr; }
    .prof-setting-item { flex-direction: column; align-items: flex-start; gap: 12px; }
    .prof-setting-value { width: 100%; justify-content: space-between; }
}
.prof-categories-list { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.prof-category-checkbox { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--bg-body); border: 2px solid var(--border-color); border-radius: var(--radius-btn); cursor: pointer; transition: all 0.3s; }
.prof-category-checkbox:hover { border-color: var(--color-primary); background: rgba(124, 58, 237, 0.05); }
.prof-category-checkbox input[type="checkbox"] { margin: 0; cursor: pointer; }
.prof-category-checkbox input[type="checkbox"]:checked + span { color: var(--color-primary); font-weight: 600; }
.prof-category-checkbox input[type="checkbox"]:checked ~ .prof-category-checkbox { border-color: var(--color-primary); background: rgba(124, 58, 237, 0.1); }
.prof-info-box { background: rgba(124, 58, 237, 0.05); border-left: 4px solid var(--color-primary); padding: 20px; border-radius: var(--radius-btn); margin-bottom: 24px; }
.prof-info-box p { margin: 0 0 12px 0; color: var(--text-main); }
.prof-info-box p:last-child { margin-bottom: 0; }
.prof-info-box ul { margin: 12px 0 0 20px; padding: 0; }
.prof-info-box li { margin-bottom: 8px; color: var(--text-secondary); }

/* Стили для загрузки фона профиля */
.prof-background-upload {
    margin-bottom: 24px;
}

.prof-background-preview {
    position: relative;
    margin-bottom: 16px;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--bg-body);
}

.prof-background-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.prof-background-preview .prof-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.prof-background-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prof-file-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prof-file-upload label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: fit-content;
}

.prof-btn-sm {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

.prof-btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
}

.prof-btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.prof-employer-stats { margin-bottom: 24px; }
.prof-subsection-title { font-size: 1.125rem; font-weight: 700; color: var(--text-main); margin: 0 0 16px 0; }
.prof-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.prof-stat-box { background: var(--bg-body); border-radius: var(--radius-card); padding: 20px; text-align: center; }
.prof-stat-box-value { font-size: 2rem; font-weight: 700; color: var(--color-primary); line-height: 1; margin-bottom: 8px; }
.prof-stat-box-label { font-size: 0.875rem; color: var(--text-secondary); }
@media (max-width: 480px) {
    .prof-hero { padding: 16px; }
    .prof-stats { flex-direction: column; gap: 16px; }
    .prof-public-links { flex-direction: column; width: 100%; }
    .prof-public-link { width: 100%; justify-content: center; }
    .prof-categories-list { flex-direction: column; }
    .prof-category-checkbox { width: 100%; }
    .prof-stats-grid { grid-template-columns: 1fr; }
}

/* ============================================
   WORKSPACES PAGE (workspaces.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.ws-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.ws-header { margin-bottom: 32px; }
.ws-title { font-size: 2rem; font-weight: 700; color: var(--text-main); margin: 0 0 8px 0; display: flex; align-items: center; gap: 12px; }
.ws-title i { color: var(--color-primary); }
.ws-subtitle { font-size: 1rem; color: var(--text-secondary); margin: 0; }
.ws-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.ws-stat-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.ws-stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ws-stat-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: rgba(124, 58, 237, 0.1); color: var(--color-primary); flex-shrink: 0; }
.ws-stat-icon-pending { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.ws-stat-icon-active { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.ws-stat-icon-completed { background: rgba(16, 185, 129, 0.1); color: var(--color-accent); }
.ws-stat-content { flex: 1; }
.ws-stat-value { font-size: 1.75rem; font-weight: 700; color: var(--text-main); line-height: 1; margin-bottom: 6px; }
.ws-stat-label { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1; }
.ws-filters { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.ws-filter-btn { padding: 10px 20px; border-radius: var(--radius-btn); background: var(--bg-surface); border: 2px solid var(--border-color); color: var(--text-main); text-decoration: none; font-size: 0.875rem; font-weight: 600; transition: all 0.3s; }
.ws-filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(124, 58, 237, 0.05); }
.ws-filter-btn.active { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; border-color: transparent; }
.ws-list { }
.ws-empty { text-align: center; padding: 60px 20px; background: var(--bg-surface); border-radius: var(--radius-card); }
.ws-empty-icon { font-size: 4rem; color: var(--text-muted); margin-bottom: 20px; }
.ws-empty-title { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.ws-empty-text { font-size: 1rem; color: var(--text-secondary); }
.ws-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.ws-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ws-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; gap: 16px; }
.ws-card-title { font-size: 1.25rem; font-weight: 700; color: var(--text-main); margin: 0; }
.ws-card-title a { color: var(--text-main); text-decoration: none; transition: color 0.3s; }
.ws-card-title a:hover { color: var(--color-primary); }
.ws-card-status { padding: 4px 12px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.ws-status-pending { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.ws-status-active { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.ws-status-completed { background: rgba(16, 185, 129, 0.1); color: var(--color-accent); }
.ws-status-cancelled { background: rgba(107, 114, 128, 0.1); color: #6b7280; }
.ws-status-disputed { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.ws-card-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.ws-card-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-secondary); }
.ws-card-item i { color: var(--color-primary); }
.ws-card-escrow { color: var(--color-accent); }
.ws-card-escrow i { color: var(--color-accent); }
.ws-card-actions { }
.ws-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-btn); font-size: 0.875rem; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: all 0.3s; cursor: pointer; }
.ws-btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; }
.ws-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); }
@media (max-width: 768px) {
    .ws-stats { grid-template-columns: repeat(2, 1fr); }
    .ws-card-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .ws-stats { grid-template-columns: 1fr; }
    .ws-filters { flex-direction: column; }
    .ws-filter-btn { width: 100%; text-align: center; }
}

/* ============================================
   ESCROW PAGE (escrow.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.esc-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.esc-header { margin-bottom: 32px; }
.esc-title { font-size: 2rem; font-weight: 700; color: var(--text-main); margin: 0 0 8px 0; display: flex; align-items: center; gap: 12px; }
.esc-title i { color: var(--color-primary); }
.esc-subtitle { font-size: 1rem; color: var(--text-secondary); margin: 0; }
.esc-info { margin-bottom: 32px; }
.esc-info-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-sm); }
.esc-info-title { font-size: 1.25rem; font-weight: 700; color: var(--text-main); margin: 0 0 16px 0; display: flex; align-items: center; gap: 8px; }
.esc-info-title i { color: var(--color-primary); }
.esc-info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.esc-info-list li { font-size: 0.875rem; color: var(--text-secondary); padding-left: 24px; position: relative; }
.esc-info-list li:before { content: '•'; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.esc-info-list li strong { color: var(--text-main); }
.esc-list { }
.esc-section-title { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin: 0 0 24px 0; }
.esc-empty { text-align: center; padding: 60px 20px; background: var(--bg-surface); border-radius: var(--radius-card); }
.esc-empty-icon { font-size: 4rem; color: var(--text-muted); margin-bottom: 20px; }
.esc-empty-title { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.esc-empty-text { font-size: 1rem; color: var(--text-secondary); }
.esc-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.esc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.esc-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; gap: 16px; }
.esc-card-title { font-size: 1.25rem; font-weight: 700; color: var(--text-main); margin: 0; }
.esc-card-title a { color: var(--text-main); text-decoration: none; transition: color 0.3s; }
.esc-card-title a:hover { color: var(--color-primary); }
.esc-card-status { padding: 4px 12px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.esc-status-reserved { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.esc-status-released { background: rgba(16, 185, 129, 0.1); color: var(--color-accent); }
.esc-status-refunded { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.esc-status-cancelled { background: rgba(107, 114, 128, 0.1); color: #6b7280; }
.esc-card-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.esc-detail-item { display: flex; flex-direction: column; gap: 4px; }
.esc-detail-label { font-size: 0.8125rem; color: var(--text-secondary); }
.esc-detail-value { font-size: 1rem; font-weight: 600; color: var(--text-main); }
.esc-detail-value-total { font-size: 1.25rem; font-weight: 700; color: var(--color-primary); }
@media (max-width: 768px) {
    .esc-card-header { flex-direction: column; align-items: flex-start; }
    .esc-card-details { grid-template-columns: 1fr; }
}

/* ============================================
   COMPLAINTS PAGE (complaints.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.comp-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.comp-header { margin-bottom: 32px; }
.comp-title { font-size: 2rem; font-weight: 700; color: var(--text-main); margin: 0 0 8px 0; display: flex; align-items: center; gap: 12px; }
.comp-title i { color: var(--color-primary); }
.comp-subtitle { font-size: 1rem; color: var(--text-secondary); margin: 0; }
.comp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.comp-stat-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.comp-stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.comp-stat-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: rgba(124, 58, 237, 0.1); color: var(--color-primary); flex-shrink: 0; }
.comp-stat-icon-warning { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.comp-stat-icon-pending { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.comp-stat-icon-success { background: rgba(16, 185, 129, 0.1); color: var(--color-accent); }
.comp-stat-content { flex: 1; }
.comp-stat-value { font-size: 1.75rem; font-weight: 700; color: var(--text-main); line-height: 1; margin-bottom: 6px; }
.comp-stat-label { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1; }
.comp-list { }
.comp-section-title { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin: 0 0 24px 0; }
.comp-empty { text-align: center; padding: 60px 20px; background: var(--bg-surface); border-radius: var(--radius-card); }
.comp-empty-icon { font-size: 4rem; color: var(--text-muted); margin-bottom: 20px; }
.comp-empty-title { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.comp-empty-text { font-size: 1rem; color: var(--text-secondary); }
.comp-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.comp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.comp-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; gap: 16px; }
.comp-card-title { font-size: 1.25rem; font-weight: 700; color: var(--text-main); margin: 0; }
.comp-card-status { padding: 4px 12px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.comp-status-pending { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.comp-status-reviewing { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.comp-status-resolved { background: rgba(16, 185, 129, 0.1); color: var(--color-accent); }
.comp-status-rejected { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.comp-status-closed { background: rgba(107, 114, 128, 0.1); color: #6b7280; }
.comp-card-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.comp-card-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-secondary); }
.comp-card-item i { color: var(--color-primary); }
.comp-card-description { font-size: 0.875rem; color: var(--text-main); line-height: 1.6; margin-bottom: 16px; padding: 16px; background: var(--bg-body); border-radius: var(--radius-btn); }
.comp-card-resolution { margin-bottom: 16px; padding: 16px; background: rgba(16, 185, 129, 0.05); border-left: 4px solid var(--color-accent); border-radius: var(--radius-btn); }
.comp-resolution-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.comp-resolution-title i { color: var(--color-accent); }
.comp-resolution-text { font-size: 0.875rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.comp-card-actions { }
.comp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-btn); font-size: 0.875rem; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: all 0.3s; cursor: pointer; }
.comp-btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; }
.comp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); }
@media (max-width: 768px) {
    .comp-stats { grid-template-columns: repeat(2, 1fr); }
    .comp-card-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   WITHDRAWAL PAGE (withdrawal.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.wd-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.wd-header { margin-bottom: 32px; }
.wd-title { font-size: 2rem; font-weight: 700; color: var(--text-main); margin: 0 0 8px 0; display: flex; align-items: center; gap: 12px; }
.wd-title i { color: var(--color-primary); }
.wd-subtitle { font-size: 1rem; color: var(--text-secondary); margin: 0; }
.wd-balance-card { background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(16, 185, 129, 0.1)); border-radius: var(--radius-card); padding: 40px; margin-bottom: 32px; text-align: center; border: 2px solid var(--color-primary); box-shadow: var(--shadow-md); }
.wd-balance-label { font-size: 1.125rem; font-weight: 600; color: var(--text-main); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.wd-balance-label i { color: var(--color-primary); }
.wd-balance-amount-wrapper { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.wd-balance-amount { font-size: 3.5rem; font-weight: 900; color: var(--color-primary); line-height: 1; }
.wd-balance-currency { font-size: 2rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.wd-balance-rate { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 1rem; font-weight: 500; color: var(--text-main); background: var(--bg-surface); padding: 12px 20px; border-radius: var(--radius-btn); display: inline-block; }
.wd-balance-rate strong { color: var(--color-primary); font-weight: 700; }
.wd-form-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 40px; margin-bottom: 32px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); }
.wd-form-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 24px 0; color: var(--text-main); display: flex; align-items: center; gap: 12px; }
.wd-form-title i { color: var(--color-primary); }
.wd-info-box { background: var(--bg-body); border-radius: var(--radius-card); padding: 20px; margin-bottom: 24px; font-size: 0.875rem; color: var(--text-secondary); }
.wd-info-box strong { color: var(--text-main); }
.wd-info-box ul { margin: 12px 0 0 20px; padding: 0; }
.wd-info-box li { margin-bottom: 8px; }
.wd-topup-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); margin-bottom: 40px; }
.wd-topup-btn { width: 100%; padding: 16px 32px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; border: none; border-radius: var(--radius-btn); font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.wd-topup-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4); }
.wd-topup-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.wd-topup-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); }
.wd-topup-modal-content { position: relative; background: var(--bg-surface); border-radius: var(--radius-card); padding: 40px; max-width: 500px; width: 90%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); z-index: 1; }
.wd-topup-modal-close { position: absolute; top: 16px; right: 16px; background: transparent; border: none; font-size: 1.5rem; color: var(--text-secondary); cursor: pointer; padding: 8px; border-radius: 50%; transition: all 0.2s; }
.wd-topup-modal-close:hover { background: var(--bg-body); color: var(--text-main); }
.wd-topup-modal-header { text-align: center; margin-bottom: 24px; }
.wd-topup-modal-header i { font-size: 3rem; color: var(--color-primary); margin-bottom: 16px; }
.wd-topup-modal-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-main); margin: 0; }
.wd-topup-summary { background: var(--bg-body); border-radius: var(--radius-card); padding: 20px; margin-bottom: 24px; }
.wd-topup-summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 1rem; }
.wd-topup-summary-row:last-child { margin-bottom: 0; }
.wd-topup-summary-row strong { font-size: 1.25rem; color: var(--color-primary); }
.wd-topup-payment-form { }
.wd-topup-form-group { margin-bottom: 20px; }
.wd-topup-form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-main); font-size: 0.875rem; }
.wd-topup-form-group input, .wd-topup-form-group select { width: 100%; padding: 12px 16px; border: 2px solid var(--border-color); border-radius: var(--radius-btn); font-size: 1rem; background: var(--bg-body); color: var(--text-main); transition: all 0.3s; box-sizing: border-box; }
.wd-topup-form-group input:focus, .wd-topup-form-group select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1); }
.wd-topup-form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.wd-topup-payment-btn { width: 100%; padding: 16px 32px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; border: none; border-radius: var(--radius-btn); font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.wd-topup-payment-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4); }
.wd-topup-payment-btn:disabled { opacity: 0.6; cursor: not-allowed; }
/* Шаги оплаты для пополнения */
.wd-topup-step {
    animation: fadeIn 0.3s ease;
}

.wd-topup-step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: center;
}

/* Способы оплаты для пополнения */
.wd-topup-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.wd-topup-method-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-card);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-surface);
}

.wd-topup-method-card:hover {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}

.wd-topup-method-card.selected {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.wd-topup-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.wd-topup-method-info {
    flex: 1;
}

.wd-topup-method-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 4px 0;
}

.wd-topup-method-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.wd-topup-method-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.wd-topup-method-card.selected .wd-topup-method-check {
    opacity: 1;
}

.wd-topup-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.wd-topup-back-btn:hover {
    color: var(--color-primary-hover);
}

.wd-topup-method-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(124, 58, 237, 0.05);
    border-radius: var(--radius-card);
    margin-bottom: 20px;
    color: var(--text-main);
    font-weight: 600;
}

.wd-topup-method-selected i {
    color: var(--color-primary);
}

.wd-topup-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.5;
}

.wd-topup-other-info {
    text-align: center;
    padding: 40px 20px;
}

.wd-topup-other-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 2.5rem;
}

.wd-topup-other-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
}

.wd-topup-other-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.wd-topup-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    color: #059669;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.wd-topup-security i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .wd-topup-form-row { grid-template-columns: 1fr; }
    .wd-topup-modal-content { padding: 30px 20px; }
}
.wd-form { }
.wd-form-group { margin-bottom: 24px; }
.wd-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-main); font-size: 0.875rem; }
.wd-input { width: 100%; padding: 12px 16px; border: 2px solid var(--border-color); border-radius: var(--radius-btn); font-size: 1rem; background: var(--bg-body); color: var(--text-main); transition: all 0.3s; box-sizing: border-box; }
.wd-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); }
.wd-hint { display: block; margin-top: 8px; font-size: 0.75rem; color: var(--text-secondary); }
.wd-calculation-box { background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05)); border-radius: var(--radius-btn); padding: 24px; margin-bottom: 24px; }
.wd-calculation-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-color); font-size: 0.875rem; color: var(--text-main); }
.wd-calculation-row:last-child { border-bottom: none; }
.wd-calculation-final { font-weight: 700; font-size: 1.125rem; color: var(--color-primary); margin-top: 8px; }
.wd-submit-btn { width: 100%; padding: 16px 24px; border: none; border-radius: var(--radius-btn); font-size: 1rem; font-weight: 700; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.3s; margin-top: 8px; }
.wd-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4); }
.wd-history-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); }
.wd-history-list { }
.wd-history-item { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border-color); }
.wd-history-item:last-child { border-bottom: none; }
.wd-history-info { flex: 1; }
.wd-history-amount { font-size: 1.25rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.wd-history-details { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.wd-history-status { }
.wd-status-badge { padding: 6px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.wd-status-pending { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.wd-status-processing { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.wd-status-completed { background: rgba(16, 185, 129, 0.1); color: var(--color-accent); }
.wd-status-rejected { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.wd-status-cancelled { background: rgba(107, 114, 128, 0.1); color: #6b7280; }
@media (max-width: 768px) {
    .wd-balance-card { padding: 24px; }
    .wd-form-card { padding: 24px; }
    .wd-history-card { padding: 24px; }
    .wd-history-item { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================
   PAID PROJECTS PAGE (employers/paid-projects.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.pp-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.pp-header { margin-bottom: 40px; text-align: center; }
.pp-title { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 0 0 16px 0; }
.pp-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin: 0; }
.pp-section-title { font-size: 2rem; font-weight: 800; margin-bottom: 40px; text-align: center; color: var(--text-main); }
.pp-advantages { margin-bottom: 80px; }
.pp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.pp-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); text-align: center; transition: transform 0.3s; }
.pp-card:hover { transform: translateY(-5px); }
.pp-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); border-radius: 15px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; color: white; }
.pp-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.pp-card-text { color: var(--text-secondary); line-height: 1.6; }
.pp-pricing { margin-bottom: 80px; }
.pp-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.pp-pricing-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); position: relative; transition: transform 0.3s; }
.pp-pricing-card:hover { transform: translateY(-5px); }
.pp-pricing-featured { border: 2px solid var(--color-primary); }
.pp-pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; padding: 6px 16px; border-radius: 20px; font-size: 0.6875rem; font-weight: 700; }
.pp-pricing-header { text-align: center; margin-bottom: 24px; }
.pp-pricing-name { font-size: 1.375rem; font-weight: 700; margin-bottom: 15px; color: var(--text-main); }
.pp-pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 10px; }
.pp-price-amount { font-size: 2.25rem; font-weight: 800; color: var(--color-primary); }
.pp-price-currency { font-size: 1.25rem; color: var(--text-secondary); }
.pp-pricing-period { font-size: 0.875rem; color: var(--text-secondary); }
.pp-pricing-features { list-style: none; padding: 0; margin: 0 0 24px 0; }
.pp-pricing-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--text-secondary); font-size: 0.875rem; }
.pp-pricing-features li i { color: var(--color-accent); flex-shrink: 0; }
.pp-pricing-btn { width: 100%; padding: 12px 24px; border: none; border-radius: var(--radius-btn); font-size: 0.875rem; font-weight: 600; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; cursor: pointer; transition: all 0.3s; }
.pp-pricing-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); }
.pp-how { margin-bottom: 80px; }
.pp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.pp-step { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); position: relative; }
.pp-step-number { width: 50px; height: 50px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; font-weight: 800; color: white; }
.pp-step-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.pp-step-content p { color: var(--text-secondary); line-height: 1.6; font-size: 0.875rem; margin: 0; }
@media (max-width: 768px) {
    .pp-title { font-size: 2rem; }
    .pp-pricing-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SECURITY PAGE (employers/security.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.sec-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.sec-header { margin-bottom: 40px; text-align: center; }
.sec-title { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 0 0 16px 0; }
.sec-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin: 0; }
.sec-section-title { font-size: 2rem; font-weight: 800; margin-bottom: 40px; text-align: center; color: var(--text-main); }
.sec-features { margin-bottom: 80px; }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.sec-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); text-align: center; transition: transform 0.3s; }
.sec-card:hover { transform: translateY(-5px); }
.sec-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); border-radius: 15px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; color: white; }
.sec-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.sec-card-text { color: var(--text-secondary); line-height: 1.6; }
.sec-how { margin-bottom: 80px; }
.sec-process { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.sec-process-step { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); text-align: center; flex: 1; min-width: 200px; }
.sec-step-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.75rem; color: white; }
.sec-process-step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.sec-process-step p { color: var(--text-secondary); line-height: 1.6; font-size: 0.875rem; margin: 0; }
.sec-process-arrow { font-size: 1.5rem; color: var(--color-primary); }
.sec-tips { margin-bottom: 80px; }
.sec-tips-list { display: grid; gap: 20px; }
.sec-tip-item { display: flex; gap: 20px; align-items: flex-start; background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.sec-tip-icon { width: 40px; height: 40px; color: var(--color-accent); font-size: 1.5rem; flex-shrink: 0; }
.sec-tip-content h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.sec-tip-content p { color: var(--text-secondary); line-height: 1.6; margin: 0; }
@media (max-width: 768px) {
    .sec-title { font-size: 2rem; }
    .sec-process { flex-direction: column; }
    .sec-process-arrow { transform: rotate(90deg); }
}

/* ============================================
   SAFE DEAL PAGE (safe-deal.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.sd-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.sd-header { margin-bottom: 40px; text-align: center; }
.sd-title { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 0 0 16px 0; }
.sd-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin: 0; }
.sd-section-title { font-size: 2rem; font-weight: 800; margin-bottom: 40px; text-align: center; color: var(--text-main); }
.sd-info { margin-bottom: 80px; }
.sd-info-box { background: var(--bg-surface); border-radius: var(--radius-card); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); text-align: center; }
.sd-info-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 20px; color: var(--text-main); }
.sd-info-text { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.sd-how { margin-bottom: 80px; }
.sd-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.sd-step { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); position: relative; }
.sd-step-number { width: 50px; height: 50px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; font-weight: 800; color: white; }
.sd-step-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.sd-step-content p { color: var(--text-secondary); line-height: 1.6; font-size: 0.875rem; margin: 0; }
.sd-benefits { margin-bottom: 80px; }
.sd-benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.sd-benefit-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); text-align: center; transition: transform 0.3s; }
.sd-benefit-card:hover { transform: translateY(-5px); }
.sd-benefit-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); border-radius: 15px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; color: white; }
.sd-benefit-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.sd-benefit-card p { color: var(--text-secondary); line-height: 1.6; }
.sd-conditions { margin-bottom: 80px; }
.sd-conditions-list { display: grid; gap: 20px; }
.sd-condition-item { display: flex; gap: 20px; align-items: flex-start; background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.sd-condition-icon { width: 40px; height: 40px; color: var(--color-accent); font-size: 1.5rem; flex-shrink: 0; }
.sd-condition-content h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.sd-condition-content p { color: var(--text-secondary); line-height: 1.6; margin: 0; }
.sd-cta { margin-bottom: 80px; }
.sd-cta-box { background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05)); border-radius: var(--radius-card); padding: 60px 40px; text-align: center; }
.sd-cta-box h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 20px; color: var(--text-main); }
.sd-cta-box p { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 40px; }
.sd-cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.sd-cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: var(--radius-btn); font-size: 1rem; font-weight: 700; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; text-decoration: none; transition: all 0.3s; }
.sd-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4); }
.sd-cta-btn-secondary { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.sd-cta-btn-secondary:hover { background: rgba(124, 58, 237, 0.05); }
@media (max-width: 768px) {
    .sd-title { font-size: 2rem; }
    .sd-cta-box { padding: 40px 20px; }
}

/* ============================================
   PENALTIES PAGE (penalties.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.pen-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.pen-header { margin-bottom: 40px; text-align: center; }
.pen-title { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 0 0 16px 0; }
.pen-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin: 0; }
.pen-section-title { font-size: 2rem; font-weight: 800; margin-bottom: 40px; text-align: center; color: var(--text-main); }
.pen-info { margin-bottom: 80px; }
.pen-info-box { background: var(--bg-surface); border-radius: var(--radius-card); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); text-align: center; }
.pen-info-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 20px; color: var(--text-main); }
.pen-info-text { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.pen-types { margin-bottom: 80px; }
.pen-table-wrapper { overflow-x: auto; }
.pen-table { width: 100%; border-collapse: collapse; background: var(--bg-surface); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-md); }
.pen-table thead { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); }
.pen-table th { padding: 16px; text-align: left; font-weight: 700; color: white; font-size: 0.875rem; }
.pen-table td { padding: 16px; border-bottom: 1px solid var(--border-color); color: var(--text-main); font-size: 0.875rem; }
.pen-table tbody tr:hover { background: var(--bg-body); }
.pen-table tbody tr:last-child td { border-bottom: none; }
.pen-how { margin-bottom: 80px; }
.pen-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.pen-step { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); text-align: center; }
.pen-step-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.75rem; color: white; }
.pen-step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.pen-step p { color: var(--text-secondary); line-height: 1.6; font-size: 0.875rem; margin: 0; }
.pen-appeal { margin-bottom: 80px; }
.pen-appeal-info { background: var(--bg-surface); border-radius: var(--radius-card); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); text-align: center; }
.pen-appeal-info p { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }
.pen-appeal-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: var(--radius-btn); font-size: 1rem; font-weight: 700; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; text-decoration: none; transition: all 0.3s; }
.pen-appeal-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4); }
.pen-important { margin-bottom: 80px; }
.pen-important-box { background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05)); border-radius: var(--radius-card); padding: 30px; border-left: 4px solid var(--color-primary); }
.pen-important-box h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.pen-important-box h3 i { color: var(--color-primary); }
.pen-important-box ul { list-style: none; padding: 0; margin: 0; }
.pen-important-box li { padding: 8px 0; color: var(--text-secondary); line-height: 1.6; position: relative; padding-left: 24px; }
.pen-important-box li:before { content: "•"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
@media (max-width: 768px) {
    .pen-title { font-size: 2rem; }
    .pen-table-wrapper { overflow-x: scroll; }
    .pen-table { min-width: 800px; }
}

/* ============================================
   EARN POINTS PAGE (earn-points.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.ep-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.ep-header { margin-bottom: 40px; text-align: center; }
.ep-title { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 0 0 16px 0; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ep-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin: 0; max-width: 700px; margin: 0 auto; }
.ep-balance-card { background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(16, 185, 129, 0.1)); border-radius: var(--radius-card); padding: 40px; margin-bottom: 40px; text-align: center; border: 2px solid var(--color-primary); box-shadow: var(--shadow-md); }
.ep-balance-label { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 20px; }
.ep-balance-amount-wrapper { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.ep-balance-amount { font-size: 3.5rem; font-weight: 900; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.ep-balance-currency { font-size: 2rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.ep-balance-equivalent { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 20px; }
.ep-exchange-info { background: var(--bg-surface); border-radius: var(--radius-btn); padding: 20px; margin-top: 24px; text-align: center; }
.ep-exchange-rate { font-size: 1.5rem; font-weight: 700; color: var(--color-primary); margin-bottom: 8px; }
.ep-exchange-note { font-size: 0.875rem; color: var(--text-secondary); }
.ep-section-title { font-size: 2rem; font-weight: 800; margin-bottom: 40px; text-align: center; color: var(--text-main); }
.ep-earnings { margin-bottom: 80px; }
.ep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.ep-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); transition: all 0.3s; position: relative; overflow: hidden; }
.ep-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); }
.ep-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.ep-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ep-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); border-radius: var(--radius-btn); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; flex-shrink: 0; }
.ep-card-title { font-size: 1.25rem; font-weight: 700; color: var(--text-main); flex: 1; margin: 0; }
.ep-amount { font-size: 2rem; font-weight: 900; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-align: center; margin-bottom: 8px; }
.ep-amount-label { font-size: 0.875rem; color: var(--text-secondary); text-align: center; margin-bottom: 16px; }
.ep-period { display: inline-block; background: var(--bg-body); padding: 6px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; color: var(--text-main); margin-bottom: 12px; text-align: center; width: 100%; }
.ep-description { font-size: 0.875rem; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.ep-info { margin-bottom: 80px; }
.ep-info-list { display: grid; gap: 20px; max-width: 800px; margin: 0 auto; }
.ep-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-bottom: 1px solid var(--border-color); }
.ep-info-item:last-child { border-bottom: none; }
.ep-info-icon { color: var(--color-primary); font-size: 1.25rem; margin-top: 4px; flex-shrink: 0; }
.ep-info-content { flex: 1; }
.ep-info-title { font-weight: 700; color: var(--text-main); margin-bottom: 8px; font-size: 1rem; }
.ep-info-text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.ep-cta { margin-bottom: 80px; }
.ep-cta-box { text-align: center; padding: 60px 40px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05)); border-radius: var(--radius-card); }
.ep-cta-title { font-size: 2rem; font-weight: 800; margin-bottom: 16px; color: var(--text-main); }
.ep-cta-text { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 32px; }
.ep-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ep-cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: var(--radius-btn); font-size: 1rem; font-weight: 700; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; text-decoration: none; transition: all 0.3s; }
.ep-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4); }
.ep-cta-btn-secondary { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.ep-cta-btn-secondary:hover { background: rgba(124, 58, 237, 0.05); }
@media (max-width: 768px) {
    .ep-title { font-size: 2rem; }
    .ep-grid { grid-template-columns: 1fr; }
    .ep-cta-box { padding: 40px 20px; }
}

/* ============================================
   HELP PAGE (help.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.help-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.help-header { margin-bottom: 40px; text-align: center; }
.help-title { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 0 0 16px 0; }
.help-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin: 0; }
.help-search { margin-bottom: 60px; }
.help-search-box { max-width: 600px; margin: 0 auto; position: relative; display: flex; align-items: center; }
.help-search-box i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); font-size: 1.125rem; z-index: 1; }
.help-search-input { width: 100%; padding: 16px 20px 16px 50px; border: 2px solid var(--border-color); border-radius: var(--radius-btn); font-size: 1rem; background: var(--bg-surface); color: var(--text-main); transition: all 0.3s; }
.help-search-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); }
.help-search-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: var(--text-secondary); cursor: pointer; padding: 8px; border-radius: 50%; transition: all 0.2s; z-index: 1; }
.help-search-clear:hover { background: var(--bg-body); color: var(--color-primary); }
.help-search-results { max-width: 900px; margin: 30px auto 0; }
.help-search-results-header { margin-bottom: 20px; }
.help-search-results-header h3 { font-size: 1.125rem; font-weight: 700; color: var(--text-main); margin: 0; }
.help-search-results-list { display: grid; gap: 20px; }
.help-search-no-results { text-align: center; padding: 60px 20px; background: var(--bg-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.help-search-no-results i { font-size: 4rem; color: var(--text-secondary); margin-bottom: 20px; opacity: 0.5; }
.help-search-no-results h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.help-search-no-results p { color: var(--text-secondary); margin: 0; }
.help-search-no-results a { color: var(--color-primary); text-decoration: none; }
.help-search-no-results a:hover { text-decoration: underline; }
.help-categories { margin-bottom: 80px; }
.help-categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.help-category-card { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); text-align: center; transition: all 0.3s; text-decoration: none; color: inherit; display: block; }
.help-category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.help-category-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); border-radius: 15px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; color: white; }
.help-category-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.help-category-description { color: var(--text-secondary); line-height: 1.6; margin: 0; }
.help-section-title { font-size: 2rem; font-weight: 800; margin-bottom: 40px; text-align: center; color: var(--text-main); }
.help-popular { margin-bottom: 80px; }
.help-questions-list { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; }
.help-question-item { background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.help-question-title { font-size: 1.125rem; font-weight: 700; color: var(--text-main); margin: 0 0 12px 0; display: flex; align-items: center; gap: 12px; }
.help-question-title i { color: var(--color-primary); }
.help-question-answer { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.help-contact { margin-bottom: 80px; }
.help-contact-box { background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05)); border-radius: var(--radius-card); padding: 50px 40px; text-align: center; }
.help-contact-title { font-size: 2rem; font-weight: 800; margin-bottom: 16px; color: var(--text-main); }
.help-contact-text { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 32px; }
.help-contact-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.help-contact-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: var(--radius-btn); font-size: 1rem; font-weight: 700; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; text-decoration: none; transition: all 0.3s; }
.help-contact-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4); }
.help-contact-btn-secondary { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.help-contact-btn-secondary:hover { background: rgba(124, 58, 237, 0.05); }
@media (max-width: 768px) {
    .help-title { font-size: 2rem; }
    .help-categories-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ PAGE (faq.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.faq-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.faq-header { margin-bottom: 40px; text-align: center; }
.faq-title { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 0 0 16px 0; }
.faq-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin: 0; }
.faq-categories { margin-bottom: 40px; }
.faq-categories-list { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.faq-category-btn { padding: 10px 20px; border: 2px solid var(--border-color); border-radius: var(--radius-btn); font-size: 0.875rem; font-weight: 600; background: var(--bg-surface); color: var(--text-main); cursor: pointer; transition: all 0.3s; }
.faq-category-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.faq-category-btn.active { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; border-color: transparent; }
.faq-section { margin-bottom: 80px; }
.faq-accordion { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; margin-bottom: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.faq-question-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-question { font-size: 1.125rem; font-weight: 700; color: var(--text-main); margin: 0; display: flex; align-items: center; gap: 12px; }
.faq-question i { color: var(--color-primary); }
.faq-toggle { color: var(--color-primary); font-size: 1rem; transition: transform 0.3s; }
.faq-item.active .faq-toggle { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; margin-top: 16px; }
.faq-answer p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.faq-answer a { color: var(--color-primary); text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }
.faq-help { margin-bottom: 80px; }
.faq-help-box { background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05)); border-radius: var(--radius-card); padding: 50px 40px; text-align: center; }
.faq-help-title { font-size: 2rem; font-weight: 800; margin-bottom: 16px; color: var(--text-main); }
.faq-help-text { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 32px; }
.faq-help-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.faq-help-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: var(--radius-btn); font-size: 1rem; font-weight: 700; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; text-decoration: none; transition: all 0.3s; }
.faq-help-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4); }
.faq-help-btn-secondary { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.faq-help-btn-secondary:hover { background: rgba(124, 58, 237, 0.05); }
@media (max-width: 768px) {
    .faq-title { font-size: 2rem; }
    .faq-categories-list { flex-direction: column; }
    .faq-category-btn { width: 100%; }
}

/* ============================================
   RULES PAGE (rules.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.rules-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.rules-header { margin-bottom: 40px; text-align: center; }
.rules-title { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 0 0 16px 0; }
.rules-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin: 0; }
.rules-content { display: grid; grid-template-columns: 250px 1fr; gap: 40px; }
.rules-toc { background: var(--bg-surface); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); height: fit-content; position: sticky; top: 100px; }
.rules-toc-title { font-size: 1.125rem; font-weight: 700; color: var(--text-main); margin: 0 0 16px 0; }
.rules-toc-list { list-style: none; padding: 0; margin: 0; }
.rules-toc-list li { margin-bottom: 12px; }
.rules-toc-list a { color: var(--text-secondary); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.rules-toc-list a:hover { color: var(--color-primary); }
.rules-sections { }
.rules-section { background: var(--bg-surface); border-radius: var(--radius-card); padding: 40px; margin-bottom: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.rules-section-title { font-size: 1.75rem; font-weight: 800; color: var(--text-main); margin: 0 0 24px 0; display: flex; align-items: center; gap: 12px; }
.rules-section-title i { color: var(--color-primary); }
.rules-section-content { }
.rules-section-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-main); margin: 24px 0 12px 0; }
.rules-section-content h3:first-child { margin-top: 0; }
.rules-section-content ul { list-style: none; padding: 0; margin: 0 0 20px 0; }
.rules-section-content li { padding: 8px 0; padding-left: 24px; position: relative; color: var(--text-secondary); line-height: 1.6; }
.rules-section-content li:before { content: "•"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.rules-section-content p { color: var(--text-secondary); line-height: 1.6; margin: 0 0 16px 0; }
.rules-contact { margin-bottom: 80px; }
.rules-contact-box { background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(16, 185, 129, 0.05)); border-radius: var(--radius-card); padding: 50px 40px; text-align: center; }
.rules-contact-title { font-size: 2rem; font-weight: 800; margin-bottom: 16px; color: var(--text-main); }
.rules-contact-text { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 32px; }
.rules-contact-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: var(--radius-btn); font-size: 1rem; font-weight: 700; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; text-decoration: none; transition: all 0.3s; }
.rules-contact-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4); }
@media (max-width: 1024px) {
    .rules-content { grid-template-columns: 1fr; }
    .rules-toc { position: static; }
}
@media (max-width: 768px) {
    .rules-title { font-size: 2rem; }
    .rules-section { padding: 24px; }
}

/* ============================================
   TERMS PAGE (terms.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.terms-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.terms-header { margin-bottom: 40px; text-align: center; }
.terms-title { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 0 0 16px 0; }
.terms-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin: 0; }
.terms-content { max-width: 900px; margin: 0 auto; }
.terms-intro { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; margin-bottom: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.terms-intro p { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; margin: 0 0 16px 0; }
.terms-intro p:last-child { margin-bottom: 0; }
.terms-sections { }
.terms-section { background: var(--bg-surface); border-radius: var(--radius-card); padding: 40px; margin-bottom: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.terms-section h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-main); margin: 0 0 20px 0; }
.terms-section p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0 0 16px 0; }
.terms-section ul { list-style: none; padding: 0; margin: 0 0 20px 0; }
.terms-section li { padding: 8px 0; padding-left: 24px; position: relative; color: var(--text-secondary); line-height: 1.6; }
.terms-section li:before { content: "•"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.terms-contact { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; margin-top: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.terms-contact p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.8; margin: 0; }
.terms-contact strong { color: var(--text-main); }
@media (max-width: 768px) {
    .terms-title { font-size: 2rem; }
    .terms-section { padding: 24px; }
}

/* ============================================
   PRIVACY PAGE (privacy.php) - НОВЫЕ СТИЛИ 2025
   ============================================ */
.privacy-page { background: var(--bg-body); min-height: calc(100vh - var(--header-height) - 200px); padding: 40px 0; }
.privacy-header { margin-bottom: 40px; text-align: center; }
.privacy-title { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 0 0 16px 0; }
.privacy-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin: 0; }
.privacy-content { max-width: 900px; margin: 0 auto; }
.privacy-intro { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; margin-bottom: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.privacy-intro p { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; margin: 0 0 16px 0; }
.privacy-intro p:last-child { margin-bottom: 0; }
.privacy-sections { }
.privacy-section { background: var(--bg-surface); border-radius: var(--radius-card); padding: 40px; margin-bottom: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.privacy-section h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-main); margin: 0 0 20px 0; }
.privacy-section p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0 0 16px 0; }
.privacy-section ul { list-style: none; padding: 0; margin: 0 0 20px 0; }
.privacy-section li { padding: 8px 0; padding-left: 24px; position: relative; color: var(--text-secondary); line-height: 1.6; }
.privacy-section li:before { content: "•"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.privacy-section strong { color: var(--text-main); }
.privacy-contact { background: var(--bg-surface); border-radius: var(--radius-card); padding: 30px; margin-top: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.privacy-contact p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.8; margin: 0; }
.privacy-contact strong { color: var(--text-main); }
@media (max-width: 768px) {
    .privacy-title { font-size: 2rem; }
    .privacy-section { padding: 24px; }
}
@media (max-width: 480px) {
    .comp-stats { grid-template-columns: 1fr; }
}

/* ============================================
   СТИЛИ ДЛЯ СПОСОБОВ ОПЛАТЫ Т-БАНК
   ============================================ */

.tinkoff-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.tinkoff-payment-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-card);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tinkoff-payment-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tinkoff-payment-method:hover::before {
    opacity: 1;
}

.tinkoff-payment-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tinkoff-payment-method.selected {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px) scale(1.02);
}

.tinkoff-payment-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
}

.tinkoff-payment-info {
    flex: 1;
    color: inherit;
}

.tinkoff-payment-info h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: inherit;
}

.tinkoff-payment-info p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
    color: inherit;
}

.tinkoff-payment-check {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    font-size: 1rem;
}

.tinkoff-payment-method.selected .tinkoff-payment-check {
    opacity: 1;
    background: rgba(255, 255, 255, 0.5);
}

/* Специфичные цвета для T-Pay (желтый) */
.tinkoff-payment-method[data-tinkoff-method="T-Pay"] {
    color: #1a1a1a;
}

.tinkoff-payment-method[data-tinkoff-method="T-Pay"] .tinkoff-payment-icon {
    background: rgba(0, 0, 0, 0.1);
}

/* Специфичные цвета для SberPay (зеленый) */
.tinkoff-payment-method[data-tinkoff-method="SberPay"] {
    color: white;
}

.tinkoff-payment-method[data-tinkoff-method="SberPay"] .tinkoff-payment-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Специфичные цвета для MirPay (синий) */
.tinkoff-payment-method[data-tinkoff-method="MirPay"] {
    color: white;
}

.tinkoff-payment-method[data-tinkoff-method="MirPay"] .tinkoff-payment-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .tinkoff-payment-method {
        padding: 16px;
    }
    
    .tinkoff-payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .tinkoff-payment-info h5 {
        font-size: 1rem;
    }
    
    .tinkoff-payment-info p {
        font-size: 0.8125rem;
    }
}


/* ======================================== 
   ������ "�������� ���" 2025
   ======================================== */

/* Для ДЕФОЛТНОЙ темы - используем только primary (как обычные кнопки) */
:root .btn-show-more-2025,
body:not([data-theme]) .btn-show-more-2025 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
}

/* Для ПОЛЬЗОВАТЕЛЬСКИХ тем - используем градиент если есть secondary, иначе primary */
[data-theme]:not([data-theme=""]) .btn-show-more-2025 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary, var(--color-accent, var(--color-primary))));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-show-more-2025::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

/* Hover эффекты для дефолтной темы */
:root .btn-show-more-2025:hover,
body:not([data-theme]) .btn-show-more-2025:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}

/* Hover эффекты для пользовательских тем */
[data-theme]:not([data-theme=""]) .btn-show-more-2025:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(var(--color-primary-rgb), 0.4);
}

.btn-show-more-2025:hover::before {
    width: 300px;
    height: 300px;
}

.btn-show-more-2025:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.btn-show-more-2025 .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.btn-show-more-2025:hover .btn-icon {
    transform: translateY(3px);
    animation: bounce 0.6s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.btn-show-more-2025 .btn-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-show-more-2025 .btn-counter {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.spinner-2025 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

/* Спиннер для дефолтной темы */
:root .spinner-2025 i,
body:not([data-theme]) .spinner-2025 i {
    font-size: 32px;
    color: #7c3aed;
}

:root .spinner-2025 span,
body:not([data-theme]) .spinner-2025 span {
    font-size: 14px;
    color: #6b7280;
}

/* Спиннер для пользовательских тем */
[data-theme]:not([data-theme=""]) .spinner-2025 i {
    font-size: 32px;
    color: var(--color-primary);
}

[data-theme]:not([data-theme=""]) .spinner-2025 span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ������������ */
@media (max-width: 768px) {
    .btn-show-more-2025 {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .btn-show-more-2025 .btn-counter {
        font-size: 12px;
    }
}


/* ======================================== 
   FORUM CATEGORY ICON (� ���������� ��� ����) 
   ======================================== */

/* Для дефолтной темы - используем только primary */
:root .forum-category-icon,
body:not([data-theme]) .forum-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Для пользовательских тем - градиент с fallback */
[data-theme]:not([data-theme=""]) .forum-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary, var(--color-accent, var(--color-primary))));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.forum-category-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Dark theme enhancement */
[data-theme="dark"] .forum-category-icon {
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}
