/* Sign-in pages of the admin (MangoExplorer): a night arrival at a hotel on the coast, the form as a key card. */
:root { --ax-night: #0c1230; --ax-raised: #1b2450; --ax-sea: #3cd3c3; --ax-sea-deep: #0a7f75; --ax-sunset: #ff7a5c; --ax-cloud: #eef2f8; --ax-ink: #1b2245; --ax-mist: #69729a; --ax-line: #dce2ee;
    --ax-display: 'Chakra Petch', 'Figtree', sans-serif; --ax-text: 'Figtree', -apple-system, 'Segoe UI', sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body.ax { margin: 0; font-family: var(--ax-text); font-size: 16px; line-height: 1.5; color: #fff; background: var(--ax-night); -webkit-font-smoothing: antialiased; }
.ax-stage { position: relative; min-height: 100%; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.ax-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }

/* one arrival when the page opens: the flight comes down its arc, then the hotel's windows light up */
.ax-arc { stroke-dashoffset: 0; opacity: .7; }
.ax-plane { offset-path: path('M-40 420 C 200 130, 500 120, 690 468'); offset-rotate: auto; offset-distance: 100%; opacity: 0; animation: ax-fly 3.2s cubic-bezier(.45, .05, .25, 1) .3s both; }
@keyframes ax-fly { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.ax-windows rect { opacity: .12; animation: ax-light .5s ease-out both; }
.ax-windows rect:nth-child(3n) { animation-delay: 3.3s; } .ax-windows rect:nth-child(3n+1) { animation-delay: 3.6s; } .ax-windows rect:nth-child(3n+2) { animation-delay: 3.9s; }
@keyframes ax-light { to { opacity: .95; } }
.ax-stars circle { opacity: .7; }

.ax-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px clamp(20px, 5vw, 64px) 0; }
.ax-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.ax-brand img { width: 40px; height: 40px; }
.ax-brand b { display: block; font-family: var(--ax-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .01em; line-height: 1.1; }
.ax-brand small { display: block; font-size: .82rem; color: #9aa3c7; }
.bx-lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.bx-lang a { padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #c3cdf0; text-decoration: none; }
.bx-lang a:hover { color: #fff; }
.bx-lang a.is-on { background: #fff; color: var(--ax-night); }

.ax-main { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, 440px); gap: clamp(24px, 6vw, 96px); align-items: center; padding: clamp(24px, 5vh, 56px) clamp(20px, 5vw, 64px); }
.ax-pitch h1 { margin: 0 0 14px; max-width: 11ch; font-family: var(--ax-display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.01em; }
.ax-pitch p { margin: 0; max-width: 44ch; font-size: 1.08rem; color: #c3cdf0; }
.ax-pitch ul { display: flex; flex-wrap: wrap; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; }
.ax-pitch li { padding: 0 22px; border-left: 1px dashed rgba(255, 255, 255, .28); }
.ax-pitch li:first-child { padding-left: 0; border-left: 0; }
.ax-pitch li span { display: block; font-size: .78rem; color: #9aa3c7; }
.ax-pitch li b { font-family: var(--ax-display); font-weight: 600; font-size: 1rem; }

/* the key card */
.ax-card { position: relative; border-radius: 26px; background: #fff; color: var(--ax-ink); box-shadow: 0 50px 90px -40px rgba(4, 7, 26, .95), 0 0 0 1px rgba(255, 255, 255, .5) inset; }
.ax-card::before { content: ''; position: absolute; left: 26px; right: 26px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--ax-sea) 0 68%, var(--ax-sunset) 68% 100%); }
.ax-card-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 30px 0; }
.ax-chip { width: 44px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #ffe3a6, #e0a84e); box-shadow: inset 0 0 0 1px rgba(120, 80, 10, .35); position: relative; }
.ax-chip::before, .ax-chip::after { content: ''; position: absolute; left: 6px; right: 6px; height: 1px; background: rgba(120, 80, 10, .5); }
.ax-chip::before { top: 11px; } .ax-chip::after { top: 20px; }
.ax-card-kind { font-family: var(--ax-display); font-weight: 600; font-size: .82rem; color: var(--ax-mist); }
.ax-card-body { padding: 20px 30px 26px; }
.ax-card-body h2 { margin: 0 0 6px; font-family: var(--ax-display); font-weight: 600; font-size: 1.75rem; line-height: 1.15; color: var(--ax-night); }
.ax-card-body > p, .ax-lead { margin: 0 0 22px; color: var(--ax-mist); }
.ax-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 16px 30px 20px; border-top: 2px dashed var(--ax-line); font-size: .9rem; color: var(--ax-mist); }
.ax-card a { color: var(--ax-sea-deep); font-weight: 600; text-decoration: none; }
.ax-card a:hover, .ax-card a:focus-visible { text-decoration: underline; }

.ax-field { margin-bottom: 16px; }
.ax-field label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ax-ink); }
.ax-field input { width: 100%; padding: 13px 14px; border: 1.5px solid var(--ax-line); border-radius: 12px; background: #fff; font: inherit; color: var(--ax-ink); transition: border-color .15s ease, box-shadow .15s ease; }
.ax-field input:focus { outline: 0; border-color: var(--ax-sea-deep); box-shadow: 0 0 0 4px rgba(60, 211, 195, .28); }
.ax-field.is-bad input { border-color: #d13f2f; }
.ax-field small { display: block; margin-top: 5px; color: #b3261a; font-weight: 500; }
.ax-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 20px; font-size: .92rem; }
.ax-row label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.ax-row input { width: 17px; height: 17px; accent-color: var(--ax-sea-deep); }
.ax-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 18px; border: 0; border-radius: 14px; background: var(--ax-night); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.ax-btn svg { width: 18px; height: 18px; }
.ax-btn:hover { background: var(--ax-sea-deep); transform: translateY(-1px); }
.ax-btn:focus-visible { outline: 3px solid var(--ax-sea); outline-offset: 3px; }
.ax-btn.is-quiet { margin-top: 10px; background: var(--ax-cloud); color: var(--ax-ink); }
.ax-btn.is-quiet:hover { background: var(--ax-line); }
.ax-note { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; font-size: .93rem; }
.ax-note.is-ok { background: #d9f6f1; color: #075e56; }
.ax-note.is-bad { background: #fde9e6; color: #a3261a; }
.ax-back { display: inline-block; margin-top: 16px; font-size: .92rem; }
.ax-foot { padding: 0 clamp(20px, 5vw, 64px) 22px; font-size: .82rem; color: #9aa3c7; }

@media (max-width: 920px) {
    .ax-main { grid-template-columns: 1fr; align-items: start; }
    .ax-pitch h1 { max-width: none; font-size: clamp(1.9rem, 8vw, 2.8rem); }
    .ax-pitch ul { margin-top: 20px; }
    .ax-pitch li { padding: 0 14px; }
    .ax-card { max-width: 520px; }
}
@media (max-width: 480px) { .ax-card-head, .ax-card-body { padding-left: 20px; padding-right: 20px; } .ax-card-foot { padding: 14px 20px 18px; } .ax-pitch li:nth-child(3) { display: none; } }
@media (prefers-reduced-motion: reduce) { .ax-plane { animation: none; opacity: 0; } .ax-windows rect { animation: none; opacity: .95; } * { transition: none !important; } }
