/* Paste this file into Custom CSS, without a <style> wrapper. */
/* Keep native country graphs visible, including no-data periods and tooltips. */
body.gsd-dashboard-ready .page-status { display: none !important; }

#getnet-status-dashboard {
  font-family: "Santander Text", Helvetica, Arial, sans-serif;
  display: flex;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  box-sizing: border-box;
}
#getnet-status-dashboard * { box-sizing: border-box; }
.gsd-card {
  background: #ffffff;
  border: 1px solid #E6E6E6;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.gsd-services { flex: 1 1 260px; min-width: 0; }
.gsd-countries { flex: 2 1 480px; min-width: 0; overflow-x: auto; }
.gsd-card h3 { margin: 0 0 16px; font-size: 16px; font-weight: 600; color: #222222; }
#gsd-services-list { list-style: none; margin: 0; padding: 0; }
.gsd-service-row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #F0F0F0; }
.gsd-service-row:last-child { border-bottom: none; }
.gsd-service-name { flex: 1; margin-left: 10px; color: #222222; font-size: 14px; }
.gsd-service-status { font-size: 13px; font-weight: 500; }
.gsd-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.gsd-dot.gsd-op { background: #238636; }
.gsd-dot.gsd-deg { background: #F6A700; }
.gsd-dot.gsd-sev { background: #C92A20; }
.gsd-dot.gsd-na { background: #C4C4C4; }
.gsd-legend { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; font-size: 12px; color: #666666; }
.gsd-legend span { display: flex; align-items: center; gap: 6px; }
.gsd-legend .gsd-dot { width: 8px; height: 8px; }
#gsd-country-table { width: 100%; border-collapse: collapse; font-size: 13px; }
#gsd-country-table th, #gsd-country-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid #F0F0F0; white-space: nowrap; }
#gsd-country-table th { color: #666666; font-weight: 500; }
#gsd-country-table th:first-child, #gsd-country-table td.gsd-country-name { text-align: left; }
.gsd-country-name { font-weight: 500; color: #222222; }
.gsd-country-flag { margin-right: 6px; }
.gsd-na-dash { color: #C4C4C4; font-weight: bold; }
@media (max-width: 700px) {
  #getnet-status-dashboard { flex-direction: column; }
  #getnet-status-dashboard > .gsd-card { width: 100%; min-width: 0; }
}

.gsd-topbar {
  font-family: "Santander Text", Helvetica, Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #EC0000;
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 8px;
  box-sizing: border-box;
}
.gsd-topbar h1 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.gsd-uptime-card {
  margin-top: 16px;
  margin-bottom: 0;
  box-sizing: border-box;
}
.gsd-uptime-title { font-size: 15px; font-weight: 700; color: #222222; margin-bottom: 14px; }
.gsd-uptime-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.gsd-uptime-heading .gsd-uptime-title { margin: 0; }
.gsd-uptime-summary { font-size: 15px; font-weight: 700; color: #222; text-align: right; margin-left: auto; }
@media (max-width: 480px) {
  .gsd-uptime-heading { gap: 10px; }
  .gsd-uptime-heading .gsd-uptime-title, .gsd-uptime-summary { font-size: 12px; }
}
.gsd-uptime-bars { display: flex; gap: 2px; align-items: stretch; height: 30px; }
.gsd-uptime-bar { flex: 1 1 auto; min-width: 2px; border-radius: 1px; background: #2FCC66; }
.gsd-uptime-bar.gsd-bar-deg { background: #F6A700; }
.gsd-uptime-bar.gsd-bar-sev { background: #C92A20; }
.gsd-uptime-bar.gsd-bar-na { background: #b3bac5; }
.gsd-uptime-dates { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: #666666; }

/* Incident history redesign (Past Incidents + History page) */
.gsd-incidents-ready .status-day { display: none !important; }
.gsd-incidents-empty { color: #666666; font-size: 14px; padding: 8px 0; }
.gsd-incident-card {
  font-family: "Santander Text", Helvetica, Arial, sans-serif;
  background: #ffffff;
  border: 1px solid #E6E6E6;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  box-sizing: border-box;
}
.gsd-incident-top { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.gsd-incident-icon { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 12px; font-weight: 700; margin-top: 1px; }
.gsd-incident-icon.gsd-ic-ok { background: #238636; }
.gsd-incident-icon.gsd-ic-deg { background: #F6A700; }
.gsd-incident-icon.gsd-ic-sev { background: #C92A20; }
.gsd-incident-main { flex: 1 1 auto; min-width: 0; }
.gsd-incident-title { font-weight: 600; font-size: 14px; color: #222222; text-decoration: none !important; }
.gsd-incident-title:hover { text-decoration: underline !important; }
.gsd-incident-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.gsd-incident-tag { background: #F0F0F0; color: #555555; font-size: 11px; padding: 3px 8px; border-radius: 10px; }
.gsd-incident-date { font-size: 12px; color: #666666; white-space: nowrap; margin-left: 8px; margin-top: 3px; }
.gsd-incident-chevron { width: 8px; height: 8px; margin-left: 4px; margin-top: 7px; flex-shrink: 0; border-right: 2px solid #999999; border-bottom: 2px solid #999999; transform: rotate(45deg); transition: transform .15s ease; }
.gsd-incident-top.gsd-open .gsd-incident-chevron { transform: rotate(225deg); margin-top: 10px; }
.gsd-incident-detail { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid #F0F0F0; }
.gsd-incident-detail.gsd-open { display: block; }
.gsd-incident-update { font-size: 13px; color: #444444; margin-bottom: 8px; }
.gsd-incident-update:last-child { margin-bottom: 0; }
.gsd-incident-update strong { color: #222222; }
.gsd-incident-update small { display: block; color: #999999; margin-top: 2px; }
.gsd-show-all-link { display: inline-flex; align-items: center; gap: 4px; color: #238636; font-size: 13px; font-weight: 600; text-decoration: none !important; margin: 4px 0 6px; }
.gsd-show-all-link:hover { text-decoration: underline !important; }
@media (max-width: 700px) { .gsd-incident-date { white-space: normal; text-align: right; } .gsd-incident-card { padding: 12px; } }


/* Native History page: month sections and expandable incident cards */
.month { margin: 28px 0 0; }
.month-title { font-family: "Santander Text", Helvetica, Arial, sans-serif; font-size: 22px !important; font-weight: 700; color: #0B1F33; margin: 0 0 14px !important; border: 0 !important; }
.month-content { margin: 0; }
.month .incident-data.gsd-history-ready { background: #ffffff; border: 1px solid #D9DEE3; border-radius: 8px; padding: 20px 26px 18px; margin: 0 0 12px; box-sizing: border-box; position: relative; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.month .incident-data.gsd-history-ready::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 14px; border-radius: 50%; background: #00C875; color: #ffffff; font-size: 13px; font-weight: 700; vertical-align: middle; }
.month .incident-data.gsd-history-ready:has(.impact-major)::before, .month .incident-data.gsd-history-ready:has(.impact-critical)::before { content: "!"; background: #C92A20; }
.month .incident-data.gsd-history-ready .incident-title { display: inline-block; color: #0B1F33 !important; font-size: 16px; font-weight: 600; text-decoration: none !important; vertical-align: middle; }
.month .incident-data.gsd-history-ready .incident-title::after { content: "⌄"; display: inline-block; margin-left: 14px; color: #0B1F33; font-size: 18px; transition: transform .15s ease; }
.month .incident-data.gsd-history-ready.gsd-open .incident-title::after { transform: rotate(180deg); }
.month .incident-data.gsd-history-ready .incident-body { display: none; margin: 14px 0 0 36px; color: #444444; font-size: 13px; }
.month .incident-data.gsd-history-ready.gsd-open .incident-body { display: block; }
.month .incident-data.gsd-history-ready .secondary { float: right; color: #667585; font-size: 12px; margin-top: 3px; }
.month .incident-data.gsd-history-ready .secondary::first-letter { color: #667585; }
@media (max-width: 700px) { .month .incident-data.gsd-history-ready { padding: 15px; } .month .incident-data.gsd-history-ready .secondary { float: none; display: block; margin: 8px 0 0 36px; } }

/* Shared identity: current status, history, calendar and incident detail. */
body.status {
  --gsd-brand: #ec0000;
  --gsd-text: #222222;
  --gsd-muted: #666666;
  --gsd-border: #e6e6e6;
  font-family: "Santander Text", Helvetica, Arial, sans-serif;
  background: #fff;
  color: var(--gsd-text);
}
#getnet-status-dashboard[hidden], #gsd-uptime-card[hidden] { display: none !important; }
#gsd-country-table th.gsd-country-name { color: #222; font-weight: 500; text-align: left; }
.gsd-service-status { color: #666; }
.gsd-service-row:has(.gsd-op) .gsd-service-status { color: #238636; }
.gsd-service-row:has(.gsd-deg) .gsd-service-status { color: #946400; }
.gsd-service-row:has(.gsd-sev) .gsd-service-status { color: #c92a20; }
body.status .container { max-width: 1000px; }
body.status .layout-content { padding-top: 16px; }
body.status .masthead-container.basic { background: transparent; border: 0; }
body.status .masthead {
  background: var(--gsd-brand);
  color: #fff;
  padding: 18px 24px;
  border-radius: 8px;
  margin: 0 auto 24px;
  min-height: 68px;
  box-sizing: border-box;
}
body.status .masthead h1, body.status .masthead h2 {
  color: #fff !important; font-size: 22px; font-weight: 700; margin: 0;
}
body.status .show-updates-dropdown {
  background: transparent !important; color: #fff !important;
  border: 2px solid #fff !important; border-radius: 6px;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  text-transform: none; letter-spacing: normal;
}
body.status .show-updates-dropdown:hover { background: #b30000 !important; }
.gsd-topbar { position: relative; margin-bottom: 24px; min-height: 68px; }
.gsd-topbar .updates-dropdown-container { position: static; margin-left: auto; }
.gsd-topbar .updates-dropdown { right: 0; top: 100%; color: #222; z-index: 30; }
body.gsd-brand-ready .masthead-container { display: none; }
body.status .history-nav { margin-top: 24px; border-color: var(--gsd-border); }
body.status .history-nav a.button {
  border-radius: 8px 8px 0 0; padding: 12px 20px;
  color: var(--gsd-muted); font-weight: 600;
}
body.status .history-nav a.button.active,
body.status .history-nav a.button[aria-current="page"] {
  color: var(--gsd-brand); border-bottom: 3px solid var(--gsd-brand);
}
body.status .pagination-container { margin: 24px 0; }
body.status .pagination a { border-radius: 6px; }
body.status .pagination a:not(.disabled):hover { color: var(--gsd-brand); }
body.status .month-title { font-size: 20px !important; color: #222; }
body.status .month .incident-data {
  background: #fff; border: 1px solid var(--gsd-border); border-radius: 8px;
  padding: 20px 24px; box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}
body.status .month .incident-title { color: #222 !important; font-weight: 600; }
body.status .month .incident-body { line-height: 1.7; }
.gsd-history-toggle {
  border: 1px solid #e6e6e6; border-radius: 6px; background: #fff;
  color: #666; padding: 4px 10px; margin: 10px 0 0 36px; cursor: pointer;
}
.gsd-history-toggle:hover { color: #ec0000; border-color: #ec0000; }
.month .incident-data.gsd-history-ready:has(.impact-minor)::before { content: "!"; background: #f6a700; }
.month .incident-data.gsd-history-ready::before { background: #238636; }
.month .incident-data.gsd-history-ready .incident-title::after { content: none; }
.gsd-section-heading { font-size: 22px; font-weight: 700; color: #222; margin: 28px 0 16px; }

/* The custom dashboard replaces duplicate product/country history on the status page. */
body.gsd-dashboard-ready .components-section { display: none !important; }

/* Native 90-day graphs on detail pages: only the shell changes; real SVG fills stay intact. */
body.status .components-container { border: 1px solid var(--gsd-border); border-radius: 8px; overflow: hidden; }
body.status .component-container { background: #fff; border-color: var(--gsd-border); }
body.status .component-inner-container { padding: 20px 24px; }
body.status .component-inner-container .name { color: #222; font-weight: 600; }
body.status .components-uptime-link a,
body.status .page-footer a, .gsd-show-all-link { color: #b30000; }
body.status .page-footer { margin-top: 40px; padding-top: 20px; border-color: var(--gsd-border); }

/* Native calendar: no repainting of operational, degraded or no-data cells. */
body.status .uptime-header { margin: 24px 0; }
body.status .select-input__control { border-radius: 6px; border-color: #e6e6e6; }
body.status .uptime-calendar-display { display: flex; gap: 16px; align-items: stretch; }
body.status .calendar-month {
  background: #fff; border: 1px solid var(--gsd-border); border-radius: 8px;
  padding: 16px; box-sizing: border-box; flex: 1; min-width: 0;
}
body.status .calendar-month .month-header { margin-bottom: 14px; }
body.status .calendar-month h2 { color: #222; font-size: 16px; font-weight: 600; }
body.status .calendar-month .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
body.status .calendar-month svg.day { width: 100%; height: auto; aspect-ratio: 1; }
body.status .calendar-month svg.day rect { rx: 3px; }
.gsd-native-legend { margin: 20px 0; }
.gsd-native-legend .gsd-no-data { background: #b3bac5; }

/* Incident detail: preserve original messages, dates and ordering. */
body.incident .page-title { text-align: left; margin: 28px 0 24px; }
body.incident .incident-name { color: #222 !important; font-size: 28px; line-height: 1.3; font-weight: 700; }
body.incident .page-title .subheader { color: #666; font-size: 16px; margin-top: 10px; }
body.incident .incident-updates-container { border-left: 2px solid #e6e6e6; padding-left: 24px; margin-left: 8px; }
body.incident .update-row {
  display: flex; gap: 24px; background: #fff; border: 1px solid #e6e6e6;
  border-radius: 8px; padding: 22px 24px; margin: 0 0 16px;
  position: relative; box-sizing: border-box; box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}
body.incident .update-row::before {
  content: ""; position: absolute; left: -33px; top: 27px;
  width: 12px; height: 12px; background: #666; border: 2px solid #fff; border-radius: 50%;
}
body.incident .update-row[data-gsd-state="resolved"]::before { background: #238636; }
body.incident .update-row[data-gsd-state="monitoring"]::before { background: #1868db; }
body.incident .update-row[data-gsd-state="identified"]::before,
body.incident .update-row[data-gsd-state="investigating"]::before { background: #f6a700; }
body.incident .update-title { width: 130px; flex: 0 0 130px; margin: 0; font-size: 15px; font-weight: 700; }
body.incident .update-container { flex: 1; width: auto; margin: 0; min-width: 0; }
body.incident .update-body { color: #444; line-height: 1.7; font-size: 14px; }
body.incident .update-timestamp { margin-top: 12px; color: #666; font-size: 12px; }
body.status a:focus-visible, body.status button:focus-visible,
.gsd-history-toggle:focus-visible { outline: 3px solid #1868db; outline-offset: 3px; }
.gsd-uptime-note { color: #666; font-size: 12px; line-height: 1.5; margin-top: 12px; }
@media (max-width: 700px) {
  body.status .container { width: auto; margin-left: 16px; margin-right: 16px; }
  body.status .masthead { padding: 16px; }
  .gsd-topbar { gap: 16px; flex-wrap: wrap; }
  body.status .uptime-calendar-display { flex-direction: column; }
  body.status .calendar-month { width: 100%; }
  body.incident .update-row { flex-direction: column; gap: 12px; padding: 18px; }
  body.incident .update-title { flex-basis: auto; width: auto; }
  body.incident .incident-name { font-size: 24px; }
  .gsd-countries { flex-basis: auto; }
  .gsd-services { flex-basis: auto; }
}