@charset "UTF-8";
/* ==========================================================
   UI LOGIN — split-layout страница авторизации
   ========================================================== */

/* ----------------------------------------------------------
   Сброс AdminLTE body.login-page
   ---------------------------------------------------------- */

body.login-page {
    background:      #f1f5f9 !important;
    display:         block !important;
    height:          auto !important;
    min-height:      100vh;
    align-items:     unset !important;
    justify-content: unset !important;
    padding:         0;
    margin:          0;
}

/* ----------------------------------------------------------
   Обёртка — две колонки
   ---------------------------------------------------------- */

.login-split {
    display:    flex;
    min-height: 100vh;
}

/* ----------------------------------------------------------
   Левая панель — градиент + текст
   ---------------------------------------------------------- */

.login-panel-left {
    flex:            0 0 50%;
    background:      linear-gradient(145deg, #0d1b2e 0%, #1b3a6b 55%, #112950 100%);
    display:         flex;
    align-items:     center;
    justify-content: center;
    padding:         3.5rem 3rem;
    position:        relative;
    overflow:        hidden;
}

/* Декоративные круги */
.login-panel-left::before {
    content:       '';
    position:      absolute;
    width:         480px;
    height:        480px;
    border-radius: 50%;
    background:    rgba(59, 126, 237, 0.10);
    top:           -140px;
    right:         -140px;
    pointer-events: none;
}

.login-panel-left::after {
    content:       '';
    position:      absolute;
    width:         340px;
    height:        340px;
    border-radius: 50%;
    background:    rgba(59, 126, 237, 0.07);
    bottom:        -100px;
    left:          -80px;
    pointer-events: none;
}

.login-left-content {
    position:  relative;
    z-index:   1;
    max-width: 400px;
}

.login-eyebrow {
    font-size:      0.68rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color:          rgba(96, 165, 250, 0.85);
    margin-bottom:  0.75rem;
}

.login-left-content h1 {
    font-size:      2.4rem;
    font-weight:    800;
    color:          #ffffff;
    margin-bottom:  0.65rem;
    letter-spacing: -0.04em;
    line-height:    1.15;
}

.login-left-content .login-tagline {
    color:         rgba(255, 255, 255, 0.55);
    font-size:     0.95rem;
    line-height:   1.7;
    margin-bottom: 2.25rem;
}

.login-features {
    display:        flex;
    flex-direction: column;
    gap:            0.6rem;
}

.login-feature-item {
    display:     flex;
    align-items: center;
    gap:         0.75rem;
    color:       rgba(255, 255, 255, 0.68);
    font-size:   0.875rem;
    line-height: 1.4;
}

.login-feature-icon {
    width:           30px;
    height:          30px;
    background:      rgba(255, 255, 255, 0.08);
    border:          1px solid rgba(255, 255, 255, 0.10);
    border-radius:   8px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    flex-shrink:     0;
}

.login-feature-icon .fas {
    font-size: 0.78rem;
    color:     #93c5fd;
}

.login-left-footer {
    position:  absolute;
    bottom:    1.5rem;
    left:      3rem;
    right:     3rem;
    font-size: 0.72rem;
    color:     rgba(255, 255, 255, 0.28);
    z-index:   1;
}

.login-left-footer a {
    color:           rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition:      color 0.15s ease;
}

.login-left-footer a:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* ----------------------------------------------------------
   Правая панель — форма
   ---------------------------------------------------------- */

.login-panel-right {
    width:           50%;
    flex-shrink:     0;
    background:      #f1f5f9;
    display:         flex;
    align-items:     center;
    justify-content: center;
    padding:         3rem 2.5rem;
}

.login-form-wrap {
    width:     100%;
    max-width: 360px;
}

/* Заголовок формы */
.login-form-header {
    margin-bottom: 1.75rem;
}

.login-form-eyebrow {
    font-size:      0.65rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color:          #3b7eed;
    margin-bottom:  0.55rem;
}

.login-form-header h2 {
    font-size:      1.8rem;
    font-weight:    800;
    color:          #0f172a;
    margin-bottom:  0.4rem;
    letter-spacing: -0.035em;
    line-height:    1.15;
}

.login-form-header p {
    color:       #94a3b8;
    font-size:   0.875rem;
    margin:      0;
    line-height: 1.5;
}

/* Алерт */
.login-form-wrap .alert {
    border-radius: 10px;
    font-size:     0.85rem;
    margin-bottom: 1.25rem;
    border:        none;
    padding:       0.75rem 1rem;
}

.login-form-wrap .alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color:            #b91c1c;
}

/* Форм-группы */
.login-form-wrap .form-group {
    margin-bottom: 1.1rem;
}

.login-form-wrap .form-group label {
    font-size:     0.78rem;
    font-weight:   600;
    color:         #475569;
    margin-bottom: 0.35rem;
    display:       block;
}

/* Кнопка войти */
.login-form-wrap .btn-primary.btn-block {
    height:         42px;
    font-weight:    600;
    font-size:      0.9rem;
    letter-spacing: 0.01em;
    border-radius:  8px;
    background:     linear-gradient(135deg, #2563eb, #3b82f6);
    border:         none;
    box-shadow:     0 4px 16px rgba(37, 99, 235, 0.35);
    transition:     all 0.17s ease;
}

.login-form-wrap .btn-primary.btn-block:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.46);
}

.login-form-wrap .btn-primary.btn-block:active {
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
}

/* Чекбокс "Запомнить" */
.login-form-wrap .icheck-primary {
    display:     flex;
    align-items: center;
    gap:         0.45rem;
}

.login-form-wrap .icheck-primary input[type="checkbox"] {
    width:        15px;
    height:       15px;
    accent-color: #2563eb;
    cursor:       pointer;
    flex-shrink:  0;
    margin-top:   0;
}

.login-form-wrap .icheck-primary label {
    font-size:     0.82rem;
    color:         #64748b;
    margin-bottom: 0;
    cursor:        pointer;
}

/* Каптча */
.login-form-wrap .input-group img {
    border-radius: 0 8px 8px 0;
    border:        1px solid #d0d7e2;
    border-left:   none;
    cursor:        pointer;
    max-height:    40px;
}

/* ----------------------------------------------------------
   Мобильная версия (≤ 768px)
   ---------------------------------------------------------- */

@media (max-width: 768px) {
    .login-split {
        flex-direction: column;
    }

    /* Левая панель — компактная шапка */
    .login-panel-left {
        flex:            none;
        padding:         1.75rem 1.5rem 1.5rem;
        align-items:     flex-start;
        justify-content: flex-start;
    }

    .login-panel-left::before,
    .login-panel-left::after {
        display: none;
    }

    .login-left-content h1 {
        font-size:     1.45rem;
        margin-bottom: 0.3rem;
    }

    .login-left-content .login-tagline {
        font-size:     0.85rem;
        margin-bottom: 0;
    }

    .login-features,
    .login-left-footer {
        display: none;
    }

    /* Правая панель — полная ширина */
    .login-panel-right {
        width:      100%;
        flex:       1;
        padding:    2rem 1.5rem 2.5rem;
        background: #ffffff;
    }

    .login-form-wrap {
        max-width: 100%;
    }

    .login-form-header {
        margin-bottom: 1.25rem;
    }
}
