/* Awww Memories — global branding. Primary brand colour: #a2bffe. */
:root {
    --bg: #f0f7ff;
    --surface: #ffffff;
    --text: #123773;
    --muted: #526b92;
    --accent: #365fe9;
    --accent2: #2346b8;
    --brand: #a2bffe;
    --border: #d5e3fc;
    --ok: #176b45;
    --danger: #a52222;
    --shadow: 0 12px 30px rgba(30, 73, 150, .10);
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #eaf5ff 0, var(--bg) 420px, #f7faff 100%);
    color: var(--text);
    line-height: 1.5;
}
a { color: var(--accent2); }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid #d94094;
    outline-offset: 3px;
}
.shell { min-height: 100vh; }
.topbar {
    background: linear-gradient(115deg, #a2bffe 0%, #c6dbff 65%, #a2bffe 100%);
    border-bottom: 1px solid #8faef0;
    box-shadow: 0 3px 14px rgba(31, 74, 150, .08);
}
.topbar-inner, .container { width: 100%; max-width: 1120px; margin: auto; padding: 16px; }
.topbar-inner { padding-top: 7px; padding-bottom: 7px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; text-decoration: none; }
.brand img { display: block; width: clamp(104px, 22vw, 164px); height: auto; }
.container.narrow { max-width: 560px; }
.hero { padding: 48px 0 28px; }
.eyebrow { color: var(--accent); font-weight: 750; }
.title { font-size: clamp(2rem, 9vw, 4rem); line-height: 1.08; margin: .3rem 0 1rem; }
.subtitle { color: var(--muted); font-size: 1.05rem; }
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin: 16px 0;
}
.form-group { margin: 0 0 16px; }
label { display: block; font-weight: 700; margin-bottom: 7px; }
input, select {
    width: 100%; min-height: 48px; border: 1px solid #b9cbed;
    border-radius: 12px; padding: 11px 13px; font: inherit;
    background: #fff; color: var(--text);
}
input:focus, select:focus { outline: 3px solid rgba(54, 95, 233, .17); border-color: var(--accent); }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; width: 100%; border: 0; border-radius: 13px;
    padding: 12px 18px; background: var(--accent); color: #fff;
    text-decoration: none; font-weight: 800; cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--accent2); color: #fff; box-shadow: 0 6px 16px rgba(35, 70, 184, .18); }
.btn.secondary { background: #fff; color: var(--accent2); border: 1px solid #9cb8f7; }
.btn.secondary:hover { background: #eaf2ff; color: var(--accent2); }
.actions { display: grid; gap: 10px; }
.alert { border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.alert.error { background: #fff0f0; color: var(--danger); }
.alert.success { background: #effaf4; color: var(--ok); }
.muted { color: var(--muted); }
.center { text-align: center; }
.otp { font-size: 1.6rem; text-align: center; letter-spacing: .45rem; font-weight: 800; }
.dashboard-grid { display: grid; gap: 16px; }
.stat { font-size: 2rem; font-weight: 850; }
.navrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.navlinks { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: flex-end; }
.navlinks a { color: #123773; text-decoration: none; font-weight: 700; padding: 8px 3px; border-bottom: 2px solid transparent; }
.navlinks a:hover, .navlinks a:focus-visible { border-bottom-color: var(--accent); }
.small { font-size: .9rem; }
.footer { padding: 36px 16px; text-align: center; color: var(--muted); }
@media (max-width: 390px) {
    .navlinks { gap: 4px 9px; }
    .navlinks a { font-size: .82rem; padding: 6px 0; }
    .brand img { width: 96px; }
}
@media (min-width: 720px) {
    .topbar-inner, .container { padding-left: 24px; padding-right: 24px; }
    .card { padding: 28px; }
    .actions { grid-template-columns: auto auto; justify-content: start; }
    .btn { width: auto; min-width: 180px; }
    .dashboard-grid { grid-template-columns: 1fr 1fr; }
    .hero { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Celebration design system — Awww Memories, October 2026 */
:root{--brand:#a2bffe;--pink:#ed3e9b;--ink:#0b3378;--sky:#e8f6ff;--soft-blue:#eaf4ff;--brand-shadow:0 12px 30px rgba(45,101,192,.12)}
body{background:radial-gradient(circle at 4% 28%,#d5ebff 0,transparent 23%),radial-gradient(circle at 98% 42%,#d6ecff 0,transparent 26%),linear-gradient(180deg,#e7f6ff,#f6faff 78%);color:var(--ink)}
.topbar{background:linear-gradient(115deg,#a2bffe,#c6ddff 55%,#a2bffe)}
.topbar-inner,.container{max-width:1280px}
.brand img{filter:drop-shadow(0 3px 5px rgba(31,65,128,.12))}
.navlinks a{border-radius:9px;padding:9px 12px;border-bottom:3px solid transparent}
.navlinks a:hover,.navlinks a:focus-visible{background:#ffffff75;border-bottom-color:#4169e7}
.card,.admin-stat,.detail-item{border-color:#cfe0ff;box-shadow:var(--brand-shadow)}
.card{border-radius:22px}
h1,h2,h3{color:#0b3378;line-height:1.18}
.eyebrow{color:#d42d8d;letter-spacing:.08em}
.btn{background:#365fe9;border-radius:15px;box-shadow:0 4px 10px rgba(48,94,210,.13)}
.btn.secondary{background:#fff;color:#2454ce;border:1.5px solid #6385f6}
input,select,textarea{border-radius:12px;border-color:#b8ccef}
.footer{border-top:1px solid #d4e4ff;margin-top:35px;background:#e8f4ff80}
.am-celebration-banner{background:#e5f5ff url('/assets/images/celebration-banner.svg') center/cover no-repeat;border-radius:0 0 30px 30px;min-height:230px;display:flex;align-items:center;justify-content:center;text-align:center;padding:40px 300px 35px;margin:0 calc(50% - 50vw) 24px;box-shadow:inset 0 -4px 0 #fff8}
.am-celebration-banner h1{font-size:clamp(1.9rem,3.3vw,3.3rem);margin:0 0 10px;color:#092e73;letter-spacing:-.025em}
.am-celebration-banner p{font-size:1.05rem;max-width:630px;margin:0 auto;color:#16417e}
.am-celebration-banner .am-banner-copy{max-width:850px}
.am-celebration-banner--compact{min-height:180px;margin-bottom:24px}
.am-celebration-banner--compact h1{font-size:clamp(1.7rem,3vw,2.8rem)}
.am-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:26px 0}
.am-benefits>div{display:flex;gap:12px;align-items:center;padding:16px 10px}
.am-benefits strong{display:block;font-size:.9rem}
.am-benefits span{color:#436ba3;font-size:.8rem}
.am-benefits .am-benefit-icon{font-size:1.65rem;flex:none}
@media(max-width:1000px){.am-celebration-banner{padding:36px 230px}.am-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.am-celebration-banner{min-height:230px;padding:28px 20px 85px;background-size:auto 230px;background-position:center bottom;background-image:linear-gradient(#e7f6ffdf,#e7f6ffbf),url('/assets/images/celebration-banner.svg')}.am-celebration-banner h1{font-size:clamp(1.7rem,6.5vw,2.4rem)}.am-celebration-banner p{font-size:.93rem}.am-benefits{gap:4px}.am-benefits>div{padding:10px 2px}.navlinks a{padding:7px 4px}}
@media(max-width:420px){.am-benefits{grid-template-columns:1fr 1fr}.am-benefits .am-benefit-icon{font-size:1.25rem}.am-benefits>div{gap:6px}}
