* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; background: #f9f9f9; color: #333; }
.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.branding { position: absolute; left: 2rem; }
.logo { height: 50px; }
.page-title { font-size: 2rem; color: #007B8A; }
.timestamp {
  position: absolute;
  right: 2rem;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 1rem;
  color: #555;
}
.cards-container { display: flex; gap: 2rem; padding: 2.5rem; justify-content: center; }
.status-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 260px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  position: relative;
}
.status-card:hover { transform: translateY(-6px); }
.status-card.online { cursor: pointer; }
.status-card.online::after {
  content: '↗';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.2rem;
  color: #007B8A;
  opacity: 1;
}
.status-card.offline {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}
.status-card h2 {
  min-height: 3.5rem; /* Adjust to fit tallest heading */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem; /* ← add this to increase vertical spacing */

}
.status-card .region {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
}
.status-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.status-inner { display: flex; align-items: center; justify-content: center; gap: 0.75rem; opacity: 0; transition: opacity 0.5s ease; }
.status-card.ready .status-inner { opacity: 1; }
.status-indicator { width: 24px; height: 24px; border-radius: 50%; background-color: transparent; opacity: 1; }
.status-indicator.online { background-color: #28a745; }
.status-indicator.offline { background-color: #d32f2f; }
.status-indicator.checking { background-color: #ffc107; }
.status-text { font-size: 1.1rem; font-weight: 600; }
.timestamp {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  font-size: 0.95rem;
  background: #eef6f8;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.date-line {
  font-weight: bold;
  color: #007B8A;
  font-size: 1.05rem;
  align-self: center;
  text-align: center;
  width: 100%;
}

.time-line {
  font-size: 0.9rem;
  color: #666;
  align-self: flex-end;
}



