/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --bg-color: #f4f7f6;
  --card-bg: #ffffff;
  --text-main: #2c3e50;
  --text-muted: #7f8c8d;
  --status-ok: #27ae60;
  --status-pulse: rgba(39, 174, 96, 0.4);
}

body {
  background-color: var(--bg-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  margin: 0;
}

.dashboard-container {
  padding: 2rem;
}

.status-card {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.status-indicator {
  width: 80px;
  height: 80px;
  background-color: var(--status-ok);
  border-radius: 50%;
  margin: 0 auto 2rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pulse {
  width: 100%;
  height: 100%;
  background-color: var(--status-ok);
  border-radius: 50%;
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 var(--status-pulse);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(39, 174, 96, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
  }
}

.status-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.status-message {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.details {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
  text-align: left;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.label {
  color: var(--text-muted);
}

.value {
  font-weight: 500;
}

.status-ok {
  color: var(--status-ok);
  font-weight: bold;
}
