/* === БАЗОВЫЕ ПЕРЕМЕННЫЕ (THEME) === */
:root {
    --bg-color: #0f1115;
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-main: #d4af37; /* Золотой цвет TFC */
    --accent-glow: rgba(212, 175, 55, 0.3);
    --text-secondary: #8892b0;
    --success-green: #00ff88;
    --danger-red: #ff3366;
}

/* === ГЛОБАЛЬНЫЕ СТИЛИ === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

a {
    color: var(--accent-main);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #fff;
}

/* === НАВИГАЦИЯ (NAVBAR) === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(15, 17, 21, 0.9);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-main);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-main);
}

/* === КНОПКА ГАМБУРГЕР (ДЛЯ ТЕЛЕФОНОВ) === */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* === МОБИЛЬНАЯ АДАПТАЦИЯ === */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(15, 17, 21, 0.98);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--accent-main);
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--accent-main);
    }

    table {
        font-size: 0.8rem;
    }
    th, td {
        padding: 10px !important;
    }
}

/* === КОМПОНЕНТЫ ИНТЕРФЕЙСА С ВОССТАНОВЛЕННЫМ HOVER (ПОДСВЕТКОЙ) === */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Эффект подсветки и подъема карточки при наведении */
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Эффект подсветки строк в таблицах */
tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* === КНОПКИ === */
.btn {
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-gold {
    background: var(--accent-main);
    color: #000;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
    background: #e6c240;
}

/* === ФОРМЫ === */
.form-control {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-main);
    background: rgba(0, 0, 0, 0.5);
}

select.form-control option {
    background-color: var(--bg-color);
    color: #fff;
}