/*
 * AKBT — страница входа (29.10.2026). Подключается последним в layouts/auth.blade.php,
 * переопределяет тему Ekka; разметку не меняет.
 */
:root { --ak-primary: #4a5fd8; --ak-ink: #18213a; --ak-text: #4b5468; --ak-muted: #8a92a6; --ak-line: #e7eaf2; --ak-soft: #eef2ff;
        --ak-grad: linear-gradient(135deg, #7193f3 0%, #4a5fd8 55%, #3a4bc0 100%); }

body { min-height: 100vh; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ak-text);
       background: radial-gradient(900px 500px at 85% -10%, rgba(165, 184, 255, .55), transparent 60%),
                   radial-gradient(700px 420px at -10% 110%, rgba(245, 165, 36, .2), transparent 60%),
                   linear-gradient(140deg, #22337f 0%, #3446b8 45%, #4a5fd8 100%) fixed; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .45;
               background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 22px 22px; }
body > * { position: relative; }

.form-height-login .row { width: 100%; max-width: 480px; margin: 0 auto; }
.card { border: 0 !important; border-radius: 26px !important; overflow: hidden; background: #fff;
        box-shadow: 0 40px 80px -30px rgba(8, 14, 50, .7) !important; }
.card .card-header.bg-primary { background: #fff !important; border: 0; padding: 34px 32px 6px !important; display: flex; justify-content: center; }
.card .card-header .ec-brand, .card .card-header .ec-brand a { background: transparent !important; box-shadow: none !important; border: 0 !important; }
.card .card-header img { max-height: 58px; width: auto; }
.card .card-body { padding: 18px 36px 36px !important; }
.card .card-body h4 { text-align: center; font-size: 22px; font-weight: 700; color: var(--ak-ink) !important; margin-bottom: 22px !important; }

.nav-tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 22px; border: 0 !important; border-radius: 15px; background: #f3f5fb; }
.nav-tabs .nav-item { flex: 1; margin: 0 !important; }
.nav-tabs .nav-link { width: 100%; height: 42px; display: flex !important; align-items: center; justify-content: center; gap: 6px;
                      border: 0 !important; border-radius: 12px !important; color: #6b7385 !important; font-weight: 600; background: transparent !important; }
.nav-tabs .nav-link.active { background: #fff !important; color: var(--ak-ink) !important; box-shadow: 0 6px 14px -8px rgba(24, 33, 58, .45); }
.tab-content { border: 0 !important; }

/* Логотип Renessans + подпись */
.card .card-header .ak-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none !important;
                               height: auto !important; line-height: normal !important; overflow: visible !important; }  /* в Ekka: 62px + overflow:hidden */
.card .card-header .ak-brand__logo { width: 84px; height: 84px; max-width: none !important; max-height: none; border-radius: 50%;
                                     box-shadow: 0 16px 30px -14px rgba(8, 49, 83, .8), 0 0 0 4px #fff, 0 0 0 5px #e7eaf2; }
.ak-brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.ak-brand__text b { font-size: 22px; font-weight: 800; color: #083153; letter-spacing: -.01em; }
.ak-brand__text small { margin-top: 4px; font-size: 11px; font-weight: 600; color: #8c130c; letter-spacing: .18em; text-transform: uppercase; }

label, .col-form-label { padding-left: 2px !important; margin-bottom: 6px !important; font-size: 13px !important; font-weight: 600 !important;
                         color: #687088 !important; text-transform: none !important; }
.form-control { height: 50px !important; padding: 0 16px !important; border: 1.5px solid var(--ak-line) !important; border-radius: 14px !important;
                background: #fafbfe !important; font-size: 15px !important; color: var(--ak-ink) !important; box-shadow: none !important;
                transition: border-color .15s, box-shadow .15s, background .15s; }
.form-control:focus { border-color: var(--ak-primary) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(74, 95, 216, .14) !important; }
.form-control::placeholder { color: #b3b9c8 !important; }
.form-group { margin-bottom: 16px !important; }
.control.control-checkbox, .form-check-label { color: var(--ak-text) !important; font-size: 14px !important; text-transform: none !important; }

.btn-primary { height: 52px; border: 0 !important; border-radius: 15px !important; font-size: 16px !important; font-weight: 600 !important;
               background: var(--ak-grad) !important; box-shadow: 0 16px 28px -14px rgba(74, 95, 216, .95) !important; transition: filter .15s, transform .12s; }
.btn-primary:hover { filter: brightness(1.07); }
.btn-primary:active { transform: scale(.99); }
.alert { border-radius: 14px; border: 0; }

@media (max-width: 575.98px) {
    .card { border-radius: 22px !important; }
    .card .card-header.bg-primary { padding: 28px 22px 4px !important; }
    .card .card-body { padding: 14px 22px 26px !important; }
}
