/* ---------- SIDEBAR BASE ---------- */

.sb-sidebar {
  width: 260px;
  min-width: 260px;
  height: 100vh;
  background: linear-gradient(180deg, #0f2a44 0%, #1f4f7a 50%, #2e7a78 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

/* ---------- HEADER ---------- */

.sb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sb-logo {
  max-width: 120px;
  opacity: 0.95;
}

.sb-toggle {
  color: #ffffff;
  font-size: 18px;
}

/* ---------- WORKSPACE ---------- */

.sb-section {
  margin-bottom: 24px;
}

.sb-section-title {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 6px;
}

.sb-workspace {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
}

/* ---------- NAV ---------- */

.sb-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sb-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
  transition: background 0.2s, opacity 0.2s;
}

.sb-link:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.sb-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.sb-label {
  white-space: nowrap;
}

/* ---------- SPACER ---------- */

.sb-spacer {
  flex-grow: 1;
}

/* ---------- FOOTER ---------- */

.sb-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  opacity: 0.85;
}

.sb-bottom-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-version {
  font-size: 12px;
  opacity: 0.6;
}



.ai-gradient-btn:active {
    transform: scale(0.98);
}

.ai-gradient-btn {
    background: linear-gradient(135deg, #1EC2A3, #0f172a);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(30, 194, 163, 0.25);
    transition: all 0.25s ease;
}

.ai-gradient-btn:hover {
    background: linear-gradient(135deg, #26d3b3, #1e293b);
}