@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

:root {
  color-scheme: light dark;
  --bg: #0f172a;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22d3ee;
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(135deg, #0f172a 0%, #0b1221 40%, #0a0f1c 100%);
  color: var(--text);
}

.shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: min(980px, 100%);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  box-shadow: var(--shadow);
  padding: 32px;
}

.header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  background: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0b1221;
  letter-spacing: -0.02em;
}

.title {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 6px 0 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.tile {
  padding-top: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.tile:hover {
  border-color: rgba(34, 211, 238, 0.7);
  transform: translateY(-2px);
}

.tile h3 {
  margin: 0 0 10px 0;
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  margin-right: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: border-color 0.2s, transform 0.2s;
}

.btn:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
  color: #0b1221;
  border: none;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
}
.badge.draft { background: #7f8c8d; }
.badge.uploaded { background: #2980b9; }
.badge.processed { background: #8e44ad; }
.badge.operator_validated { background: #27ae60; }
.badge.admin_validated { background: #16a085; }
.badge.rejected { background: #c0392b; }
.badge.cancelled { background: #95a5a6; }

.footer {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

code {
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

