/* ============================================================
   SIDEBAR.CSS
   Sidebar layout, brand block, navigation items, bottom section.
   ============================================================ */


/* ——————————————————————————————————————————————————————————
   SIDEBAR CONTAINER
   —————————————————————————————————————————————————————————— */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid rgba(231,207,207,0.28);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
}


/* ——————————————————————————————————————————————————————————
   BRAND / LOGO BLOCK
   —————————————————————————————————————————————————————————— */
.sidebar-logo {
  padding: 26px 20px 18px;
  border-bottom: 1px solid rgba(231,207,207,0.22);
}

.sidebar-logo-img {
  display: block;
  max-width: 148px;
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* ——————————————————————————————————————————————————————————
   PRIMARY NAVIGATION
   —————————————————————————————————————————————————————————— */
.sidebar-nav {
  flex: 1;
  padding: 14px 10px;
}

.nav-section-label {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 10px;
  margin: 14px 0 6px;
  display: block;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 400;
  transition: background 0.16s ease, color 0.16s ease;
  margin-bottom: 1px;
  user-select: none;
}

.nav-item:hover {
  background: rgba(231,207,207,0.22);
  color: var(--text-primary);
}

.nav-item.active {
  background: rgba(231,207,207,0.42);
  color: #a06060;
  font-weight: 500;
}

.nav-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.65;
  transition: opacity 0.16s ease;
}

.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
  opacity: 1;
}


/* ——————————————————————————————————————————————————————————
   BOTTOM UTILITY SECTION
   Contains motivational card, settings nav, and logout.
   —————————————————————————————————————————————————————————— */
.sidebar-bottom {
  padding: 10px 10px 16px;
  border-top: 1px solid rgba(231,207,207,0.22);
}

.nav-utility-label {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 10px;
  margin: 0 0 6px;
  display: block;
}

/* Motivational card */
.sidebar-motivation {
  background: rgba(237,216,204,0.28);
  border: 1px solid rgba(237,216,204,0.5);
  border-radius: 12px;
  padding: 13px 14px;
  margin-bottom: 12px;
}

.motivation-eyebrow {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 5px;
  font-weight: 500;
}

.motivation-text {
  font-family: var(--serif);
  font-size: 11.5px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Logout button */
.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13px;
  width: 100%;
  transition: background 0.16s ease, color 0.16s ease;
}

.sidebar-logout:hover {
  background: rgba(231,207,207,0.18);
  color: var(--text-secondary);
}
