@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --body-background-color: #0E0E11;
  --body-text-color: #E2E8F0;
  --card-background-color: #13141F;
  --nav-background-color: #0E0E11;
  --nav-border-bottom-color: #2D3142;
  --link-color: #7595FF;
  --link-hover-color: #94ABFF;

  /* Status colors — single source of truth, read by both CSS and timeline.js */
  --ss-color-operational: #7595FF;
  --ss-color-degraded: #F5A623;
  --ss-color-outage: #FF5C5C;

  --success-color: var(--ss-color-operational);
  --warning-color: var(--ss-color-degraded);
  --danger-color: var(--ss-color-outage);
  --tag-background-color: rgba(117, 149, 255, 0.1);
  --tag-text-color: #7595FF;
  --tag-border-color: #2D3142;
  --hr-color: #2D3142;
  --table-border-color: #2D3142;
  --table-odd-row-background-color: #13141F;
  --table-even-row-background-color: #0B0C15;
  --footer-text-color: #888888;
  --icon-filter: none;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background: #0E0E11 !important;
  color: #E2E8F0 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

nav {
  background: #0E0E11 !important;
  border-bottom: 1px solid #2D3142 !important;
}

nav a,
nav .nav-item {
  color: #E2E8F0 !important;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.15s ease;
}

nav a:hover {
  color: #7595FF !important;
}

.logo img {
  height: 28px !important;
  width: auto !important;
}

.all-ok {
  background: rgba(117, 149, 255, 0.1) !important;
  border: 1px solid rgba(117, 149, 255, 0.3) !important;
  color: #7595FF !important;
}

/* Hide the ✅ emoji Upptime injects before the "All systems operational" text */
.all-ok p::before,
.all-ok span::before {
  content: none !important;
}
.all-ok {
  font-size: inherit;
}
.all-ok * {
  font-size: inherit;
}

.card,
.site-card,
article {
  background: #13141F !important;
  border: 1px solid #2D3142 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.site-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.site-card:hover {
  transform: translateY(-2px);
  border-color: #7595FF !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #E2E8F0 !important;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a {
  color: #7595FF !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #94AAFF !important;
}

.up,
.status-up,
.tag.is-success {
  color: #7595FF !important;
  background: rgba(117, 149, 255, 0.1) !important;
}

.down,
.status-down,
.tag.is-danger {
  color: #FF5C5C !important;
  background: rgba(255, 92, 92, 0.1) !important;
}

.degraded,
.status-degraded,
.tag.is-warning {
  color: #F5A623 !important;
  background: rgba(245, 166, 35, 0.1) !important;
}

footer {
  background: #0E0E11 !important;
  border-top: 1px solid #2D3142 !important;
  color: #888888 !important;
}

footer a {
  color: #888888 !important;
}

footer a:hover {
  color: #7595FF !important;
}

.intro-title {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: rgba(226, 232, 240, 0.9) !important;
}

.intro-message {
  color: #94A3B8 !important;
  font-size: 14px !important;
}

p {
  color: #94A3B8;
}

hr {
  border-color: #2D3142 !important;
}

table {
  border-color: #2D3142 !important;
}

td, th {
  border-color: #2D3142 !important;
}

.response-time {
  color: #A1A1AA !important;
}

.uptime {
  color: #7595FF !important;
  font-weight: 600;
}
