﻿/* Основные стили */
:root {
    --primary: #4a6bff;
    --primary-dark: #3a56d4;
    --text: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text);
    background: url('../images/authImages/auth-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

    /* Затемнение фона */
    body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgb(211 211 211 / 50%)
        z-index: 0;
    }

/* Контейнер формы */
.auth-container {
    display: flex;
    width: 900px;
    min-height: 150px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

/* Боковая панель с логотипом */
.auth-logo-side {
    flex: 1;
    background: url('../images/authImages/cropped.png') no-repeat center center;
    background-size: contain;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Форма авторизации */
.auth-form-side {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    margin-bottom: 40px;
    text-align: center;
}

.auth-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-light);
    font-size: 14px;
}

/* Элементы формы */
.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.1);
    }

.btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn:hover {
        background-color: var(--primary-dark);
    }

.footer-note {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-light);
}

.validation-summary {
    color: #e53e3e;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 992px) {
    .auth-container {
        width: 95%;
        flex-direction: column;
        min-height: auto;
    }

    .auth-logo-side {
        min-height: 200px;
        background-size: 50%;
    }

    .auth-form-side {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .auth-form-side {
        padding: 30px 20px;
    }

    .auth-title {
        font-size: 24px;
    }
}
