/* Demo admin sign-in / password recovery — mirrors "Demo — Admin sign-in" mockup */
:root {
    --aa-accent: #E9552A;
    --aa-accent-dark: #C8431B;
    --aa-accent-text: #D24A1F;
    --aa-accent-soft: #FDEDE7;
    --aa-ink: #2F3A4A;
    --aa-muted: #5B6573;
    --aa-placeholder: #8A93A0;
    --aa-line: #E3E6EB;
    --aa-line-soft: #EEF0F3;
    --aa-ok-bg: #E6F4EA;
    --aa-ok: #1E7B3A;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Noto Sans Georgian', 'Noto Sans', sans-serif; background: #ffffff; color: var(--aa-ink); }
button { font-family: inherit; cursor: pointer; }
input::placeholder { color: var(--aa-placeholder); }
input:focus { outline: 2px solid var(--aa-accent); outline-offset: -1px; border-color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.aa { min-height: 100vh; display: flex; flex-direction: column; }

.aa-header { min-height: 72px; flex-shrink: 0; padding: 0 160px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--aa-line-soft); }
.aa-brand-wrap { display: flex; align-items: center; gap: 14px; }
.aa-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.aa-brand__logo { max-height: 40px; max-width: 180px; object-fit: contain; }
.aa-brand__name { font-family: 'Noto Sans', sans-serif; font-size: 27px; font-weight: 800; font-style: italic; letter-spacing: -0.8px; color: var(--aa-ink); }
.aa-tag { padding: 4px 10px; border-radius: 8px; background: var(--aa-ink); color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: 0.6px; }
.aa-header__actions { display: flex; align-items: center; gap: 14px; }
.aa-langs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--aa-line); border-radius: 12px; background: #ffffff; }
.aa-lang { height: 36px; min-width: 52px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--aa-muted); font-size: 13px; font-weight: 600; letter-spacing: 0.4px; }
.aa-lang[aria-pressed="true"] { background: var(--aa-accent-soft); color: var(--aa-accent-text); font-weight: 700; }
.aa-to-site { height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 8px; border-radius: 12px; color: var(--aa-ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.aa-to-site:hover { color: var(--aa-accent-text); }

.aa-main { flex-grow: 1; padding: 96px 160px 48px; display: flex; align-items: flex-start; }
.aa-panel { width: 560px; max-width: 100%; flex-shrink: 0; padding-right: 76px; min-height: 460px; display: flex; flex-direction: column; }
.aa-divider { width: 1px; align-self: stretch; max-height: 460px; background: var(--aa-line-soft); flex-shrink: 0; }

.aa-step { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.aa-step__head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 10px; }
.aa-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--aa-accent-soft); color: var(--aa-accent-text); display: flex; align-items: center; justify-content: center; }
.aa-icon--ok { width: 64px; height: 64px; border-radius: 999px; background: var(--aa-ok-bg); color: var(--aa-ok); }
.aa-title { margin: 0; font-size: 24px; font-weight: 700; color: var(--aa-ink); text-align: center; }
.aa-sub { margin: 0; max-width: 400px; font-size: 15px; line-height: 1.5; color: var(--aa-muted); text-align: center; }

.aa-field { display: block; }
.aa-field input { width: 100%; height: 52px; padding: 0 18px; border: 1px solid var(--aa-line); border-radius: 12px; font-family: inherit; font-size: 15px; color: var(--aa-ink); background: #ffffff; }
.aa-pw { position: relative; }
.aa-pw .aa-field input { padding-right: 58px; }
.aa-pw__toggle { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--aa-ink); display: flex; align-items: center; justify-content: center; }
.aa-pw__toggle[aria-pressed="true"] { color: var(--aa-accent); }

.aa-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--aa-accent-soft); color: var(--aa-accent-dark); font-size: 14px; }
.aa-error ul { margin: 0; padding-left: 18px; }
.aa-error.validation-summary-valid { display: none; }

.aa-btn-primary { height: 52px; margin-top: 4px; border: 0; border-radius: 12px; background: var(--aa-accent); color: #ffffff; font-size: 15px; font-weight: 700; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.aa-btn-primary:hover { background: var(--aa-accent-dark); color: #ffffff; }
.aa-btn-primary:disabled { opacity: .6; cursor: progress; }
.aa-btn-secondary { height: 48px; border: 1px solid var(--aa-line); border-radius: 12px; background: #ffffff; color: var(--aa-ink); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.aa-btn-link { height: 48px; border: 0; background: transparent; color: var(--aa-ink); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.aa-step--center { align-items: center; padding-top: 24px; }
.aa-step--center .aa-btn-primary { width: 100%; margin-top: 10px; }

.aa-visual { flex-grow: 1; height: 460px; position: relative; }
.aa-dots { position: absolute; background-size: 14px 14px; }
.aa-dots--a { left: 244px; top: 44px; width: 110px; height: 90px; background-image: radial-gradient(#A8D9B4 2px, transparent 2.1px); }
.aa-dots--b { left: 64px; top: 330px; width: 130px; height: 120px; background-image: radial-gradient(#A8D9B4 2px, transparent 2.1px); }
.aa-dots--c { left: 460px; top: 250px; width: 140px; height: 100px; background-image: radial-gradient(#B3C7F2 2px, transparent 2.1px); }
.aa-photo { position: absolute; object-fit: cover; border-radius: 12px; }
.aa-photo--a { left: 110px; top: 84px; width: 236px; height: 340px; }
.aa-photo--b { left: 362px; top: 0; width: 212px; height: 318px; }

@media (max-width: 1280px) {
    .aa-header, .aa-main { padding-left: 48px; padding-right: 48px; }
}

@media (max-width: 1040px) {
    .aa-visual, .aa-divider { display: none; }
    .aa-main { justify-content: center; padding-top: 56px; }
    .aa-panel { padding-right: 0; min-height: 0; }
}

@media (max-width: 640px) {
    .aa-header, .aa-main { padding-left: 16px; padding-right: 16px; }
    .aa-header { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .aa-brand__name { font-size: 22px; }
    .aa-to-site span { display: none; }
    .aa-main { padding-top: 32px; }
}
