/* Reseau status page, dark (charcoal). Paste into Statuspage: Customize page and emails > Custom CSS.
   Pair with the dark Colours values (body 1F2325). This file adds layout, type, shape and the card colours.
   Expects the cover image reseau-status-hero-v3.png (1700 x 630) to be uploaded. */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root { --font-stack-a: "IBM Plex Sans", "Segoe UI", Arial, sans-serif; color-scheme: dark; }
body, body.status, .layout-content, .font-regular:not(.fa), .font-large:not(.fa), .font-largest:not(.fa), .font-small:not(.fa),
button, input, select, textarea { font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important; }
.fa { font-family: FontAwesome !important; }

/* Masthead: a full-width charcoal band. The cover sits centred in it at up to 850 x 315 (its background is the
   same charcoal, so the band reads as one piece), then a full-width bar with the name and Subscribe. */
.layout-content.status .masthead-container.premium { max-width: none; width: 100%; background: #2B2F31; border: 0; border-bottom: 1px solid #3E4447; border-radius: 0; margin: 0 0 70px; }
.layout-content.status .masthead-container.premium .masthead { margin-bottom: 0; }
/* Statuspage serves every cover cropped to 850 x 315, and its script sets an inline height on resize.
   Height 0 plus padding (315/850 of the width, at most 315px) overrides that, so the cover always shows whole. */
.layout-content.status .masthead-container.premium .masthead #cover-image-container.images-container {
  height: 0 !important; min-height: 0 !important; max-height: none !important; padding-top: min(37.06%, 315px) !important;
  background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important;
  background-color: #2B2F31;
}
.layout-content.status .masthead-container.premium .masthead .text-container {
  position: static; background: #2B2F31; border-top: 1px solid #3E4447;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(20px, calc((100% - 850px) / 2));
}
.layout-content.status .masthead-container.premium .masthead .text-container .page-name {
  float: none; max-width: none; flex: 1 1 auto; min-width: 0; top: 0;
  font-size: 20px; font-weight: 600; letter-spacing: -0.2px;
}
.layout-content.status .masthead-container.premium .masthead .text-container .page-name a { color: #F2F4F5; text-decoration: none; }
.layout-content.status .masthead-container .updates-dropdown-container { float: none; flex: 0 0 auto; }
.layout-content.status .masthead-container .updates-dropdown-container .show-updates-dropdown {
  background: #FFA02F; color: #1F2325; border: 0; border-radius: 8px; box-shadow: none; text-shadow: none;
  font-size: 14px; font-weight: 600; letter-spacing: 0.2px; text-transform: none; padding: 11px 18px;
}
.layout-content.status .masthead-container .updates-dropdown-container .show-updates-dropdown:hover { background: #FFB65C; color: #1F2325; }
@media screen and (max-width: 450px) {
  .layout-content.status .masthead-container.premium .masthead .text-container { padding: 10px 16px; }
  .layout-content.status .masthead-container.premium .masthead .text-container .page-name { font-size: 17px; }
}

/* Open incidents and security advisories: dark cards with a deep title bar per impact.
   The Colours values stay light so status text reads on charcoal; the bars get their own deeper shades here. */
.layout-content.status.status-index .unresolved-incidents .unresolved-incident { border-radius: 12px; overflow: hidden; border: 1px solid #3E4447; }
.layout-content.status.status-index .unresolved-incidents .unresolved-incident .incident-title { text-shadow: none; }
.layout-content.status.status-index .unresolved-incidents .unresolved-incident .incident-title a,
.layout-content.status.status-index .unresolved-incidents .unresolved-incident .incident-title a:hover { color: #FFFFFF; }
.layout-content.status.status-index .unresolved-incidents .unresolved-incident .updates { background: #2B2F31; border: 0 !important; line-height: 1.6; color: #E4E8EA; }
.layout-content.status.status-index .unresolved-incidents .unresolved-incident.impact-none .incident-title { background-color: #285F9C; }
.layout-content.status.status-index .unresolved-incidents .unresolved-incident.impact-minor .incident-title { background-color: #8A6A00; }
.layout-content.status.status-index .unresolved-incidents .unresolved-incident.impact-major .incident-title { background-color: #B4521F; }
.layout-content.status.status-index .unresolved-incidents .unresolved-incident.impact-critical .incident-title { background-color: #B3261E; }
.layout-content.status.status-index .unresolved-incidents .unresolved-incident.impact-maintenance .incident-title { background-color: #285F9C; }

/* About this site */
.text-section h2 { font-weight: 600; letter-spacing: -0.3px; }

/* Services: one rounded card, a shade lighter than the page */
.components-container { border: 1px solid #3E4447; border-radius: 12px; overflow: hidden; background: #2B2F31; }
.components-container .component-container { border-left: 0; border-right: 0; border-top: 0; border-bottom: 1px solid #3A4043; margin: 0; border-radius: 0; background: #2B2F31; }
.components-container .component-container:last-child { border-bottom: 0; }
.component-inner-container .name { font-weight: 500; }
.component-inner-container .component-status { font-weight: 600; }

/* Page status banner (no open incident): dark text on the status colour */
.page-status, .page-status .status { color: #1F2325 !important; text-shadow: none; }

/* Past incidents */
.status-day .date { font-weight: 600; }