/**
 * SkyAirways - Shared Sign Out Header Strip
 * Fixed top-right strip on all customer-facing pages (landing + channels).
 */

/* Single source of truth for the strip's height. The strip is fixed, so every
   page that reserves space for it (body padding below, sim-shell/wa-desktop in
   the channel stylesheets) must use this same value — read it as
   var(--rb-signout-h, 44px) so a stylesheet loaded without this file still
   falls back to the right number. */
:root {
  --rb-signout-h: 44px;
}

.rb-signout-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--rb-signout-h);
  box-sizing: border-box;
  z-index: 10000;
  background: rgba(26, 31, 94, 0.95);
  color: #1BB8F5;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  padding: 8px 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
}

.rb-signout-strip__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rb-signout-strip__role {
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.rb-signout-strip__btn {
  background: #1BB8F5;
  color: #1a1f5e;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

/* Was #ffd500, a Royal Brunei yellow shade. The Stage 2 sweep replaced the
   base colour token above it but had no entry for this hover variant. */
.rb-signout-strip__btn:hover {
  background: #4FC8F8;
}

.rb-signout-strip__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Reserve vertical space so the fixed strip doesn't cover page content. */
body {
  padding-top: var(--rb-signout-h);
}
