/* Страница входа. Отдельный экран, без сайдбара. */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg, #f5f5f7);
    box-sizing: border-box;
}

.login-card {
    width: 100%;
    max-width: 380px;
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border, #e5e5ea);
    border-radius: 16px;
    padding: 32px 28px 26px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.login-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent, #007AFF);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.5px;
}

.login-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary, #1d1d1f);
    text-align: center;
}

.login-subtitle {
    font-size: 13px;
    color: var(--text-secondary, #6e6e72);
    text-align: center;
    margin-top: -6px;
}

.login-form .form-group { margin-bottom: 14px; }

.login-pwd-wrap { position: relative; }

.login-pwd-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-secondary, #6e6e72);
    display: flex;
    align-items: center;
    border-radius: 6px;
}

.login-pwd-toggle:hover { background: rgba(0, 0, 0, 0.05); }

.login-form .form-control { padding-right: 38px; }

.login-submit {
    width: 100%;
    margin-top: 6px;
    height: 40px;
    font-size: 14px;
}

.login-error {
    display: none;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 9px;
    background: rgba(255, 59, 48, 0.10);
    color: #b3261e;
    font-size: 13px;
    line-height: 1.35;
}

.login-error.is-visible { display: block; }

.login-caps {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    color: #b26a00;
}

.login-caps.is-visible { display: block; }

.login-foot {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary, #6e6e72);
}
