:root {
  --primary: #5468FA;
  --primary-lighter: #EEF0FE;
  --dark: #171C37;
  --text-secondary: #666;
  --success: #067603;
  --success-bg: #E6F1E6;
  --warning: #CC7700;
  --warning-bg: #FFF6E6;
  --error: #E50000;
  --error-bg: #FFE6E6;
  --monitoring: #7928CA;
  --monitoring-bg: #F6F0FF;
  --scheduled: #5468FA;
  --scheduled-bg: #EEF0FE;
  --border-light: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.09);
  --border-dark: rgba(255, 255, 255, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins' !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: var(--dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Header and Navigation */
header {
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
}

.navbar {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 32px;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar-menu li a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-menu li a:hover {
  color: var(--primary);
}

/* Main content */
main {
  background-color: #fff;
}

/* Status Header */
.status-header-wrapper {
  display: flex;
  height: 450px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0C1020;
  margin-top: 64px;
}

.status-header-inner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.status-header-circle {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.circle-1 {
  height: 1300px;
  width: 1300px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.circle-2 {
  height: 1095px;
  width: 1095px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.circle-3 {
  height: 870px;
  width: 870px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.circle-4 {
  height: 625px;
  width: 625px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  max-width: 800px;
  width: 100%;
}

.status-header-title {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 800px;
}

.status-header-description {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  max-width: 600px;
}

.status-header-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
  background-color: white;
  color: black;
  padding: 0 10px;
  height: 52px;
  border-radius: 37px;
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 390px;

}

/* Status Chart */
.status-chart {
  position: absolute;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.status-chart img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  opacity: 1 !important;
}

.status-chart-1 {
  right: 20px;
  top: 500px;
  position: absolute;
}

.status-chart-2 {
  right: 80px;
  bottom: 400px;
  padding: 0.5rem;
  background: linear-gradient(to bottom, #0E1325, #0F1B4A);
  border-radius: 0.75rem;
  position: absolute;
}

.status-chart-3 {
  left: 80px;
  bottom: 400px;
  padding: 1.25rem;
  background: linear-gradient(to bottom, #0E1325, #0F1B4A);
  border-radius: 0.75rem;
  position: absolute;
}

.status-chart-4 {
  left: 20px;
  top: 480px;
  position: absolute;
}

.status-chart-5 {
  right: 70px;
  top: 300px;
  position: absolute;
}

/* Status Combined */
.status-combined-container {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #F9F9F9;
  padding: 3.5rem 3.875rem 2.5rem;
}

.status-combined-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

/* Operational Status */
.operational-status {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--success-bg);
  color: var(--success);
  border-radius: 1.5rem;
  padding: 1.5rem 3.75rem;
  max-width: 628px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid #B4D6B3;
}

.operational-status-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.operational-status-description {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
}

.last-updated {
  color: var(--text-secondary);
  font-size: 12px;
  text-align: center;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.system-status {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 3.75rem;
}

.system-status-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: capitalize;
}

.system-status-description {
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* Status Rows */
.status-rows-container {
  margin-top: 2.25rem;
}

.status-row {
  display: flex;
  gap: 2.25rem;
  margin-top: 2.25rem;
  align-items: start;
}

.status-row:first-child {
  margin-top: 0;
}

/* Status Section */
.status-section {
  flex: 1;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.04);
  padding-top: 1.5rem;
}

.status-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--primary-lighter);
}

.status-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary-lighter);
  border-radius: 0.25rem;
  padding: 0.25rem;
}

.status-section-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--dark);
}

.status-section-items {
  padding: 1.5rem;
}

/* Status Card */
.status-card {
  background-color: white;
  border: 1px solid #eee;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
}

.status-card:last-child {
  margin-bottom: 0;
}

.status-card-content {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.status-card-name {
 display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  width: max-content;
}

/* Status Indicator */
.status-indicator {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;

}

.status-indicator-text {
  text-transform: capitalize;
}

/* Past Incidents */
.past-incidents-container {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 80px;
}

.past-incidents-header {
  text-align: center;
  margin-bottom: 3rem;
}

.past-incidents-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--dark);
}

.past-incidents-description {
  color: var(--text-secondary);
  margin-top: 1rem;
}

.past-incidents-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.incident-container {
  background-color: #f9f9f9;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.incident-container.expanded {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.incident-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  background-color: #F4F4F4;
}

.incident-date-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.incident-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}



.incident-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.incident-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.incident-point-time-icon{
  margin-left: -0.5rem;
}

.incident-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.incident-date {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.expanded .toggle-icon svg {
  transform: rotate(180deg);
}

.incident-points {
  display: flex;
  flex-direction: column;
  padding: 24px 24px;
  background-color: white;
  border-top: 1px solid #eee;
  gap: 2rem;
  padding-top: 3rem;
}

.incident-point {
  display: flex;
  gap: 1rem;
  border-left: 1px solid #DEDEDE;
}

.incident-point-last {
  border-left: none;
}

.incident-point-time-wrapper {
  display: flex;
  align-items: center;
  padding-bottom: 8px;
  margin-top: -1.5rem;
  gap: 8px;
}

.incident-point-wrapper-x{
  display: flex;
  flex-direction: column;
}
.incident-point:last-child {
  border-bottom: none;
}

.incident-point-time {
  min-width: 80px;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.incident-point-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.incident-point-description {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  padding-left: 18px;
  padding-bottom: 24px
}

.incident-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

/* Loading state */
.loading-message {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 32px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Styles */

@media (max-width: 1025px) {
  .system-status-title {
    font-size: 1.5rem;
  }
  
  .status-combined-container {
    padding: 3rem 1.25rem;
  }

  .past-incidents-container {
    padding: 48px 1.25rem;
  }
  .status-row {
    flex-direction: column;
    align-items: normal
  }

  .status-header-wrapper {
    height: 280px;
  }
  .status-section-items {
    padding: 16px;
  }
  
  .circle-1 {
    height: 700px;
    width: 600px;
    border: none;
  }
  
  .circle-2 {
    height: 500px;
    width: 500px;
  }
  
  .circle-3 {
    height: 400px;
    width: 400px;
  }
  
  .circle-4 {
    height: 300px;
    width: 300px;
  }
  
  .status-header-title {
    font-size: 1.5rem;
    padding: 0 2.5rem;
    width: 500px;
  }
  
  .status-header-description {
    font-size: 0.875rem;
    padding: 0 2.5rem;
    width: 420px;
    
  }
  
  .status-header-button {
    margin-top: 1.5rem;
    height: 46px;
    font-size: 0.75rem;
    width: 340px;
  }
  
  .status-chart {
    display: none !important;
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .past-incidents-title {
    font-size: 1.5rem;
  }
  .operational-status {
    padding: 1.5rem 1.25rem;
  }
}

