:root{
  --navy:#010d35;
  --blue:#0075ff;
  --orange:#fe951c;
}

.custom-navbar{
  background:rgba(255,255,255,0.96) !important;
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(8,24,67,0.08);
  padding:18px 0;
  box-shadow:0 10px 26px rgba(8,24,67,0.06);
}

.custom-navbar .container,
.footer-section .container{
  width:min(100% - 32px, 1180px);
  margin-inline:auto;
}

.navbar-brand img{
  width:auto;
  height:42px;
}

.navbar-toggler{
  border:1px solid rgba(8,24,67,0.12);
  border-radius:8px;
}

.nav-link{
  position:relative;
  font-weight:650;
  color:#17213d !important;
  font-size:0.94rem;
  transition:color 0.25s ease, transform 0.25s ease;
}

.nav-link::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-8px;
  height:2px;
  background:var(--blue);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform 0.25s ease;
}

.nav-link:hover,
.active-link{
  color:var(--blue) !important;
}

.nav-link:hover{
  transform:translateY(-2px);
}

.nav-link:hover::after,
.active-link::after{
  transform:scaleX(1);
}

.nav-icon{
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid rgba(8,24,67,0.12);
  border-radius:8px;
  color:#17213d;
  line-height:1;
  text-decoration:none;
  vertical-align:middle;
  transition:background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-icon i,
.nav-icon i::before{
  display:block;
  line-height:1;
}

.nav-icon:hover{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

.mobile-page-title{
  font-weight:750;
  font-size:17px;
  letter-spacing:0.04em;
}

.user-dropdown-wrapper{
  position:relative;
}

.btn-user-trigger{
  display:flex;
  align-items:center;
  gap:8px;
  background:transparent;
  border:none;
  padding:0;
  cursor:pointer;
  color:inherit;
}

.user-avatar-circle{
  width:34px;
  height:34px;
  border-radius:50%;
  object-fit:cover;
  background:linear-gradient(135deg, #6c63ff, #ff6584);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:700;
  color:#fff;
  overflow:hidden;
  flex-shrink:0;
  border:2px solid rgba(255,255,255,0.15);
}

.user-avatar-circle img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.user-dropdown-menu{
  display:none;
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  width:220px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  box-shadow:0 8px 30px rgba(0,0,0,0.12);
  overflow:hidden;
  z-index:9999;
  animation:dropFadeIn 0.18s ease;
}

.user-dropdown-menu.show{
  display:block;
}

@keyframes dropFadeIn{
  from{ opacity:0; transform:translateY(-6px); }
  to{ opacity:1; transform:translateY(0); }
}

.drop-header{
  padding:14px 16px;
  border-bottom:1px solid #f0f0f0;
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
}

.drop-header-avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  background:linear-gradient(135deg, #6c63ff, #ff6584);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:700;
  color:#fff;
  flex-shrink:0;
  overflow:hidden;
}

.drop-header-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.drop-user-name{
  font-size:13px;
  font-weight:600;
  color:#111827;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.drop-user-email{
  font-size:11px;
  color:#6b7280;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.drop-section{
  padding:6px;
  background:#fff;
}

.drop-section + .drop-section{
  border-top:1px solid #f0f0f0;
}

.drop-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 10px;
  border-radius:10px;
  color:#374151;
  font-size:13px;
  font-weight:500;
  text-decoration:none;
  cursor:pointer;
  background:transparent;
  border:none;
  width:100%;
  text-align:left;
  transition:background 0.15s;
}

.drop-item:hover{
  background:#f3f4f6;
  color:#111827;
}

.drop-item.danger{
  color:#ef4444;
}

.drop-item.danger:hover{
  background:rgba(239,68,68,0.07);
}

.drop-icon{
  width:28px;
  height:28px;
  border-radius:7px;
  background:#f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  flex-shrink:0;
}

.footer-section{
  background:linear-gradient(135deg, #010d35 0%, #08245d 100%) !important;
  color:#fff;
  padding:76px 0 28px;
}

.footer-title{
  font-weight:850;
  margin-bottom:14px;
}

.footer-subtitle{
  font-weight:800;
  margin-bottom:20px;
  position:relative;
}

.footer-subtitle::after{
  content:"";
  width:40px;
  height:3px;
  background:var(--orange);
  position:absolute;
  left:0;
  bottom:-8px;
}

.footer-text{
  color:rgba(255,255,255,0.72);
  font-size:0.92rem;
  line-height:1.7;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links li{
  margin-bottom:9px;
}

.footer-links a{
  color:rgba(255,255,255,0.72);
  transition:color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a:hover{
  color:#fff;
  padding-left:5px;
}

.footer-social{
  display:flex;
  gap:10px;
}

.footer-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:8px;
  background:rgba(255,255,255,0.1);
  color:#fff;
  transition:background 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover{
  background:var(--blue);
  transform:translateY(-3px);
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.12);
  padding-top:20px;
  font-size:0.9rem;
  color:rgba(255,255,255,0.64);
}

@media(max-width:991px){
  .custom-navbar{
    padding:16px 0;
  }

  .navbar-collapse{
    margin-top:16px;
    padding:16px 0 6px;
    border-top:1px solid rgba(8,24,67,0.08);
  }

  .nav-link::after{
    display:none;
  }

}

@media(max-width:420px){
  .custom-navbar .container,
  .footer-section .container{
    width:min(100% - 24px, 1180px);
  }

}
