/* =====================================================================
   Inspire Design — Sidebar (hamburger menu) refresh.
   Override pe stilurile scraped (.sidebar-content, .sidebar-nav, .sidebar-link, etc).
   ===================================================================== */

/* Container scroll-abil dacă e mult conținut */
.sidebar .sidebar-content {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px !important;
  height: auto;
  overflow-y: auto;
}

/* ---------- User block (logged in) ---------- */
.ids-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #f5f5f5;
  border-radius: 14px;
  margin-bottom: 8px;
}
.ids-user__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  flex-shrink: 0;
}
.ids-user__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ids-user__name {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}
.ids-user__credits {
  font-size: 12px;
  font-weight: 300;
  color: #888;
}
.ids-user__credits strong { color: #1a1a1a; font-weight: 600; }

/* ---------- CTA block (guest) ---------- */
.ids-cta-block {
  text-align: center;
  padding: 18px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
  margin-bottom: 8px;
}
.ids-cta-block__title {
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 12px;
  color: #fff;
}
.ids-cta-btn {
  background: #fff;
  color: #1a1a1a;
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: transform .15s, opacity .15s;
}
.ids-cta-btn:hover { transform: translateY(-1px); opacity: 0.92; }
.ids-cta-block__alt {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin: 12px 0 0;
}
.ids-cta-block__alt a {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Nav links ---------- */
.sidebar .ids-nav {
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  margin: 8px 0;
  padding: 0;
}

.sidebar .ids-link {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px !important;
  border-radius: 12px;
  text-decoration: none;
  color: #1a1a1a !important;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
}
.sidebar .ids-link:hover { background: #f5f5f5; }
.sidebar .ids-link:focus-visible { outline: 2px solid #1a1a1a; outline-offset: 2px; }

.ids-link__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  flex-shrink: 0;
}
.ids-link:hover .ids-link__icon { background: #ececec; }
.ids-link__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ids-link__label {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}
.ids-link__desc {
  font-size: 12px;
  color: #888;
  font-weight: 300;
  line-height: 1.3;
}

/* ---------- Bottom block (logout) ---------- */
.sidebar .ids-bottom {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #ececec;
}
.ids-link--danger .ids-link__label { color: #b91c1c; }
.ids-link--danger:hover { background: #fef2f2 !important; }
.ids-link--danger .ids-link__icon {
  background: #fef2f2;
  color: #b91c1c;
}
.ids-link--danger:hover .ids-link__icon { background: #fee2e2; }
