/* Skyline Booking – account pages */
.sba { --sba-navy: var(--sb-navy, #01002c); --sba-line: #d9d2c7; --sba-ink: #1f1a14; --sba-muted: #6f665b; --sba-display: "Playfair Display", Georgia, serif;
  font-family: var(--spe-sans, "Inter", Arial, sans-serif); color: var(--sba-ink); font-size: 15px; line-height: 1.5; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
.sba *, .sba *::before, .sba *::after { box-sizing: inherit; }
.sba [hidden] { display: none !important; }
.sba button { font-family: inherit; }

/* ---------- sign in card ---------- */
.sba-auth { display: flex; justify-content: center; padding: 32px 16px 48px; }
.sba-card { width: 100%; max-width: 440px; background: #fff; border-radius: 18px; padding: 36px 32px 32px; box-shadow: 0 1px 2px rgba(1,0,44,.04), 0 12px 40px rgba(1,0,44,.08); }
.sba .sba-h { font-family: var(--sba-display); font-weight: 500; font-size: 30px; line-height: 1.2; margin: 0 0 8px !important; padding: 0; color: var(--sba-navy); letter-spacing: -.01em; }
.sba .sba-sub { margin: 0 0 24px !important; color: var(--sba-muted); font-size: 15px; }
.sba-alert { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #8a1c14; font-size: 14px; }

.sba-float { position: relative; display: block; margin: 0 0 14px; }
.sba .sba-float input { display: block; width: 100%; height: 56px; margin: 0; padding: 22px 16px 6px !important; border: 1.5px solid var(--sba-line) !important; border-radius: 12px !important; background: #fff !important; font: 400 16px/1.2 var(--spe-sans, Arial, sans-serif) !important; color: var(--sba-ink) !important; box-shadow: none !important; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.sba .sba-float input:focus { border-color: var(--sba-navy) !important; box-shadow: 0 0 0 3px rgba(1,0,44,.08) !important; }
.sba .sba-float input:disabled { background: #f6f4f1 !important; color: var(--sba-muted) !important; }
.sba-float > span { position: absolute; left: 17px; top: 18px; font-size: 16px; color: var(--sba-muted); pointer-events: none; transition: all .15s ease; transform-origin: left top; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 60px); }
.sba-float input:focus + span, .sba-float input:not(:placeholder-shown) + span, .sba-float input:disabled + span { top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.sba-float.is-bad input { border-color: var(--spe-error, #b3261e) !important; }
.sba-pass input { padding-right: 52px !important; }
.sba-eye { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; color: var(--sba-muted); padding: 0; }
.sba-eye::before { content: ""; display: block; width: 22px; height: 22px; margin: auto; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.sba-eye.is-on { color: var(--sba-navy); }
.sba-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.sba-hp, .sba-hidden-user { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sba-captcha { margin: 2px 0 14px; min-height: 0; }
.sba-captcha:empty { margin: 0; }
.sba-captcha > div { max-width: 100%; }
.sba-err { margin: 0 0 10px; min-height: 0; color: var(--spe-error, #b3261e); font-size: 14px; }
.sba-err:empty { display: none; }
.sba-ok { margin: 0 0 10px; color: #1f6b30; font-weight: 600; font-size: 14px; }
.sba-ok:empty { display: none; }
.sba-hint { margin: -6px 0 14px !important; font-size: 13px; color: var(--sba-muted); }
.sba-fine { margin: 14px 0 0 !important; font-size: 12.5px; color: var(--sba-muted); text-align: center; }
.sba-fine a { color: inherit; }

.sba .sba-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin: 4px 0 0; padding: 0 22px; border: 0; border-radius: 999px; background: var(--sba-navy); color: #fff !important; font-size: 16px; font-weight: 600; text-decoration: none !important; cursor: pointer; transition: transform .1s, box-shadow .2s, opacity .2s; box-shadow: 0 8px 20px rgba(1,0,44,.18); }
.sba .sba-btn:hover:not(:disabled) { box-shadow: 0 10px 26px rgba(1,0,44,.26); }
.sba .sba-btn:active { transform: translateY(1px); }
.sba .sba-btn:disabled { opacity: .6; cursor: wait; }
.sba .sba-btn-sm { width: auto; min-height: 42px; font-size: 14px; padding: 0 18px; margin: 0; box-shadow: none; }
.sba .sba-btn-ghost { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--sba-line); border-radius: 999px; color: var(--sba-navy) !important; font-weight: 600; font-size: 14px; text-decoration: none !important; background: #fff; }
.sba .sba-link { padding: 0; border: 0; background: none; color: var(--spe-gold-deep, #a87b45); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sba .sba-link:disabled { color: var(--sba-muted); text-decoration: none; cursor: default; }
.sba .sba-switch, .sba .sba-links { margin: 18px 0 0 !important; font-size: 15px; color: var(--sba-muted); }
.sba .sba-links { text-align: center; }
.sba .sba-chip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 20px !important; padding: 10px 14px; border-radius: 10px; background: var(--spe-cream, #fcf5ed); font-size: 14px; }
.sba-chip-email { font-weight: 600; word-break: break-all; }
.sba-chip .sba-link { margin-left: auto; font-size: 14px; }
.sba .sba-code-input { letter-spacing: .5em; font-size: 22px !important; font-weight: 600 !important; }

.sba-or { display: flex; align-items: center; gap: 14px; margin: 24px 0 18px; color: var(--sba-muted); font-size: 12px; letter-spacing: .08em; }
.sba-or::before, .sba-or::after { content: ""; flex: 1; height: 1px; background: var(--sba-line); }
.sba-socials { display: grid; gap: 12px; }
.sba .sba-social { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 52px; border: 1.5px solid var(--sba-navy); border-radius: 999px; background: #fff; color: var(--sba-navy) !important; font-weight: 600; font-size: 16px; text-decoration: none !important; transition: background .15s; }
.sba .sba-social:hover { background: var(--spe-cream, #fcf5ed); }
.sba-social svg { position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); }
.sba-auth.is-done .sba-card { opacity: .6; pointer-events: none; }

/* ---------- My account ---------- */
.sba-dash { max-width: 920px; margin: 0 auto; padding: 32px 16px 56px; }
.sba-dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sba-dash-head .sba-h { font-size: 36px; margin: 0 !important; }
.sba .sba-eyebrow { margin: 0 0 4px !important; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--spe-gold-deep, #a87b45); }
.sba-dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sba-tabs { display: flex; gap: 6px; border-bottom: 1.5px solid var(--sba-line); margin-bottom: 22px; }
.sba-tabs button { padding: 12px 16px; margin: 0 0 -1.5px; border: 0; border-bottom: 3px solid transparent; background: none; font-size: 15px; font-weight: 600; color: var(--sba-muted); cursor: pointer; }
.sba-tabs button.is-active { color: var(--sba-navy); border-bottom-color: var(--spe-gold, #dcb280); }
.sba .sba-h2 { font-family: var(--sba-display); font-weight: 500; font-size: 22px; margin: 6px 0 14px !important; padding: 0; color: var(--sba-navy); }
.sba-bk { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 18px; align-items: center; margin: 0 0 12px; padding: 18px 20px; background: #fff; border: 1px solid #efe3d3; border-radius: 16px; }
.sba-bk-when { padding-right: 16px; border-right: 1px solid #efe3d3; }
.sba-bk-when b { display: block; color: var(--sba-navy); font-size: 15px; }
.sba-bk-when span { color: var(--sba-muted); font-size: 14px; }
.sba-bk-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.sba-bk-ref { font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--sba-muted); }
.sba .sba-bk-route { margin: 0 0 4px !important; display: grid; gap: 2px; font-weight: 500; }
.sba-bk-route span { position: relative; padding-left: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sba-bk-route span::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--spe-gold, #dcb280); }
.sba-bk-route span + span::before { border-radius: 2px; background: var(--sba-navy); }
.sba .sba-bk-meta { margin: 0 !important; font-size: 13.5px; color: var(--sba-muted); }
.sba-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef0f3; color: #3b4250; }
.sba-badge-pending, .sba-badge-confirmed, .sba-badge-assigned { background: #e3f5e6; color: #1f6b30; }
.sba-badge-awaiting_payment { background: #fff4e0; color: #9a5b00; }
.sba-badge-cancelled { background: #fbe4e4; color: #9b1c1c; }
.sba-empty { padding: 28px; border: 1.5px dashed var(--sba-line); border-radius: 16px; text-align: center; color: var(--sba-muted); margin-bottom: 18px; }
.sba-empty p { margin: 0 0 8px; }
.sba .sba-help { margin: 22px 0 0 !important; font-size: 14px; color: var(--sba-muted); }
.sba .sba-help a { color: var(--sba-navy); font-weight: 600; }
.sba-card-wide { max-width: 560px; }

@media (max-width: 600px) {
  .sba-auth { padding: 16px 0 32px; }
  .sba-card { padding: 28px 20px 24px; border-radius: 16px; box-shadow: none; }
  .sba .sba-h { font-size: 27px; }
  .sba-row { grid-template-columns: 1fr; }
  .sba-bk { grid-template-columns: 1fr; gap: 10px; }
  .sba-bk-when { border-right: 0; padding: 0; display: flex; gap: 8px; align-items: baseline; }
  .sba-bk .sba-btn-sm { width: 100%; }
  .sba-dash-head .sba-h { font-size: 30px; }
}
.sba .sba-social span { white-space: nowrap; }
@media (max-width: 600px) {
  .sba .sba-social { padding: 0 20px 0 52px; font-size: 15px; }
  .sba-bk-route span { white-space: normal; overflow: visible; }
}
