* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #171821 0, #050509 60%);
  color: #f5f5f5;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 16px 60px;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #f9fafb;
}

.brand span {
  color: #f97316;
}

.nav-links a {
  margin-left: 16px;
  font-size: 0.9rem;
  color: #9ca3af;
  text-decoration: none;
}

.nav-links a:hover {
  color: #f97316;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 32px;
  margin-bottom: 40px;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
}

.hero-title span {
  color: #f97316;
}

.hero-sub {
  margin-top: 12px;
  color: #d1d5db;
}

.hero-card {
  background: rgba(15,23,42,0.9);
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 18px 40px rgba(15,23,42,0.9);
}

/* FORM */
.form-group {
  margin-bottom: 14px;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: #e5e7eb;
}

input, select, textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #f9fafb;
  padding: 8px 10px;
  font-size: 0.9rem;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 1px #f97316;
}

.btn {
  border-radius: 999px;
  border: none;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, #f97316, #fb923c);
  color: #111827;
  box-shadow: 0 10px 25px rgba(248,113,113,0.32);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.7rem;
  padding: 4px 10px;
  background: rgba(248,113,113,0.12);
  color: #fed7aa;
  margin-bottom: 8px;
}

/* CARDS */
.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.info-card {
  background: rgba(15,23,42,0.8);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(148,163,184,0.4);
}

.info-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-text {
  font-size: 0.85rem;
  color: #d1d5db;
}

/* TABLES */
.table-card {
  background: rgba(15,23,42,0.9);
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(148,163,184,0.35);
  margin-top: 20px;
}

.table-card h2 {
  font-size: 1rem;
  margin-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

th, td {
  padding: 6px 8px;
  text-align: left;
}

th {
  color: #9ca3af;
  border-bottom: 1px solid #374151;
}

tr:nth-child(even) td {
  background: rgba(15,23,42,0.5);
}

.status-pill {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
}

.status-pending {
  background: rgba(251,191,36,0.18);
  color: #facc15;
}

.status-in_progress {
  background: rgba(59,130,246,0.18);
  color: #60a5fa;
}

.status-completed {
  background: rgba(34,197,94,0.18);
  color: #4ade80;
}

.status-cancelled {
  background: rgba(248,113,113,0.18);
  color: #fca5a5;
}

/* Simple helper */
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 16px; }
.text-sm { font-size: 0.8rem; color: #9ca3af; }

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
