/**************************************
  OFFCANVAS (Mobile Drawer)
***************************************/
.offcanvas-backdrop.show {
  background-color: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(4px);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.offcanvas-start {
  transition: transform 0.3s ease-in-out;
}

/**************************************
  GLOBAL WHITE NAVBAR
***************************************/
.amorisito-navbar,
.navbar.amorisito-navbar {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e4e4e4;
  padding-top: 6px;
  padding-bottom: 6px;
}

/**************************************
  LOGO + WORDMARK
***************************************/
.nav-logo {
  height: 38px;
}

.nav-wordmark {
  height: 34px;
  margin-left: 6px;
}

/**************************************
  ICON NAVIGATION (Desktop)
***************************************/
.nav-icon-menu .nav-link {
  color: #666 !important;
  opacity: 0.75;
  text-align: center;
  padding: 6px 12px;
  border-radius: 12px;
  transition: all 0.25s ease;
  position: relative;
}

/* Icon */
.nav-icon {
  font-size: 1.35rem;
  margin-bottom: 2px;
  transition: all 0.25s ease;
  color: #444 !important;
}

/* Label */
.nav-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #333;
}

/**************************************
  HOVER EFFECT
***************************************/
.nav-icon-menu .nav-link:hover {
  opacity: 1;
  color: #000 !important;
}

.nav-icon-menu .nav-link:hover .nav-icon {
  transform: scale(1.12);
  color: #0d6efd !important;
  text-shadow: 0 0 6px rgba(13, 110, 253, 0.45);
}

/**************************************
  ACTIVE ITEM (Glow + Blue Pill)
***************************************/
.nav-icon-menu .nav-link.active {
  color: #000 !important;
  font-weight: 600;
  background: rgba(13, 110, 253, 0.15);
  border-radius: 14px;
  opacity: 1;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.35);
  padding-left: 16px;
  padding-right: 16px;
}

.nav-icon-menu .nav-link.active .nav-icon {
  color: #0d6efd !important;
  transform: scale(1.1);
}

/* Left blue bar */
.nav-icon-menu .nav-link.active::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: #0d6efd;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(13,110,253,0.8);
}

/**************************************
  DROPDOWN / "More" Menu
***************************************/
.navbar .dropdown-menu {
  min-width: 280px !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%);
  margin-top: 6px !important;
  border-radius: 10px;
}

/* Remove bootstrap arrow */
.navbar .dropdown-toggle::after {
  display: none !important;
}

.dropdown-item i {
  transition: color 0.2s ease;
}

.dropdown-item:hover i {
  color: #0d6efd;
}

/**************************************
  ALERT BADGE
***************************************/
.nav-icon-wrapper {
  position: relative;
  display: inline-block;
}

.notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  padding: 3px 6px;
  font-size: 0.55rem;
  display: none;        /* shown only when needed */
  border-radius: 50%;
}

/**************************************
  MOBILE NAVIGATION
***************************************/
.offcanvas-body .nav-link {
  font-size: 1.1rem;
  padding: 10px 0;
}

/* Apply landing page gradient to mobile drawer */
#offcanvasNavbar {
    background: linear-gradient(135deg, #F7D9E3 0%, #F8E7D2 100%) !important;
    color: #2A2A2A; /* dark text for readability */
}

/* Fix readability on gradient drawer */
#offcanvasNavbar,
#offcanvasNavbar .offcanvas-body,
#offcanvasNavbar .nav-link,
#offcanvasNavbar .dropdown-item,
#offcanvasNavbar .offcanvas-title,
#offcanvasNavbar h5,
#offcanvasNavbar span,
#offcanvasNavbar i {
    color: #2b2b2b !important;     /* strong readable dark grey */
    text-shadow: none !important;  /* remove any Bootstrap glow */
    opacity: 1 !important;         /* prevent faded look */
}

/* Highlight special items */
#offcanvasNavbar .nav-link.text-danger,
#offcanvasNavbar .dropdown-item.text-danger {
    color: #d62828 !important;
}

#offcanvasNavbar .logout-btn {
    color: #2b2b2b !important;
    border-color: #2b2b2b !important;
}

#offcanvasNavbar .logout-btn:hover {
    background: rgba(0,0,0,0.05);
}

#offcanvasNavbar .nav-link,
#offcanvasNavbar .dropdown-item {
    text-shadow: 0px 1px 2px rgba(255,255,255,0.6);
}

#offcanvasNavbar .btn-outline-light {
    color: #2b2b2b !important;        /* readable dark text */
    border-color: #2b2b2b !important; /* visible dark border */
    opacity: 1 !important;
}

#offcanvasNavbar .btn-outline-light:hover {
    background-color: rgba(0,0,0,0.06) !important;
    color: #000 !important;
}



