/* ============================================================
   GLOBAL HOLDINGS — STATUSPAGE CUSTOM CSS
   Paste into: Manage → Design → Custom CSS
   Colors extracted from globalholdings.com:
     Navy text:   #1a2233
     Blue accent: #0072CE
     Light bg:    #f5f7fa
     Border:      #e2e8f0
     White:       #ffffff
   ============================================================ */

/* ── FONT ── */
* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ── GLOBAL BACKGROUND ── */
body {
  background: #f5f7fa !important;
  color: #1a2233 !important;
  margin: 0 !important;
}

/* ── HIDE DEFAULT STATUSPAGE MASTHEAD ── */
.masthead-container,
.masthead,
.page-footer,
.footer-powered-by,
footer.page-footer {
  display: none !important;
}

/* ════════════════════════════════════════
   HEADER
   ════════════════════════════════════════ */
.gh-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}

.gh-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.gh-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* Nav links */
.gh-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.gh-nav > a,
.gh-dropdown-toggle {
  font-size: 14px;
  font-weight: 500;
  color: #1a2233 !important;
  text-decoration: none !important;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  cursor: pointer;
}

.gh-nav > a:hover,
.gh-dropdown-toggle:hover {
  background: #f0f5ff !important;
  color: #0072CE !important;
}

/* Dropdown */
.gh-dropdown {
  position: relative;
}

.gh-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  min-width: 220px;
  padding: 8px 0;
  z-index: 1000;
}

.gh-dropdown:hover .gh-dropdown-menu {
  display: block;
}

.gh-dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #1a2233 !important;
  text-decoration: none !important;
  transition: background 0.1s;
}

.gh-dropdown-menu a:hover {
  background: #f0f5ff;
  color: #0072CE !important;
}

/* CTA buttons */
.gh-header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.gh-btn-outline {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0072CE !important;
  border: 1.5px solid #0072CE !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s !important;
  white-space: nowrap;
}

.gh-btn-outline:hover {
  background: #f0f5ff !important;
}

.gh-btn-solid {
  font-size: 13px !important;
  font-weight: 600 !important;
  background: #0072CE !important;
  color: #ffffff !important;
  border: 1.5px solid #0072CE !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: background 0.15s !important;
  white-space: nowrap;
}

.gh-btn-solid:hover {
  background: #005fad !important;
  border-color: #005fad !important;
}

/* ════════════════════════════════════════
   STATUS HERO BANNER
   ════════════════════════════════════════ */
.gh-status-hero {
  background: linear-gradient(135deg, #0d1f3c 0%, #0e3a6e 100%);
  padding: 52px 40px 48px;
}

.gh-status-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.gh-status-title {
  font-size: 38px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: none !important;
}

.gh-status-sub {
  font-size: 16px !important;
  color: rgba(255,255,255,0.6) !important;
  margin: 0 !important;
}

/* ════════════════════════════════════════
   MAIN CONTENT CONTAINER
   ════════════════════════════════════════ */
.container {
  max-width: 1080px !important;
  padding-top: 40px !important;
  padding-bottom: 48px !important;
}

/* ── Overall status block ── */
.page-status {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 24px 28px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
}

.page-status .status {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #1a2233 !important;
  letter-spacing: -0.02em !important;
}

.page-status.status-none .status {
  color: #16a34a !important;
}

.page-status.status-minor .status {
  color: #d97706 !important;
}

.page-status.status-major .status {
  color: #dc2626 !important;
}

/* ── Component rows ── */
.components-section .name {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1a2233 !important;
}

.component-container {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  transition: background 0.1s;
}

.component-container:hover {
  background: #fafbfc !important;
}

/* First/last radius on component groups */
.components-section > .component-container:first-of-type {
  border-radius: 10px 10px 0 0 !important;
}
.components-section > .component-container:last-of-type {
  border-radius: 0 0 10px 10px !important;
}

/* Status labels */
.component-status {
  font-size: 12px !important;
  font-weight: 600 !important;
}

.component-status.operational   { color: #16a34a !important; }
.component-status.degraded_performance,
.component-status.partial_outage { color: #d97706 !important; }
.component-status.major_outage   { color: #dc2626 !important; }
.component-status.under_maintenance { color: #0072CE !important; }

/* ── Section headings ── */
.font-large,
.update-title,
h2.font-large {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1a2233 !important;
  letter-spacing: -0.02em !important;
}

/* ── Incident cards ── */
.incident {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 20px 24px !important;
  margin-bottom: 12px !important;
  box-shadow: none !important;
}

.incident-title a {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1a2233 !important;
  text-decoration: none !important;
}

.incident-title a:hover {
  color: #0072CE !important;
}

.update-body,
.update-body p {
  font-size: 14px !important;
  color: #374151 !important;
  line-height: 1.65 !important;
}

.whitespace-no-wrap,
.incident-timestamp {
  font-size: 11px !important;
  color: #6b7280 !important;
}

/* Incident status badges */
.impact-minor   { color: #d97706 !important; }
.impact-major   { color: #dc2626 !important; }
.impact-none    { color: #16a34a !important; }

/* ── Subscribe button ── */
.btn-subscribe,
.subscribe-btn,
.btn.btn-subscribe,
a.btn-subscribe {
  background: #0072CE !important;
  border-color: #0072CE !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 10px 24px !important;
  transition: background 0.15s !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.btn-subscribe:hover,
.subscribe-btn:hover,
.btn.btn-subscribe:hover {
  background: #005fad !important;
  border-color: #005fad !important;
}

/* ── Metrics / uptime ── */
.uptime-day.operational,
rect.up {
  fill: #0072CE !important;
}

.uptime-day.partial_outage,
rect.partial {
  fill: #f59e0b !important;
}

.uptime-day.major_outage,
rect.down {
  fill: #dc2626 !important;
}

/* ── No incidents message ── */
.unresolved-incidents p,
.font-regular {
  color: #6b7280 !important;
  font-size: 14px !important;
}

/* ── Scheduled maintenance ── */
.scheduled-maintenance-info {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  border-radius: 8px !important;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.gh-footer {
  background: #0d1f3c;
  margin-top: 0;
  padding: 0;
}

.gh-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.gh-footer-brand {}

.gh-footer-logo-link {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none !important;
}

.gh-footer-tagline {
  font-size: 13px !important;
  color: rgba(255,255,255,0.45) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.gh-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gh-footer-col-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.35) !important;
  margin-bottom: 4px !important;
}

.gh-footer-col a {
  font-size: 13px !important;
  color: rgba(255,255,255,0.6) !important;
  text-decoration: none !important;
  transition: color 0.15s;
  line-height: 1.5 !important;
}

.gh-footer-col a:hover {
  color: #ffffff !important;
}

.gh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.gh-footer-bottom-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.gh-footer-legal-links {
  display: flex;
  gap: 20px;
}

.gh-footer-legal-links a {
  font-size: 12px !important;
  color: rgba(255,255,255,0.35) !important;
  text-decoration: none !important;
  transition: color 0.15s;
}

.gh-footer-legal-links a:hover {
  color: rgba(255,255,255,0.7) !important;
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  .gh-header {
    padding: 0 20px;
    height: 64px;
  }
  .gh-nav { display: none !important; }
  .gh-btn-outline { display: none !important; }
  .gh-status-hero { padding: 36px 20px; }
  .gh-status-title { font-size: 28px !important; }
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .gh-footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 40px 20px 32px;
    gap: 28px;
  }
  .gh-footer-brand { grid-column: 1 / -1; }
  .gh-footer-bottom-inner {
    padding: 16px 20px;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .gh-footer-inner { grid-template-columns: 1fr; }
}