/* ============================================================
   AMBIENT UI — Gemini Neural Expressive üslubu
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap&subset=latin,latin-ext');

:root {
    --bg:            #14100a;
    --surface:       rgba(255,255,255,0.04);
    --surface-2:     rgba(255,255,255,0.07);
    --border:        rgba(255,255,255,0.10);
    --border-bright: rgba(240,200,90,0.30);
    --text:          #faf6ec;
    --text-dim:      #d8c9a6;
    --text-faint:    #9c8c68;

    /* Sarı-qızılı tonlu gradient nüvə rəngləri */
    --g-blue:   #b8860b;   /* dərin qızılı (dark goldenrod) */
    --g-violet: #e0a521;   /* parlaq qızılı-amber */
    --g-magenta:#f4cd5e;   /* açıq sarı-qızıl */
    --g-cyan:   #d4af37;   /* metalik qızıl */

    --radius:   24px;
    --radius-sm:16px;
    --radius-pill: 999px;
    --font-display: 'Poppins', 'Segoe UI', 'Roboto', sans-serif;
    --font-body:    'Poppins', 'Segoe UI', 'Roboto', sans-serif;
    --shadow: 0 20px 60px -20px rgba(0,0,0,0.7);
}

* { margin:0; padding:0; box-sizing:border-box; }

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---------- AMBIENT FON (yüngül, statik) ---------- */
.aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    /* Animasiyasız, blursuz statik gradient — performans üçün */
    background:
        radial-gradient(60vw 60vw at 12% 110%, rgba(184,134,11,0.30), transparent 60%),
        radial-gradient(55vw 55vw at 88% 115%, rgba(244,205,94,0.20), transparent 60%),
        radial-gradient(45vw 45vw at 50% 120%, rgba(224,165,33,0.18), transparent 60%);
}
.aurora-extra { display: none; }
.aurora-noise { display: none; }

/* ---------- LAYOUT ---------- */
.wrap {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}
.card {
    width: 100%;
    max-width: 560px;
    background: rgba(12, 30, 22, 0.72);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow);
    animation: rise 0.5s ease both;
}
@keyframes rise { from{opacity:0; transform:translateY(16px)} to{opacity:1; transform:translateY(0)} }

/* ---------- BAŞLIQ ---------- */

.greeting {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(26px, 6vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.greeting b {
    font-weight: 600;
    background: linear-gradient(110deg, var(--g-blue), var(--g-violet) 40%, var(--g-magenta) 75%, var(--g-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 32px;
    font-weight: 400;
}

/* ---------- STEPPER (mərhələ göstəricisi) ---------- */
.steps {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}
.step-dot {
    height: 4px; width: 40px;
    border-radius: 4px;
    background: var(--border);
    transition: .4s;
}
.step-dot.active {
    background: linear-gradient(90deg, var(--g-blue), var(--g-violet));
    width: 56px;
}
.step-dot.done { background: var(--g-cyan); }

/* ---------- FORM ---------- */
.field { margin-bottom: 18px; animation: fade .5s both; }
.field label {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: .01em;
}
.field label .req { color: #ffd166; }

input, select {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    transition: .25s;
    outline: none;
}
input::placeholder { color: var(--text-faint); }
input:focus, select:focus {
    border-color: var(--g-violet);
    background: rgba(155,108,255,0.08);
    box-shadow: 0 0 0 4px rgba(155,108,255,0.12);
}
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23a3bdb0' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}
select option { background: #08231a; color: var(--text); }

.row { display: flex; gap: 14px; }
.row .field { flex: 1; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: none;
    border-radius: var(--radius-pill);
    padding: 16px 24px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(110deg, var(--g-blue), var(--g-violet) 50%, var(--g-magenta));
    background-size: 200% auto;
    color: #fff;
    box-shadow: 0 8px 30px -8px rgba(155,108,255,0.6);
}
.btn-primary:hover { background-position: right center; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-bright); background: var(--surface); }
.btn-row { display: flex; gap: 12px; margin-top: 26px; }
.btn-row .btn { flex: 1; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- TOGGLE (qonaq var/yox) ---------- */
.toggle-group { display: flex; gap: 12px; margin: 8px 0 4px; }
.toggle-opt {
    flex: 1;
    text-align: center;
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-2);
    cursor: pointer;
    transition: .25s;
    font-weight: 600;
    font-size: 15px;
}
.toggle-opt:hover { border-color: var(--border-bright); }
.toggle-opt.selected {
    border-color: var(--g-violet);
    background: linear-gradient(135deg, rgba(184,134,11,0.30), rgba(224,165,33,0.22));
    box-shadow: 0 0 0 3px rgba(224,165,33,0.25) inset, 0 6px 20px -8px rgba(224,165,33,0.4);
    color: #c8f5d4;
}
.toggle-opt .emoji { font-size: 26px; display:block; margin-bottom: 6px; }

/* ---------- QONAQ KARTLARI ---------- */
.guest-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-bottom: 14px;
    position: relative;
    animation: fade .4s both;
}
.guest-card .ghead {
    display:flex; justify-content:space-between; align-items:center;
    margin-bottom: 14px;
}
.guest-card .gnum {
    font-size: 13px; font-weight: 700; color: var(--g-violet);
    letter-spacing: .05em; text-transform: uppercase;
}
.guest-remove {
    background: rgba(255,107,107,0.12);
    border: none; color: #ff8a8a;
    width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; font-size: 18px; line-height: 1;
    transition: .2s;
}
.guest-remove:hover { background: rgba(255,107,107,0.25); }
.add-guest {
    width:100%; padding:14px; border-radius:var(--radius-sm);
    border: 1px dashed var(--border-bright);
    background: transparent; color: var(--text-dim);
    cursor:pointer; font-family:var(--font-body); font-size:15px; font-weight:500;
    transition:.2s; margin-bottom: 8px;
}
.add-guest:hover { border-color: var(--g-violet); color: var(--text); background: var(--surface-2); }

@keyframes fade { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:translateY(0)} }

/* ---------- UĞUR / QR EKRANI ---------- */
.success { text-align: center; animation: rise .6s both; }
.success .check {
    width: 84px; height: 84px; margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--g-cyan), var(--g-blue));
    display:flex; align-items:center; justify-content:center;
    box-shadow: 0 0 40px -5px rgba(63,217,212,0.6);
    animation: pop .5s .2s both cubic-bezier(.2,1.5,.4,1);
}
@keyframes pop { from{transform:scale(0)} to{transform:scale(1)} }
.success .check svg { width: 42px; height: 42px; stroke:#fff; }
.qr-box {
    background:#fff; padding:20px; border-radius:var(--radius-sm);
    display:inline-block; margin: 22px auto;
    box-shadow: 0 0 50px -10px rgba(77,141,255,0.5);
}
.qr-box img, .qr-box canvas { display:block; }
.qr-meta { color: var(--text-dim); font-size:14px; margin-top: 6px; }
.qr-name {
    font-family: var(--font-display); font-size: 22px; font-weight:600;
    margin-bottom: 4px;
}

/* ---------- ERROR mesaj ---------- */
.alert {
    background: rgba(255,138,76,0.10);
    border: 1px solid rgba(255,138,76,0.32);
    color: #ffc59b;
    padding: 12px 16px; border-radius: var(--radius-sm);
    font-size: 14px; margin-bottom: 18px;
    display:none;
}
.alert.show { display:block; animation: fade .3s; }

.hidden { display: none !important; }

/* ---------- responsiv ---------- */
@media (max-width: 480px) {
    .card { padding: 30px 22px; }
    .row { flex-direction: column; gap: 0; }
}

/* incə yuxarı brend — LOGO */
.brand {
    position: fixed; top: 18px; left: 24px; z-index: 5;
    display:flex; align-items:center; gap:8px;
}
.brand img { height: 38px; width: auto; display:block; }

/* Kart içi əsas logo */
.card-logo {
    display: block;
    height: 64px;
    width: auto;
    max-width: 78%;
    margin: 0 auto 22px;
    object-fit: contain;
}

/* ---------- FOOTER (copyright) ---------- */
.site-footer {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 34px 20px 40px;
    text-align: center;
}
.site-footer img {
    height: 30px;
    width: auto;
    opacity: 0.85;
    object-fit: contain;
}
.site-footer .copy-text {
    color: var(--text-faint);
    font-size: 12.5px;
    letter-spacing: .02em;
}
@media (max-width: 480px) {
    .brand img { height: 32px; }
    .card-logo { height: 54px; }
}

/* ---------- PERFORMANS: ZƏİF CİHAZ / HƏRƏKƏT AZALTMA ---------- */
/* İstifadəçi sistemində "hərəkəti azalt" seçilibsə, bütün davamlı
   animasiyaları söndürürük — bu, donmanı və batareya yükünü aradan qaldırır. */
@media (prefers-reduced-motion: reduce) {
    .aurora::before,
    .aurora::after,
    .aurora-extra,
    .spark {
        animation: none !important;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Telefonda kartı bir az daha qatı edirik (oxunaqlılıq üçün) */
@media (max-width: 600px) {
    .card { background: rgba(10, 26, 19, 0.9); }
}

/* ---------- SON QEYDİYYAT TARİXİ QUTUSU ---------- */
.deadline-box {
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg, rgba(184,134,11,0.14), rgba(224,165,33,0.08));
    border: 1px solid rgba(224,165,33,0.30);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 24px;
}
.deadline-box .dl-icon { font-size: 26px; line-height: 1; }
.deadline-box .dl-label {
    font-size: 11.5px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 600;
}
.deadline-box .dl-date {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700;
    color: #f4cd5e; margin-top: 2px;
}

/* ---------- GÖZLƏMƏ QUTUSU (qeydiyyatdan sonra) ---------- */
.pending-box {
    display: flex; align-items: flex-start; gap: 14px;
    background: linear-gradient(135deg, rgba(242,193,78,0.12), rgba(239,142,74,0.07));
    border: 1px solid rgba(242,193,78,0.30);
    border-radius: var(--radius-sm);
    padding: 18px; margin: 18px 0;
    text-align: left;
}
.pending-box .pending-icon { font-size: 26px; line-height: 1.2; flex-shrink: 0; }
.pending-box p {
    font-size: 14.5px; color: var(--text-dim);
    line-height: 1.6; margin: 0;
}
.pending-box b { color: #f2c14e; font-weight: 600; }

/* ---------- OTURMA YERİ GÖSTƏRİCİSİ (bilet səhifəsi) ---------- */
.seat-display {
    display: inline-flex; flex-direction: column; align-items: center;
    gap: 4px; margin: 16px auto 0;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(184,134,11,0.16), rgba(224,165,33,0.10));
    border: 1px solid rgba(224,165,33,0.35);
    border-radius: var(--radius-sm);
}
.seat-display .seat-label {
    font-size: 11px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.seat-display .seat-value {
    font-family: var(--font-display);
    font-size: 32px; font-weight: 800; color: #f4cd5e;
    letter-spacing: 0.04em;
}

/* ---------- FİN İNFO İŞARƏSİ + POPUP ---------- */
.info-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; margin-left: 6px;
    border-radius: 50%; cursor: pointer;
    background: rgba(224,165,33,0.18);
    color: #f4cd5e; font-size: 12px; font-weight: 700;
    vertical-align: middle; transition: .15s;
    user-select: none;
}
.info-icon:hover { background: rgba(224,165,33,0.35); transform: scale(1.1); }

.fin-modal {
    display: none;
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(5,12,9,0.78);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
    padding: 20px;
}
.fin-modal.show { display: flex; animation: finFade .2s ease; }
@keyframes finFade { from{opacity:0} to{opacity:1} }
.fin-modal-box {
    position: relative;
    background: var(--surface-2, #14241b);
    border: 1px solid var(--border, rgba(255,255,255,0.12));
    border-radius: 18px;
    padding: 26px;
    max-width: 480px; width: 100%;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    animation: finRise .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes finRise { from{transform:translateY(20px);opacity:0} to{transform:translateY(0);opacity:1} }
.fin-modal-box h3 {
    font-family: var(--font-display, sans-serif);
    font-size: 20px; color: var(--text, #fff); margin-bottom: 10px;
}
.fin-modal-box p {
    font-size: 14px; color: var(--text-dim, #b9d4c4);
    line-height: 1.55; margin-bottom: 18px;
}
.fin-modal-img {
    width: 100%; height: auto; border-radius: 12px;
    display: block; border: 1px solid var(--border, rgba(255,255,255,0.1));
}
.fin-modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px; border-radius: 50%;
    border: none; cursor: pointer;
    background: rgba(255,255,255,0.08); color: var(--text-dim, #b9d4c4);
    font-size: 15px; transition: .15s;
}
.fin-modal-close:hover { background: rgba(255,255,255,0.16); color: #fff; }

/* ---------- POWERED BY eTICK ---------- */
.powered-by {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 10px; text-decoration: none;
    opacity: 0.7; transition: opacity .2s;
}
.powered-by:hover { opacity: 1; }
.powered-by span {
    font-size: 11px; color: var(--text-faint);
    letter-spacing: 0.04em;
}
.powered-by img { height: 20px; width: auto; display: block; }

/* ============================================================
   Ai Khan — Chatbot Widget
   ============================================================ */
.aikhan-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 900;
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--g-blue), var(--g-violet));
    color: #fff; border: none; cursor: pointer;
    padding: 14px 20px 14px 16px; border-radius: 999px;
    font-family: inherit; font-size: 15px; font-weight: 600;
    box-shadow: 0 10px 30px -6px rgba(0,0,0,0.5);
    transition: transform .2s, box-shadow .2s;
}
.aikhan-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -6px rgba(0,0,0,0.6); }
.aikhan-fab.hidden { display: none; }
.aikhan-fab .ak-ava {
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center;
    font-size: 17px;
}

.aikhan-panel {
    position: fixed; right: 22px; bottom: 22px; z-index: 950;
    width: 370px; max-width: calc(100vw - 32px);
    height: 560px; max-height: calc(100vh - 44px);
    background: #0a1f15;
    border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden;
    display: none; flex-direction: column;
    box-shadow: 0 30px 80px -10px rgba(0,0,0,0.7);
}
.aikhan-panel.open { display: flex; animation: akRise .25s cubic-bezier(.2,.8,.2,1); }
@keyframes akRise { from{opacity:0; transform:translateY(20px)} to{opacity:1; transform:translateY(0)} }

.aikhan-head {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--g-blue), var(--g-violet));
    color: #fff;
}
.aikhan-head .ak-ava {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.aikhan-head .ak-title { font-weight: 700; font-size: 16px; }
.aikhan-head .ak-status { font-size: 12px; opacity: 0.85; }
.aikhan-head .ak-close {
    margin-left: auto; background: rgba(255,255,255,0.15); border: none; color: #fff;
    width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px;
}
.aikhan-head .ak-close:hover { background: rgba(255,255,255,0.28); }

.aikhan-body { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

/* Təqdimat forması */
.aikhan-id-form { padding: 20px; overflow-y: auto; }
.aikhan-id-form h4 { color: var(--text); font-size: 15px; margin-bottom: 4px; }
.aikhan-id-form p { color: var(--text-dim); font-size: 13px; margin-bottom: 16px; }
.aikhan-id-form .field { margin-bottom: 12px; }
.aikhan-id-form label { display:block; font-size:12.5px; color:var(--text-dim); margin-bottom:5px; }
.aikhan-id-form input {
    width: 100%; padding: 11px 13px; border-radius: 10px;
    background: var(--surface); border: 1px solid var(--border); color: var(--text);
    font-family: inherit; font-size: 14px;
}
.aikhan-id-form input:focus { outline: none; border-color: var(--g-violet); }
.aikhan-tip-row { display: flex; gap: 8px; }
.aikhan-tip {
    flex: 1; padding: 10px; border-radius: 10px; cursor: pointer;
    background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
    font-family: inherit; font-size: 13.5px; font-weight: 600; text-align: center;
}
.aikhan-tip.sel { border-color: var(--g-violet); background: rgba(33,150,243,0.12); color: var(--text); }
.ak-form-err { color: #ff9a9a; font-size: 12.5px; min-height: 16px; margin: 4px 0; }
.aikhan-id-form .ak-start {
    width: 100%; margin-top: 8px; padding: 13px; border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--g-blue), var(--g-violet)); color: #fff;
    border-radius: 10px; font-family: inherit; font-size: 15px; font-weight: 600;
}

/* Söhbət sahəsi */
.aikhan-chat-area { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.aikhan-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.akm { max-width: 85%; }
.akm-user { align-self: flex-end; }
.akm-bot { align-self: flex-start; }
.akm-meta { font-size: 10.5px; color: var(--text-faint); margin-bottom: 3px; padding: 0 4px; }
.akm-bubble {
    padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5;
    color: var(--text); word-wrap: break-word;
}
.akm-bot .akm-bubble { background: var(--surface-2); border-bottom-left-radius: 4px; }
.akm-user .akm-bubble {
    background: linear-gradient(135deg, var(--g-blue), var(--g-violet)); color: #fff;
    border-bottom-right-radius: 4px;
}
.akm-typing .akm-bubble { opacity: 0.6; font-style: italic; }

.aikhan-input-row {
    display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border);
    background: #08190f;
}
.aikhan-input-row textarea {
    flex: 1; resize: none; padding: 11px 13px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--border); color: var(--text);
    font-family: inherit; font-size: 14px; line-height: 1.4; max-height: 100px;
}
.aikhan-input-row textarea:focus { outline: none; border-color: var(--g-violet); }
.aikhan-input-row .ak-send {
    width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; flex-shrink: 0;
    background: linear-gradient(135deg, var(--g-blue), var(--g-violet)); color: #fff; font-size: 18px;
}
.aikhan-input-row .ak-send:hover { opacity: 0.9; }

@media (max-width: 480px) {
    /* Qutu tam ekran — safe-area (telefon çentiyi/alt zolaq) nəzərə alınır */
    .aikhan-panel {
        right: 0; bottom: 0; left: 0; top: 0;
        width: 100%; height: 100%;
        max-width: none; max-height: none;
        border-radius: 0;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .aikhan-panel.open { animation: akRiseM .25s cubic-bezier(.2,.8,.2,1); }

    /* FAB — dairəvi ikon (mətn gizli, az yer tutsun) */
    .aikhan-fab {
        right: 16px; bottom: 16px;
        padding: 0; width: 56px; height: 56px;
        border-radius: 50%; justify-content: center; gap: 0;
    }
    .aikhan-fab .ak-fab-text { display: none; }
    .aikhan-fab .ak-ava { width: 30px; height: 30px; font-size: 22px; }

    /* Başlıq bir az kompakt */
    .aikhan-head { padding: 14px 16px; }
    .aikhan-head .ak-ava { width: 36px; height: 36px; font-size: 20px; }

    /* Mesaj baloncukları daha enli */
    .akm { max-width: 90%; }

    /* Giriş forması scroll rahat */
    .aikhan-id-form { padding: 18px 16px; }

    /* Input sahəsi barmaq üçün rahat */
    .aikhan-input-row { padding: 10px; }
    .aikhan-input-row textarea { font-size: 16px; } /* iOS zoom-un qarşısını alır */
    .aikhan-id-form input { font-size: 16px; }
}

@keyframes akRiseM { from{opacity:0; transform:translateY(100%)} to{opacity:1; transform:translateY(0)} }

/* Çox kiçik ekranlar (≤360px) */
@media (max-width: 360px) {
    .aikhan-head .ak-title { font-size: 15px; }
    .aikhan-head .ak-status { font-size: 11px; }
    .ak-faq-q, .ak-faq-other { font-size: 13px; padding: 10px 12px; }
}

/* Ai Khan — hazır FAQ siyahısı (söhbət içində) */
.ak-faq-box {
    display: flex; flex-direction: column; gap: 8px;
    align-self: stretch; margin-top: 4px;
}
.ak-faq-title { font-size: 12px; color: var(--text-faint); margin-bottom: 2px; padding: 0 2px; }
.ak-faq-q {
    text-align: left; padding: 11px 14px; cursor: pointer;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 12px; color: var(--text); font-family: inherit; font-size: 13.5px;
    line-height: 1.4; transition: .15s;
}
.ak-faq-q:hover { border-color: var(--g-violet); background: rgba(33,150,243,0.1); }
.ak-faq-other {
    text-align: center; padding: 11px 14px; cursor: pointer; margin-top: 2px;
    background: transparent; border: 1px dashed var(--border-bright);
    border-radius: 12px; color: var(--g-magenta); font-family: inherit; font-size: 13.5px; font-weight: 600;
    transition: .15s;
}
.ak-faq-other:hover { background: rgba(33,150,243,0.08); }

/* admin FAQ siyahı */
.faq-admin-list { display: flex; flex-direction: column; gap: 10px; }
.faq-admin-item {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 14px 16px;
}
.fa-num {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
    background: var(--surface-2); display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--text-dim); font-weight: 600;
}
.fa-body { flex: 1; }
.fa-q { font-weight: 600; color: var(--text); font-size: 14.5px; margin-bottom: 5px; }
.fa-a { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }
.fa-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
