/** СТРАНИЦА НЕАВТОРИЗОВАННОГО ПОЛЬЗОВАТЕЛЯ INDEX BODY **/
/* ========== ОБНУЛЕНИЕ И БАЗОВЫЕ СТИЛИ ========== */
.container-fluid.p-0 {
    padding: 0 !important;
}

/* ========== ОСНОВНЫЕ СТИЛИ ========== */
.auth-wrapper.fullscreen {
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
    display: flex;
}

/* ========== ЛЕВАЯ КОЛОНКА С БРЕНДОМ ========== */
.auth-brand {
    flex: 1;
  	background-image: url('/templates/nevercolor/img/regauthbg.jpg');
    background-size: cover;
    background-position: left;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}

/* Стили для навбара внутри левой колонки */
.fcs-navbar {
    position: absolute;
    top: 20px;
    left: 30px;
    right: 30px;
    background: rgb(30 30 30 / 70%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    transition: all 0.3s ease;
    z-index: 100;
    animation: slideDown 0.5s ease;
}

.fcs-navbar:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.fcs-navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Левая часть навбара */
.fcs-navbar-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Логотип */
.fcs-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fcs-logo:hover {
    transform: translateY(-2px);
}

.fcs-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: fcs-logo-float 3s ease-in-out infinite;
    border-radius: 10px;
}

.fcs-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* Навигационные ссылки */
.fcs-nav-links {
    display: flex;
    gap: 10px;
}

.fcs-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.fcs-nav-link i {
    font-size: 1.2rem;
}

.fcs-nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.fcs-nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Правая часть навбара */
.fcs-navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Дропдаун языка */
.fcs-language-dropdown {
    position: relative;
}

.fcs-language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.fcs-language-selector i {
    font-size: 1.2rem;
}

.fcs-language-selector:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.fcs-language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.fcs-language-dropdown:hover .fcs-language-menu,
.fcs-language-dropdown.active .fcs-language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fcs-language-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.fcs-language-item:hover {
    background: rgba(255, 71, 74, 0.1);
    color: var(--orange);
    transform: translateX(5px);
}

.fcs-flag-img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Переключатель темы */
.fcs-theme-switcher {
    position: relative;
}

.fcs-theme-button {
    width: 42px;
    height: 42px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcs-theme-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) rotate(15deg);
}

.fcs-theme-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 170px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.fcs-theme-switcher:hover .fcs-theme-menu,
.fcs-theme-switcher.active .fcs-theme-menu,
.fcs-theme-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fcs-theme-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.fcs-theme-item:hover {
    background: rgba(255, 71, 74, 0.1);
    color: var(--orange);
    transform: translateX(5px);
}

.fcs-theme-item iconify-icon {
    font-size: 1.2rem;
    color: var(--orange);
}

.fcs-theme-item.active {
    background: var(--orange);
    color: white;
}

.fcs-theme-item.active iconify-icon {
    color: white;
}

/* Кнопка авторизации */
.fcs-auth-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.fcs-auth-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.fcs-auth-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.fcs-auth-btn:hover i {
    transform: translateX(5px);
}

/* ========== МОБИЛЬНОЕ МЕНЮ ========== */
.fcs-mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.fcs-mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.fcs-hamburger-line {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Мобильная навигация - ИСПРАВЛЕНО */
.fcs-mobile-nav {
    display: block !important; /* Переопределяем display: none */
    position: fixed;
    top: 90px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 999;
    pointer-events: none; /* Запрещаем клики когда невидимо */
}

.fcs-mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto; /* Разрешаем клики когда видимо */
}

.fcs-mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.fcs-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fcs-mobile-nav-link i {
    font-size: 1.3rem;
    color: var(--orange);
}

.fcs-mobile-nav-link:hover,
.fcs-mobile-nav-link.active {
    background: var(--orange);
    color: white;
}

.fcs-mobile-nav-link:hover i,
.fcs-mobile-nav-link.active i {
    color: white;
}

/* Мобильные контролы */
.fcs-mobile-controls {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    padding: 18px;
}

.fcs-mobile-language,
.fcs-mobile-themes {
    margin-bottom: 20px;
}

.fcs-mobile-language-title,
.fcs-mobile-theme-title {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.fcs-mobile-language-items,
.fcs-mobile-theme-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fcs-mobile-language-item,
.fcs-mobile-theme-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: white;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex: 1 1 auto;
    justify-content: center;
}

.fcs-mobile-language-item:hover,
.fcs-mobile-theme-item:hover {
    background: var(--orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 71, 74, 0.2);
}

.fcs-mobile-language-item:hover .fcs-flag-img,
.fcs-mobile-theme-item:hover iconify-icon {
    filter: brightness(0) invert(1);
}

/* Контент бренда */
.brand-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 400px;
    margin-top: 60px;
}

.brand-logo {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.brand-logo img {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.brand-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.brand-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.feature-item i {
    font-size: 1.8rem;
    opacity: 0.9;
}

/* Декоративные элементы */
.brand-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatCircle 20s linear infinite;
}

.decoration-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.decoration-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.decoration-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    top: 50%;
    transform: rotate(30deg);
}

/* ========== ПРАВАЯ КОЛОНКА С ФОРМАМИ ========== */
.auth-panel {
    flex: 1;
    background: var(--bloki);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
}

/* Табы */
.auth-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--vtorostepennyy-cvet-bloka);
    padding-bottom: 20px;
}

.auth-tab {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--vtorostepennyy-tekst);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.auth-tab::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.auth-tab.active {
    color: var(--orange);
}

.auth-tab.active::after {
    transform: scaleX(1);
}

/* Формы */
.auth-form {
    display: none;
    animation: fadeIn 0.5s ease;
}

.auth-form.active {
    display: block;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--glavnyy-tekst);
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--vtorostepennyy-tekst);
    margin-bottom: 30px;
}

/* Группы полей */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--glavnyy-tekst);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-label i {
    color: var(--orange);
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 15px;
    border: 2px solid var(--vtorostepennyy-cvet-bloka);
    background: var(--cvet-vnutri-bloka);
    color: var(--glavnyy-tekst);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 5px rgba(255, 71, 74, 0.1);
}

.form-input::placeholder {
    color: var(--vtorostepennyy-tekst);
    opacity: 0.5;
}

/* Поле с паролем */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--vtorostepennyy-tekst);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--orange);
}

/* Строка с двумя полями */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Чекбокс */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--vtorostepennyy-tekst);
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--orange);
    border-radius: 5px;
}

.link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
}

.link:hover {
    text-decoration: underline;
}

/* Опции формы */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.forgot-link {
    color: var(--vtorostepennyy-tekst);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--orange);
}

/* Кнопка отправки */
.auth-submit-btn {
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    border: none;
    background: var(--akcenti);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.auth-submit-btn::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;
}

.auth-submit-btn:hover::before {
    left: 100%;
}

.auth-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 71, 74, 0.3);
}

/* Разделитель */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--vtorostepennyy-cvet-bloka);
}

.auth-divider span {
    position: relative;
    background: var(--bloki);
    padding: 0 20px;
    color: var(--vtorostepennyy-tekst);
    font-size: 0.9rem;
}

/* Социальные кнопки */
.social-auth {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    border: 2px solid var(--vtorostepennyy-cvet-bloka);
    background: var(--cvet-vnutri-bloka);
    color: var(--glavnyy-tekst);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
}

.social-vk:hover {
    background: #4c75a3;
    color: white;
    border-color: #4c75a3;
}

.social-google:hover {
    background: #ea4335;
    color: white;
    border-color: #ea4335;
}

.social-discord:hover {
    background: #5865f2;
    color: white;
    border-color: #5865f2;
}

/* Индикатор сложности пароля */
.password-strength {
    margin: -10px 0 20px 0;
}

.strength-bars {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.strength-bar {
    height: 4px;
    flex: 1;
    background: var(--vtorostepennyy-cvet-bloka);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-bar.weak {
    background: #ff474a;
}

.strength-bar.medium {
    background: #ffc01b;
}

.strength-bar.strong {
    background: #2fc65d;
}

.strength-text {
    font-size: 0.85rem;
    color: var(--vtorostepennyy-tekst);
}

/* ========== АНИМАЦИИ ========== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fcs-logo-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, 30px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 20px) rotate(240deg);
    }
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1024px) {
    .auth-wrapper.fullscreen {
        flex-direction: column;
    }

    .auth-brand {
        min-height: 400px;
    }

    .fcs-navbar {
        left: 20px;
        right: 20px;
    }

    .fcs-nav-link span {
        display: none;
    }

    .fcs-nav-link {
        padding: 8px 14px;
    }

    .fcs-nav-link i {
        font-size: 1.3rem;
    }

    .fcs-logo-text {
        display: none;
    }

    .auth-panel {
        max-width: 100%;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .fcs-navbar {
        top: 15px;
        left: 15px;
        right: 15px;
        padding: 5px 0;
    }

    .fcs-navbar-container {
        padding: 0 12px;
    }

    .fcs-nav-links,
    .fcs-language-dropdown,
    .fcs-theme-switcher,
    .fcs-auth-btn {
        display: none;
    }

    .fcs-mobile-menu-toggle {
        display: flex;
    }

    .fcs-mobile-nav {
        top: 80px;
        left: 15px;
        right: 15px;
    }

    .fcs-navbar-left {
        gap: 10px;
    }

    .fcs-logo-img {
        width: 35px;
        height: 35px;
    }

    .brand-features {
        flex-direction: column;
        gap: 15px;
    }

    .auth-panel {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .fcs-navbar {
        border-radius: 20px;
    }

    .fcs-mobile-nav {
        padding: 15px;
    }

    .fcs-mobile-language-items,
    .fcs-mobile-theme-items {
        gap: 8px;
    }

    .fcs-mobile-language-item,
    .fcs-mobile-theme-item {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .fcs-mobile-nav-link {
        padding: 10px 15px;
    }

    .brand-title {
        font-size: 2rem;
    }

    .auth-tabs {
        gap: 10px;
    }

    .auth-tab {
        font-size: 1rem;
    }

    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
  }