.header_bg {
    background: rgb(15,77,143);
}

.brand-text {
    color: #fff;
}
.brand-text .brand-title {
    font-family: Times;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1.9px;
}

.brand-text .brand-sub {
    font-family: Times;
    font-size: .72rem;
    color: rgba(255, 255, 255, .6);
    letter-spacing: 1.9px;
    text-transform: uppercase;
}


.stamp-img {
  width: 50px;      /* your stamp width */
  height: 50px;     /* your stamp height */
  object-fit: cover;  /* crop to fill box */
  border-radius: 0.25rem; /* optional (rounded corners) */
}

    /* ===================================================
   VIT-GRAVITAS — Application Stylesheet v2
   =================================================== */

/* ── Root Variables ───────────────────────────────── */
:root {
  --brand-primary:   #1a3a6b;
  --brand-dark:      #122951;
  --brand-secondary: #2563eb;
  --brand-accent:    #f59e0b;
  --header-height:   62px;
  --radius-sm:       6px;
  --radius-md:       10px;
  --radius-lg:       14px;
  --shadow-card:     0 2px 12px rgba(0,0,0,.07);
  --shadow-elevated: 0 6px 28px rgba(0,0,0,.11);
  --transition:      all .2s ease;
}

/* ── Global ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  background: #f0f4fa;
  color: #1e293b;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ── Header / Navbar ──────────────────────────────── */
.header_bg {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 60%, #1e4d9b 100%);
  box-shadow: 0 2px 18px rgba(26,58,107,.4);
  min-height: var(--header-height);
  z-index: 1050;
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.navbar-brand img {
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  padding: 3px;
  transition: var(--transition);
}
.navbar-brand:hover img { background: rgba(255,255,255,.25); }
.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .3px;
  line-height: 1;
}
.brand-name .brand-accent { color: var(--brand-accent); }

/* Nav links */
.header_bg .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-weight: 500;
  font-size: .855rem;
  padding: .45rem .9rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.header_bg .nav-link:hover,
.header_bg .nav-link:focus {
  color: #fff !important;
  background: rgba(255,255,255,.13);
}
.header_bg .nav-link.active-menu {
  color: var(--brand-accent) !important;
  background: rgba(245,158,11,.12);
}
.header_bg .nav-link i {
  font-size: 1rem;
  opacity: .9;
}

/* Dropdown */
.header_bg .dropdown-menu {
  background: #fff;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  padding: .45rem;
  min-width: 210px;
  animation: dropIn .16s ease;
  margin-top: 4px !important;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.header_bg .dropdown-item {
  border-radius: var(--radius-sm);
  padding: .5rem .9rem;
  font-size: .845rem;
  color: #334155;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 9px;
}
.header_bg .dropdown-item:hover,
.header_bg .dropdown-item:focus {
  background: #eff6ff;
  color: var(--brand-secondary);
}
.header_bg .dropdown-item i {
  font-size: .95rem;
  color: var(--brand-secondary);
  width: 18px;
  text-align: center;
}
.header_bg .dropdown-divider { border-color: #f1f5f9; margin: .3rem .5rem; }

/* Dropdown arrow caret polish */
.header_bg .dropdown-toggle::after {
  margin-left: 5px;
  opacity: .7;
  vertical-align: .15em;
}

/* User / logout button */
.btn-logout {
  background: rgba(255,255,255,.11) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 2rem !important;
  padding: .28rem .9rem .28rem .38rem !important;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-logout:hover { background: rgba(255,255,255,.2) !important; }
.user-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.user-name {
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile toggler */
.navbar-toggler {
  border: 1px solid rgba(255,255,255,.3) !important;
  border-radius: var(--radius-sm) !important;
  padding: .3rem .55rem !important;
}
.navbar-toggler-icon { filter: invert(1); }

/* Mobile collapse panel */
@media (max-width: 991.98px) {
  .header_bg .navbar-collapse {
    background: var(--brand-dark);
    border-radius: var(--radius-md);
    padding: .7rem .8rem;
    margin-top: .4rem;
    border: 1px solid rgba(255,255,255,.1);
  }
  .header_bg .dropdown-menu {
    background: rgba(255,255,255,.07);
    box-shadow: none;
    border-radius: var(--radius-sm);
    padding: .3rem .4rem;
    margin-top: 2px !important;
    animation: none;
  }
  .header_bg .dropdown-item {
    color: rgba(255,255,255,.8);
    font-size: .82rem;
    padding: .42rem .8rem;
  }
  .header_bg .dropdown-item:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
  }
  .header_bg .dropdown-item i { color: var(--brand-accent); }
  .header_bg .dropdown-divider { border-color: rgba(255,255,255,.1); }
  .btn-logout { width: 100%; justify-content: center; margin-top: .55rem; }
}

/* ── Page Layout ───────────────────────────────────── */
.main-content {
  padding: 1.4rem 1.4rem 2rem;
  min-height: calc(100vh - var(--header-height) - 50px);
}

/* ── Page Header ──────────────────────────────────── */
.page-header {
  margin-bottom: 1.3rem;
}
.page-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: .78rem;
}
.breadcrumb-item { color: #94a3b8; }
.breadcrumb-item + .breadcrumb-item::before { color: #cbd5e1; }
.breadcrumb-item.active { color: var(--brand-secondary); font-weight: 600; }
.breadcrumb-item a { color: #94a3b8; text-decoration: none; }
.breadcrumb-item a:hover { color: var(--brand-secondary); }

/* ── Stat Cards ───────────────────────────────────── */
.stat-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  height: 100%;
}
.stat-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
  border-color: #bfdbfe;
}
.stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.stat-number { font-size: 1.4rem; font-weight: 700; color: #0f172a; line-height: 1; margin: 0 0 3px; }
.stat-label  { font-size: .73rem; color: #94a3b8; margin: 0; font-weight: 500; }

/* ── Welcome Card ─────────────────────────────────── */
.welcome-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.card-banner {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-secondary) 100%);
  padding: 1.6rem 1.9rem;
  position: relative;
  overflow: hidden;
}
.card-banner::before {
  content: '';
  position: absolute; right: -50px; top: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.card-banner::after {
  content: '';
  position: absolute; right: 40px; bottom: -60px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.banner-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.banner-title {
  font-size: 1.12rem; font-weight: 700; color: #fff; margin: 0 0 4px;
  position: relative; z-index: 1;
}
.banner-sub {
  font-size: .78rem; color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.banner-badge {
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: .68rem; font-weight: 600;
  padding: .22em .72em;
  border-radius: 2rem;
}

/* Student info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: .8rem;
}
.info-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: .85rem 1rem;
  display: flex; align-items: center; gap: .75rem;
  transition: var(--transition);
}
.info-item:hover { border-color: #bfdbfe; background: #eff6ff; }
.info-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #dbeafe; color: var(--brand-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; flex-shrink: 0;
}
.info-label { font-size: .68rem; color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 2px; }
.info-value { font-size: .88rem; font-weight: 600; color: #1e293b; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Quick Actions ────────────────────────────────── */
.qa-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem .8rem;
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  text-decoration: none; cursor: pointer;
  transition: var(--transition);
  height: 100%;
}
.qa-card:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.qa-icon { font-size: 1.55rem; }
.qa-label { font-size: .78rem; font-weight: 600; color: #1e293b; text-align: center; }

/* ── Section Label ────────────────────────────────── */
.section-label {
  font-size: .73rem; font-weight: 700; color: #94a3b8;
  text-transform: uppercase; letter-spacing: .6px;
  display: flex; align-items: center; gap: 5px;
  margin-bottom: .85rem;
}

/* ── Page Content Card (inner pages) ─────────────── */
.page-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.page-card .page-card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
  display: flex; align-items: center; gap: 8px;
}
.page-card .page-card-header h5 { margin: 0; font-size: 1rem; font-weight: 700; color: #0f172a; }
.page-card .page-card-body { padding: 1.5rem; }
.page-card .page-card-footer {
  padding: .8rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}

/* ── Forms ────────────────────────────────────────── */
.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: .35rem;
}
.form-control, .form-select {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  padding: .5rem .8rem;
  color: #1e293b;
  transition: var(--transition);
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
  outline: none;
}
.form-control[readonly] { background: #f8fafc; color: #64748b; }

/* Amount display pill */
.amount-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 2rem;
  padding: .4rem 1rem;
  font-size: .9rem;
  font-weight: 700;
  color: #16a34a;
}

/* ── Buttons ──────────────────────────────────────── */
.btn-register {
  background: linear-gradient(135deg, var(--brand-secondary), #1d4ed8);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  padding: .6rem 2rem;
  display: inline-flex; align-items: center; gap: 7px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-register:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
  color: #fff;
}

/* ── Tables ───────────────────────────────────────── */
.gravitas-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .855rem; }
.gravitas-table thead th {
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .45px;
  padding: .8rem 1rem;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}
.gravitas-table tbody td {
  padding: .8rem 1rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.gravitas-table tbody tr:last-child td { border-bottom: none; }
.gravitas-table tbody tr:hover td { background: #f8fafc; }

/* Action buttons */
.btn-action {
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  border: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-action.edit   { background: #fef9c3; color: #854d0e; }
.btn-action.delete { background: #fee2e2; color: #991b1b; }
.btn-action.edit:hover   { background: #fde047; }
.btn-action.delete:hover { background: #fca5a5; }

/* Category badge */
.cat-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: .25em .75em;
  border-radius: 2rem;
  font-size: .72rem;
  font-weight: 600;
}
.cat-badge.technical    { background: #dbeafe; color: #1d4ed8; }
.cat-badge.nontechnical { background: #fce7f3; color: #9d174d; }
.cat-badge.cultural     { background: #fef9c3; color: #92400e; }

/* ── Footer ───────────────────────────────────────── */
.app-footer {
  text-align: center;
  padding: .9rem 1rem;
  font-size: .72rem;
  color: #94a3b8;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

/* ── Utility ──────────────────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 1.5rem 0;
}
.registered-title {
  font-size: .95rem; font-weight: 700; color: #0f172a;
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 1rem;
}
.registered-title i { color: var(--brand-secondary); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 576px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .main-content { padding: .9rem; }
  .page-card .page-card-body { padding: 1rem; }
}

/* ── Merchandise page additions ───────────────────── */
.merch-row { cursor: pointer; transition: background .15s; }
.merch-row:hover td { background: #f8fafc; }
.merch-row.selected td { background: #eff6ff !important; }
.merch-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.merch-price { font-size: 1rem; font-weight: 800; color: #16a34a; }
.merch-badge-combo {
    display: inline-flex; align-items: center; gap: 4px;
    background: #dcfce7; color: #166534;
    font-size: .75rem; font-weight: 600;
    padding: .3em .8em; border-radius: 2rem;
}
.merch-tag {
    display: inline-flex; align-items: center;
    font-size: .7rem; font-weight: 600;
    padding: .18em .65em; border-radius: 2rem;
}
.merch-tag.combo   { background: #dbeafe; color: #1d4ed8; }
.merch-tag.premium { background: #fce7f3; color: #9d174d; }

