@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #0d6efd;
  --brand-dark: #0a58ca;
  --accent: #f59e0b;
  --line: #d1d5db;
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px;
}

.glass {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 26px;
  border-radius: 18px;
}

.navbar h2 {
  font-size: 1.5rem;
  color: #111827;
}

.navbar div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.navbar a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.navbar a:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

.hero {
  margin-top: 18px;
  border-radius: 24px;
  padding: clamp(36px, 5vw, 68px);
  display: block;
  gap: 26px;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1.06;
  margin-bottom: 14px;
}

.hero-content p {
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-badges span {
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 600;
  font-size: 0.88rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 16px rgba(13, 110, 253, 0.2);
}

.btn.secondary {
  background: #ffffff;
  border-color: #d1d5db;
  color: #1f2937;
}

.hero-panel {
  border-radius: 18px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.hero-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.hero-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.hero-metric:last-child {
  border-bottom: none;
}

.hero-metric strong {
  color: #0b2b55;
}

.hero-metric span {
  color: #2463b4;
  font-weight: 800;
}

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

.card {
  background: var(--surface-solid);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.auth-wrap,
.dashboard {
  margin-top: 22px;
}

.auth-card,
.form-container,
.table-wrap {
  border-radius: 20px;
}

.auth-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 34px;
}

.auth-kicker {
  color: #374151;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.auth-title {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  margin-bottom: 18px;
}

.muted-line {
  text-align: center;
  color: var(--muted);
  margin-top: 14px;
}

.muted-line a {
  color: #2563eb;
  font-weight: 600;
}

.form-container {
  margin: 0;
  max-width: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

input,
select,
textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.98rem;
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

button {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: #0d6efd;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(13, 110, 253, 0.22);
}

.dashboard-head {
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 12px;
}

.section-subtext {
  color: var(--muted);
  margin-bottom: 18px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.table-wrap,
.form-panel {
  padding: 20px;
}

.table-wrap {
  overflow: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  min-width: 640px;
}

.table th {
  text-align: left;
  padding: 13px 14px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #1f2937;
  color: #f3f8ff;
}

.table td {
  padding: 13px 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #1f2937;
}

.table tr:last-child td {
  border-bottom: none;
}

.table td button {
  width: auto;
  min-width: 92px;
  padding: 8px 12px;
  border-radius: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.82rem;
  font-weight: 700;
}

.pending {
  background: #fff1da;
  color: #9a5b00;
}

.accepted {
  background: #dff2ff;
  color: #065899;
}

.transit {
  background: #e7ecff;
  color: #3149a4;
}

.completed {
  background: #ddfbe8;
  color: #0d7442;
}

footer {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  padding-bottom: 20px;
}

.reveal-up {
  opacity: 1;
  transform: none;
  animation: none;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}

.reveal-delay-2 {
  animation-delay: 0.24s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .page-shell {
    padding: 16px;
  }

  .auth-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar div {
    width: 100%;
  }

  .navbar a {
    padding: 8px 10px;
  }

  .table {
    min-width: 560px;
  }
}