/*
 * 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 {
  color-scheme: light;
  --page-bg: #f3f6fb;
  --panel-bg: rgba(255, 255, 255, 0.9);
  --panel-border: rgba(15, 23, 42, 0.08);
  --text-primary: #142033;
  --text-secondary: #52607a;
  --accent: #1677ff;
  --accent-dark: #0d4fd6;
  --success-bg: #e7f8ef;
  --success-text: #17613f;
  --alert-bg: #fff1eb;
  --alert-text: #9f3d20;
  --shadow: 0 24px 60px rgba(18, 38, 63, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(22, 119, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #f9fbff 0%, var(--page-bg) 100%);
  color: var(--text-primary);
  font-family: "Inter", "Segoe UI", sans-serif;
}

code {
  font-family: "SFMono-Regular", "Monaco", monospace;
}

.flash-banner {
  width: min(1080px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 600;
}

.flash-banner--notice {
  background: var(--success-bg);
  color: var(--success-text);
}

.flash-banner--alert {
  background: var(--alert-bg);
  color: var(--alert-text);
}

.page-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero-card,
.detail-panel,
.status-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  padding: 40px;
}

.eyebrow,
.status-label,
.subtle-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h1 {
  max-width: 12ch;
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy {
  max-width: 56rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.status-grid,
.details-grid {
  display: grid;
  gap: 20px;
}

.status-grid {
  margin-top: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.status-card {
  padding: 24px;
}

.status-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.status-card p,
.detail-panel li,
.detail-panel p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.action-row {
  margin-top: 28px;
}

.primary-button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 24px;
}

.details-grid {
  margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.detail-panel {
  padding: 28px;
}

.detail-panel h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.detail-panel ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 24px;
  }

  .hero-card,
  .detail-panel {
    padding: 24px;
    border-radius: 22px;
  }
}
