@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@200;300;400;500;600;700&display=swap');

:root {
  --blue: #122f40;
  --green: #a4ce27;
  --soft-green: #ebf5cc;
  --red: #c0392b;
  --soft-red: #fbe9e7;
  --yellow: #c79a00;
  --soft-yellow: #fff6d8;
  --bg: #e5faf7;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: "Source Sans 3", sans-serif;
  color: var(--blue);
}

.wrap {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.card,
.history-card {
  background: var(--card);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(18, 47, 64, .12);
}

.history-card {
  margin-top: 24px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}

/* LOGO */
.logo {
  height: 32px;
  display: block;
  flex-shrink: 0;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.language-switcher select {
  height: 36px;
  padding: 6px 10px;
  border: 1px solid #dce3e7;
  border-radius: 8px;
  background: white;
  color: var(--blue);
  font: inherit;
  cursor: pointer;
}

#google_translate_element {
  margin-left: auto;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.goog-te-gadget {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  line-height: 1 !important;
  font-size: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.goog-te-gadget select {
  font-size: 14px !important;
  padding: 6px 10px;
  border: 1px solid #dce3e7;
  border-radius: 8px;
  background: white;
  color: var(--blue);
  cursor: pointer;

  height: 36px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.goog-te-gadget span,
.goog-te-gadget a {
  display: none !important;
}

.hero-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 14px;
  margin: 24px 0px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--soft-green);
  padding: 10px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.status.is-online {
  background: var(--soft-green);
}

.status.is-online .status-dot {
  background: var(--green);
}

.status.is-offline {
  background: var(--soft-red);
}

.status.is-offline .status-dot {
  background: var(--red);
}

.status.is-unknown {
  background: var(--soft-yellow);
}

.status.is-unknown .status-dot {
  background: var(--yellow);
}

.message {
  line-height: 1.6;
}

.message a {
  color: var(--blue);
  font-weight: 600;
}

small {
  opacity: .6;
}

.incident {
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.incident:last-child {
  border-bottom: none;
}

.empty-state {
  margin-bottom: 0;
  opacity: .7;
}

.incident-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 600px) {
  .card-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  #google_translate_element {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
  }

  .logo {
    height: 28px;
  }

  .language-switcher {
    font-size: 13px;
  }

  .language-switcher select {
    padding: 5px 8px;
  }

  .goog-te-gadget select {
    font-size: 13px !important;
    padding: 5px 8px;
  }
}


