body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif; /* iets zachter dan alleen Arial */
  background: #fafafa;
  color: #333;
}

/* --- HERO SECTION --- */
.hero {
  height: 300px;
  background: url("https://dka575ofm4ao0.cloudfront.net/pages-hero_covers/normal/787150/2.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.45);
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
}

.hero-overlay img {
  display: block;
  margin: 0 auto 10px auto; /* centreren + 10px ruimte eronder */
}

.logo {
  max-height: 50px;
  margin-bottom: 10px;
}

/* --- GLOBAL STATUS --- */
.global-status {
  text-align: center;
  padding: 15px;
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

.status-success {
  color: #28a745;
}
.status-warning {
  color: #ffc107;
}
.status-danger {
  color: #dc3545;
}

/* --- MAIN CONTAINER --- */
.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* --- CATEGORY HEADER --- */
.category {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
  transition: all 0.3s ease;
}

.category h3 {
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
  color: #171A62;
}

/* --- SERVICE CARDS --- */
.service {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  padding: 15px;
  transition: transform 0.2s ease;
}

.service:hover {
  transform: translateY(-2px);
}

/* --- SERVICE HEADER --- */
.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-name {
  font-weight: 600;
  color: #171A62;
}

.badge {
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge.success { background: #28a745; }
.badge.warning { background: #ffc107; color: #000; }
.badge.danger { background: #dc3545; }

/* --- INCIDENT DETAILS --- */
.incident-details,
.maintenance-item,
.past-incident {
  background: #f9f9f9;
  border-left: 4px solid #ff8200;
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px;
  line-height: 1.4;
}

/* --- CATEGORY HEADER BAR --- */
.cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cat-header .indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

.indicator.success { background-color: #28a745; }
.indicator.warning { background-color: #ffc107; }
.indicator.danger { background-color: #dc3545; }

.service-list.collapsed {
  display: none;
}

.toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.toggle-btn:hover {
  transform: scale(1.2);
}

.uptime {
  font-size: 0.8rem;
  color: #6c757d;
  margin-left: auto;
  margin-right: 10px;
}

.history-item {
  background: #fff;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.history-item strong {
  color: #333;
}

.back-link {
  display: inline-block;
  margin-top: 10px;
  color: #0078d7;
  text-decoration: none;
}
.back-link:hover {
  text-decoration: underline;
}

.btn-history {
  display: inline-block;
  background: #0078d7;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-history:hover {
  background: #005ea6;
}


/* --- FOOTER --- */
.footer {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #ddd;
}

.footer-link {
  color: #0078d7;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-link:hover {
  text-decoration: underline;
}

/* --- MISC TEXT STYLES --- */
.text-muted {
  color: #6c757d;
}

.mt-5 {
  margin-top: 40px;
}
