/* Safarly customer account pages (sign up, log in, my account, help requests). Loaded only on /account pages. */
.acct-band { background: radial-gradient(70% 90% at 85% 0%, rgba(110, 231, 216, .16), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(217, 180, 106, .2), transparent 60%), var(--ink, #0a1428); color: #fff; padding: calc(var(--head-h, 68px) + 36px) 0 34px; }
.acct-wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.acct-narrow { width: min(560px, 100% - 32px); }
.acct-band h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.6rem); color: #fff; }
.acct-eyebrow { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; color: var(--gold, #d9b46a); }
.acct-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.acct-tabs a, .acct-tabs .acct-link { white-space: nowrap; padding: 9px 16px; border-radius: 99px; color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; font-size: .92rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.acct-tabs a[aria-current="page"] { background: var(--gold-grad, linear-gradient(135deg, #f3deaa, #d9b46a 45%, #b98a3e)); color: var(--ink, #0a1428); border-color: transparent; }
.acct-tabs form { margin: 0 0 0 auto; }
.acct-link { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; text-decoration: underline; }
.acct-dark { color: var(--muted, #5d6780); }
.acct-wrap > .acct-ok, .acct-wrap > .acct-err { margin: 18px 0 0; }
.acct-ok, .acct-err, .acct-note { padding: 12px 16px; border-radius: 14px; font-weight: 600; }
.acct-ok { background: #e3f6ea; color: #14612f; border: 1px solid rgba(23, 163, 74, .3); }
.acct-err { background: #fde8ea; color: #8f1d26; border: 1px solid rgba(208, 67, 76, .35); }
.acct-note { background: #fff6e0; color: #6b4a00; border: 1px solid rgba(217, 180, 106, .5); margin: 0; }
.acct-grid { display: grid; gap: 18px; padding: 26px 0 70px; align-items: start; }
.acct-full { grid-column: 1 / -1; }
@media (min-width: 860px) { .acct-grid { grid-template-columns: 1fr 1fr; } }
.acct-narrow { padding: 26px 0 70px; }
.acct-narrow > .acct-ok { margin-top: 0; margin-bottom: 16px; }
.acct-card { background: #fff; border: 1px solid var(--line, rgba(10, 20, 40, .1)); border-radius: var(--radius, 22px); padding: clamp(18px, 4vw, 28px); box-shadow: var(--shadow-sm, 0 8px 24px -12px rgba(10, 20, 40, .25)); }
.acct-card h2 { font-size: 1.3rem; margin: 0 0 14px; }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.acct-head h2 { margin: 0; }
.acct-card label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; margin-bottom: 14px; color: #333c52; }
.acct-card input, .acct-card select, .acct-card textarea { font: 500 16px var(--sans, system-ui, sans-serif); padding: 13px 14px; border: 1px solid var(--line, rgba(10, 20, 40, .14)); border-radius: 14px; background: #fff; color: var(--text, #121a2b); width: 100%; box-sizing: border-box; }
.acct-card input:focus, .acct-card select:focus, .acct-card textarea:focus { outline: 0; border-color: var(--gold, #d9b46a); box-shadow: 0 0 0 4px rgba(217, 180, 106, .22); }
.acct-card .acct-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
.acct-card .acct-check input { width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; }
.acct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acct-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 22px; border-radius: 99px; font: 700 1rem var(--sans, system-ui, sans-serif); border: 1px solid transparent; cursor: pointer; text-decoration: none; background: var(--gold-grad, linear-gradient(135deg, #f3deaa, #d9b46a 45%, #b98a3e)); color: var(--ink, #0a1428); width: 100%; }
.acct-btn.acct-sm { width: auto; padding: 10px 16px; font-size: .9rem; }
.acct-ghost { background: #fff; border-color: var(--line, rgba(10, 20, 40, .14)); }
.acct-wa { background: var(--wa, #17a34a); color: #fff; }
.acct-row { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 520px) { .acct-row { grid-template-columns: 1fr 1fr; } }
.acct-center { text-align: center; margin: 18px 0 0; }
.acct-small { font-size: .88rem; margin: 12px 0 0; }
.acct-muted { color: var(--muted, #5d6780); }
.acct-item { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line, rgba(10, 20, 40, .1)); text-decoration: none; color: inherit; }
.acct-item:last-of-type { border-bottom: 0; margin-bottom: 12px; }
.acct-item .acct-tag { justify-self: start; margin-bottom: 4px; }
.acct-tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font: 700 .72rem var(--sans, sans-serif); letter-spacing: .04em; text-transform: uppercase; background: #eceef3; color: #5d6780; }
.st-open, .st-new { background: #fff1d6; color: #8a5a00; }
.st-waiting, .st-working { background: #dcecff; color: #1a4f99; }
.st-resolved, .st-done { background: #dcf5e4; color: #16723b; }
.acct-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.acct-thread { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.acct-msg { background: #fff; border: 1px solid var(--line, rgba(10, 20, 40, .1)); border-radius: 18px 18px 18px 6px; padding: 14px 16px; max-width: 90%; }
.acct-msg header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .88rem; margin-bottom: 6px; }
.acct-msg p { margin: 0; overflow-wrap: anywhere; }
.acct-mine { align-self: flex-end; background: #f6f1e4; border-radius: 18px 18px 6px 18px; }
.acct-agent { margin: 0; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line, rgba(10, 20, 40, .1)); }
.acct-chat-cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; }
.acct-chat-cta div { display: flex; flex-direction: column; gap: 2px; }
.acct-older > summary { cursor: pointer; text-align: center; color: var(--muted, #5d6780); font-weight: 600; font-size: .9rem; padding: 6px; }
.acct-older[open] > summary { margin-bottom: 10px; }

/* Keep card text dark on the dark public design */
.acct-card, .acct-agent { color: #121a2b; }
.acct-card h2, .acct-card h3, .acct-card b, .acct-agent b, .acct-item b, .acct-card label { color: #0a1428; }
.acct-card a:not(.acct-btn), .acct-agent a:not(.acct-btn) { color: #8a6424; }
.acct-center, .acct-narrow > p:not([class*="acct-ok"]):not([class*="acct-err"]) { color: rgba(255, 255, 255, .85); }
.acct-center a { color: #d9b46a; }
.acct-meta .acct-muted { color: rgba(255, 255, 255, .75); }
.acct-card input, .acct-card select, .acct-card textarea { color: #121a2b; background: #fff; }
.acct-card option { color: #121a2b; background: #fff; }
.acct-card .acct-muted, .acct-agent .acct-muted, .acct-item .acct-muted { color: #5d6780; }

/* scrollbars match the public site */
@supports not selector(::-webkit-scrollbar) { html { scrollbar-width: thin; scrollbar-color: #8fa9d8 #070c1d; } }

/* Trips */
.st-booked, .st-changed { background: #dcecff; color: #1a4f99; }
.st-ticketed, .st-completed { background: #dcf5e4; color: #16723b; }
.st-cancelled { background: #fde2e2; color: #9b1c1c; }
.acct-dl { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 10px 16px; margin: 0 0 16px; }
.acct-dl dt { color: #5d6780; font-size: .86rem; }
.acct-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .acct-dl { grid-template-columns: 1fr; gap: 2px; } .acct-dl dd { margin-bottom: 10px; } }
