:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: #111;
}
h1, h2, h3, .title {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn {
  font-weight: 500;
}

.badge,
.small,
.text-muted {
  font-weight: 500;
}

h1.title{
  font-size: 20px;
}
h5{
  font-size: 1.05rem;
}
.pb-6{
  padding-bottom: 6rem;
}
.br-14{
  border-radius: 1rem;
}

.text-muted{
  font-size: 12px;
}
.form-select-lg{
  font-size: 0.85rem;
}

.badge.bg-dark{
  border-radius: 999px;
}

input.form-control{
  font-size: 0.85rem;
  border-radius: 999px;
}

.form-select{
  font-size: 0.85rem;
  border-radius: 999px;
}

.fw-semibold{
  font-size: 0.85rem;
}

.fs-16{
  font-size: 1rem;
}

.alert{
  border-radius: 20px;
  font-size: 14px;
  max-width: 600px;
}

.alert.error{
  background: rgba(220,53,69,0.12);
  color:#dc3545;
}

.alert.saved{
  background: rgba(25, 135, 84, 0.14);
  color: #198754;
}
.alert.deleted{
  background: rgba(255, 193, 7, 0.18);
  color: #856404;
}

.premium-bar {
  background: rgba(12, 14, 18, 0.98); /* almost solid */
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.dropdown-menu.show{
  border-radius: 14px;
}

/* Dashboard Admin Page*/
.stats-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.stats-grid a{
  text-decoration: none;
  color: #000;
}
@media (min-width: 768px){
  .stats-grid{ grid-template-columns: repeat(5, 1fr); }
}

.card-body{
  font-size: 0.85rem;
}
.stat-card{
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 14px;
  min-height: 84px;
}

.stat-card .label{
  color: rgba(0,0,0,0.55);
  font-size: 0.88rem;
}

.stat-card .value{
  font-weight: 650;
  font-size: 1.25rem;
  line-height: 1.1;
  margin-top: 6px;
}

.stat-card.highlight{
  background: rgba(0,0,0,0.92);
  color: #fff;
  border-color: rgba(255,255,255,0.10);
}

.stat-card.highlight .label{ color: rgba(255,255,255,0.65); }

.quick-actions{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.quick-actions .btn{
  width: 100%;
  border-radius: 999px;
}


.month-bar {
  height: 8px;
  background: #e9ecef;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
}

.month-bar > span {
  height: 100%;
}

.month-bar .approved {
  background: #198754; /* green */
}

.month-bar .pending {
  background: #ffc107; /* yellow */
}

.month-bar .canceled {
  background: #dc3545; /* red */
}


@media (min-width: 768px){
  .quick-actions{
    flex-direction: row;
    gap: 12px;
  }
  .quick-actions .btn{
    width: auto;
    flex: 1;              /* ✅ all 3 buttons same width */
  }
}



/* Text + links */
.premium-bar .navbar-brand,
.premium-bar .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
}

.premium-bar .nav-link {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  text-align: center;
}

.premium-bar .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

/* Active pill (optional) */
.premium-bar .nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

/* Toggler (mobile) */
.premium-bar .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.premium-bar .navbar-toggler-icon {
  filter: invert(1);
}

/* Sticky header spacing */
body.has-sticky-header {
  padding-top: 72px; /* adjust if your header height changes */
}

/* Brand logo in navbar */
.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%; /* circle logo (remove if not wanted) */
  background: rgba(255, 255, 255, 0.1);
}

/* Admin table premium calm */
.table-premium thead th {
  background: #111318;
  color: rgba(255, 255, 255, 0.92);
  border: 0;
  padding: 14px 12px;
}

/* Rounded table container */
.table-card {
  border-radius: 14px;
  overflow: hidden; /* IMPORTANT: clips table corners */
  border: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
  box-shadow:
    0 10px 25px rgba(0,0,0,.06),
    0 2px 6px rgba(0,0,0,.04);
}

/* Optional: soften header contrast */
.table-premium thead th {
  border-bottom: none;
}

/* Optional: remove last row border */
.table-premium tbody tr:last-child td {
  border-bottom: none;
}

.table-premium tbody td {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px 12px;
  vertical-align: middle;
}

.table-premium tbody tr:hover {
  background: rgba(0, 0, 0, 0.03);
}

.table-premium thead tr:first-child th:first-child {
  border-top-left-radius: 16px;
}

.table-premium thead tr:first-child th:last-child {
  border-top-right-radius: 16px;
}
.table-premium thead tr:last-child{
  border-bottom-right-radius: 16px;
}
.table-premium tbody tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}

.table-premium tbody tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

/* Slightly smaller on mobile */
@media (max-width: 576px) {
  .brand-logo {
    width: 30px;
    height: 30px;
  }
}

/* Mobile navbar spacing fix */
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 12px;
  }

  .navbar-nav {
    padding-top: 10px;
  }

  .navbar-nav .nav-link {
    margin-top: 6px;
  }
}
