/* ============================================================
   SolarDOOT MENU.CSS — Optimized & Mobile-First
   ============================================================ */

:root{
  --bg:#f4f7fb;
  --panel:#ffffff;
  --navy:#1b3b73;
  --gold:#ffb700;
  --muted:#6b7280;
  --accent:#00bcd4;
  --radius:12px;
  --shadow:0 6px 18px rgba(0,0,0,0.06);
}

/* Base */
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); font-family:Inter,Segoe UI,Arial,sans-serif; }

/* ============================================================
   HEADER / TOP NAV
   ============================================================ */

header.menu-header{
  background:linear-gradient(90deg,#ffffff,#fbfcff);
  padding:12px 16px;
  border-bottom:1px solid #eef2f7;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.menu-left { 
  display:flex; 
  align-items:center; 
  gap:10px; 
}

.menu-brand img{
  height:40px; 
  width:auto; 
  display:block;
}

.menu-actions{
  display:flex; 
  align-items:center; 
  gap:10px;
}

/* ============================================================
   PROFILE PILL
   ============================================================ */

.profile-pill {
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--panel);
  border-radius:24px;
  padding:6px 12px;
  box-shadow:var(--shadow);
  max-width:230px;
  overflow:hidden;
}

.profile-pill img{
  width:36px;
  height:36px;
  border-radius:50%;
  object-fit:cover;
}

.profile-pill i{
  font-size:14px;
  color:var(--muted);
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar-nav-wrapper{
  width:240px;
  flex-shrink:0;
}

.sidebar-panel{
  background:var(--panel);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  position:sticky;
  top:18px;
}

.navbar-logo img{
  max-width:140px;
  height:auto;
}

/* Profile inside sidebar */
.profile-info{text-align:center; margin-bottom:12px;}
.profile-info .image img{
  width:86px;
  height:86px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid #fff;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}
.profile-info .info h6{
  margin:6px 0 0;
  font-size:14px;
  color:var(--navy);
  text-transform:uppercase;
}

/* Divider */
.divider{
  display:flex;
  align-items:center;
  color:var(--muted);
  font-weight:700;
  font-size:12px;
  margin:12px 0;
  gap:10px;
}
.divider::before, .divider::after{
  content:"";
  flex:1;
  height:1px;
  background:#eaecef;
}

/* Nav items */
.sidebar-nav ul{ list-style:none; padding:0; margin:0; }
.sidebar-nav .nav-item{ margin:8px 0; }
.sidebar-nav .nav-item a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 10px;
  border-radius:10px;
  text-decoration:none;
  color:#0b1220;
  font-weight:600;
  transition:0.2s ease;
}
.sidebar-nav .nav-item a i{
  width:30px;
  text-align:center;
  font-size:18px;
  color:var(--navy);
}
.sidebar-nav .nav-item a:hover{
  background:#f7fbff;
  color:var(--navy);
  transform:translateX(4px);
}

/* Promo block */
.promo-box{
  margin-top:14px;
  text-align:center;
  padding:14px;
  border-radius:12px;
  background:linear-gradient(180deg,#fff,#fbfbff);
  box-shadow:var(--shadow);
}
.promo-box img{
  max-width:80px;
  margin-bottom:8px;
}

/* Buttons */
.btn-cta{ 
  padding:10px 16px; 
  border-radius:999px; 
  font-weight:700; 
  color:#fff; 
  background:var(--navy);
  text-decoration:none;
  display:inline-block;
}
.btn-cta.small{ padding:8px 12px; font-size:13px; }

/* Layout */
.layout-with-sidebar{
  display:flex;
  gap:20px;
  align-items:flex-start;
}
.layout-main{ flex:1; }

/* ============================================================
   RESPONSIVE BEHAVIOR
   ============================================================ */

/* Hide sidebar under 900px */
@media (max-width:900px){
  .sidebar-nav-wrapper{
    display:none;
  }
}

/* ============================================================
   MOBILE HEADER SHRINK (Requested: smaller width only)
   ============================================================ */

@media (max-width:480px){

  header.menu-header{
    padding:6px 10px;
    gap:6px;
  }

  .menu-brand img{
    height:28px !important;
  }

  .profile-pill{
    padding:4px 8px;
    gap:6px;
    max-width:150px;
  }

  .profile-pill img{
    width:28px;
    height:28px;
  }
}
