﻿:root {
  --admin-bg: #f5f7fb;
  --admin-card: #ffffff;
  --admin-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --admin-accent: #dc3545;
}

body,
body.bg-light {
  background-color: var(--admin-bg) !important;
  color: #0f172a;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.container-fluid > .row {
  align-items: stretch;
}

.card {
  border: 0;
  border-radius: 16px;
  box-shadow: var(--admin-shadow);
  background-color: var(--admin-card);
}

.card-header {
  background: transparent;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 600;
}

.table thead {
  background-color: #f1f5f9;
}

.btn {
  border-radius: 12px;
}

.form-control,
.form-select,
.input-group-text {
  border-radius: 12px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15);
}

.pagination .page-link {
  border-radius: 10px;
}

.pagination .page-item + .page-item .page-link {
  margin-left: 6px;
}

.navbar {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

footer {
  flex-shrink: 0;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.step {
  position: relative;
  padding-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
}

.step::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5f5;
}

.step::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  z-index: -1;
}

.step:last-child::after {
  display: none;
}

.step.active {
  color: #0f172a;
  font-weight: 600;
}

.step.active::before {
  background: #dc3545;
}

.step.completed {
  color: #0f172a;
}

.step.completed::before {
  background: #22c55e;
}

.stepper.cancelled .step::before {
  background: #ef4444;
}

.stepper.cancelled .step {
  color: #ef4444;
  font-weight: 600;
}
