/* Alternative Sidebar Themes */

/* Theme 1: Dark Elegant (Default - already in custom-sidebar.css) */

/* Theme 2: Light Professional */
.sidebar-theme-light .book-menu {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.08);
}

.sidebar-theme-light .book-brand img {
  filter: none !important;
  background: transparent !important;
}

.sidebar-theme-light .book-brand span {
  color: #333 !important;
}

.sidebar-theme-light .book-search input {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  color: #333;
}

.sidebar-theme-light .book-search input::placeholder {
  color: #999;
}

.sidebar-theme-light .book-menu nav ul a {
  color: #555;
}

.sidebar-theme-light .book-menu nav ul a:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #667eea;
}

.sidebar-theme-light .book-menu nav ul a.active,
.sidebar-theme-light .book-menu nav ul a[aria-current="page"] {
  background: #667eea;
  color: #fff;
  border-left-color: #764ba2;
}

.sidebar-theme-light .book-section-flat > a,
.sidebar-theme-light .book-section-flat > span {
  color: #333;
}

/* Theme 3: Ocean Blue */
.sidebar-theme-ocean .book-menu {
  background: linear-gradient(135deg, #0093E9 0%, #80D0C7 100%);
}

.sidebar-theme-ocean .book-menu nav ul a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-theme-ocean .book-menu nav ul a.active {
  background: rgba(255, 255, 255, 0.3);
  border-left-color: #0093E9;
}

/* Theme 4: Sunset Orange */
.sidebar-theme-sunset .book-menu {
  background: linear-gradient(135deg, #FA8BFF 0%, #2BD2FF 50%, #2BFF88 100%);
}

/* Theme 5: Dark Mode (True Black) */
.sidebar-theme-dark .book-menu {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}

.sidebar-theme-dark .book-menu nav ul a {
  color: rgba(255, 255, 255, 0.85);
}

.sidebar-theme-dark .book-menu nav ul a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #64ffda;
}

.sidebar-theme-dark .book-menu nav ul a.active {
  background: rgba(100, 255, 218, 0.15);
  color: #64ffda;
  border-left-color: #64ffda;
}

.sidebar-theme-dark .book-search input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Theme 6: Minimal Gray */
.sidebar-theme-minimal .book-menu {
  background: #f8f9fa;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

.sidebar-theme-minimal .book-brand img {
  filter: none !important;
  background: transparent !important;
}

.sidebar-theme-minimal .book-brand span {
  color: #212529 !important;
}

.sidebar-theme-minimal .book-menu nav ul a {
  color: #495057;
  border-radius: 4px;
}

.sidebar-theme-minimal .book-menu nav ul a:hover {
  background: #e9ecef;
  color: #212529;
  transform: none;
}

.sidebar-theme-minimal .book-menu nav ul a.active {
  background: #212529;
  color: #fff;
  border-left: none;
  padding-left: 1rem;
}

.sidebar-theme-minimal .book-search input {
  background: #fff;
  border: 1px solid #ced4da;
  color: #495057;
}

.sidebar-theme-minimal .book-section-flat > a,
.sidebar-theme-minimal .book-section-flat > span {
  color: #212529;
}

/* Theme Toggle Button - Now in Top Header */
.theme-toggle {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1.1rem;
  margin-left: 0.75rem;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sidebar-theme-light .theme-toggle,
.sidebar-theme-minimal .theme-toggle {
  color: #333;
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.sidebar-theme-light .theme-toggle:hover,
.sidebar-theme-minimal .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Smooth transitions between themes */
.book-menu,
.book-menu nav ul a,
.book-search input {
  transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
