/* ============================================================
   SEINORA — Admin panel styles
   ============================================================ */
:root {
  --sn-teal: #f97316;
  --sn-teal-dark: #0b1329;
  --sn-teal-light: #ffedd5;
  --sn-coral: #ef4444;
  --sn-amber: #f59e0b;
  --sn-sand: #f1f5f9;
  --sn-ink: #0f172a;
}

body.admin-body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--sn-sand);
  color: var(--sn-ink);
  font-size: 14px;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--sn-ink); }

.text-bg-coral { background: var(--sn-coral); color: #fff; }
.text-bg-amber { background: var(--sn-amber); color: #4a3800; }
.text-bg-green { background: #5FA052; color: #fff; }
.text-bg-teal  { background: var(--sn-teal); color: #fff; }

.btn {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 0.5rem;
  padding: 0.35rem 0.8rem;
  transition: all 0.15s ease-in-out;
}
.btn-teal { background: var(--sn-teal); border-color: var(--sn-teal); color: #fff; }
.btn-teal:hover { background: #ea580c; border-color: #ea580c; color: #fff; }
.btn-outline-teal { border: 1px solid var(--sn-teal); color: var(--sn-teal); }
.btn-outline-teal:hover { background: var(--sn-teal); color: #fff; border-color: var(--sn-teal); }

.btn-outline-secondary {
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  background-color: #fff !important;
  font-size: 0.75rem !important;
  padding: 0.25rem 0.6rem !important;
}
.btn-outline-secondary:hover {
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
}

.btn-outline-danger {
  border: 1px solid #fca5a5 !important;
  color: #dc2626 !important;
  background-color: #fef2f2 !important;
  font-size: 0.75rem !important;
  padding: 0.25rem 0.6rem !important;
}
.btn-outline-danger:hover {
  background-color: #fee2e2 !important;
  border-color: #f87171 !important;
  color: #991b1b !important;
}

/* Topbar (mobile) */
.admin-topbar {
  background: var(--sn-teal-dark); height: 56px; position: sticky; top: 0; z-index: 1030;
}

/* Layout */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 250px; background-color: var(--sn-teal-dark) !important; color: #fff; flex-shrink: 0;
}
@media (min-width: 992px) {
  .admin-sidebar { position: sticky; top: 0; height: 100vh; }
}
.admin-main { flex-grow: 1; padding: 1.5rem; min-width: 0; }
@media (min-width: 992px) { .admin-main { padding: 2rem 2.5rem; } }

/* Sidebar nav */
.admin-nav { list-style: none; margin: 0; padding: 0; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .8rem;
  margin-bottom: .2rem;
  color: #fff;
  text-decoration: none;
  border-radius: .5rem;
  font-weight: 500;
  font-size: 0.85rem;
}
.admin-nav-link i { font-size: 1.05rem; }
.admin-nav-link:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.admin-nav-link.active { background: var(--sn-teal); color: #fff; }

.admin-sidebar-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  padding: 0 0.8rem;
  opacity: 0.8;
}

/* Cards & tables */
.admin-card { border: 1px solid #e2e8f0; border-radius: 0.75rem; box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.03); background: #fff; }
.stat-card { border: 0; border-radius: 1rem; color: #fff; overflow: hidden; position: relative; }
.stat-card .big { font-size: 2rem; font-weight: 700; font-family: 'Inter', sans-serif; }
.stat-card i.bg-icon { position: absolute; right: 14px; bottom: 6px; font-size: 3.4rem; opacity: .18; }

.table thead th {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: .05em; color: #64748b;
  border-bottom: 1px solid #e2e8f0; background-color: #f8fafc; font-weight: 600; padding: 0.75rem 1rem;
}
.table td { vertical-align: middle; font-size: 0.82rem; color: #334155; padding: 0.75rem 1rem; }
.thumb-sm { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #fff; border: 1px solid #e2e8f0; }

.form-control, .form-select { border-radius: .5rem; border: 1px solid #cbd5e1; font-size: 0.85rem; padding: 0.4rem 0.75rem; }
.form-control:focus, .form-select:focus { border-color: var(--sn-teal); box-shadow: 0 0 0 .2rem rgba(249, 115, 22, 0.1); }

/* Login page */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0b1329, #1e293b);
  padding: 1rem;
}
.login-card {
  width: 100%; max-width: 420px; border: 0; border-radius: 1.3rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

/* New stats card design cloned from the 2nd image */
.stat-card-new {
  border: 0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.stat-card-new .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
}
.stat-card-new .stat-info {
  display: flex;
  flex-direction: column;
}
.stat-card-new .stat-number {
  font-size: 1.65rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  line-height: 1.1;
}
.stat-card-new .stat-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

/* Color variants */
.stat-card-new.blue .icon-box { background-color: #2563eb; }
.stat-card-new.blue .stat-number { color: #2563eb; }

.stat-card-new.red .icon-box { background-color: #ef4444; }
.stat-card-new.red .stat-number { color: #ef4444; }

.stat-card-new.green .icon-box { background-color: #10b981; }
.stat-card-new.green .stat-number { color: #10b981; }

.stat-card-new.orange .icon-box { background-color: #f97316; }
.stat-card-new.orange .stat-number { color: #f97316; }
