* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #333;
  transition: background 0.5s ease;
}

/* Beautiful blue background for OPEN status */
body.status-OPEN {
  background: linear-gradient(135deg, #7da9ee 0%, #5284f0 50%, #1d4ed8 100%);
}

/* Mild red tone for CLOSED or OPEN_NO_SNOW */
body.status-CLOSED,
body.status-OPEN_NO_SNOW {
  background: linear-gradient(135deg, #fecaca 0%, #f07c7c 50%, #f43e3e 100%);
}

/* Mild purple background for UNKNOWN */
body.status-UNKNOWN {
  background: linear-gradient(135deg, #e9d5ff 0%, #c294f3 50%, #a04cf4 100%);
}

/* Default background (loading state) */
body:not([class*="status-"]) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  text-align: center;
}

h1 {
  font-family: 'Bricolage Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1a202c;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  letter-spacing: -0.02em;
}

.message {
  font-family: 'Bricolage Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.5rem;
  margin: 20px 0;
  color: #2d3748;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.01em;
}

.sources {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  text-align: left;
}

.sources h2 {
  font-size: 1rem;
  color: #718096;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.source-check {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f7fafc;
  font-size: 0.9rem;
}

.source-check:last-child {
  border-bottom: none;
}

.source-name {
  font-weight: 600;
  color: #2d3748;
  margin-right: 8px;
}

.source-status-text {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 500;
  margin-left: 8px;
}

.source-details-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
  line-height: 1.4;
}

.source-details-label {
  font-size: 0.75rem;
  color: #a0aec0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.source-details {
  font-size: 0.8rem;
  color: #718096;
  font-weight: 400;
  line-height: 1.4;
}

.source-time {
  color: #718096;
  font-size: 0.85rem;
}

.loading {
  color: #4a5568;
  font-size: 1.2rem;
}

.refresh-btn {
  margin-top: 30px;
  padding: 12px 30px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.refresh-btn:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.refresh-btn:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  
  .message {
    font-size: 1.2rem;
  }
  
  .container {
    padding: 30px 20px;
  }
}

