/* Bahri new look: colours, type and shared parts for the website, seller portal and admin panel.
   Logical properties only (start/end), so Arabic and English use the same rules. */
:root {
  --bh-primary: #005F8C;
  --bh-primary-dark: #00435F;
  --bh-accent: #FFAF17;
  --bh-ink: #14212B;
  --bh-ink-2: #33424D;
  --bh-muted: #4A5A66;
  --bh-tint: #E6F4FA;
  --bh-border: #DCE9F0;
  --bh-border-2: #C9D9E2;
  --bh-page: #F4F8FA;
  --bh-neutral: #EEF2F5;
  --bh-info: #0B3D5C;
  --bh-success: #145A28;
  --bh-success-bg: #DDF2E3;
  --bh-success-strong: #1E7A35;
  --bh-warning: #6B4300;
  --bh-warning-bg: #FFF3DA;
  --bh-danger: #B42318;
  --bh-danger-bg: #FDECEA;
  --bh-on-dark-soft: rgba(255, 255, 255, 0.75);
}

.bh { margin: 0; background: #FFFFFF; color: var(--bh-ink); font-size: 14px; line-height: 1.5; }
html[lang="ar"] .bh { font-family: 'IBM Plex Sans Arabic', 'Montserrat', system-ui, sans-serif; }
html:not([lang="ar"]) .bh { font-family: 'Montserrat', 'IBM Plex Sans Arabic', system-ui, sans-serif; }
.bh *, .bh *::before, .bh *::after { box-sizing: border-box; }
:where(.bh input, .bh select, .bh textarea, .bh button) { font: inherit; color: inherit; }
:where(.bh a) { color: var(--bh-primary); }
:where(.bh a:hover) { color: var(--bh-primary-dark); }
.bh :focus-visible { outline: 2px solid var(--bh-primary); outline-offset: 2px; }
.bh-side :focus-visible, .bh-auth-brand :focus-visible, .bh-footer :focus-visible, .bh-sitebar :focus-visible { outline-color: var(--bh-accent); }
.bh [hidden] { display: none !important; }
.bh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html[dir="rtl"] .bh-flip { transform: scaleX(-1); }
.bh-ltr { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }

/* Brand */
.bh-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.bh-brand:hover { color: inherit; }
.bh-brand-sub { font-size: 11px; font-weight: 600; color: var(--bh-on-dark-soft); padding-inline-start: 10px; border-inline-start: 1px solid rgba(255, 255, 255, 0.3); line-height: 1.3; }

/* Buttons */
.bh-btn { height: 44px; padding: 0 18px; border-radius: 12px; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; text-decoration: none; border: 1px solid transparent; background: transparent; cursor: pointer; }
.bh-btn--sm { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 12.5px; }
.bh-btn--block { width: 100%; }
.bh-btn--primary { background: var(--bh-primary); border-color: var(--bh-primary); color: #FFFFFF; }
.bh-btn--primary:hover { background: var(--bh-primary-dark); border-color: var(--bh-primary-dark); color: #FFFFFF; }
.bh-btn--accent { background: var(--bh-accent); border-color: var(--bh-accent); color: var(--bh-ink); }
.bh-btn--accent:hover { background: #F2A200; border-color: #F2A200; color: var(--bh-ink); }
.bh-btn--outline { background: #FFFFFF; border: 1.5px solid var(--bh-primary); color: var(--bh-primary); }
.bh-btn--outline:hover { background: var(--bh-tint); color: var(--bh-primary-dark); }
.bh-btn--soft { background: var(--bh-tint); border-color: var(--bh-tint); color: var(--bh-primary); }
.bh-btn--soft:hover { border-color: var(--bh-primary); color: var(--bh-primary-dark); }
.bh-btn--ghost { color: var(--bh-primary); }
.bh-btn--ghost:hover { background: var(--bh-tint); color: var(--bh-primary-dark); }
.bh-btn--danger { background: var(--bh-danger-bg); border-color: var(--bh-danger-bg); color: var(--bh-danger); }
.bh-btn--danger:hover { border-color: var(--bh-danger); color: var(--bh-danger); }
.bh-btn[disabled], .bh-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* Badges and counts */
.bh-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.bh-badge-dot { width: 6px; height: 6px; border-radius: 3px; background: currentColor; }
.bh-badge--success { background: var(--bh-success-bg); color: var(--bh-success); }
.bh-badge--warning { background: var(--bh-warning-bg); color: var(--bh-warning); }
.bh-badge--danger { background: var(--bh-danger-bg); color: var(--bh-danger); }
.bh-badge--info { background: var(--bh-tint); color: var(--bh-info); }
.bh-badge--neutral { background: var(--bh-neutral); color: var(--bh-ink-2); }
.bh-badge--accent { background: var(--bh-accent); color: var(--bh-ink); }
.bh-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.bh-count--accent { background: var(--bh-accent); color: var(--bh-ink); }
.bh-count--primary { background: var(--bh-primary); color: #FFFFFF; }
.bh-count--danger { background: var(--bh-danger-bg); color: var(--bh-danger); }
.bh-count--neutral { background: var(--bh-neutral); color: var(--bh-ink-2); }

/* Cards */
.bh-card { background: #FFFFFF; border: 1px solid var(--bh-border); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bh-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.bh-card-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bh-card-title { margin: 0; font-size: 16px; font-weight: 800; }
.bh-card-sub { font-size: 12.5px; color: var(--bh-muted); }
.bh-card-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.bh-stat { background: #FFFFFF; border: 1px solid var(--bh-border); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bh-stat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bh-stat-label { font-size: 13px; font-weight: 600; color: var(--bh-muted); }
.bh-stat-icon { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; background: var(--bh-tint); color: var(--bh-primary); }
.bh-stat-icon--success { background: var(--bh-success-bg); color: var(--bh-success); }
.bh-stat-icon--warning { background: var(--bh-warning-bg); color: #8A5A00; }
.bh-stat-icon--danger { background: var(--bh-danger-bg); color: var(--bh-danger); }
.bh-stat-value { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; white-space: nowrap; }
.bh-stat-note { font-size: 12px; color: var(--bh-muted); }
.bh-cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.bh-cols-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.bh-cols-side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* Page heading */
.bh-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.bh-page-titles { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bh-page-title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.2px; }
.bh-page-sub { margin: 0; font-size: 13.5px; color: var(--bh-muted); max-width: 720px; }
.bh-page-actions { flex: 0 0 auto; max-width: 100%; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Tabs */
.bh-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--bh-border); overflow-x: auto; }
.bh-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px 10px; border: none; background: none; border-bottom: 3px solid transparent; font-size: 13.5px; font-weight: 700; color: var(--bh-muted); white-space: nowrap; text-decoration: none; cursor: pointer; }
.bh-tab:hover { color: var(--bh-ink); }
.bh-tab[aria-selected="true"] { border-bottom-color: var(--bh-primary); color: var(--bh-ink); }
.bh-tab .bh-count { min-width: 22px; padding: 0 7px; background: var(--bh-neutral); color: var(--bh-ink-2); }
.bh-tab[aria-selected="true"] .bh-count { background: var(--bh-primary); color: #FFFFFF; }

/* Tables */
.bh-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--bh-border); border-radius: 14px; background: #FFFFFF; }
.bh-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bh-table thead tr { background: var(--bh-page); }
.bh-table th { text-align: start; padding: 12px 14px; font-size: 12px; font-weight: 700; color: var(--bh-muted); white-space: nowrap; }
.bh-table td { text-align: start; padding: 12px 14px; vertical-align: middle; }
.bh-table tbody tr { border-top: 1px solid var(--bh-border); background: #FFFFFF; }
.bh-table .bh-end { text-align: end; }
.bh-cell-main { display: block; font-weight: 700; }
.bh-cell-sub { display: block; font-size: 12px; color: var(--bh-muted); margin-top: 2px; }
.bh-avatar { width: 34px; height: 34px; border-radius: 17px; background: var(--bh-primary); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bh-pager-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.bh-pager-note { font-size: 12.5px; color: var(--bh-muted); }
.bh-pager { display: flex; gap: 6px; align-items: center; }
.bh-pager-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--bh-border); background: #FFFFFF; color: var(--bh-ink); display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 13px; font-weight: 700; text-decoration: none; flex: none; }
.bh-pager-btn[aria-current="page"] { border-color: var(--bh-primary); background: var(--bh-primary); color: #FFFFFF; }
.bh-pager-gap { width: 36px; text-align: center; color: var(--bh-muted); }

/* Forms */
.bh-form { display: flex; flex-direction: column; gap: 16px; }
.bh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bh-label { font-size: 12.5px; font-weight: 700; }
.bh-star { color: var(--bh-danger); }
.bh-hint { font-size: 11.5px; color: var(--bh-muted); }
.bh-error { font-size: 11.5px; font-weight: 600; color: var(--bh-danger); }
.bh-input-box { height: 44px; border-radius: 12px; border: 1px solid var(--bh-border-2); background: #FFFFFF; padding: 0 12px; display: flex; align-items: center; gap: 10px; color: var(--bh-muted); }
.bh-input-box:focus-within { border-color: var(--bh-primary); }
.bh-input-box.is-invalid { border-color: var(--bh-danger); }
.bh-input-box input { border: none; outline: none; background: transparent; flex: 1; min-width: 0; width: 100%; height: 100%; font-size: 13.5px; color: var(--bh-ink); }
.bh-input-prefix { font-size: 12.5px; font-weight: 700; color: var(--bh-muted); padding-inline-end: 10px; border-inline-end: 1px solid var(--bh-border); }
.bh-select { height: 44px; border-radius: 12px; border: 1px solid var(--bh-border-2); background: #FFFFFF; padding: 0 12px; font-size: 13.5px; width: 100%; min-width: 0; cursor: pointer; }
.bh-textarea { border-radius: 12px; border: 1px solid var(--bh-border-2); background: #FFFFFF; padding: 12px; font-size: 13.5px; width: 100%; min-width: 0; resize: vertical; }
.bh-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.bh-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bh-primary); flex: none; }
.bh-switch { border: none; background: transparent; padding: 0; display: inline-flex; cursor: pointer; }
.bh-switch-track { width: 46px; height: 26px; border-radius: 13px; display: flex; align-items: center; padding: 3px; flex: none; justify-content: flex-start; background: #C5D3DA; }
.bh-switch-knob { width: 20px; height: 20px; border-radius: 10px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.bh-switch[aria-checked="true"] .bh-switch-track { justify-content: flex-end; background: var(--bh-primary); }
.bh-code { display: flex; gap: 12px; justify-content: center; direction: ltr; }
.bh-code input { width: 56px; height: 60px; border-radius: 14px; border: 1.5px solid var(--bh-border-2); text-align: center; font-size: 22px; font-weight: 800; }
.bh-code input:focus, .bh-code input.is-filled { border-color: var(--bh-primary); outline: none; }

/* Callouts */
.bh-callout { padding: 12px 14px; border-radius: 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.6; }
.bh-callout--info { background: var(--bh-tint); color: var(--bh-info); }
.bh-callout--warning { background: var(--bh-warning-bg); color: var(--bh-warning); }
.bh-callout--success { background: var(--bh-success-bg); color: var(--bh-success); }
.bh-callout--danger { background: var(--bh-danger-bg); color: var(--bh-danger); }
.bh-callout--plain { padding: 14px; background: var(--bh-page); color: var(--bh-muted); font-size: 12.5px; }
.bh-callout--plain svg { color: var(--bh-primary); }

/* Steps */
.bh-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.bh-step { flex: 1 1 140px; display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--bh-muted); }
.bh-step-mark { width: 30px; height: 30px; border-radius: 15px; background: #B9C7CF; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex: none; }
.bh-step.is-done { color: var(--bh-ink); }
.bh-step.is-done .bh-step-mark { background: var(--bh-success-strong); }
.bh-step.is-current { color: var(--bh-ink); font-weight: 700; }
.bh-step.is-current .bh-step-mark { background: var(--bh-primary); }

/* Panel frame: seller portal and admin panel */
.bh-panel { display: flex; flex-wrap: wrap; min-height: 100vh; background: var(--bh-page); }
.bh-side { flex: 1 1 248px; background: var(--bh-primary); color: #FFFFFF; padding: 20px 14px; display: flex; flex-direction: column; gap: 18px; }
.bh-side-top { padding: 3px 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bh-side-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.14); align-items: center; justify-content: center; cursor: pointer; }
.bh-nav-check { position: absolute; opacity: 0; pointer-events: none; }
.bh-nav { display: flex; flex-direction: column; gap: 14px; }
.bh-nav-group { display: flex; flex-direction: column; gap: 2px; }
.bh-nav-title { font-size: 11px; font-weight: 700; letter-spacing: 0.4px; color: rgba(255, 255, 255, 0.6); padding: 0 12px; }
.bh-nav-link { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; border-radius: 12px; text-decoration: none; font-size: 13.5px; font-weight: 600; color: #FFFFFF; }
.bh-nav-link:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.bh-nav-link[aria-current="page"], .bh-nav-link[aria-current="page"]:hover { background: var(--bh-accent); color: var(--bh-ink); }
.bh-nav-link[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.bh-nav-label { flex: 1; min-width: 0; }
.bh-side-user { margin-top: auto; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; gap: 10px; }
.bh-side-user-mark { width: 36px; height: 36px; border-radius: 18px; background: var(--bh-accent); color: var(--bh-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bh-side-user-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bh-side-user-name { font-size: 13px; font-weight: 700; }
.bh-side-user-role { font-size: 11.5px; color: var(--bh-on-dark-soft); }
.bh-side-out { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.14); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; padding: 0; flex: none; text-decoration: none; }
.bh-side-out:hover { background: rgba(255, 255, 255, 0.24); color: #FFFFFF; }
.bh-panel-body { flex: 999 1 700px; min-width: 0; display: flex; flex-direction: column; }
.bh-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 28px; background: #FFFFFF; border-bottom: 1px solid var(--bh-border); }
.bh-search { flex: 1 1 280px; max-width: 520px; min-width: 0; height: 44px; border-radius: 12px; border: 1px solid var(--bh-border-2); background: #FFFFFF; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--bh-muted); }
.bh-search:focus-within { border-color: var(--bh-primary); }
.bh-search input { border: none; outline: none; background: transparent; flex: 1; min-width: 0; height: 100%; font-size: 13.5px; color: var(--bh-ink); }
.bh-topbar-end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.bh-lang { height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--bh-border); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--bh-ink); font-size: 13px; font-weight: 700; }
.bh-bell { position: relative; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--bh-border); background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--bh-ink); text-decoration: none; }
.bh-bell-count { position: absolute; top: -5px; inset-inline-end: -5px; }
.bh-topbar-user { display: inline-flex; align-items: center; gap: 10px; }
.bh-topbar-user-mark { width: 38px; height: 38px; border-radius: 19px; background: var(--bh-primary); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bh-topbar-user-text { display: flex; flex-direction: column; line-height: 1.2; }
.bh-topbar-user-name { font-size: 13px; font-weight: 700; }
.bh-topbar-user-role { font-size: 11.5px; color: var(--bh-muted); }
.bh-main { padding: 24px 28px 48px; display: flex; flex-direction: column; gap: 20px; }

@media (max-width: 960px) {
  .bh-side { flex-basis: 100%; padding: 12px 14px; gap: 12px; }
  .bh-side-toggle { display: inline-flex; }
  .bh-nav, .bh-side-user { display: none; }
  .bh-nav-check:checked ~ .bh-nav { display: flex; }
  .bh-nav-check:checked ~ .bh-side-user { display: flex; }
  .bh-nav-check:focus-visible ~ .bh-side-top .bh-side-toggle { outline: 2px solid var(--bh-accent); outline-offset: 2px; }
  .bh-panel-body { flex-basis: 100%; }
  .bh-topbar { padding: 12px 16px; }
  .bh-main { padding: 18px 16px 40px; }
  .bh-topbar-user-text { display: none; }
}

/* Sign-in frame */
.bh-auth { display: flex; flex-wrap: wrap; min-height: 100vh; background: var(--bh-page); }
.bh-auth-brand { position: relative; flex: 1 1 420px; min-height: 360px; background: var(--bh-primary); color: #FFFFFF; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; overflow: hidden; }
.bh-auth-blob { position: absolute; top: 0; inset-inline-end: 0; width: 40%; max-width: 300px; aspect-ratio: 180 / 96; }
html[dir="rtl"] .bh-auth-blob { transform: scaleX(-1); }
.bh-auth-logo { position: absolute; top: 40px; inset-inline-start: 48px; }
.bh-auth-brand h1 { margin: 0; font-size: 34px; line-height: 1.25; font-weight: 800; max-width: 460px; position: relative; }
.bh-auth-brand p { margin: 0; font-size: 15px; line-height: 1.7; opacity: 0.9; max-width: 460px; position: relative; }
@media (max-width: 640px) {
  .bh-auth-brand { padding: 28px 24px; min-height: 300px; }
  .bh-auth-logo { top: 24px; inset-inline-start: 24px; }
  .bh-auth-blob { width: 30%; }
  .bh-auth-brand h1 { font-size: 28px; }
}
.bh-auth-side { flex: 1 1 460px; background: #FFFFFF; padding: 48px 24px; display: flex; align-items: center; justify-content: center; }
.bh-auth-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.bh-auth-titles { display: flex; flex-direction: column; gap: 8px; }
.bh-auth-titles h2 { margin: 0; font-size: 26px; line-height: 1.3; font-weight: 800; }
.bh-auth-titles p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--bh-muted); }
.bh-divider { display: flex; align-items: center; gap: 12px; color: var(--bh-muted); font-size: 12px; font-weight: 700; }
.bh-divider::before, .bh-divider::after { content: ""; flex: 1; height: 1px; background: var(--bh-border); }
.bh-auth-lang { align-self: flex-end; }
.bh-auth-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.bh-auth-points li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.bh-auth-points svg { color: var(--bh-accent); flex: none; }
.bh-auth-note { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--bh-muted); text-align: center; }
.bh-self-start { align-self: flex-start; }

/* Website frame */
.bh-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.bh-sitebar { background: var(--bh-primary-dark); color: #FFFFFF; font-size: 12.5px; }
.bh-sitebar-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; }
.bh-sitebar-note { display: inline-flex; align-items: center; gap: 8px; }
.bh-sitebar-note svg { color: var(--bh-accent); }
.bh-sitebar-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.bh-sitebar-links a { color: #FFFFFF; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.bh-sitebar-links a:hover { color: var(--bh-accent); }
.bh-sitehead { background: #FFFFFF; border-bottom: 1px solid var(--bh-border); }
.bh-sitehead-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 14px 0; }
.bh-sitesearch { flex: 1 1 320px; min-width: 0; height: 44px; border-radius: 12px; border: 1px solid var(--bh-border-2); background: #FFFFFF; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--bh-muted); }
.bh-sitesearch:focus-within { border-color: var(--bh-primary); }
.bh-sitesearch input { border: none; outline: none; background: transparent; flex: 1; min-width: 0; height: 100%; font-size: 13.5px; color: var(--bh-ink); }
.bh-sitehead-tools { display: flex; align-items: center; gap: 10px; }
.bh-iconbtn { position: relative; width: 44px; height: 44px; border-radius: 14px; background: var(--bh-tint); color: var(--bh-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; text-decoration: none; }
.bh-iconbtn:hover { color: var(--bh-primary); }
.bh-iconbtn-count { position: absolute; top: -4px; inset-inline-end: -4px; }
.bh-account { height: 44px; padding-inline: 6px 14px; border-radius: 14px; background: var(--bh-tint); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--bh-ink); font-weight: 700; font-size: 13.5px; }
.bh-account:hover { color: var(--bh-primary); }
.bh-accountmenu { position: relative; }
.bh-accountmenu summary { list-style: none; cursor: pointer; }
.bh-accountmenu summary::-webkit-details-marker { display: none; }
.bh-accountmenu-list { position: absolute; z-index: 30; top: calc(100% + 8px); inset-inline-end: 0; min-width: 220px; padding: 8px; border-radius: 16px; border: 1px solid var(--bh-border); background: #FFFFFF; box-shadow: 0 12px 30px rgba(0, 60, 90, 0.14); display: flex; flex-direction: column; gap: 2px; }
.bh-accountmenu-list a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; border-radius: 10px; color: var(--bh-ink); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.bh-accountmenu-list a:hover { background: var(--bh-tint); color: var(--bh-primary); }
.bh-accountmenu-list svg { color: var(--bh-primary); flex: none; }
.bh-account-mark { width: 32px; height: 32px; border-radius: 16px; background: var(--bh-primary); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bh-sitenav { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: -4px; }
.bh-sitenav a { height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--bh-ink-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.bh-sitenav a:hover, .bh-sitenav a[aria-current="page"] { color: var(--bh-primary); border-bottom-color: var(--bh-primary); }
.bh-sitenav a.bh-sitenav-near { color: var(--bh-primary); margin-inline-start: auto; }
.bh-sitemain { min-height: 40vh; padding: 28px 0; display: flex; flex-direction: column; gap: 20px; }
.bh-footer { background: var(--bh-primary); color: #FFFFFF; margin-top: 56px; }
.bh-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; padding: 48px 0 32px; }
.bh-footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bh-footer-col--about { gap: 14px; }
.bh-footer-col h2 { margin: 0; font-size: 14px; font-weight: 800; color: var(--bh-accent); }
.bh-footer-col a:not(.bh-brand):not(.bh-storebtn):not(.bh-social) { color: #FFFFFF; text-decoration: none; font-size: 13.5px; opacity: 0.9; }
.bh-footer-col a:not(.bh-brand):not(.bh-storebtn):not(.bh-social):hover { opacity: 1; text-decoration: underline; }
.bh-footer-about { margin: 0; font-size: 13.5px; line-height: 1.7; opacity: 0.9; }
.bh-footer-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; opacity: 0.9; }
.bh-socials { display: flex; gap: 8px; }
.bh-social { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.14); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; padding: 0; flex: none; }
.bh-storebtn { height: 48px; padding: 0 14px; border-radius: 12px; background: #FFFFFF; color: var(--bh-ink); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.bh-storebtn-text { display: flex; flex-direction: column; line-height: 1.1; }
.bh-storebtn-small { font-size: 10px; color: var(--bh-muted); }
.bh-storebtn-big { font-size: 14px; font-weight: 800; }
.bh-footer-end { border-top: 1px solid rgba(255, 255, 255, 0.2); padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12.5px; opacity: 0.85; }
@media (max-width: 640px) {
  .bh-container { padding: 0 16px; }
  .bh-sitenav { gap: 0 16px; overflow-x: auto; flex-wrap: nowrap; }
  .bh-account { padding-inline: 6px; }
  .bh-account-name { display: none; }
}

/* Website home */
.bh-home { gap: 40px; }
.bh-section { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.bh-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.bh-section-titles { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bh-section-head h2 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 800; color: var(--bh-primary); }
.bh-section-head p { margin: 0; font-size: 13.5px; color: var(--bh-muted); }
.bh-section-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.bh-hero { position: relative; overflow: hidden; background: var(--bh-tint); border-radius: 28px; }
.bh-hero-blob { position: absolute; top: 0; inset-inline-end: 0; width: 340px; aspect-ratio: 250 / 112; pointer-events: none; }
html[dir="rtl"] .bh-hero-blob { transform: scaleX(-1); }
.bh-hero-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: clamp(20px, 4vw, 44px); }
.bh-hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 8px 0; }
.bh-hero-chip { align-self: flex-start; padding: 4px 0; color: var(--bh-info); font-size: 12.5px; font-weight: 700; }
.bh-hero h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; font-weight: 800; color: var(--bh-primary); }
.bh-hero p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--bh-muted); }
.bh-hero-search { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 12px 30px rgba(0, 60, 90, 0.14); }
.bh-hero-search .bh-select { flex: 1 1 130px; width: auto; }
.bh-hero-search .bh-search { flex: 3 1 250px; max-width: none; }
.bh-hero-search .bh-btn { flex: 1 1 110px; }
.bh-hero-photos { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 150px 150px; gap: 12px; margin-block-start: 96px; }
.bh-hero-photos img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.bh-hero-photos img:first-child { grid-row: span 2; }
@media (max-width: 1000px) {
  .bh-hero-blob { width: 150px; }
  .bh-hero-photos { margin-block-start: 0; }
}
.bh-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 18px; }
.bh-tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; text-decoration: none; color: var(--bh-ink); }
.bh-tile-photo { display: block; overflow: hidden; border-radius: 24px 24px 48px 48px; }
.bh-tile-photo img { display: block; width: 100%; height: 150px; object-fit: cover; }
.bh-tile-label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.bh-tile-label svg { color: var(--bh-primary); flex: none; }
.bh-shops { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 18px; }
.bh-shop { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 22px; background: var(--bh-tint); color: var(--bh-ink); text-decoration: none; min-width: 0; }
.bh-shop:hover { color: var(--bh-ink); box-shadow: inset 0 0 0 1.5px var(--bh-primary); }
.bh-shop-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bh-shop-logo { width: 54px; height: 54px; border-radius: 16px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.bh-shop-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.bh-shop-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bh-shop-name { font-size: 16px; font-weight: 800; }
.bh-shop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12.5px; color: var(--bh-muted); }
.bh-shop-meta svg { color: var(--bh-accent); }
.bh-shop-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bh-shop-thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #FFFFFF; }
.bh-photocards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.bh-photocards--wide { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }
.bh-photocard { position: relative; display: block; height: 230px; overflow: hidden; border-radius: 22px; background: var(--bh-primary-dark); color: #FFFFFF; text-decoration: none; }
.bh-photocard:hover { color: #FFFFFF; }
.bh-photocard img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bh-photocard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 25, 40, 0.88) 100%); }
.bh-photocard-text { position: absolute; z-index: 1; inset-inline: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 3px; }
.bh-photocard-title { font-size: 19px; line-height: 1.25; font-weight: 800; }
.bh-photocard-sub { font-size: 12.5px; opacity: 0.92; }
.bh-photocard-price { font-size: 14px; font-weight: 800; color: var(--bh-accent); }
.bh-swim { position: relative; display: flex; align-items: center; min-height: 240px; overflow: hidden; border-radius: 28px; color: #FFFFFF; }
.bh-swim-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.bh-swim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 50, 80, 0.92), rgba(0, 60, 95, 0.6) 55%, rgba(0, 60, 95, 0.1)); }
html[dir="rtl"] .bh-swim::after { background: linear-gradient(270deg, rgba(0, 50, 80, 0.92), rgba(0, 60, 95, 0.6) 55%, rgba(0, 60, 95, 0.1)); }
.bh-swim-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 560px; padding: clamp(20px, 4vw, 40px); }
.bh-swim h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); line-height: 1.2; font-weight: 800; }
.bh-swim p { margin: 0; font-size: 14px; opacity: 0.92; }

/* Sign in with a code */
.bh-form-error { margin: 0; }
.bh-auth-alt { margin: 0; font-size: 14px; text-align: center; }
.bh-auth-alt a { font-weight: 800; }
.bh-backlink { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 0; border: none; background: none; color: var(--bh-primary); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.bh-linkbtn { padding: 0; border: none; background: none; color: var(--bh-primary); font-weight: 800; cursor: pointer; }
.bh-code-field { margin: 0; padding: 0; border: none; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bh-code-field legend { padding: 0; margin-bottom: 8px; }

/* The measurement question from the old layout */
#consentBar > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
#consentBar > div > span:last-child { display: flex; gap: 8px; }
#consentBar button { padding: 6px 14px; border: none; border-radius: 999px; font-weight: 700; cursor: pointer; }

/* Information pages */
.bh-crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--bh-muted); }
.bh-crumbs li { display: flex; align-items: center; gap: 6px; }
.bh-crumbs a { color: var(--bh-muted); text-decoration: none; }
.bh-crumbs [aria-current] { color: var(--bh-ink); font-weight: 600; }
.bh-info-head { display: flex; flex-direction: column; gap: 8px; }
.bh-info-head h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 800; color: var(--bh-primary); }
.bh-info-head p { margin: 0; max-width: 720px; font-size: 15px; line-height: 1.65; color: var(--bh-muted); }
.bh-legal { gap: 24px; }
.bh-legal section { display: flex; flex-direction: column; gap: 10px; }
.bh-legal h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--bh-primary); }
.bh-legal ul { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 10px; }
.bh-legal li { font-size: 14px; line-height: 1.75; color: var(--bh-ink-2); }
.bh-legal strong { color: var(--bh-ink); }
.bh-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; }
.bh-contact-card { gap: 10px; align-items: flex-start; }
.bh-contact-card h2 { margin: 0; font-size: 15px; font-weight: 800; }
.bh-contact-card p { margin: 0; font-size: 12.5px; color: var(--bh-muted); }
.bh-contact-value { font-size: 14px; font-weight: 700; }

/* Owner dashboard */
.bh-stats--five { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.bh-bars { display: flex; align-items: stretch; gap: 12px; height: 190px; }
.bh-bar { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bh-bar-fill { display: block; width: 100%; max-width: 64px; min-height: 4px; border-radius: 10px 10px 4px 4px; background: #BFDCEA; }
.bh-bar.is-current .bh-bar-fill { background: var(--bh-primary); }
.bh-bar-label { font-size: 11.5px; color: var(--bh-muted); white-space: nowrap; }
.bh-share { display: flex; flex-direction: column; gap: 12px; }
.bh-share-row { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.bh-share-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.bh-share-track { display: block; height: 8px; overflow: hidden; border-radius: 4px; background: var(--bh-neutral); }
.bh-share-fill { display: block; height: 100%; border-radius: 4px; background: var(--bh-primary); }
.bh-attention { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bh-warning-bg); color: var(--bh-warning); }
.bh-attention-text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 700; }
.bh-attention-text small { font-size: 11.5px; font-weight: 500; }
.bh-empty { margin: 0; font-size: 13px; color: var(--bh-muted); }
.bh-accounts { display: flex; flex-direction: column; gap: 12px; }
.bh-account-row { display: flex; flex-direction: column; padding-block-end: 12px; border-block-end: 1px solid var(--bh-border); }
.bh-account-row:last-child { padding-block-end: 0; border-block-end: none; }
.bh-account-row .bh-ltr { white-space: normal; overflow-wrap: anywhere; }

/* Sea weather in the admin panel */
.bh-btn--alert { background: var(--bh-danger); color: #FFFFFF; }
.bh-toggle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--bh-border); border-radius: 14px; background: #FFFFFF; cursor: pointer; }
.bh-toggle-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bh-toggle-title { font-size: 13.5px; font-weight: 700; }
.bh-toggle-hint { font-size: 12px; color: var(--bh-muted); }
.bh-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bh-toggle input:checked + .bh-switch-track { justify-content: flex-end; background: var(--bh-primary); }
.bh-toggle input:focus-visible + .bh-switch-track, .bh-switch:focus-visible .bh-switch-track { outline: 2px solid var(--bh-primary); outline-offset: 2px; }
.bh-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bh-tint); }
.bh-seg label { flex: 1 1 90px; position: relative; cursor: pointer; }
.bh-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bh-seg span { display: block; padding: 10px 12px; border-radius: 10px; text-align: center; font-size: 13px; font-weight: 700; color: var(--bh-primary-dark); }
.bh-seg input:checked + span { background: var(--bh-primary); color: #FFFFFF; }
.bh-seg input:focus-visible + span { outline: 2px solid var(--bh-primary); outline-offset: 2px; }
.bh-sw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; align-items: start; }
.bh-sw-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; }
.bh-sw-warning { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.bh-sw-warning-form { flex: 999 1 420px; min-width: 0; }
.bh-sw-preview { flex: 1 1 260px; min-width: 0; padding: 14px; border-radius: 16px; background: var(--bh-tint); display: flex; flex-direction: column; gap: 10px; }
.bh-sw-banner { background: #FFFFFF; border-radius: 14px; border-block-start: 4px solid var(--bh-danger); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.bh-sw-banner b { color: var(--bh-danger); }
.bh-sw-banner small { font-size: 11.5px; color: var(--bh-muted); }
.bh-sw-banner[data-type="advisory"] { border-block-start-color: var(--bh-accent); }
.bh-sw-banner[data-type="advisory"] b { color: var(--bh-warning); }
.bh-sw-live { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bh-danger-bg); }
.bh-sw-live[data-type="advisory"] { background: var(--bh-warning-bg); }
.bh-limit { display: block; }
.bh-limit-box { display: flex; align-items: center; gap: 8px; height: 44px; min-width: 130px; padding: 0 12px; border: 1px solid var(--bh-border-2); border-radius: 12px; background: #FFFFFF; }
.bh-limit-box:focus-within { border-color: var(--bh-primary); }
.bh-limit-box input { flex: 1; width: 100%; min-width: 36px; border: none; outline: none; background: transparent; font-size: 13.5px; font-weight: 700; color: var(--bh-ink); }
.bh-limit-op, .bh-limit-unit { font-size: 12.5px; font-weight: 700; color: var(--bh-muted); white-space: nowrap; }
.bh-limit-plain { font-size: 13px; color: var(--bh-muted); white-space: nowrap; }
.bh-sw-icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--bh-border); background: #FFFFFF; color: var(--bh-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.bh-sw-sources { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bh-sw-sources li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 10px 12px; border-radius: 12px; background: var(--bh-page); }
.bh-sw-sources small { font-size: 11.5px; color: var(--bh-muted); }
.bh-sw-save { position: sticky; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 20px; background: #FFFFFF; border: 1px solid var(--bh-border); border-radius: 18px; }
.bh-sw-dialog { width: min(520px, calc(100vw - 32px)); border: none; border-radius: 18px; padding: 20px; color: var(--bh-ink); }
.bh-sw-dialog::backdrop { background: rgba(20, 33, 43, 0.45); }
.bh-sw-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; }

/* Sea weather on the website */
.bh-sitenav a.bh-sitenav-sea { margin-inline-start: auto; color: var(--bh-primary-dark); }
.bh-sitenav a.bh-sitenav-sea + a.bh-sitenav-near { margin-inline-start: 0; }
.bh-sea-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.bh-sea-titles { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bh-sea-titles h1 { margin: 0; font-size: 34px; font-weight: 800; color: var(--bh-primary); }
.bh-sea-titles p { margin: 0; font-size: 14px; color: var(--bh-muted); line-height: 1.6; }
.bh-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--bh-muted); }
.bh-crumbs a { color: inherit; text-decoration: none; }
.bh-crumbs span { font-weight: 700; color: var(--bh-ink); }
.bh-sea-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bh-sea-controls label { flex: 1 1 110px; min-width: 110px; }
.bh-sea-warning { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--bh-danger-bg); color: var(--bh-danger); border-inline-start: 5px solid var(--bh-danger); }
.bh-sea-warning[data-type="advisory"] { background: var(--bh-warning-bg); color: var(--bh-warning); border-inline-start-color: var(--bh-accent); }
.bh-sea-warning p { margin: 2px 0; font-size: 14px; color: var(--bh-ink); line-height: 1.6; }
.bh-sea-warning small { font-size: 12px; }
.bh-sea-hero { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 420px; border-radius: 22px; overflow: hidden; color: #FFFFFF; background: linear-gradient(180deg, #0A6A9D 0%, #1584BD 55%, #4FB0DD 100%); }
.bh-sea-hero.is-rough { background: linear-gradient(180deg, #2A4556 0%, #41637A 55%, #8C9C99 100%); }
.bh-sea-hero.is-night { background: linear-gradient(180deg, #0B2A3F 0%, #12405C 55%, #1B5A7E 100%); }
.bh-sea-hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px 28px 0; }
.bh-sea-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 13px; font-weight: 700; }
.bh-sea-temp { font-size: 96px; line-height: 1.05; font-weight: 800; letter-spacing: -2px; }
.bh-sea-sky { font-size: 17px; font-weight: 700; }
.bh-sea-range { font-size: 13px; opacity: 0.9; }
.bh-sea-scene { display: block; }
[dir="rtl"] .bh-sea-scene { transform: scaleX(-1); }
.bh-sea-verdict { flex-direction: row; align-items: flex-start; gap: 14px; }
.bh-sea-verdict p { margin: 4px 0 10px; font-size: 13.5px; line-height: 1.6; color: var(--bh-muted); }
.bh-sea-verdict b { font-size: 18px; font-weight: 800; }
.bh-sea-verdict-mark { flex: none; width: 44px; height: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center; color: #FFFFFF; background: var(--bh-muted); }
.bh-sea-verdict[data-level="good"] .bh-sea-verdict-mark { background: #2E9B4E; }
.bh-sea-verdict[data-level="good"] b { color: var(--bh-success-strong); }
.bh-sea-verdict[data-level="caution"] .bh-sea-verdict-mark { background: #F2A516; }
.bh-sea-verdict[data-level="caution"] b { color: #8A5300; }
.bh-sea-verdict[data-level="rough"] .bh-sea-verdict-mark { background: #E5484D; }
.bh-sea-verdict[data-level="rough"] b { color: var(--bh-danger); }
.bh-sea-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; }
.bh-sea-metric { padding: 14px 16px; gap: 6px; }
.bh-sea-metric > b { font-size: 24px; font-weight: 800; }
.bh-sea-metric > b small { font-size: 13px; font-weight: 700; color: var(--bh-muted); }
.bh-sea-metric > small { min-height: 16px; font-size: 12px; color: var(--bh-muted); }
.bh-sea-metric-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; color: var(--bh-ink-2); }
.bh-sea-metric-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--bh-tint); color: var(--bh-primary); }
.bh-wind-arrow { color: var(--bh-primary); flex: none; }
.bh-sea-hours { display: flex; gap: 10px; overflow-x: auto; padding-block-end: 4px; }
.bh-sea-hour { flex: 0 0 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 16px; border: 1px solid var(--bh-border); background: #FFFFFF; font-size: 12px; color: var(--bh-muted); text-align: center; }
.bh-sea-hour svg { color: var(--bh-primary); }
.bh-sea-hour b { font-size: 17px; font-weight: 800; color: var(--bh-ink); }
.bh-sea-hour-line { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; white-space: nowrap; }
.bh-sea-hour i { width: 34px; height: 4px; border-radius: 2px; background: #C3CED6; margin-top: 2px; }
.bh-sea-hour[data-level="good"] i, .bh-sea-bar [data-level="good"], .bh-sea-legend [data-level="good"] i, .bh-sea-spots [data-level="good"] > i, .bh-sea-strip-chip[data-level="good"] i { background: #2E9B4E; }
.bh-sea-hour[data-level="caution"] i, .bh-sea-bar [data-level="caution"], .bh-sea-legend [data-level="caution"] i, .bh-sea-spots [data-level="caution"] > i, .bh-sea-strip-chip[data-level="caution"] i { background: #F2A516; }
.bh-sea-hour[data-level="rough"] i, .bh-sea-bar [data-level="rough"], .bh-sea-legend [data-level="rough"] i, .bh-sea-spots [data-level="rough"] > i, .bh-sea-strip-chip[data-level="rough"] i { background: #E5484D; }
.bh-sea-bar [data-level="night"], .bh-sea-legend [data-level="night"] i { background: #C3CED6; }
.bh-sea-hour.is-now { background: var(--bh-primary-dark); border-color: var(--bh-primary-dark); color: #FFFFFF; }
.bh-sea-hour.is-now b, .bh-sea-hour.is-now svg { color: #FFFFFF; }
.bh-sea-best { display: flex; align-items: center; gap: 12px; }
.bh-sea-best > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bh-sea-best small { font-size: 12.5px; color: var(--bh-muted); }
.bh-sea-best b { font-size: 16px; font-weight: 800; color: var(--bh-ink); }
.bh-sea-best b[data-level="good"] { color: var(--bh-success-strong); }
.bh-sea-best b[data-level="caution"] { color: #8A5300; }
.bh-sea-bar-wrap { position: relative; padding-block: 20px 22px; }
.bh-sea-bar { display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden; }
.bh-sea-bar-now { position: absolute; top: 22px; width: 14px; height: 14px; margin-inline-start: -7px; margin-top: -3px; border-radius: 7px; background: #FFFFFF; border: 3px solid var(--bh-ink); }
.bh-sea-bar-now em { position: absolute; bottom: 16px; inset-inline-start: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 8px; background: var(--bh-ink); color: #FFFFFF; font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
[dir="rtl"] .bh-sea-bar-now em { transform: translateX(50%); }
.bh-sea-bar-ticks { position: relative; height: 18px; margin-top: 6px; }
.bh-sea-bar-ticks span { position: absolute; font-size: 11px; color: var(--bh-muted); white-space: nowrap; transform: translateX(-50%); }
[dir="rtl"] .bh-sea-bar-ticks span { transform: translateX(50%); }
.bh-sea-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: var(--bh-muted); }
.bh-sea-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bh-sea-legend i { width: 10px; height: 10px; border-radius: 3px; }
.bh-sea-note { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--bh-ink-2); }
.bh-sea-days td svg { color: var(--bh-primary); display: block; }
.bh-sea-days .bh-cell-sub { margin-top: 4px; }
.bh-cell-low { color: var(--bh-muted); }
.bh-sea-tides { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bh-sea-tides li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 8px 12px; border-radius: 10px; background: var(--bh-page); font-size: 13px; }
.bh-sea-tides li[data-type="high"] b { color: var(--bh-primary); }
.bh-sea-suns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 10px; }
.bh-sea-suns > div { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--bh-warning-bg); color: #8A5300; }
.bh-sea-suns span { display: flex; flex-direction: column; font-size: 12px; }
.bh-sea-suns b { font-size: 15px; color: var(--bh-ink); }
.bh-sea-map { display: block; border-radius: 16px; background: #CFE6F2; }
.bh-sea-map a { cursor: pointer; }
.bh-sea-map .bh-sea-pin { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2)); }
.bh-sea-spots { display: flex; flex-direction: column; gap: 4px; }
.bh-sea-spots a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: inherit; }
.bh-sea-spots a:hover, .bh-sea-spots a[aria-current="true"] { background: var(--bh-tint); }
.bh-sea-spots a > i { flex: none; width: 10px; height: 10px; border-radius: 5px; background: #C3CED6; }
.bh-sea-spots .bh-toggle-text { flex: 1; }
.bh-sea-spots a > b { color: var(--bh-primary); font-weight: 800; }
.bh-sea-promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.bh-sea-season { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: var(--bh-warning-bg); }
.bh-sea-season b, .bh-sea-app b { font-size: 16px; font-weight: 800; }
.bh-sea-season p, .bh-sea-app p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.6; }
.bh-sea-app { padding: 20px 24px; border-radius: 18px; background: var(--bh-primary); color: #FFFFFF; }
.bh-sea-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.bh-sea-credit { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-block: 8px; font-size: 12px; color: var(--bh-muted); text-align: center; line-height: 1.6; }
.bh-sea-credit a { color: var(--bh-primary); font-weight: 700; }
.bh-sea-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 24px; border-radius: 20px; text-decoration: none; color: #FFFFFF; background: linear-gradient(90deg, #0A6A9D, #1584BD); }
.bh-sea-strip > svg { color: var(--bh-accent); flex: none; }
.bh-sea-strip-temp { font-size: 44px; line-height: 1; font-weight: 800; }
.bh-sea-strip-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13.5px; font-weight: 700; }
.bh-sea-strip-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #FFFFFF; color: var(--bh-ink); font-size: 12.5px; }
.bh-sea-strip-chip i { width: 8px; height: 8px; border-radius: 4px; }
.bh-sea-strip-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-inline-end: auto; }
.bh-sea-strip-facts > span { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.16); font-size: 14px; }
.bh-sea-strip-facts small { font-size: 11.5px; opacity: 0.85; }
@media (max-width: 720px) {
  .bh-sea-titles h1 { font-size: 28px; }
  .bh-sea-hero { min-height: 340px; }
  .bh-sea-temp { font-size: 72px; }
  .bh-sea-strip { padding: 16px; }
  .bh-sea-strip .bh-btn { width: 100%; }
}

/* The full panel of the sign-in pages */
.bh-auth-brand--full { justify-content: center; gap: 18px; padding-block: 128px 96px; overflow: hidden; }
.bh-auth-brand--full h1 { font-size: 44px; }
.bh-auth-brand--full p { max-width: 560px; font-size: 16px; }
.bh-auth-chip { position: relative; align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--bh-accent); color: var(--bh-ink); font-size: 14px; font-weight: 700; }
.bh-auth-benefits { position: relative; list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.bh-auth-benefits li { display: flex; align-items: center; gap: 14px; }
.bh-auth-benefit-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.12); color: var(--bh-accent); }
.bh-auth-benefits b { display: block; font-size: 16px; font-weight: 800; }
.bh-auth-benefits small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.5; opacity: 0.85; }
.bh-auth-cards { position: relative; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.bh-auth-card { flex: 1 1 200px; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #FFFFFF; color: var(--bh-ink); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); }
.bh-auth-card-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--bh-tint); color: var(--bh-primary); }
.bh-auth-card--warm .bh-auth-card-icon { background: var(--bh-warning-bg); color: #B97500; }
.bh-auth-card small { display: block; font-size: 12.5px; font-weight: 700; color: #8A5300; }
.bh-auth-card--warm small { color: var(--bh-primary); }
.bh-auth-card b { display: block; font-size: 14.5px; font-weight: 700; }
.bh-auth-waves { position: absolute; inset-inline: 0; bottom: 0; display: block; width: 100%; height: 170px; pointer-events: none; }
.bh-auth-brand .bh-auth-help { position: absolute; bottom: 24px; inset-inline-start: 48px; margin: 0; font-size: 13.5px; opacity: 1; }
.bh-auth-help a { color: var(--bh-accent); font-weight: 700; }
.bh-auth-jump { display: none; }
.bh-legacy-row { flex-wrap: wrap; }
.bh-legacy-row .bh-legacy-panel { flex: 1 1 460px; min-width: 0; display: flex; z-index: 1000; }
.bh-legacy-panel .bh-auth-brand { flex: 1 1 auto; min-height: 100vh; }
.bh-legacy-panel h1 { color: #FFFFFF; }
html[lang="ar"] .bh-legacy-panel, html[lang="ar"] .bh-legacy-panel * { font-family: 'IBM Plex Sans Arabic', 'Montserrat', system-ui, sans-serif !important; }
html:not([lang="ar"]) .bh-legacy-panel, html:not([lang="ar"]) .bh-legacy-panel * { font-family: 'Montserrat', 'IBM Plex Sans Arabic', system-ui, sans-serif !important; }
.bh-legacy-row .right-content { flex: 1 1 400px; min-width: 0; }
@media (max-width: 880px) {
  .bh-auth-brand--full { padding: 96px 24px 76px; gap: 14px; }
  .bh-auth-brand--full h1 { font-size: 32px; }
  .bh-auth-brand--full p { font-size: 14.5px; }
  .bh-auth-benefit-icon { width: 44px; height: 44px; border-radius: 14px; }
  .bh-auth-brand .bh-auth-help { inset-inline-start: 24px; }
  .bh-auth-waves { height: 130px; }
  .bh-auth-jump { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); color: #FFFFFF; font-size: 13.5px; font-weight: 700; text-decoration: none; }
  .bh-legacy-row .bh-legacy-panel { flex-basis: 100%; }
  .bh-legacy-panel .bh-auth-brand { min-height: 0; }
}
