:root {
  --sr-sidebar-width: 260px;
  --sr-accent: #2ae4c8;
  --sr-accent-2: #31afff;
  --sr-highlight: #fdd76b;
  --sr-border: rgba(139, 188, 229, 0.18);
  --sr-card: rgba(12, 28, 43, 0.82);
  --sr-bg: #08121f;
  --sr-bg-2: #0f2033;
  --sr-text: #eaf8ff;
  --sr-muted: #8bbce5;
  --bs-primary: #2ae4c8;
  --bs-primary-rgb: 42, 228, 200;
  --bs-link-color: #2ae4c8;
  --bs-link-hover-color: #31afff;
}

:root[data-bs-theme='light'] {
  --sr-border: rgba(18, 48, 74, 0.12);
  --sr-card: rgba(255, 255, 255, 0.9);
  --sr-bg: #f4f9fc;
  --sr-bg-2: #dce9f4;
  --sr-text: #102439;
  --sr-muted: #4f6f8a;
  --bs-link-color: #0f7cc7;
  --bs-link-hover-color: #0a5a9a;
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(49, 175, 255, 0.12), transparent 28%),
    radial-gradient(circle at top left, rgba(42, 228, 200, 0.1), transparent 24%),
    var(--sr-bg);
  color: var(--sr-text);
}

.sr-sidebar {
  min-height: 100vh;
  border-right: 1px solid var(--sr-border);
}

.sr-card {
  border-radius: 16px;
  border: 1px solid var(--sr-border);
  background: var(--sr-card);
  backdrop-filter: blur(12px);
}

.sr-muted {
  color: var(--sr-muted);
}

.bg-body-tertiary {
  background: rgba(12, 28, 43, 0.92) !important;
}

.border-bottom,
.border-top {
  border-color: var(--sr-border) !important;
}

.navbar {
  backdrop-filter: blur(20px);
}

.navbar-brand.sr-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sr-text);
  text-decoration: none;
}

.sr-brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(4, 12, 22, 0.4);
}

.sr-brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sr-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.sr-brand-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sr-brand-subtitle {
  margin-top: 4px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sr-muted);
}

.nav-link {
  color: var(--sr-muted);
}

.nav-link:hover,
.nav-link.active {
  color: var(--sr-text);
}

.sidebar .nav-link {
  margin: 0 0 10px;
  border-radius: 16px;
  border: 1px solid var(--sr-border);
  background: rgba(11, 25, 39, 0.8);
  color: var(--sr-muted);
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  color: var(--sr-text);
  background:
    linear-gradient(135deg, rgba(42, 228, 200, 0.12), rgba(49, 175, 255, 0.16)),
    rgba(11, 25, 39, 0.95);
  border-color: rgba(42, 228, 200, 0.26);
  box-shadow: inset 0 0 0 1px rgba(42, 228, 200, 0.08);
}

.btn-primary {
  color: #08121f;
  border: none;
  background: linear-gradient(135deg, var(--sr-accent), var(--sr-highlight));
  box-shadow: 0 16px 32px rgba(10, 22, 38, 0.36);
}

.btn-primary:hover {
  color: #08121f;
  background: linear-gradient(135deg, #4ae7d0, #ffd87f);
}

.btn-outline-secondary {
  color: var(--sr-text);
  border-color: var(--sr-border);
  background: rgba(15, 32, 51, 0.65);
}

.btn-outline-secondary:hover {
  color: #08121f;
  border-color: rgba(42, 228, 200, 0.35);
  background: linear-gradient(135deg, rgba(42, 228, 200, 0.95), rgba(49, 175, 255, 0.85));
}

.dropdown-menu {
  border-color: var(--sr-border);
  background: rgba(12, 28, 43, 0.96);
}

.dropdown-item {
  color: var(--sr-text);
}

.dropdown-item:hover {
  color: #08121f;
  background: linear-gradient(135deg, rgba(42, 228, 200, 0.95), rgba(49, 175, 255, 0.85));
}

@media (max-width: 992px) {
  .sr-sidebar {
    min-height: auto;
  }

  .sr-brand-subtitle {
    display: none;
  }
}
