/* EventOS staff pages. Colours, type and the wordmark follow the myeventos.in site (assets/eventos.css).
   Mobile first; the page also has to read well at half of a 1440-wide screen, next to WhatsApp Web. */

/* Brand fonts, self-hosted (SIL Open Font License 1.1; licences in /fonts) */
@font-face{font-family:"Jost";font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/jost-latin-300-normal.woff2) format("woff2")}
@font-face{font-family:"Jost";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/jost-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Jost";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/jost-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/playfair-display-latin-700-normal.woff2) format("woff2")}

:root{
  --rose:#A62F52;--rose-press:#8A2744;--rose-tint:#FBEFF3;
  --forest:#1E2A1F;--gold:#C9A15A;--gold-deep:#8A6B2E;
  --cream:#FAF6EF;--tint:#F4EEE3;--sand:#EBDCC2;--border:#E2D9C9;
  --sage-deep:#4F6B4C;--sage-tint:#EEF3EC;
  --ink:#1A1A1A;--stone:#6B6257;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--cream);color:var(--ink);font-family:Jost,system-ui,sans-serif;font-weight:300;font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:var(--rose)}a:hover{color:var(--rose-press)}
:focus-visible{outline:3px solid var(--rose);outline-offset:2px}
[hidden]{display:none !important}
.wrap{width:100%;max-width:40rem;margin:0 auto;padding:0 20px}

/* Header and wordmark (proportions from the site's lockup) */
.hdr{background:rgba(250,246,239,.96);border-bottom:1px solid var(--border)}
.hdr .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.wm{display:inline-flex;flex-direction:column;align-items:flex-start;font-size:26px}
.wm-word{font-family:"Playfair Display",Georgia,serif;font-weight:700;font-size:1em;line-height:1;letter-spacing:-.015em;color:var(--rose);white-space:nowrap}
.wm .ring{display:inline-block;width:.658em;height:.658em;border:.105em solid var(--gold);border-radius:50%;margin:0 .039em;vertical-align:baseline}
.wm-tag{margin-top:.538em;padding-left:.058em;font-weight:400;font-size:.173em;line-height:1;letter-spacing:.26em;color:var(--sage-deep);white-space:nowrap}

/* Page body */
.main{flex:1;padding-top:28px;padding-bottom:40px}
.card{padding:26px 20px;border:1px solid var(--border);border-radius:20px;background:#fff}
.eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;font-weight:500;font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-deep)}
.eyebrow::before{content:"";width:10px;height:10px;border:2.5px solid var(--gold);border-radius:50%}
.h1{margin:0 0 8px;font-family:"Playfair Display",Georgia,serif;font-weight:700;font-size:30px;line-height:1.15;letter-spacing:-.01em}
.sub{margin:0 0 24px;color:var(--stone)}
@media (min-width:600px){.main{padding-top:44px}.card{padding:36px 36px 30px}.h1{font-size:36px}}

/* Form */
.form{display:grid;gap:18px}
.field{display:grid;gap:6px}
label,.label{font-weight:500;font-size:15px}
.static{margin:0;padding:10px 0 2px;color:var(--ink)}
input,select{width:100%;min-height:48px;padding:10px 14px;border:1.5px solid var(--border);border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-weight:400}
input:focus,select:focus{border-color:var(--rose)}
select:disabled{background:var(--tint);color:var(--stone)}
input[aria-invalid="true"]{border-color:var(--rose);background:var(--rose-tint)}
.field-error{margin:0;color:var(--rose-press);font-weight:400;font-size:14.5px}
.note{margin:0;color:var(--stone);font-size:14.5px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border:0;border-radius:999px;background:var(--rose);color:#fff;font:inherit;font-weight:500;font-size:16px;text-decoration:none;cursor:pointer}
.btn:hover{background:var(--rose-press);color:#fff}
.btn:disabled{background:#C9B9BE;cursor:not-allowed}
.btn-lg{min-height:54px;font-size:17px}
.btn-sm{min-height:40px;padding:0 16px;font-size:15px}
.btn-ghost{background:transparent;color:var(--rose);border:1.5px solid var(--rose)}
.btn-ghost:hover{background:var(--rose-tint);color:var(--rose-press)}
.form .btn{width:100%}

/* Preview: the message in a plain bubble, in EventOS colours (WhatsApp's brand rules: don't copy its look) */
.preview{margin:4px 0 0}
.preview figcaption{margin-bottom:8px;font-weight:500;font-size:15px}
.chat{padding:16px 14px;border-radius:16px;background:var(--tint)}
.bubble{max-width:34em;margin:0;padding:10px 12px;border:1px solid var(--border);border-radius:0 12px 12px 12px;background:#fff;color:var(--ink);font-weight:400;font-size:15.5px;line-height:1.45;overflow-wrap:anywhere}

/* Result of an action */
.status{margin:0;padding:14px 16px;border-radius:14px;font-weight:400;overflow-wrap:anywhere}
.status.ok{background:var(--sage-tint);border:1px solid #C9D8C5;color:var(--forest)}
.status.error{background:var(--rose-tint);border:1px solid #EBC4D0;color:var(--rose-press)}
.status p{margin:0}
.status .small{margin-top:6px;font-size:13.5px;color:var(--stone)}

.test-note{display:flex;gap:10px;align-items:flex-start;margin:24px 0 0;padding-top:18px;border-top:1px solid var(--border);color:var(--stone);font-size:14.5px}
.test-note::before{content:"";flex:none;width:12px;height:12px;margin-top:5px;border:2.5px solid var(--gold);border-radius:50%}

/* Footer */
.ftr{padding:22px 0 28px;border-top:1px solid var(--border);color:var(--stone);font-size:14px}
.ftr .wrap{display:grid;gap:8px}
.ftr nav{display:flex;flex-wrap:wrap;gap:6px 20px}
.ftr p{margin:0}

@media (prefers-reduced-motion:no-preference){.btn{transition:background-color .15s}}
