* {
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

body {
  margin: 0;
  background: #f5f7fb;
  color: #1c2434;
}

.site-header {
  background: #1b3a57;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-header nav a {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
  font-size: 0.95rem;
}

main {
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(19, 24, 32, 0.08);
  margin-bottom: 1.5rem;
}

.login-card {
  max-width: 420px;
  margin: 3rem auto;
}

.form-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.9rem;
  gap: 0.35rem;
}

input,
select,
button {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #d6dbe6;
  font-size: 0.95rem;
}

button {
  border: none;
  background: #1b3a57;
  color: white;
  cursor: pointer;
}

button.primary {
  background: #2f6f6c;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.status-details {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: #f7f9fc;
  border: 1px solid #dfe6f2;
}

.status-details summary {
  cursor: pointer;
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

thead {
  text-align: left;
  background: #f0f3f9;
}

th,
td {
  padding: 0.75rem;
  border-bottom: 1px solid #e1e7f0;
  font-size: 0.9rem;
}

.muted {
  color: #6c7a89;
}

.alerts {
  margin-bottom: 1rem;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.alert.success {
  background: #e2f8f2;
  color: #227a68;
}

.alert.error {
  background: #fde8e8;
  color: #b23434;
}

.alert.info {
  background: #e7f1ff;
  color: #1f4f9f;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.status-grid .label {
  display: block;
  font-size: 0.8rem;
  color: #6c7a89;
}

.site-footer {
  text-align: center;
  font-size: 0.8rem;
  color: #6c7a89;
  padding: 1.5rem 0 2rem;
}
