/* Show it is fixed to the top */
body {
  padding-top: 4.2rem;
}

@media only screen and (max-width : 630px) {
  body {
    padding-top: 7rem
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  nav.navbar {
    background: light;
  }

  .input:focus {
    outline: none !important;
    border: 1px solid red;
    box-shadow: 0 0 10px #719ECE;
  }
}

.tab-item.active {
  color: #335EEA !important;
}
.tab-item.active i {
  color: #335EEA;
}

/* ── Desktop sizing fixes ───────────────────────── */

/* A: Cap content width on large screens */
@media (min-width: 1200px) {
  .container-fluid {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* B: Slightly smaller base font on desktop */
@media (min-width: 992px) {
  html {
    font-size: 14.5px;
  }
}

/* C: Tighter navbar padding on desktop */
@media (min-width: 992px) {
  nav.navbar {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
}

/* ── Mobile nav groups ──────────────────────────── */
.mobile-nav-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.55rem 1rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.15s;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

.mobile-nav-divider {
  border-color: rgba(255,255,255,0.15);
  margin: 0.5rem 1rem;
}

/* ── Step 1: Desktop sizing fix ─────────────────── */
@media (min-width: 992px) {

  /* 90% zoom feel — scale base font down */
  html {
    font-size: 14px;
  }

  /* Cap content width */
  .container-fluid {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Tighter navbar height */
  nav.navbar {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    min-height: 48px;
  }

  /* Smaller logo */
  .navbar-brand img {
    height: 32px !important;
  }

  /* Tighter nav link spacing */
  .nav-link {
    font-size: 0.85rem;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }
}

/* Step 3 — mobile drawer links */
.drawer-section-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.75rem 1rem 0.35rem;
  margin: 0;
}

.drawer-link {
  display: flex;
  align-items: center;
  padding: 0.55rem 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s;
}

.drawer-link:hover,
.drawer-link:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.drawer-link i {
  width: 1.35rem;
  text-align: center;
  margin-right: 0.5rem;
}

/* ── Mobile drawer section labels (override / extend) ── */
.drawer-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 0.75rem 1rem 0.2rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  transition: background 0.15s;
}

.drawer-link i {
  width: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.88rem;
  flex-shrink: 0;
  margin-right: 0;
}

.drawer-link:hover,
.drawer-link:focus {
  background: rgba(255, 255, 255, 0.07);
  color: #fff !important;
}

.drawer-link:hover i {
  color: rgba(255, 255, 255, 0.7);
}