﻿:root {
  --hero-a: #0f766e;
  --hero-b: #0f172a;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
}

body.bg-light {
  background:
    radial-gradient(circle at 8% 10%, rgba(20, 184, 166, 0.14), transparent 32%),
    radial-gradient(circle at 90% 6%, rgba(15, 118, 110, 0.14), transparent 35%),
    #f8fafc !important;
}

.navbar {
  backdrop-filter: blur(10px);
  min-height: 72px;
}

.navbar .container {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.topbar-identity {
  min-width: 0;
  flex: 1;
  margin: 0 1rem;
}

.topbar-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-role {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-gradient {
  background:
    linear-gradient(135deg, var(--hero-a), var(--hero-b));
  position: relative;
  overflow: hidden;
}

.hero-gradient::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.card {
  border: 1px solid var(--line) !important;
  background: color-mix(in srgb, var(--paper) 96%, #f8fafc);
}

.hero-gradient.card {
  background: linear-gradient(135deg, var(--hero-a), var(--hero-b)) !important;
}

.hero-profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.hero-profile-photo.placeholder {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
}

main .card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

main .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}

h2.h4 {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.list-group-item {
  border-color: var(--line) !important;
}

.badge.text-bg-light {
  background: #f8fafc !important;
  color: #0f172a !important;
}

article p {
  color: var(--muted);
}

.login-bg {
  background:
    radial-gradient(circle at 12% 18%, rgba(13, 110, 253, 0.2), transparent 35%),
    radial-gradient(circle at 80% 8%, rgba(255, 193, 7, 0.18), transparent 30%),
    #f8fafc;
}

.admin-shell .list-group-item {
  border: 0;
  border-radius: 0.6rem;
  margin-bottom: 0.2rem;
}

.admin-shell .list-group-item:hover {
  background: #f1f5f9;
}

.admin-profile-photo {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #cbd5e1;
}

.admin-profile-photo.placeholder {
  border: 2px dashed #94a3b8;
  color: #64748b;
  font-weight: 700;
}
