/* StarRating Component Styles */

:root {
  --star-color-empty: #ccc;
  --star-color-hover: #ffc107;
  --star-color-active: #ff9500;
  --star-size-small: 14px;
  --star-size-medium: 18px;
  --star-size-large: 24px;
}

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  user-select: none;
}

/* Sizing variants */
.star-rating--small {
  gap: 2px;
}

.star-rating--medium {
  gap: 4px;
}

.star-rating--large {
  gap: 6px;
}

/* Individual star */
.star {
  display: inline-block;
  transition: all 0.2s ease;
  line-height: 1;
}

/* Size variants */
.star--small {
  font-size: var(--star-size-small);
}

.star--medium {
  font-size: var(--star-size-medium);
}

.star--large {
  font-size: var(--star-size-large);
}

/* Interactive stars */
.star--interactive {
  cursor: pointer;
  color: var(--star-color-empty);
}

.star--interactive:hover {
  transform: scale(1.1);
}

.star--interactive:active {
  transform: scale(0.95);
}

.star--interactive:focus {
  outline: 2px solid var(--star-color-hover);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Hovered state (preview) */
.star--hovered {
  color: var(--star-color-hover);
  filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.5));
}

/* Active state (filled) */
.star--active {
  color: var(--star-color-active);
}

.star--interactive.star--active {
  filter: drop-shadow(0 0 6px rgba(255, 149, 0, 0.4));
}

/* Read-only stars */
.star--readonly {
  color: var(--star-color-active);
  cursor: default;
  pointer-events: none;
}

.star-rating--readonly {
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .star-rating--large {
    gap: 4px;
  }

  .star--large {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .star-rating--medium {
    gap: 3px;
  }

  .star--medium {
    font-size: 16px;
  }

  .star--large {
    font-size: 18px;
  }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  :root {
    --star-color-empty: #555;
    --star-color-hover: #ffd54f;
    --star-color-active: #ffb300;
  }
}

/* Animation for click feedback */
@keyframes star-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.star--interactive:active {
  animation: star-pulse 0.3s ease;
}
/* BookmarkForm now uses dynamic-panel structure from DynamicPanel.css */
.bookmark-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════════
   FORM OVERFLOW MENU (3-Punkte-Menü)
   ═══════════════════════════════════════════════════════════════════ */

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.form-label-row label {
  margin-bottom: 0;
}

.form-overflow-container {
  position: relative;
}

.form-overflow-btn {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #666;
  font-size: 1.1rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-overflow-btn:hover,
.form-overflow-btn:focus {
  background: rgba(0, 0, 0, 0.08);
  color: #333;
}

.form-overflow-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 9999;
  min-width: 180px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: menuFadeIn 0.15s ease-out;
  margin-top: 4px;
}

@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.form-overflow-menu .overflow-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
  min-height: 48px;
}

.form-overflow-menu .overflow-menu-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.form-overflow-menu .overflow-menu-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-overflow-menu .overflow-menu-item svg {
  font-size: 1rem;
  color: #666;
}

.form-overflow-menu .overflow-menu-item-danger {
  color: #dc3545;
}

.form-overflow-menu .overflow-menu-item-danger:hover {
  background: rgba(220, 53, 69, 0.08);
}

.form-overflow-menu .overflow-menu-item-danger svg {
  color: #dc3545;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #364F7C;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #495057;
  box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.1);
  transform: translateY(-1px);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.form-group .rating-helper-text {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #6c757d;
  font-style: italic;
}

.field-error {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 5px;
  font-weight: 500;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
  font-weight: 500;
}

.form-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
  border: 2px solid #dc3545;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-danger:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.btn-danger:disabled {
  background-color: #6c757d;
  border-color: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Category Section Styles */
.category-section {
  /* No special background - matches other form-group elements */
}

.category-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.category-select {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
}

.category-select:focus {
  outline: none;
  border-color: #495057;
  box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.1);
}

.create-category-btn {
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 14px;
}

.new-category-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 10px;
  background: white;
  transition: all 0.3s ease;
}

.new-category-input:focus {
  outline: none;
  border-color: #495057;
  box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.1);
}

.new-category-input::placeholder {
  color: #6c757d;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .bookmark-form {
    gap: 16px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
  }

  .category-row {
    flex-direction: column;
    align-items: stretch;
  }

  .create-category-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   POWER THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

/* Power Theme - Form Overflow Menu */
[data-theme="power"] .form-overflow-btn {
  color: rgba(72, 232, 119, 0.75);
}

[data-theme="power"] .form-overflow-btn:hover,
[data-theme="power"] .form-overflow-btn:focus {
  background: rgba(72, 232, 119, 0.15);
  color: var(--power-accent, #48E877);
}

[data-theme="power"] .form-overflow-menu {
  background: rgba(8, 12, 10, 0.95);
  border: 1px solid var(--power-border-soft, rgba(72, 232, 119, 0.25));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

[data-theme="power"] .form-overflow-menu .overflow-menu-item {
  color: var(--power-text, #CFFFD9);
}

[data-theme="power"] .form-overflow-menu .overflow-menu-item:hover {
  background: rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .form-overflow-menu .overflow-menu-item svg {
  color: rgba(72, 232, 119, 0.85);
}

[data-theme="power"] .form-overflow-menu .overflow-menu-item-danger {
  color: #F87171;
}

[data-theme="power"] .form-overflow-menu .overflow-menu-item-danger:hover {
  background: rgba(248, 113, 113, 0.15);
}

[data-theme="power"] .form-overflow-menu .overflow-menu-item-danger svg {
  color: #F87171;
}

/* Power Theme - Form Inputs */
[data-theme="power"] .form-group label {
  color: var(--power-accent, #48E877);
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .form-group input,
[data-theme="power"] .form-group textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--power-border-soft, rgba(72, 232, 119, 0.15));
  color: var(--power-text, #CFFFD9);
}

[data-theme="power"] .form-group input::placeholder,
[data-theme="power"] .form-group textarea::placeholder {
  color: rgba(207, 255, 217, 0.5);
}

[data-theme="power"] .form-group input:focus,
[data-theme="power"] .form-group textarea:focus {
  border-color: var(--power-accent, #48E877);
  box-shadow: 0 0 0 2px var(--power-glow-soft, rgba(72, 232, 119, 0.15)),
              0 0 15px var(--power-glow, rgba(72, 232, 119, 0.25));
}

[data-theme="power"] .category-select {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--power-border-soft, rgba(72, 232, 119, 0.15));
  color: var(--power-text, #CFFFD9);
}

[data-theme="power"] .category-select:focus {
  border-color: var(--power-accent, #48E877);
  box-shadow: 0 0 0 2px var(--power-glow-soft, rgba(72, 232, 119, 0.15)),
              0 0 15px var(--power-glow, rgba(72, 232, 119, 0.25));
}

[data-theme="power"] .category-select option {
  background: rgba(8, 12, 10, 0.95);
  color: var(--power-text, #CFFFD9);
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

/* Form Overflow Menu - Purple Bubbles */
[data-theme="purple-bubbles"] .form-overflow-btn {
  color: rgba(196, 181, 253, 0.75);
}

[data-theme="purple-bubbles"] .form-overflow-btn:hover,
[data-theme="purple-bubbles"] .form-overflow-btn:focus {
  background: rgba(139, 92, 246, 0.20);
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .form-overflow-menu {
  background: rgba(40, 25, 70, 0.95);
  border: 1px solid rgba(196, 181, 253, 0.25);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

[data-theme="purple-bubbles"] .form-overflow-menu .overflow-menu-item {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .form-overflow-menu .overflow-menu-item:hover {
  background: rgba(139, 92, 246, 0.20);
}

[data-theme="purple-bubbles"] .form-overflow-menu .overflow-menu-item svg {
  color: rgba(196, 181, 253, 0.85);
}

[data-theme="purple-bubbles"] .form-overflow-menu .overflow-menu-item-danger {
  color: #F87171;
}

[data-theme="purple-bubbles"] .form-overflow-menu .overflow-menu-item-danger:hover {
  background: rgba(248, 113, 113, 0.15);
}

[data-theme="purple-bubbles"] .form-overflow-menu .overflow-menu-item-danger svg {
  color: #F87171;
}

/* Blue-Galaxy Theme - Form Overflow Menu */
body[data-theme="blue-galaxy"] .form-overflow-btn {
  color: rgba(127, 182, 255, 0.75);
}

body[data-theme="blue-galaxy"] .form-overflow-btn:hover,
body[data-theme="blue-galaxy"] .form-overflow-btn:focus {
  background: rgba(127, 182, 255, 0.15);
  color: var(--bgx-accent0, #7FB6FF);
}

body[data-theme="blue-galaxy"] .form-overflow-menu {
  background: rgba(10, 18, 40, 0.95);
  border: 1px solid var(--bgx-border, rgba(120, 170, 255, 0.25));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

body[data-theme="blue-galaxy"] .form-overflow-menu .overflow-menu-item {
  color: var(--bgx-text, #EAF2FF);
}

body[data-theme="blue-galaxy"] .form-overflow-menu .overflow-menu-item:hover {
  background: rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] .form-overflow-menu .overflow-menu-item svg {
  color: rgba(127, 182, 255, 0.85);
}

body[data-theme="blue-galaxy"] .form-overflow-menu .overflow-menu-item-danger {
  color: #F87171;
}

body[data-theme="blue-galaxy"] .form-overflow-menu .overflow-menu-item-danger:hover {
  background: rgba(248, 113, 113, 0.15);
}

body[data-theme="blue-galaxy"] .form-overflow-menu .overflow-menu-item-danger svg {
  color: #F87171;
}

[data-theme="purple-bubbles"] .form-group label {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .form-group input,
[data-theme="purple-bubbles"] .form-group textarea {
  background: rgba(49, 46, 129, 0.50);
  border: 2px solid rgba(196, 181, 253, 0.30);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .form-group input::placeholder,
[data-theme="purple-bubbles"] .form-group textarea::placeholder {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .form-group input:focus,
[data-theme="purple-bubbles"] .form-group textarea:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .form-group input.error,
[data-theme="purple-bubbles"] .form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

[data-theme="purple-bubbles"] .form-group .rating-helper-text {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .field-error {
  color: #fca5a5;
}

[data-theme="purple-bubbles"] .error-message {
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.30);
}

[data-theme="purple-bubbles"] .btn-danger {
  background-color: #9054cc;
  border: 2px solid #9054cc;
}

[data-theme="purple-bubbles"] .btn-danger:hover {
  background-color: #7a3fb8;
  border-color: #7a3fb8;
  box-shadow: 0 4px 8px rgba(144, 84, 204, 0.4);
}

[data-theme="purple-bubbles"] .btn-danger:active {
  box-shadow: 0 2px 4px rgba(144, 84, 204, 0.4);
}

[data-theme="purple-bubbles"] .btn-danger:disabled {
  background-color: rgba(107, 114, 128, 0.50);
  border-color: rgba(107, 114, 128, 0.50);
}

[data-theme="purple-bubbles"] .category-select {
  background: rgba(49, 46, 129, 0.50);
  border: 2px solid rgba(196, 181, 253, 0.30);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .category-select:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .category-select option {
  background: rgba(30, 27, 75, 0.95);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .new-category-input {
  background: rgba(49, 46, 129, 0.50);
  border: 2px solid rgba(196, 181, 253, 0.30);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .new-category-input:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .new-category-input::placeholder {
  color: rgba(196, 181, 253, 0.65);
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (SPACE GLASS)
   Bookmark Form with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────── */
/* 1️⃣ FORM LABELS */
/* ─────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .form-group label {
  color: #7FB6FF;
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────── */
/* 2️⃣ FORM INPUTS & TEXTAREAS - Space Glass */
/* ─────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .form-group input,
body[data-theme="blue-galaxy"] .form-group textarea {
  background: rgba(18, 28, 56, 0.55);
  border: 2px solid rgba(120, 170, 255, 0.22);
  color: #EAF2FF;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

/* Placeholder Text */
body[data-theme="blue-galaxy"] .form-group input::placeholder,
body[data-theme="blue-galaxy"] .form-group textarea::placeholder {
  color: rgba(234, 242, 255, 0.45);
  font-style: italic;
}

/* Focus State - Cyan/Blue Glow */
body[data-theme="blue-galaxy"] .form-group input:focus,
body[data-theme="blue-galaxy"] .form-group textarea:focus {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(127, 182, 255, 0.16), 0 0 18px rgba(127, 182, 255, 0.20);
  transform: translateY(-1px);
}

/* Error State */
body[data-theme="blue-galaxy"] .form-group input.error,
body[data-theme="blue-galaxy"] .form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* ─────────────────────────────────────────────────────────────────── */
/* 3️⃣ HELPER TEXT & ERRORS */
/* ─────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .form-group .rating-helper-text {
  color: rgba(234, 242, 255, 0.55);
}

body[data-theme="blue-galaxy"] .field-error {
  color: #fca5a5;
}

body[data-theme="blue-galaxy"] .error-message {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.30);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.15);
}

/* ─────────────────────────────────────────────────────────────────── */
/* 4️⃣ DANGER BUTTON */
/* ─────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .btn-danger {
  background-color: #ef4444;
  border: 2px solid #ef4444;
  color: white;
}

body[data-theme="blue-galaxy"] .btn-danger:hover {
  background-color: #dc2626;
  border-color: #dc2626;
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.35);
}

body[data-theme="blue-galaxy"] .btn-danger:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.35);
}

body[data-theme="blue-galaxy"] .btn-danger:disabled {
  background-color: rgba(107, 114, 128, 0.40);
  border-color: rgba(107, 114, 128, 0.40);
  opacity: 0.60;
  cursor: not-allowed;
}

/* ─────────────────────────────────────────────────────────────────── */
/* 5️⃣ CATEGORY SELECT - Space Glass */
/* ─────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .category-select {
  background: rgba(18, 28, 56, 0.55);
  border: 2px solid rgba(120, 170, 255, 0.22);
  color: #EAF2FF;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] .category-select:focus {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(127, 182, 255, 0.16), 0 0 18px rgba(127, 182, 255, 0.18);
}

body[data-theme="blue-galaxy"] .category-select option {
  background: rgba(10, 18, 40, 0.98);
  color: #EAF2FF;
}

/* ─────────────────────────────────────────────────────────────────── */
/* 6️⃣ NEW CATEGORY INPUT - Space Glass */
/* ─────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .new-category-input {
  background: rgba(18, 28, 56, 0.55);
  border: 2px solid rgba(120, 170, 255, 0.22);
  color: #EAF2FF;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] .new-category-input:focus {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(127, 182, 255, 0.16), 0 0 18px rgba(127, 182, 255, 0.18);
}

body[data-theme="blue-galaxy"] .new-category-input::placeholder {
  color: rgba(234, 242, 255, 0.45);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */.forgot-password-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(55, 80, 126, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.forgot-password-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.forgot-password-header {
    text-align: center;
    margin-bottom: 30px;
}

.forgot-password-header h2 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 26px;
    font-weight: 600;
}

.forgot-password-header p {
    color: #666;
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

.forgot-password-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group input:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.error-text {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
}

.message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.success-icon {
    font-size: 48px;
    color: #28a745;
    text-align: center;
    margin-bottom: 20px;
}

.success-message {
    text-align: center;
    color: #155724;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.info-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.forgot-password-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reset-btn, .back-to-login-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.reset-btn {
    background-color: #007bff;
    color: white;
}

.reset-btn:hover:not(:disabled) {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.reset-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.back-btn, .back-to-login-btn {
    background-color: transparent;
    color: #6c757d;
    border: 2px solid #e1e5e9;
}

.back-btn:hover:not(:disabled), 
.back-to-login-btn:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

.back-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.forgot-password-footer {
    text-align: center;
    border-top: 1px solid #e1e5e9;
    padding-top: 20px;
}

.forgot-password-footer p {
    color: #666;
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .forgot-password-container {
        padding: 10px;
        min-height: 100vh;
    }

    .forgot-password-card {
        padding: 30px 20px;
        box-shadow: none;
        border-radius: 0;
    }

    .forgot-password-header h2 {
        font-size: 22px;
    }

    .form-group input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* =========================================================
   POWER THEME STYLING
   ========================================================= */

[data-theme="power"] .forgot-password-container {
    background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(8,14,10,.92));
    backdrop-filter: blur(8px);
}

[data-theme="power"] .forgot-password-card {
    background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(8,14,10,.92));
    border: 1px solid rgba(34,197,94,.25);
    border-radius: 18px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(72, 232, 119, 0.15);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    padding: 26px;
}

[data-theme="power"] .forgot-password-header h2 {
    color: #CFFFD9;
    text-shadow: 0 0 15px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .forgot-password-header p {
    color: rgba(207, 255, 217, 0.72);
}

[data-theme="power"] .form-group label {
    color: #CFFFD9;
    font-weight: 600;
}

[data-theme="power"] .form-group input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(72, 232, 119, 0.18);
    color: #CFFFD9;
}

[data-theme="power"] .form-group input::placeholder {
    color: rgba(207, 255, 217, 0.45);
}

[data-theme="power"] .form-group input:focus {
    border-color: #48E877;
    box-shadow: 0 0 15px rgba(72, 232, 119, 0.25);
    background: rgba(0, 0, 0, 0.45);
}

[data-theme="power"] .form-group input.error {
    border-color: #ff4444;
    box-shadow: 0 0 12px rgba(255, 68, 68, 0.3);
}

[data-theme="power"] .form-group input:disabled {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(72, 232, 119, 0.1);
    color: rgba(207, 255, 217, 0.35);
}

[data-theme="power"] .error-text {
    color: #ff6b6b;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
}

[data-theme="power"] .message.success {
    background: rgba(72, 232, 119, 0.12);
    border: 1px solid rgba(72, 232, 119, 0.35);
    color: #5fff8a;
}

[data-theme="power"] .message.error {
    background: rgba(255, 68, 68, 0.12);
    border: 1px solid rgba(255, 68, 68, 0.35);
    color: #ff6b6b;
}

[data-theme="power"] .success-icon {
    color: #48E877;
    text-shadow: 0 0 20px rgba(72, 232, 119, 0.5);
}

[data-theme="power"] .success-message {
    color: #5fff8a;
}

[data-theme="power"] .info-text {
    color: rgba(207, 255, 217, 0.72);
}

[data-theme="power"] .reset-btn {
    background: transparent;
    border: 2px solid #48E877;
    color: #48E877;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="power"] .reset-btn:hover:not(:disabled) {
    background: #48E877;
    color: #0b0f0d;
    box-shadow:
        0 0 25px rgba(72, 232, 119, 0.4),
        inset 0 0 15px rgba(72, 232, 119, 0.2);
}

[data-theme="power"] .reset-btn:disabled {
    background: transparent;
    border-color: rgba(72, 232, 119, 0.25);
    color: rgba(207, 255, 217, 0.35);
    box-shadow: none;
}

[data-theme="power"] .back-btn,
[data-theme="power"] .back-to-login-btn {
    background: transparent;
    border: 1px solid rgba(72, 232, 119, 0.18);
    color: rgba(207, 255, 217, 0.72);
}

[data-theme="power"] .back-btn:hover:not(:disabled),
[data-theme="power"] .back-to-login-btn:hover {
    background: rgba(6, 10, 8, 0.55);
    border-color: rgba(72, 232, 119, 0.35);
    box-shadow: 0 0 15px rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .forgot-password-footer {
    border-top: 1px solid rgba(72, 232, 119, 0.18);
}

[data-theme="power"] .forgot-password-footer p {
    color: rgba(207, 255, 217, 0.55);
}

/* Mobile - Power Theme */
@media (max-width: 480px) {
    [data-theme="power"] .forgot-password-card {
        border-radius: 16px;
        padding: 22px;
    }
}.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(55, 80, 126, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.auth-form-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 0;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.auth-form {
  padding: 2rem;
}

.auth-language-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.auth-language-btn {
  background: rgba(54, 79, 124, 0.1);
  border: 2px solid rgba(54, 79, 124, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.auth-language-btn:hover {
  background: rgba(54, 79, 124, 0.2);
  border-color: rgba(54, 79, 124, 0.5);
}

.auth-language-btn.active {
  background: var(--active-button-color);
  color: #ffffff;
  border-color: var(--active-button-color);
}

.auth-form h2 {
  color: #364F7C;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}


.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #364F7C;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #364F7C;
}

.form-group input.error {
  border-color: #e74c3c;
}

.field-error {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.error-message {
  background: #fdf2f2;
  color: #e74c3c;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #fecaca;
  text-align: center;
}

.auth-submit {
  width: 100%;
  padding: 0.75rem;
  background: #364F7C;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.auth-submit:hover:not(:disabled) {
  background: #2d4066;
}

.auth-submit:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.auth-toggle {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.auth-toggle p {
  color: #6b7280;
  margin: 0;
}

.link-btn {
  background: none;
  border: none;
  color: #364F7C;
  cursor: pointer;
  text-decoration: underline;
  font-size: inherit;
  margin-left: 0.25rem;
}

.link-btn:hover {
  color: #2d4066;
}

/* Forgot Password Link */
.forgot-password-link {
  text-align: center;
  margin: 10px 0 15px 0;
}

.forgot-password-link .link-btn {
  color: #007bff;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 8px;
  display: inline-block;
}

.forgot-password-link .link-btn:hover {
  color: #0056b3;
}

/* Responsive design */
@media (max-width: 768px) {
  .auth-form-container {
    margin: 1rem;
    width: calc(100% - 2rem);
  }

  .auth-form {
    padding: 1.5rem;
  }
}

/* =========================================================
   POWER THEME STYLING
   ========================================================= */

[data-theme="power"] .auth-overlay {
  background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(8,14,10,.92));
  backdrop-filter: blur(8px);
}

[data-theme="power"] .auth-form-container {
  background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(8,14,10,.92));
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 18px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(72, 232, 119, 0.15);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
}

[data-theme="power"] .auth-form {
  padding: 26px;
}

/* Language Switcher - Power Style */
[data-theme="power"] .auth-language-switcher {
  margin-bottom: 1.5rem;
  gap: 12px;
}

[data-theme="power"] .auth-language-btn {
  background: rgba(6, 10, 8, 0.55);
  border: 1px solid rgba(72, 232, 119, 0.18);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

[data-theme="power"] .auth-language-btn:hover {
  background: rgba(6, 10, 8, 0.72);
  border-color: rgba(72, 232, 119, 0.35);
  box-shadow: 0 0 15px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .auth-language-btn.active {
  background: rgba(72, 232, 119, 0.15);
  border-color: #48E877;
  box-shadow: 0 0 20px rgba(72, 232, 119, 0.35);
}

/* Headline - Power Style */
[data-theme="power"] .auth-form h2 {
  color: #CFFFD9;
  font-size: 1.75rem;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(72, 232, 119, 0.25);
  margin-bottom: 1.5rem;
}

/* Form Groups */
[data-theme="power"] .form-group label {
  color: #CFFFD9;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

[data-theme="power"] .form-group input {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(72, 232, 119, 0.18);
  color: #CFFFD9;
  border-radius: 8px;
  padding: 0.85rem;
  transition: all 0.3s ease;
}

[data-theme="power"] .form-group input::placeholder {
  color: rgba(207, 255, 217, 0.45);
}

[data-theme="power"] .form-group input:focus {
  border-color: #48E877;
  box-shadow: 0 0 15px rgba(72, 232, 119, 0.25);
  background: rgba(0, 0, 0, 0.45);
}

[data-theme="power"] .form-group input.error {
  border-color: #ff4444;
  box-shadow: 0 0 12px rgba(255, 68, 68, 0.3);
}

/* Field Errors */
[data-theme="power"] .field-error {
  color: #ff6b6b;
  text-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
}

/* Error Message */
[data-theme="power"] .error-message {
  background: rgba(255, 68, 68, 0.12);
  border: 1px solid rgba(255, 68, 68, 0.35);
  color: #ff6b6b;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.2);
}

/* Submit Button - Power CTA */
[data-theme="power"] .auth-submit {
  background: transparent;
  border: 2px solid #48E877;
  color: #48E877;
  font-weight: 600;
  padding: 0.85rem;
  border-radius: 10px;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

[data-theme="power"] .auth-submit:hover:not(:disabled) {
  background: #48E877;
  color: #0b0f0d;
  box-shadow:
    0 0 25px rgba(72, 232, 119, 0.4),
    inset 0 0 15px rgba(72, 232, 119, 0.2);
  transform: translateY(-1px);
}

[data-theme="power"] .auth-submit:disabled {
  background: transparent;
  border-color: rgba(72, 232, 119, 0.25);
  color: rgba(207, 255, 217, 0.35);
  box-shadow: none;
  cursor: not-allowed;
}

/* Toggle Section - Power Style */
[data-theme="power"] .auth-toggle {
  border-top: 1px solid rgba(72, 232, 119, 0.18);
  padding-top: 1.25rem;
  margin-top: 1.75rem;
}

[data-theme="power"] .auth-toggle p {
  color: rgba(207, 255, 217, 0.72);
  font-size: 0.95rem;
}

[data-theme="power"] .link-btn {
  color: #48E877;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

[data-theme="power"] .link-btn:hover {
  color: #5fff8a;
  border-bottom-color: #48E877;
  text-shadow: 0 0 8px rgba(72, 232, 119, 0.35);
}

/* Forgot Password Link */
[data-theme="power"] .forgot-password-link .link-btn {
  color: #48E877;
}

[data-theme="power"] .forgot-password-link .link-btn:hover {
  color: #5fff8a;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.4);
}

/* Responsive - Power Theme */
@media (max-width: 768px) {
  [data-theme="power"] .auth-form-container {
    border-radius: 16px;
    padding: 0;
  }

  [data-theme="power"] .auth-form {
    padding: 22px;
  }

  [data-theme="power"] .auth-form h2 {
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (SPACE GLASS)
   Authentication Form with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════ */

/* Overlay - Blue Cosmic Background */
[data-theme="blue-galaxy"] .auth-overlay {
  background: linear-gradient(180deg, rgba(10,18,40,.92), rgba(5,8,20,.92));
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

/* Form Container - Space Glass */
[data-theme="blue-galaxy"] .auth-form-container {
  background: linear-gradient(180deg, rgba(10,18,40,.88), rgba(18,28,56,.88));
  border: 1px solid rgba(120, 170, 255, 0.22);
  border-radius: 18px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(127, 182, 255, 0.18);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

[data-theme="blue-galaxy"] .auth-form {
  padding: 26px;
}

/* Language Switcher - Blue Style */
[data-theme="blue-galaxy"] .auth-language-switcher {
  margin-bottom: 1.5rem;
  gap: 12px;
}

[data-theme="blue-galaxy"] .auth-language-btn {
  background: rgba(10, 18, 40, 0.58);
  border: 1px solid rgba(120, 170, 255, 0.18);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

[data-theme="blue-galaxy"] .auth-language-btn:hover {
  background: rgba(18, 28, 56, 0.72);
  border-color: rgba(120, 170, 255, 0.32);
  box-shadow: 0 0 15px rgba(127, 182, 255, 0.20);
}

[data-theme="blue-galaxy"] .auth-language-btn.active {
  background: rgba(127, 182, 255, 0.15);
  border-color: #7FB6FF;
  box-shadow: 0 0 20px rgba(127, 182, 255, 0.28);
}

/* Headline - Blue Style */
[data-theme="blue-galaxy"] .auth-form h2 {
  color: #EAF2FF;
  font-size: 1.75rem;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(127, 182, 255, 0.25);
  margin-bottom: 1.5rem;
}

/* Form Groups */
[data-theme="blue-galaxy"] .form-group label {
  color: #EAF2FF;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

[data-theme="blue-galaxy"] .form-group input {
  background: rgba(5, 8, 20, 0.42);
  border: 1px solid rgba(120, 170, 255, 0.18);
  color: #EAF2FF;
  border-radius: 8px;
  padding: 0.85rem;
  transition: all 0.3s ease;
}

[data-theme="blue-galaxy"] .form-group input::placeholder {
  color: rgba(234, 242, 255, 0.42);
}

[data-theme="blue-galaxy"] .form-group input:focus {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 15px rgba(127, 182, 255, 0.22);
  background: rgba(5, 8, 20, 0.52);
}

[data-theme="blue-galaxy"] .form-group input.error {
  border-color: #ff4444;
  box-shadow: 0 0 12px rgba(255, 68, 68, 0.28);
}

/* Field Errors */
[data-theme="blue-galaxy"] .field-error {
  color: #ff6b6b;
  text-shadow: 0 0 8px rgba(255, 68, 68, 0.35);
}

/* Error Message */
[data-theme="blue-galaxy"] .error-message {
  background: rgba(255, 68, 68, 0.12);
  border: 1px solid rgba(255, 68, 68, 0.32);
  color: #ff6b6b;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.18);
}

/* Submit Button - Blue CTA */
[data-theme="blue-galaxy"] .auth-submit {
  background: transparent;
  border: 2px solid #7FB6FF;
  color: #7FB6FF;
  font-weight: 600;
  padding: 0.85rem;
  border-radius: 10px;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

[data-theme="blue-galaxy"] .auth-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #7FB6FF, #4CA9FF);
  color: #081024;
  border-color: #7FB6FF;
  box-shadow:
    0 0 25px rgba(127, 182, 255, 0.38),
    inset 0 0 15px rgba(127, 182, 255, 0.18);
  transform: translateY(-1px);
}

[data-theme="blue-galaxy"] .auth-submit:disabled {
  background: transparent;
  border-color: rgba(120, 170, 255, 0.22);
  color: rgba(234, 242, 255, 0.32);
  box-shadow: none;
  cursor: not-allowed;
}

/* Toggle Section - Blue Style */
[data-theme="blue-galaxy"] .auth-toggle {
  border-top: 1px solid rgba(120, 170, 255, 0.18);
  padding-top: 1.25rem;
  margin-top: 1.75rem;
}

[data-theme="blue-galaxy"] .auth-toggle p {
  color: rgba(234, 242, 255, 0.68);
  font-size: 0.95rem;
}

[data-theme="blue-galaxy"] .link-btn {
  color: #7FB6FF;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

[data-theme="blue-galaxy"] .link-btn:hover {
  color: #4CA9FF;
  border-bottom-color: #7FB6FF;
  text-shadow: 0 0 8px rgba(127, 182, 255, 0.32);
}

/* Forgot Password Link */
[data-theme="blue-galaxy"] .forgot-password-link .link-btn {
  color: #7FB6FF;
}

[data-theme="blue-galaxy"] .forgot-password-link .link-btn:hover {
  color: #4CA9FF;
  text-shadow: 0 0 10px rgba(127, 182, 255, 0.35);
}

/* Responsive - Blue Galaxy Theme */
@media (max-width: 768px) {
  [data-theme="blue-galaxy"] .auth-form-container {
    border-radius: 16px;
    padding: 0;
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
  }

  [data-theme="blue-galaxy"] .auth-form {
    padding: 22px;
  }

  [data-theme="blue-galaxy"] .auth-form h2 {
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   Authentication Form with Purple/Violet Accents
   ═══════════════════════════════════════════════════════════════════ */

/* Overlay - Purple Cosmic Background */
[data-theme="purple-bubbles"] .auth-overlay {
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.92), rgba(15, 10, 40, 0.92));
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

/* Form Container - Purple Glass */
[data-theme="purple-bubbles"] .auth-form-container {
  background: #1d0e33;
  border: 1px solid rgba(196, 181, 253, 0.20);
  border-radius: 18px;
  box-shadow:
    0 8px 32px rgba(30, 27, 75, 0.45),
    0 0 40px rgba(167, 139, 250, 0.25);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
}

[data-theme="purple-bubbles"] .auth-form {
  padding: 26px;
}

/* Language Switcher - Purple Style */
[data-theme="purple-bubbles"] .auth-language-switcher {
  margin-bottom: 1.5rem;
  gap: 12px;
}

[data-theme="purple-bubbles"] .auth-language-btn {
  background: rgba(30, 27, 75, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.20);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  color: #D1D5DB;
}

[data-theme="purple-bubbles"] .auth-language-btn:hover {
  background: rgba(49, 46, 129, 0.72);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .auth-language-btn.active {
  background: rgba(139, 92, 246, 0.18);
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.35);
  color: #C4B5FD;
}

/* Headline - Purple Style */
[data-theme="purple-bubbles"] .auth-form h2 {
  color: #C4B5FD;
  font-size: 1.75rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
  margin-bottom: 1.5rem;
}

/* Form Groups */
[data-theme="purple-bubbles"] .form-group label {
  color: #C4B5FD;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

[data-theme="purple-bubbles"] .form-group input {
  background: rgba(15, 10, 40, 0.45);
  border: 1px solid rgba(167, 139, 250, 0.20);
  color: #F3F4F6;
  border-radius: 8px;
  padding: 0.85rem;
  transition: all 0.3s ease;
}

[data-theme="purple-bubbles"] .form-group input::placeholder {
  color: rgba(196, 181, 253, 0.45);
}

[data-theme="purple-bubbles"] .form-group input:focus {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.25);
  background: rgba(15, 10, 40, 0.55);
}

[data-theme="purple-bubbles"] .form-group input.error {
  border-color: #fca5a5;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.30);
}

/* Field Errors */
[data-theme="purple-bubbles"] .field-error {
  color: #fca5a5;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.35);
}

/* Error Message */
[data-theme="purple-bubbles"] .error-message {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.32);
  color: #fca5a5;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.20);
}

/* Submit Button - Purple CTA */
[data-theme="purple-bubbles"] .auth-submit {
  background: transparent;
  border: 2px solid #A78BFA;
  color: #A78BFA;
  font-weight: 600;
  padding: 0.85rem;
  border-radius: 10px;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

[data-theme="purple-bubbles"] .auth-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #A78BFA, #C4B5FD);
  color: #0B0614;
  border-color: #A78BFA;
  box-shadow:
    0 0 25px rgba(167, 139, 250, 0.40),
    inset 0 0 15px rgba(167, 139, 250, 0.20);
  transform: translateY(-1px);
}

[data-theme="purple-bubbles"] .auth-submit:disabled {
  background: transparent;
  border-color: rgba(167, 139, 250, 0.25);
  color: rgba(196, 181, 253, 0.35);
  box-shadow: none;
  cursor: not-allowed;
}

/* Toggle Section - Purple Style */
[data-theme="purple-bubbles"] .auth-toggle {
  border-top: 1px solid rgba(167, 139, 250, 0.20);
  padding-top: 1.25rem;
  margin-top: 1.75rem;
}

[data-theme="purple-bubbles"] .auth-toggle p {
  color: #D1D5DB;
  font-size: 0.95rem;
}

[data-theme="purple-bubbles"] .link-btn {
  color: #A78BFA;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

[data-theme="purple-bubbles"] .link-btn:hover {
  color: #C4B5FD;
  border-bottom-color: #A78BFA;
  text-shadow: 0 0 8px rgba(167, 139, 250, 0.35);
}

/* Forgot Password Link */
[data-theme="purple-bubbles"] .forgot-password-link .link-btn {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .forgot-password-link .link-btn:hover {
  color: #C4B5FD;
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.40);
}

/* Responsive - Purple-Bubbles Theme */
@media (max-width: 768px) {
  [data-theme="purple-bubbles"] .auth-form-container {
    border-radius: 16px;
    padding: 0;
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
  }

  [data-theme="purple-bubbles"] .auth-form {
    padding: 22px;
  }

  [data-theme="purple-bubbles"] .auth-form h2 {
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   END OF PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */.reset-password-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(55, 80, 126, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.reset-password-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reset-password-header {
    text-align: center;
    margin-bottom: 30px;
}

.reset-password-header h2 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 26px;
    font-weight: 600;
}

.reset-password-header p {
    color: #666;
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

.reset-password-content {
    text-align: center;
}

.reset-password-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group input:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.error-text {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.password-requirements {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.password-requirements p {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.password-requirements li {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 5px;
    position: relative;
}

.password-requirements li::before {
    content: \"✗\";
    color: #dc3545;
    font-weight: bold;
    position: absolute;
    left: -18px;
}

.password-requirements li.valid::before {
    content: \"✓\";
    color: #28a745;
}

.password-requirements li.valid {
    color: #28a745;
}

.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.success-icon, .error-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

.success-icon {
    color: #28a745;
}

.error-icon {
    color: #dc3545;
}

.success-message {
    text-align: center;
    color: #155724;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.error-message {
    text-align: center;
    color: #721c24;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.info-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.reset-password-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reset-btn, .back-btn, .back-to-login-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.reset-btn {
    background-color: #007bff;
    color: white;
}

.reset-btn:hover:not(:disabled) {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.reset-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.back-btn, .back-to-login-btn {
    background-color: transparent;
    color: #6c757d;
    border: 2px solid #e1e5e9;
}

.back-btn:hover:not(:disabled), 
.back-to-login-btn:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

.back-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .reset-password-container {
        padding: 10px;
        min-height: 100vh;
    }

    .reset-password-card {
        padding: 30px 20px;
        box-shadow: none;
        border-radius: 0;
    }

    .reset-password-header h2 {
        font-size: 22px;
    }

    .form-group input {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .reset-password-actions {
        gap: 10px;
    }
}

/* =========================================================
   POWER THEME STYLING
   ========================================================= */

[data-theme="power"] .reset-password-container {
    background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(8,14,10,.92));
    backdrop-filter: blur(8px);
}

[data-theme="power"] .reset-password-card {
    background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(8,14,10,.92));
    border: 1px solid rgba(34,197,94,.25);
    border-radius: 18px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(72, 232, 119, 0.15);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    padding: 26px;
}

[data-theme="power"] .reset-password-header h2 {
    color: #CFFFD9;
    text-shadow: 0 0 15px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .reset-password-header p {
    color: rgba(207, 255, 217, 0.72);
}

[data-theme="power"] .form-group label {
    color: #CFFFD9;
    font-weight: 600;
}

[data-theme="power"] .form-group input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(72, 232, 119, 0.18);
    color: #CFFFD9;
}

[data-theme="power"] .form-group input::placeholder {
    color: rgba(207, 255, 217, 0.45);
}

[data-theme="power"] .form-group input:focus {
    border-color: #48E877;
    box-shadow: 0 0 15px rgba(72, 232, 119, 0.25);
    background: rgba(0, 0, 0, 0.45);
}

[data-theme="power"] .form-group input.error {
    border-color: #ff4444;
    box-shadow: 0 0 12px rgba(255, 68, 68, 0.3);
}

[data-theme="power"] .form-group input:disabled {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(72, 232, 119, 0.1);
    color: rgba(207, 255, 217, 0.35);
}

[data-theme="power"] .error-text {
    color: #ff6b6b;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
}

[data-theme="power"] .password-requirements {
    background: rgba(6, 10, 8, 0.55);
    border: 1px solid rgba(72, 232, 119, 0.18);
}

[data-theme="power"] .password-requirements p {
    color: #CFFFD9;
}

[data-theme="power"] .password-requirements li {
    color: rgba(207, 255, 217, 0.55);
}

[data-theme="power"] .password-requirements li::before {
    color: #ff4444;
}

[data-theme="power"] .password-requirements li.valid {
    color: #48E877;
}

[data-theme="power"] .password-requirements li.valid::before {
    color: #48E877;
}

[data-theme="power"] .message.success {
    background: rgba(72, 232, 119, 0.12);
    border: 1px solid rgba(72, 232, 119, 0.35);
    color: #5fff8a;
}

[data-theme="power"] .message.error {
    background: rgba(255, 68, 68, 0.12);
    border: 1px solid rgba(255, 68, 68, 0.35);
    color: #ff6b6b;
}

[data-theme="power"] .success-icon {
    color: #48E877;
    text-shadow: 0 0 20px rgba(72, 232, 119, 0.5);
}

[data-theme="power"] .error-icon {
    color: #ff4444;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

[data-theme="power"] .success-message {
    color: #5fff8a;
}

[data-theme="power"] .error-message {
    color: #ff6b6b;
}

[data-theme="power"] .info-text {
    color: rgba(207, 255, 217, 0.72);
}

[data-theme="power"] .reset-btn {
    background: transparent;
    border: 2px solid #48E877;
    color: #48E877;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="power"] .reset-btn:hover:not(:disabled) {
    background: #48E877;
    color: #0b0f0d;
    box-shadow:
        0 0 25px rgba(72, 232, 119, 0.4),
        inset 0 0 15px rgba(72, 232, 119, 0.2);
}

[data-theme="power"] .reset-btn:disabled {
    background: transparent;
    border-color: rgba(72, 232, 119, 0.25);
    color: rgba(207, 255, 217, 0.35);
    box-shadow: none;
}

[data-theme="power"] .back-btn,
[data-theme="power"] .back-to-login-btn {
    background: transparent;
    border: 1px solid rgba(72, 232, 119, 0.18);
    color: rgba(207, 255, 217, 0.72);
}

[data-theme="power"] .back-btn:hover:not(:disabled),
[data-theme="power"] .back-to-login-btn:hover {
    background: rgba(6, 10, 8, 0.55);
    border-color: rgba(72, 232, 119, 0.35);
    box-shadow: 0 0 15px rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .loading-spinner {
    border-color: rgba(72, 232, 119, 0.15);
    border-top-color: #48E877;
}

/* Mobile - Power Theme */
@media (max-width: 480px) {
    [data-theme="power"] .reset-password-card {
        border-radius: 16px;
        padding: 22px;
    }
}/* ═══════════════════════════════════════════════════════════════════════
   Power Form Components - Power Green / Matrix Neon Theme

   ⚠️ CRITICAL: Theme-Scoped Styles
   These styles are ONLY active when Power Theme is enabled.
   Other themes (Light, Classic, etc.) are NOT affected.

   All selectors MUST be prefixed with .theme-power
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER THEME TOKENS (Only used within .theme-power) */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power {
  /* Backgrounds */
  --power-surface0: #0b1210;
  --power-surface1: #0e1a14;

  /* Borders */
  --power-border: rgba(34, 197, 94, 0.30);
  --power-borderSoft: rgba(34, 197, 94, 0.18);

  /* Text */
  --power-text: #e9fff1;
  --power-textMuted: #9ad8ad;

  /* Neon Green Accents */
  --power-g0: #1aff6a;
  --power-g1: #22c55e;

  /* Shadows & Glows */
  --power-shadowGlow: 0 0 14px rgba(34,197,94,.35);
  --power-shadowGlowStrong: 0 0 22px rgba(26,255,106,.45);

  /* Radius */
  --power-radiusControl: 14px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER FORM FIELD (Container) */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .power-form-field {
  margin-bottom: 20px;
}

.theme-power .power-field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--power-textMuted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.theme-power .power-field-required {
  color: var(--power-g0);
  margin-left: 4px;
}

.theme-power .power-field-hint {
  margin-top: 6px;
  color: rgba(154,216,173,.55);
  font-size: 12px;
  text-align: right;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER INPUT */
/* Design Rule: Container = Visual Frame, Input = Visually Naked */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .power-input-wrapper {
  position: relative;
  background: rgba(14,26,20,.80);
  border: 1px solid var(--power-border);
  border-radius: var(--power-radiusControl);
  transition: all 0.2s ease;
}

.theme-power .power-input-wrapper:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 12px rgba(34,197,94,0.20);
}

.theme-power .power-input-wrapper:focus-within {
  border-color: var(--power-g0);
  box-shadow: var(--power-shadowGlowStrong);
}

.theme-power .power-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--power-text);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  font-family: inherit;
}

.theme-power .power-input::placeholder {
  color: rgba(154,216,173,0.50);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER SELECT */
/* Design Rule: Container = Visual Frame, Select = Visually Naked */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .power-select-wrapper {
  position: relative;
  background: rgba(14,26,20,.80);
  border: 1px solid var(--power-border);
  border-radius: var(--power-radiusControl);
  transition: all 0.2s ease;
}

.theme-power .power-select-wrapper:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 12px rgba(34,197,94,0.20);
}

.theme-power .power-select-wrapper:focus-within {
  border-color: var(--power-g0);
  box-shadow: var(--power-shadowGlowStrong);
}

.theme-power .power-select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--power-text);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  padding-right: 40px;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Neon-Green Chevron Icon */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2222c55e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.theme-power .power-select option {
  background: rgba(14,26,20,.95);
  color: var(--power-text);
  padding: 10px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER TEXTAREA */
/* Design Rule: Container = Visual Frame, Textarea = Visually Naked */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .power-textarea-wrapper {
  position: relative;
  background: rgba(14,26,20,.80);
  border: 1px solid var(--power-border);
  border-radius: var(--power-radiusControl);
  transition: all 0.2s ease;
}

.theme-power .power-textarea-wrapper:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 12px rgba(34,197,94,0.20);
}

.theme-power .power-textarea-wrapper:focus-within {
  border-color: var(--power-g0);
  box-shadow: var(--power-shadowGlowStrong);
}

.theme-power .power-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--power-text);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.theme-power .power-textarea::placeholder {
  color: rgba(154,216,173,0.50);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER BUTTON */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .power-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border-radius: var(--power-radiusControl);
  transition: all 0.2s ease;
  line-height: 1;
}

/* Primary Variant - Neon Outline */
.theme-power .power-button-primary {
  background: transparent;
  border: 2px solid rgba(34,197,94,0.45);
  color: var(--power-g1);
}

.theme-power .power-button-primary:hover:not(:disabled) {
  background: rgba(34,197,94,0.15);
  border-color: var(--power-g0);
  color: var(--power-g0);
  box-shadow: var(--power-shadowGlow);
}

.theme-power .power-button-primary:active:not(:disabled) {
  transform: translateY(1px);
}

/* Secondary Variant - Subtle */
.theme-power .power-button-secondary {
  background: rgba(14,26,20,.60);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--power-textMuted);
}

.theme-power .power-button-secondary:hover:not(:disabled) {
  background: rgba(14,26,20,.75);
  border-color: rgba(34,197,94,0.40);
  color: var(--power-g1);
  box-shadow: 0 0 10px rgba(34,197,94,0.20);
}

/* Disabled State */
.theme-power .power-button:disabled {
  opacity: 0.30;
  cursor: not-allowed;
  border-color: rgba(34,197,94,0.20);
  color: rgba(154,216,173,0.45);
  box-shadow: none;
}

/* Full Width */
.theme-power .power-button-full {
  width: 100%;
}

/* Icon */
.theme-power .power-button-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 6px rgba(26,255,106,0.30));
}

.theme-power .power-button-text {
  line-height: 1;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* ACCESSIBILITY */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .power-input:focus,
.theme-power .power-select:focus,
.theme-power .power-textarea:focus {
  /* Focus handled by wrapper */
}

.theme-power .power-button:focus {
  outline: 2px solid var(--power-g0);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* RESPONSIVE */
/* ─────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .theme-power .power-form-field {
    margin-bottom: 18px;
  }

  .theme-power .power-field-label {
    font-size: 13px;
  }

  .theme-power .power-input,
  .theme-power .power-select,
  .theme-power .power-textarea {
    font-size: 14px;
    padding: 11px 14px;
  }

  .theme-power .power-textarea {
    min-height: 100px;
  }

  .theme-power .power-button {
    padding: 11px 20px;
    font-size: 14px;
  }

  .theme-power .power-button-icon {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .theme-power .power-form-field {
    margin-bottom: 16px;
  }

  .theme-power .power-field-label {
    font-size: 12px;
  }

  .theme-power .power-input,
  .theme-power .power-select,
  .theme-power .power-textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .theme-power .power-button {
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   END OF POWER FORM COMPONENTS
   ═══════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════
   Import Dialog - Power Green / Matrix Neon Theme

   ⚠️ CRITICAL: Theme-Scoped Styles
   These styles are ONLY active when Power Theme is enabled (.theme-power)
   Other themes (Light, Classic, etc.) are NOT affected.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER THEME TOKENS */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power {
  /* Backgrounds */
  --import-surface0: #0b1210;
  --import-surface1: #0e1a14;
  --import-surface2: rgba(14,26,20,.55);
  --import-surface3: rgba(14,26,20,.80);

  /* Borders */
  --import-border: rgba(34, 197, 94, 0.30);
  --import-borderSoft: rgba(34, 197, 94, 0.18);
  --import-borderDashed: rgba(34, 197, 94, 0.35);

  /* Text */
  --import-text: #e9fff1;
  --import-textMuted: #9ad8ad;
  --import-textSubtle: rgba(154,216,173,.72);

  /* Neon Green Accents */
  --import-g0: #1aff6a;
  --import-g1: #22c55e;

  /* Danger/Error */
  --import-danger: #ff6b6b;
  --import-dangerBg: rgba(255,107,107,0.15);

  /* Shadows & Glows */
  --import-shadowCard: 0 10px 30px rgba(0,0,0,.55);
  --import-shadowGlow: 0 0 14px rgba(34,197,94,.35);
  --import-shadowGlowStrong: 0 0 22px rgba(26,255,106,.45);

  /* Radius */
  --import-radiusCard: 18px;
  --import-radiusControl: 14px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER PANEL CONTAINER */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power.import-power-panel {
  background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(8,14,10,.92));
  border: 1px solid rgba(34,197,94,.25);
  border-radius: var(--import-radiusCard);
  box-shadow: var(--import-shadowCard), var(--import-shadowGlow);
  padding: 26px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Optional: Noise/Particle Overlay */
.theme-power.import-power-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(26,255,106,.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34,197,94,.02) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
}

/* Content above noise */
.theme-power.import-power-panel > * {
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER HEADLINE */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .import-power-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(34,197,94,0.15);
}

.theme-power .import-headline-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-power .import-headline-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 8px rgba(26,255,106,0.45));
  line-height: 1;
}

.theme-power .import-headline-title {
  margin: 0;
  color: var(--import-g0);
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(26,255,106,0.35);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.theme-power .import-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 10px;
  color: var(--import-g1);
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.theme-power .import-close-btn:hover:not(:disabled) {
  background: rgba(34,197,94,0.12);
  border-color: var(--import-g0);
  box-shadow: 0 0 14px rgba(34,197,94,0.35);
  transform: scale(1.05);
}

.theme-power .import-close-btn:disabled {
  opacity: 0.30;
  cursor: not-allowed;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* INSTRUCTIONS PANEL (POWER INFO PANEL) */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .import-info-panel {
  background: var(--import-surface2);
  border: 1px solid var(--import-borderSoft);
  border-radius: var(--import-radiusControl);
  padding: 20px 22px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.theme-power .info-panel-header {
  margin-bottom: 12px;
}

.theme-power .info-panel-title {
  margin: 0;
  color: var(--import-g1);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.theme-power .import-steps {
  margin: 0;
  padding-left: 24px;
  color: var(--import-textSubtle);
  font-size: 14px;
  line-height: 1.6;
}

.theme-power .import-steps li {
  margin-bottom: 10px;
}

.theme-power .import-steps li:last-child {
  margin-bottom: 0;
}

/* Code Pill for chrome://bookmarks/ */
.theme-power .import-steps .code-pill {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 13px;
  color: var(--import-g0);
  white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER DROPZONE */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .power-dropzone {
  position: relative;
  background: var(--import-surface3);
  border: 2px dashed var(--import-borderDashed);
  border-radius: var(--import-radiusControl);
  padding: 40px 24px;
  margin-bottom: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Idle State (Default) */
.theme-power .power-dropzone:hover:not(.has-file) {
  border-color: rgba(34,197,94,0.50);
  background: rgba(14,26,20,.88);
  box-shadow: 0 0 16px rgba(34,197,94,0.20);
}

/* Drag-Over State (Active) */
.theme-power .power-dropzone.drag-active {
  border-color: var(--import-g0);
  background: rgba(26,255,106,0.08);
  box-shadow: var(--import-shadowGlowStrong);
  transform: scale(1.02);
}

/* File Selected State */
.theme-power .power-dropzone.has-file {
  border-style: solid;
  border-color: var(--import-g1);
  background: rgba(34,197,94,0.10);
  box-shadow: 0 0 18px rgba(34,197,94,0.25);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* DROPZONE: IDLE STATE */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .dropzone-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.theme-power .dropzone-icon {
  font-size: 48px;
  filter: drop-shadow(0 0 10px rgba(26,255,106,0.35));
}

.theme-power .dropzone-text {
  margin: 0;
  color: var(--import-textMuted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.theme-power .dropzone-hint {
  color: var(--import-textSubtle);
  font-size: 13px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* DROPZONE: FILE SELECTED STATE */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .dropzone-file-selected {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.theme-power .file-status-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,0.20);
  border: 2px solid var(--import-g1);
  border-radius: 50%;
  color: var(--import-g0);
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(26,255,106,0.40));
}

.theme-power .file-details {
  flex: 1;
  text-align: left;
}

.theme-power .file-name {
  margin: 0 0 4px 0;
  color: var(--import-text);
  font-size: 16px;
  font-weight: 600;
}

.theme-power .file-size {
  color: var(--import-textMuted);
  font-size: 13px;
}

.theme-power .remove-file-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,107,107,0.40);
  border-radius: 6px;
  color: var(--import-danger);
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.theme-power .remove-file-icon:hover {
  background: rgba(255,107,107,0.15);
  border-color: var(--import-danger);
  box-shadow: 0 0 10px rgba(255,107,107,0.30);
  transform: scale(1.05);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* ERROR PANEL */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .import-error-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--import-dangerBg);
  border: 1px solid rgba(255,107,107,0.35);
  border-radius: var(--import-radiusControl);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.theme-power .error-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.theme-power .error-text {
  color: var(--import-danger);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* IMPORT STATUS PANEL (RESULTS PREVIEW) */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .import-status-panel {
  background: var(--import-surface2);
  border: 1px solid var(--import-border);
  border-radius: var(--import-radiusControl);
  padding: 20px 22px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.theme-power .status-panel-header {
  margin-bottom: 16px;
}

.theme-power .status-panel-title {
  margin: 0;
  color: var(--import-g1);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* STATUS STATS GRID */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .status-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.theme-power .status-stat-item {
  background: rgba(14,26,20,.70);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.theme-power .status-stat-item:hover {
  border-color: rgba(34,197,94,0.40);
  box-shadow: 0 0 12px rgba(34,197,94,0.20);
  transform: translateY(-2px);
}

.theme-power .status-stat-label {
  color: var(--import-textMuted);
  font-size: 13px;
  font-weight: 500;
}

.theme-power .status-stat-value {
  color: var(--import-g0);
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(26,255,106,0.30);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* PREVIEW SECTION */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .import-preview-section {
  border-top: 1px solid rgba(34,197,94,0.15);
  padding-top: 18px;
}

.theme-power .preview-section-title {
  margin: 0 0 14px 0;
  color: var(--import-textMuted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theme-power .preview-bookmark-item {
  background: rgba(14,26,20,.60);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.theme-power .preview-bookmark-item:hover {
  border-color: rgba(34,197,94,0.30);
  background: rgba(14,26,20,.75);
  box-shadow: 0 0 10px rgba(34,197,94,0.15);
}

.theme-power .preview-bookmark-item:last-of-type {
  margin-bottom: 0;
}

.theme-power .preview-bookmark-title {
  color: var(--import-text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.theme-power .preview-bookmark-url {
  color: var(--import-g1);
  font-size: 12px;
  margin-bottom: 4px;
  word-break: break-all;
  opacity: 0.85;
}

.theme-power .preview-bookmark-desc {
  color: var(--import-textSubtle);
  font-size: 12px;
  font-style: italic;
  line-height: 1.4;
}

.theme-power .preview-more {
  text-align: center;
  color: var(--import-textMuted);
  font-size: 13px;
  font-style: italic;
  margin: 14px 0 0 0;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* LOADING SPINNER (INLINE) */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .loading-spinner-inline {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(34,197,94,0.30);
  border-top-color: var(--import-g0);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────────────────────────────── */
/* RESPONSIVE DESIGN */
/* ─────────────────────────────────────────────────────────────────────── */

/* Tablet (768px) */
@media (max-width: 768px) {
  .theme-power.import-power-panel {
    padding: 22px;
  }

  .theme-power .import-power-headline {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .theme-power .import-headline-title {
    font-size: 24px;
  }

  .theme-power .import-headline-icon {
    font-size: 22px;
  }

  .theme-power .import-close-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .theme-power .import-info-panel,
  .theme-power .import-status-panel {
    padding: 18px 20px;
    margin-bottom: 20px;
  }

  .theme-power .power-dropzone {
    padding: 32px 20px;
    min-height: 160px;
  }

  .theme-power .dropzone-icon {
    font-size: 42px;
  }

  .theme-power .dropzone-text {
    font-size: 15px;
  }

  .theme-power .status-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  .theme-power.import-power-panel {
    padding: 18px;
  }

  .theme-power .import-power-headline {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .theme-power .import-headline-title {
    font-size: 20px;
  }

  .theme-power .import-headline-icon {
    font-size: 20px;
  }

  .theme-power .import-headline-left {
    gap: 10px;
  }

  .theme-power .import-close-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .theme-power .import-info-panel,
  .theme-power .import-status-panel {
    padding: 16px 18px;
    margin-bottom: 18px;
  }

  .theme-power .info-panel-title,
  .theme-power .status-panel-title {
    font-size: 16px;
  }

  .theme-power .import-steps {
    font-size: 13px;
    padding-left: 20px;
  }

  .theme-power .import-steps .code-pill {
    font-size: 12px;
    padding: 2px 6px;
  }

  .theme-power .power-dropzone {
    padding: 28px 16px;
    min-height: 140px;
    margin-bottom: 18px;
  }

  .theme-power .dropzone-icon {
    font-size: 36px;
  }

  .theme-power .dropzone-text {
    font-size: 14px;
  }

  .theme-power .dropzone-hint {
    font-size: 12px;
  }

  .theme-power .dropzone-file-selected {
    gap: 12px;
  }

  .theme-power .file-status-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .theme-power .file-name {
    font-size: 14px;
  }

  .theme-power .file-size {
    font-size: 12px;
  }

  .theme-power .remove-file-icon {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .theme-power .import-error-panel {
    padding: 12px 16px;
    margin-bottom: 18px;
  }

  .theme-power .error-text {
    font-size: 13px;
  }

  .theme-power .status-stats-grid {
    gap: 10px;
    margin-bottom: 16px;
  }

  .theme-power .status-stat-item {
    padding: 10px 12px;
  }

  .theme-power .status-stat-label {
    font-size: 12px;
  }

  .theme-power .status-stat-value {
    font-size: 18px;
  }

  .theme-power .preview-section-title {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .theme-power .preview-bookmark-item {
    padding: 10px 12px;
    margin-bottom: 8px;
  }

  .theme-power .preview-bookmark-title {
    font-size: 13px;
  }

  .theme-power .preview-bookmark-url,
  .theme-power .preview-bookmark-desc {
    font-size: 11px;
  }

  .theme-power .preview-more {
    font-size: 12px;
    margin-top: 12px;
  }
}

/* ─────────────────────────────────────────────────────────────────────── */
/* ACCESSIBILITY */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .import-close-btn:focus,
.theme-power .remove-file-icon:focus {
  outline: 2px solid var(--import-g0);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* ANIMATIONS */
/* ─────────────────────────────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.theme-power.import-power-panel {
  animation: slideUp 0.3s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   Complete Override with Higher Specificity (using body[data-theme])
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣ MAIN PANEL CONTAINER */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .import-power-panel,
body[data-theme="purple-bubbles"] .theme-power.import-power-panel {
  background: #1d0e33 !important;
  border: 1px solid rgba(196, 181, 253, 0.20) !important;
  box-shadow: 0 8px 32px rgba(30, 27, 75, 0.35), 0 0 20px rgba(167, 139, 250, 0.25) !important;
  backdrop-filter: saturate(140%) blur(16px) !important;
  animation: slideUp 0.3s ease-out;
}

body[data-theme="purple-bubbles"] .import-power-panel::before,
body[data-theme="purple-bubbles"] .theme-power.import-power-panel::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(167, 139, 250, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.02) 0%, transparent 50%) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 2️⃣ HEADLINE SECTION */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .import-power-headline {
  border-bottom: 1px solid rgba(167, 139, 250, 0.20) !important;
}

body[data-theme="purple-bubbles"] .import-headline-icon {
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.50)) !important;
}

body[data-theme="purple-bubbles"] .import-headline-title {
  color: #C4B5FD !important;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40) !important;
}

body[data-theme="purple-bubbles"] .import-close-btn {
  background: rgba(49, 46, 129, 0.60) !important;
  border: 1px solid rgba(167, 139, 250, 0.30) !important;
  color: #C4B5FD !important;
}

body[data-theme="purple-bubbles"] .import-close-btn:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.18) !important;
  border-color: #A78BFA !important;
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.30) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 3️⃣ INFO PANEL (Instructions) */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .import-info-panel {
  background: rgba(49, 46, 129, 0.40) !important;
  border: 1px solid rgba(167, 139, 250, 0.25) !important;
  backdrop-filter: blur(6px) saturate(140%) !important;
}

body[data-theme="purple-bubbles"] .info-panel-title {
  color: #A78BFA !important;
}

body[data-theme="purple-bubbles"] .import-steps {
  color: rgba(196, 181, 253, 0.85) !important;
}

body[data-theme="purple-bubbles"] .import-steps .code-pill {
  background: rgba(139, 92, 246, 0.18) !important;
  border: 1px solid rgba(167, 139, 250, 0.35) !important;
  color: #C4B5FD !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 4️⃣ DROPZONE */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .power-dropzone {
  background: rgba(49, 46, 129, 0.40) !important;
  border: 2px dashed rgba(167, 139, 250, 0.35) !important;
}

/* Idle Hover */
body[data-theme="purple-bubbles"] .power-dropzone:hover:not(.has-file) {
  border-color: rgba(167, 139, 250, 0.50) !important;
  background: rgba(49, 46, 129, 0.55) !important;
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.25) !important;
}

/* Drag Active */
body[data-theme="purple-bubbles"] .power-dropzone.drag-active {
  border-color: #A78BFA !important;
  background: rgba(139, 92, 246, 0.15) !important;
  box-shadow: 0 0 22px rgba(167, 139, 250, 0.40) !important;
}

/* Has File */
body[data-theme="purple-bubbles"] .power-dropzone.has-file {
  border-style: solid !important;
  border-color: #A78BFA !important;
  background: rgba(139, 92, 246, 0.12) !important;
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.30) !important;
}

/* Dropzone Content */
body[data-theme="purple-bubbles"] .dropzone-icon {
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.40)) !important;
}

body[data-theme="purple-bubbles"] .dropzone-text {
  color: #F3F4F6 !important;
}

body[data-theme="purple-bubbles"] .dropzone-hint {
  color: #C4B5FD !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 5️⃣ FILE SELECTED STATE */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .file-status-icon {
  background: rgba(139, 92, 246, 0.25) !important;
  border: 2px solid #A78BFA !important;
  color: #C4B5FD !important;
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.45)) !important;
}

body[data-theme="purple-bubbles"] .file-name {
  color: #F3F4F6 !important;
}

body[data-theme="purple-bubbles"] .file-size {
  color: #C4B5FD !important;
}

body[data-theme="purple-bubbles"] .remove-file-icon {
  border: 1px solid rgba(144, 84, 204, 0.50) !important;
  color: #9054cc !important;
}

body[data-theme="purple-bubbles"] .remove-file-icon:hover {
  background: rgba(144, 84, 204, 0.18) !important;
  border-color: #9054cc !important;
  box-shadow: 0 0 10px rgba(144, 84, 204, 0.35) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 6️⃣ ERROR PANEL */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .import-error-panel {
  background: rgba(144, 84, 204, 0.15) !important;
  border: 1px solid rgba(144, 84, 204, 0.35) !important;
}

body[data-theme="purple-bubbles"] .error-text {
  color: #C4B5FD !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 7️⃣ STATUS PANEL & STATS */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .import-status-panel {
  background: rgba(49, 46, 129, 0.40) !important;
  border: 1px solid rgba(167, 139, 250, 0.25) !important;
  backdrop-filter: blur(6px) saturate(140%) !important;
}

body[data-theme="purple-bubbles"] .status-panel-title {
  color: #A78BFA !important;
}

body[data-theme="purple-bubbles"] .status-stat-item {
  background: rgba(49, 46, 129, 0.50) !important;
  border: 1px solid rgba(167, 139, 250, 0.22) !important;
}

body[data-theme="purple-bubbles"] .status-stat-item:hover {
  border-color: rgba(167, 139, 250, 0.40) !important;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25) !important;
}

body[data-theme="purple-bubbles"] .status-stat-label {
  color: #C4B5FD !important;
}

body[data-theme="purple-bubbles"] .status-stat-value {
  color: #A78BFA !important;
  text-shadow: 0 0 12px rgba(167, 139, 250, 0.35) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 8️⃣ PREVIEW SECTION */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .import-preview-section {
  border-top: 1px solid rgba(167, 139, 250, 0.20) !important;
}

body[data-theme="purple-bubbles"] .preview-section-title {
  color: #C4B5FD !important;
}

body[data-theme="purple-bubbles"] .preview-bookmark-item {
  background: rgba(49, 46, 129, 0.45) !important;
  border: 1px solid rgba(167, 139, 250, 0.20) !important;
}

body[data-theme="purple-bubbles"] .preview-bookmark-item:hover {
  border-color: rgba(167, 139, 250, 0.35) !important;
  background: rgba(49, 46, 129, 0.60) !important;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.20) !important;
}

body[data-theme="purple-bubbles"] .preview-bookmark-title {
  color: #F3F4F6 !important;
}

body[data-theme="purple-bubbles"] .preview-bookmark-url {
  color: #A78BFA !important;
}

body[data-theme="purple-bubbles"] .preview-bookmark-desc {
  color: rgba(196, 181, 253, 0.75) !important;
}

body[data-theme="purple-bubbles"] .preview-more {
  color: #C4B5FD !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 9️⃣ LOADING SPINNER */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .loading-spinner-inline {
  border: 2px solid rgba(167, 139, 250, 0.30) !important;
  border-top-color: #A78BFA !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 🔟 POWER BUTTON OVERRIDES */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .import-power-panel .power-button,
body[data-theme="purple-bubbles"] .import-power-panel .power-button-primary {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6) !important;
  border: 2px solid rgba(167, 139, 250, 0.40) !important;
  color: white !important;
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.30) !important;
}

body[data-theme="purple-bubbles"] .import-power-panel .power-button:hover:not(:disabled),
body[data-theme="purple-bubbles"] .import-power-panel .power-button-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #C4B5FD, #A78BFA) !important;
  border-color: #C4B5FD !important;
  box-shadow: 0 6px 24px rgba(196, 181, 253, 0.40) !important;
}

body[data-theme="purple-bubbles"] .import-power-panel .power-button:active:not(:disabled),
body[data-theme="purple-bubbles"] .import-power-panel .power-button-primary:active:not(:disabled) {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED) !important;
}

body[data-theme="purple-bubbles"] .import-power-panel .power-button:disabled,
body[data-theme="purple-bubbles"] .import-power-panel .power-button-primary:disabled {
  background: rgba(49, 46, 129, 0.40) !important;
  border-color: rgba(167, 139, 250, 0.20) !important;
  color: rgba(196, 181, 253, 0.50) !important;
  box-shadow: none !important;
}

body[data-theme="purple-bubbles"] .import-power-panel .power-button-icon {
  filter: drop-shadow(0 0 6px rgba(196, 181, 253, 0.40)) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣1️⃣ ACCESSIBILITY */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .import-close-btn:focus,
body[data-theme="purple-bubbles"] .remove-file-icon:focus {
  outline: 2px solid #A78BFA !important;
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (SPACE GLASS)
   Import Dialog with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣ MAIN PANEL CONTAINER - Space Glass */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .import-power-panel {
  background: linear-gradient(180deg, rgba(10,18,40,0.82), rgba(10,18,40,0.62));
  border: 1px solid rgba(120, 170, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.55), 0 0 26px rgba(127,182,255,0.18);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  animation: slideUp 0.3s ease-out;
}

/* Noise/Particle Layer */
body[data-theme="blue-galaxy"] .import-power-panel::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(127, 182, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(120, 170, 255, 0.02) 0%, transparent 50%);
  opacity: 0.08;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 2️⃣ HEADLINE SECTION */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .import-power-headline {
  border-bottom: 1px solid rgba(120, 170, 255, 0.15);
}

body[data-theme="blue-galaxy"] .import-headline-icon {
  filter: drop-shadow(0 0 8px rgba(127, 182, 255, 0.45));
}

body[data-theme="blue-galaxy"] .import-headline-title {
  color: #7FB6FF;
  text-shadow: 0 0 18px rgba(127, 182, 255, 0.35);
}

body[data-theme="blue-galaxy"] .import-close-btn {
  background: transparent;
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .import-close-btn:hover:not(:disabled) {
  background: rgba(127, 182, 255, 0.12);
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.30);
}

body[data-theme="blue-galaxy"] .import-close-btn:disabled {
  opacity: 0.30;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 3️⃣ INFO PANEL */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .import-info-panel {
  background: rgba(18, 28, 56, 0.50);
  border: 1px solid rgba(120, 170, 255, 0.20);
  backdrop-filter: blur(6px) saturate(150%);
  -webkit-backdrop-filter: blur(6px) saturate(150%);
}

body[data-theme="blue-galaxy"] .info-panel-title {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .import-steps {
  color: rgba(234, 242, 255, 0.72);
}

body[data-theme="blue-galaxy"] .import-steps .code-pill {
  background: rgba(127, 182, 255, 0.15);
  border: 1px solid rgba(120, 170, 255, 0.28);
  color: #7FB6FF;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 4️⃣ DROPZONE - Space Glass */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .power-dropzone {
  background: rgba(18, 28, 56, 0.60);
  border: 2px dashed rgba(120, 170, 255, 0.30);
}

/* Idle Hover */
body[data-theme="blue-galaxy"] .power-dropzone:hover:not(.has-file) {
  border-color: rgba(120, 170, 255, 0.45);
  background: rgba(18, 28, 56, 0.75);
  box-shadow: 0 0 16px rgba(127, 182, 255, 0.20);
}

/* Drag Active */
body[data-theme="blue-galaxy"] .power-dropzone.drag-active {
  border-color: rgba(127, 182, 255, 0.50);
  background: rgba(127, 182, 255, 0.10);
  box-shadow: 0 0 22px rgba(127, 182, 255, 0.35);
}

/* Has File */
body[data-theme="blue-galaxy"] .power-dropzone.has-file {
  border-style: solid;
  border-color: rgba(127, 182, 255, 0.40);
  background: rgba(127, 182, 255, 0.12);
  box-shadow: 0 0 18px rgba(127, 182, 255, 0.25);
}

/* Dropzone Content */
body[data-theme="blue-galaxy"] .dropzone-icon {
  filter: drop-shadow(0 0 10px rgba(127, 182, 255, 0.35));
}

body[data-theme="blue-galaxy"] .dropzone-text {
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .dropzone-hint {
  color: rgba(234, 242, 255, 0.60);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 5️⃣ FILE SELECTED STATE */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .file-status-icon {
  background: rgba(127, 182, 255, 0.20);
  border: 2px solid rgba(120, 170, 255, 0.40);
  color: #7FB6FF;
  filter: drop-shadow(0 0 8px rgba(127, 182, 255, 0.40));
}

body[data-theme="blue-galaxy"] .file-name {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .file-size {
  color: rgba(234, 242, 255, 0.75);
}

body[data-theme="blue-galaxy"] .remove-file-icon {
  border: 1px solid rgba(239,68,68,0.40);
  color: #fca5a5;
}

body[data-theme="blue-galaxy"] .remove-file-icon:hover {
  background: rgba(239,68,68,0.15);
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239,68,68,0.30);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 6️⃣ ERROR PANEL */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .import-error-panel {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.30);
}

body[data-theme="blue-galaxy"] .error-text {
  color: #fca5a5;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 7️⃣ STATUS PANEL & STATS */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .import-status-panel {
  background: rgba(18, 28, 56, 0.50);
  border: 1px solid rgba(120, 170, 255, 0.22);
  backdrop-filter: blur(6px) saturate(150%);
  -webkit-backdrop-filter: blur(6px) saturate(150%);
}

body[data-theme="blue-galaxy"] .status-panel-title {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .status-stat-item {
  background: rgba(18, 28, 56, 0.65);
  border: 1px solid rgba(120, 170, 255, 0.22);
}

body[data-theme="blue-galaxy"] .status-stat-item:hover {
  border-color: rgba(120, 170, 255, 0.35);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.20);
}

body[data-theme="blue-galaxy"] .status-stat-label {
  color: rgba(234, 242, 255, 0.75);
}

body[data-theme="blue-galaxy"] .status-stat-value {
  color: #7FB6FF;
  text-shadow: 0 0 12px rgba(127, 182, 255, 0.30);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 8️⃣ PREVIEW SECTION */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .import-preview-section {
  border-top: 1px solid rgba(120, 170, 255, 0.15);
}

body[data-theme="blue-galaxy"] .preview-section-title {
  color: rgba(234, 242, 255, 0.75);
}

body[data-theme="blue-galaxy"] .preview-bookmark-item {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.18);
}

body[data-theme="blue-galaxy"] .preview-bookmark-item:hover {
  border-color: rgba(120, 170, 255, 0.28);
  background: rgba(18, 28, 56, 0.70);
  box-shadow: 0 0 10px rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] .preview-bookmark-title {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .preview-bookmark-url {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .preview-bookmark-desc {
  color: rgba(234, 242, 255, 0.65);
}

body[data-theme="blue-galaxy"] .preview-more {
  color: rgba(234, 242, 255, 0.75);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 9️⃣ LOADING SPINNER */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .loading-spinner-inline {
  border: 2px solid rgba(120, 170, 255, 0.30);
  border-top-color: #7FB6FF;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 🔟 SCROLLBAR */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .import-power-panel::-webkit-scrollbar-track {
  background: rgba(18, 28, 56, 0.50);
}

body[data-theme="blue-galaxy"] .import-power-panel::-webkit-scrollbar-thumb {
  background: rgba(127, 182, 255, 0.30);
}

body[data-theme="blue-galaxy"] .import-power-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(127, 182, 255, 0.50);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣1️⃣ ACCESSIBILITY */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .import-close-btn:focus,
body[data-theme="blue-galaxy"] .remove-file-icon:focus {
  outline: 2px solid rgba(127, 182, 255, 0.50);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   END OF IMPORT DIALOG STYLES (POWER THEME)
   ═══════════════════════════════════════════════════════════════════════ */
/* Dynamic Panel Styles - full height of app-main */
.dynamic-panel {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  animation: slideInUp 0.3s ease;
  overflow: hidden;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Panel Header */
.panel-header {
  background: linear-gradient(135deg, #37507e, #46b2e4);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.panel-header h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: white;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

/* Panel Content - scrollable when content exceeds height */
.panel-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

/* Settings Specific */
.settings-section {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.settings-section h3 {
  margin: 0 0 12px 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
}

.setting-item {
  margin: 8px 0;
}

.setting-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

.setting-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.setting-item select {
  margin-left: 8px;
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Navigation Settings - Base Styles */
.nav-selected-items {
  margin-bottom: 16px;
}

.nav-order-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #333;
}

.nav-order-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 4px;
  background: var(--card-background, #f8f9fa);
  border-radius: 8px;
  border: 1px solid var(--border-light, #e0e0e0);
  transition: all 0.2s ease;
}

.nav-order-item:hover {
  border-color: var(--primary-color, #007bff);
}

.nav-order-number {
  font-weight: bold;
  color: var(--primary-color, #007bff);
  min-width: 20px;
}

.nav-order-icon {
  width: 20px;
  text-align: center;
}

.nav-order-text {
  flex: 1;
}

.nav-order-btn {
  padding: 4px 8px;
  font-size: 12px;
  background: transparent;
  border: 1px solid var(--border-light, #ccc);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-order-btn:hover:not(:disabled) {
  background: var(--primary-color, #007bff);
  color: white;
  border-color: var(--primary-color, #007bff);
}

.nav-order-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-item-option.disabled {
  opacity: 0.5;
}

.nav-item-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.nav-item-option.disabled .nav-item-label {
  cursor: not-allowed;
}

.nav-item-icon {
  width: 20px;
  text-align: center;
}

.nav-max-warning {
  color: #ffc107;
  margin-top: 8px;
  font-size: 12px;
}

/* Support Specific */
.support-info {
  margin-bottom: 24px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #46b2e4;
}

.support-info h3 {
  margin: 0 0 8px 0;
  color: #37507e;
}

.support-form {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #46b2e4;
  box-shadow: 0 0 0 2px rgba(70, 178, 228, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-info {
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #28a745;
}

.contact-info h3 {
  margin: 0 0 12px 0;
  color: #28a745;
}

.contact-info p {
  margin: 4px 0;
  font-size: 0.9rem;
}

/* Panel Actions */
.panel-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
}

.btn-primary {
  background: #46b2e4;
  color: white;
}

.btn-primary:hover {
  background: #3a9bd1;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .dynamic-panel {
    border-radius: 8px;
  }

  .panel-header {
    padding: 16px;
  }

  .panel-content {
    padding: 16px;
  }

  .panel-actions {
    flex-direction: column;
  }

  .btn {
    margin-bottom: 8px;
  }
}

/* Dark Theme Support */
[data-theme="dark"] .dynamic-panel {
  background: #2d3748;
  color: white;
}

[data-theme="dark"] .panel-content {
  background: #2d3748;
}

[data-theme="dark"] .settings-section {
  border-bottom-color: #4a5568;
}

[data-theme="dark"] .settings-section h3 {
  color: #e2e8f0;
}

[data-theme="dark"] .form-group label {
  color: #e2e8f0;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background: #4a5568;
  border-color: #718096;
  color: white;
}

[data-theme="dark"] .support-info,
[data-theme="dark"] .contact-info {
  background: #4a5568;
}

[data-theme="dark"] .panel-actions {
  border-top-color: #4a5568;
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .dynamic-panel {
  background: #1d0e33 !important;
  color: #F3F4F6;
  box-shadow: 0 4px 20px rgba(30, 27, 75, 0.35);
  backdrop-filter: saturate(140%) blur(12px);
}

[data-theme="purple-bubbles"] .panel-header {
  background: #1d0e33;
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .panel-header h2 {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .close-btn {
  background: rgba(196, 181, 253, 0.20);
  border: 1px solid rgba(196, 181, 253, 0.30);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .close-btn:hover {
  background: rgba(196, 181, 253, 0.30);
  border-color: rgba(196, 181, 253, 0.50);
}

[data-theme="purple-bubbles"] .panel-content {
  background: transparent;
}

[data-theme="purple-bubbles"] .settings-section {
  border-bottom-color: rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .settings-section h3 {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .setting-item label {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .form-group label {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .form-group input,
[data-theme="purple-bubbles"] .form-group select,
[data-theme="purple-bubbles"] .form-group textarea {
  background: rgba(49, 46, 129, 0.50);
  border: 1px solid rgba(196, 181, 253, 0.30);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .form-group input::placeholder,
[data-theme="purple-bubbles"] .form-group textarea::placeholder {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .form-group input:focus,
[data-theme="purple-bubbles"] .form-group select:focus,
[data-theme="purple-bubbles"] .form-group textarea:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.30);
}

[data-theme="purple-bubbles"] .form-group select option {
  background: rgba(30, 27, 75, 0.95);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .support-info,
[data-theme="purple-bubbles"] .contact-info {
  background: rgba(49, 46, 129, 0.50);
  border-left-color: #A78BFA;
}

[data-theme="purple-bubbles"] .contact-info h3 {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .contact-info p {
  color: rgba(196, 181, 253, 0.75);
}

[data-theme="purple-bubbles"] .panel-actions {
  border-top-color: rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .btn-primary {
  background: rgba(182, 109, 255, 0.75) !important;
  border: 2px solid rgba(182, 109, 255, 0.35) !important;
  color: #0B0614 !important;
  border-radius: 14px !important;
  box-shadow: 0 0 18px rgba(182, 109, 255, 0.35) !important;
}

[data-theme="purple-bubbles"] .btn-primary:hover {
  background: rgba(200, 160, 255, 0.9) !important;
  border-color: rgba(200, 160, 255, 0.45) !important;
  color: #0B0614 !important;
  box-shadow: 0 0 24px rgba(182, 109, 255, 0.55) !important;
}

[data-theme="purple-bubbles"] .btn-secondary {
  background: rgba(40, 20, 60, 0.45) !important;
  border: 1px solid rgba(182, 109, 255, 0.35) !important;
  color: #F6EEFF !important;
  border-radius: 14px !important;
}

[data-theme="purple-bubbles"] .btn-secondary:hover {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.45) !important;
  color: #F6EEFF !important;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
}

/* Navigation Settings - Purple Bubbles */
[data-theme="purple-bubbles"] .nav-selected-items {
  margin-bottom: 16px;
}

[data-theme="purple-bubbles"] .nav-order-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #E8D5FF;
}

[data-theme="purple-bubbles"] .nav-order-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 6px;
  background: rgba(27, 14, 47, 0.9);
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  backdrop-filter: blur(8px);
}

[data-theme="purple-bubbles"] .nav-order-item:hover {
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.2);
}

[data-theme="purple-bubbles"] .nav-order-number {
  font-weight: bold;
  color: #A78BFA;
  min-width: 20px;
}

[data-theme="purple-bubbles"] .nav-order-icon {
  width: 20px;
  text-align: center;
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .nav-order-text {
  flex: 1;
  color: #E8D5FF;
}

[data-theme="purple-bubbles"] .nav-order-btn {
  padding: 4px 8px;
  font-size: 12px;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 6px;
  color: #C4B5FD;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="purple-bubbles"] .nav-order-btn:hover:not(:disabled) {
  background: rgba(167, 139, 250, 0.3);
  border-color: rgba(167, 139, 250, 0.5);
  color: #E8D5FF;
}

[data-theme="purple-bubbles"] .nav-order-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

[data-theme="purple-bubbles"] .nav-item-option.disabled {
  opacity: 0.5;
}

[data-theme="purple-bubbles"] .nav-item-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #E8D5FF;
}

[data-theme="purple-bubbles"] .nav-item-icon {
  width: 20px;
  text-align: center;
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .nav-max-warning {
  color: #FBBF24 !important;
  margin-top: 8px;
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES
   Space Glass Panels with Cyan/Blue Accents (Analytics Look)
   ═══════════════════════════════════════════════════════════════════ */

/* Main Panel Container - Space Glass */
body[data-theme="blue-galaxy"] .dynamic-panel {
  background: linear-gradient(180deg, rgba(10,18,40,0.82), rgba(10,18,40,0.62));
  border: 1px solid rgba(120, 170, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.55), 0 0 26px rgba(127,182,255,0.18);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  color: #EAF2FF;
}

/* Panel Header */
body[data-theme="blue-galaxy"] .panel-header {
  background: linear-gradient(135deg, rgba(10,18,40,0.95), rgba(18,28,56,0.95));
  border-bottom: 1px solid rgba(120, 170, 255, 0.18);
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .panel-header h2 {
  color: #7FB6FF;
  text-shadow: 0 0 18px rgba(127, 182, 255, 0.28);
}

/* Close Button */
body[data-theme="blue-galaxy"] .close-btn {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: #EAF2FF;
  border-radius: 12px;
}

body[data-theme="blue-galaxy"] .close-btn:hover {
  background: rgba(18, 28, 56, 0.75);
  border-color: rgba(127, 182, 255, 0.35);
  box-shadow: 0 0 14px rgba(127,182,255,0.28);
  transform: scale(1.05);
}

/* Panel Content */
body[data-theme="blue-galaxy"] .panel-content {
  background: transparent;
}

/* Settings Sections */
body[data-theme="blue-galaxy"] .settings-section {
  border-bottom-color: rgba(120, 170, 255, 0.14);
}

body[data-theme="blue-galaxy"] .settings-section h3 {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .setting-item label {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .setting-hint {
  color: rgba(234, 242, 255, 0.65);
}

/* Section Description */
body[data-theme="blue-galaxy"] .section-description {
  color: rgba(234, 242, 255, 0.68);
}

/* Form Groups */
body[data-theme="blue-galaxy"] .form-group label {
  color: rgba(234, 242, 255, 0.85);
}

/* Form Controls - Space Glass (NO WHITE) */
body[data-theme="blue-galaxy"] .form-group input,
body[data-theme="blue-galaxy"] .form-group select,
body[data-theme="blue-galaxy"] .form-group textarea,
body[data-theme="blue-galaxy"] .setting-item select {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: #EAF2FF;
  border-radius: 14px;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

/* Placeholder */
body[data-theme="blue-galaxy"] .form-group input::placeholder,
body[data-theme="blue-galaxy"] .form-group textarea::placeholder {
  color: rgba(234, 242, 255, 0.45);
}

/* Focus - Cyan/Blue Glow (Analytics Style) */
body[data-theme="blue-galaxy"] .form-group input:focus,
body[data-theme="blue-galaxy"] .form-group select:focus,
body[data-theme="blue-galaxy"] .form-group textarea:focus,
body[data-theme="blue-galaxy"] .setting-item select:focus {
  outline: none;
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(127,182,255,0.16), 0 0 18px rgba(127,182,255,0.18);
}

/* Disabled State */
body[data-theme="blue-galaxy"] .form-group input:disabled,
body[data-theme="blue-galaxy"] .form-group select:disabled,
body[data-theme="blue-galaxy"] .form-group textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Select Options */
body[data-theme="blue-galaxy"] .form-group select option {
  background: rgba(10, 18, 40, 0.98);
  color: #EAF2FF;
}

/* Support/Contact Info Boxes */
body[data-theme="blue-galaxy"] .support-info,
body[data-theme="blue-galaxy"] .contact-info {
  background: rgba(18, 28, 56, 0.45);
  border-left: 3px solid rgba(127, 182, 255, 0.55);
  border-radius: 12px;
}

body[data-theme="blue-galaxy"] .support-info h3,
body[data-theme="blue-galaxy"] .contact-info h3 {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .contact-info p {
  color: rgba(234, 242, 255, 0.75);
}

/* Panel Actions */
body[data-theme="blue-galaxy"] .panel-actions {
  border-top-color: rgba(120, 170, 255, 0.14);
}

/* Primary Button - Cyan/Blue Glow */
body[data-theme="blue-galaxy"] .btn-primary {
  background: rgba(127, 182, 255, 0.70) !important;
  border: 1px solid rgba(127, 182, 255, 0.35) !important;
  color: #081024 !important;
  border-radius: 14px !important;
  box-shadow: 0 0 18px rgba(127,182,255,0.18) !important;
  font-weight: 600;
}

body[data-theme="blue-galaxy"] .btn-primary:hover {
  background: rgba(127, 182, 255, 0.85) !important;
  border-color: rgba(127, 182, 255, 0.45) !important;
  box-shadow: 0 0 24px rgba(127,182,255,0.28) !important;
  transform: translateY(-1px);
}

body[data-theme="blue-galaxy"] .btn-primary:active {
  background: rgba(127, 182, 255, 0.95) !important;
  transform: translateY(0);
}

body[data-theme="blue-galaxy"] .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Secondary Button - Glass Outline */
body[data-theme="blue-galaxy"] .btn-secondary {
  background: rgba(18, 28, 56, 0.35) !important;
  border: 1px solid rgba(120, 170, 255, 0.28) !important;
  color: #EAF2FF !important;
  border-radius: 14px !important;
}

body[data-theme="blue-galaxy"] .btn-secondary:hover {
  background: rgba(127, 182, 255, 0.16) !important;
  border-color: rgba(127, 182, 255, 0.42) !important;
  box-shadow: 0 0 14px rgba(127,182,255,0.22) !important;
  transform: translateY(-1px);
}

body[data-theme="blue-galaxy"] .btn-secondary:active {
  background: rgba(127, 182, 255, 0.24) !important;
  transform: translateY(0);
}

/* Danger Button - Red toned but dark/glassy */
body[data-theme="blue-galaxy"] .btn-danger {
  background: rgba(220, 38, 38, 0.55) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #FCA5A5 !important;
  border-radius: 14px !important;
}

body[data-theme="blue-galaxy"] .btn-danger:hover {
  background: rgba(220, 38, 38, 0.70) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.28) !important;
  transform: translateY(-1px);
}

body[data-theme="blue-galaxy"] .btn-danger:active {
  background: rgba(220, 38, 38, 0.85) !important;
  transform: translateY(0);
}

/* Navigation Settings - Blue Galaxy */
body[data-theme="blue-galaxy"] .nav-selected-items {
  margin-bottom: 16px;
}

body[data-theme="blue-galaxy"] .nav-order-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .nav-order-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 6px;
  background: rgba(10, 18, 40, 0.7);
  border-radius: 10px;
  border: 1px solid rgba(120, 170, 255, 0.25);
  backdrop-filter: blur(8px);
}

body[data-theme="blue-galaxy"] .nav-order-item:hover {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.2);
}

body[data-theme="blue-galaxy"] .nav-order-number {
  font-weight: bold;
  color: #7FB6FF;
  min-width: 20px;
}

body[data-theme="blue-galaxy"] .nav-order-icon {
  width: 20px;
  text-align: center;
  color: #A5C4FF;
}

body[data-theme="blue-galaxy"] .nav-order-text {
  flex: 1;
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .nav-order-btn {
  padding: 4px 8px;
  font-size: 12px;
  background: rgba(127, 182, 255, 0.15);
  border: 1px solid rgba(120, 170, 255, 0.3);
  border-radius: 6px;
  color: #A5C4FF;
  cursor: pointer;
  transition: all 0.2s ease;
}

body[data-theme="blue-galaxy"] .nav-order-btn:hover:not(:disabled) {
  background: rgba(127, 182, 255, 0.3);
  border-color: rgba(127, 182, 255, 0.5);
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .nav-order-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

body[data-theme="blue-galaxy"] .nav-item-option.disabled {
  opacity: 0.5;
}

body[data-theme="blue-galaxy"] .nav-item-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .nav-item-icon {
  width: 20px;
  text-align: center;
  color: #A5C4FF;
}

body[data-theme="blue-galaxy"] .nav-max-warning {
  color: #FBBF24 !important;
  margin-top: 8px;
  font-size: 12px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  body[data-theme="blue-galaxy"] .dynamic-panel {
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
  }

  body[data-theme="blue-galaxy"] .panel-header {
    padding: 14px;
  }

  body[data-theme="blue-galaxy"] .panel-content {
    padding: 14px;
  }
}

@media (max-width: 480px) {
  body[data-theme="blue-galaxy"] .dynamic-panel {
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border-radius: 16px;
  }
}/* Data Synchronization Dialog Styles */

.sync-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.sync-dialog {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: syncDialogSlideIn 0.3s ease-out;
}

@keyframes syncDialogSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sync-dialog-header {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sync-dialog-header h3 {
  color: white;
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
}

.close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.sync-dialog-content {
  padding: 30px;
  background: white;
  color: #333;
}

/* Analyzing State */
.sync-analyzing {
  text-align: center;
  padding: 20px 0;
}

.sync-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sync-analyzing h4 {
  color: #667eea;
  margin: 10px 0;
}

.sync-analyzing p {
  color: #666;
  margin: 10px 0;
}

/* Progress Bar */
.progress-bar {
  background: #f0f0f0;
  border-radius: 10px;
  height: 8px;
  margin: 15px 0;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  background: linear-gradient(90deg, #667eea, #764ba2);
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Conflict State */
.sync-conflict {
  text-align: center;
}

.conflict-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.sync-conflict h4 {
  color: #e74c3c;
  margin: 10px 0 20px;
  font-size: 1.3em;
}

.data-comparison {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  border-left: 4px solid #667eea;
}

.comparison-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 8px 0;
}

.comparison-item strong {
  color: #333;
  font-size: 0.95em;
}

.comparison-item .count {
  background: #667eea;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9em;
}

.comparison-item.highlight {
  background: rgba(231, 76, 60, 0.1);
  border-radius: 8px;
  padding: 12px;
  margin: 15px 0;
}

.comparison-item.highlight .count {
  background: #e74c3c;
}

/* Data Loss Warning */
.data-loss-warning {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  text-align: left;
}

.data-loss-warning h5 {
  margin: 0 0 10px;
  font-size: 1.1em;
}

.data-loss-warning p {
  margin: 8px 0;
  line-height: 1.4;
}

/* Action Buttons */
.sync-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 25px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
  transition: all 0.2s ease;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #f8f9fa;
  color: #666;
  border: 2px solid #dee2e6;
}

.btn-secondary:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Syncing State */
.sync-syncing {
  text-align: center;
  padding: 20px 0;
}

.sync-syncing h4 {
  color: #667eea;
  margin: 10px 0;
}

.sync-syncing p {
  color: #666;
  margin: 10px 0;
}

.sync-syncing small {
  color: #888;
  font-weight: 600;
  margin-top: 10px;
  display: block;
}

/* Success State */
.sync-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 15px;
  animation: successPulse 2s infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.sync-success h4 {
  color: #27ae60;
  margin: 10px 0 20px;
  font-size: 1.3em;
}

.sync-success p {
  color: #666;
  margin: 15px 0 25px;
  line-height: 1.5;
}

/* Error State */
.sync-error {
  text-align: center;
  padding: 20px 0;
}

.error-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.sync-error h4 {
  color: #e74c3c;
  margin: 10px 0 20px;
  font-size: 1.3em;
}

.sync-error p {
  color: #666;
  background: #fff5f5;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #e74c3c;
  margin: 15px 0 25px;
  text-align: left;
  font-family: monospace;
  font-size: 0.9em;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .sync-dialog {
    width: 95%;
    margin: 20px;
  }
  
  .sync-dialog-content {
    padding: 20px;
  }
  
  .sync-actions,
  .error-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    min-width: auto;
  }
  
  .comparison-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .comparison-item .count {
    align-self: flex-end;
  }
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
  .sync-dialog-content {
    background: #2d3748;
    color: #e2e8f0;
  }
  
  .data-comparison {
    background: #4a5568;
    border-left-color: #667eea;
  }
  
  .comparison-item strong {
    color: #e2e8f0;
  }
  
  .sync-analyzing p,
  .sync-syncing p,
  .sync-success p {
    color: #a0aec0;
  }
  
  .sync-error p {
    background: #742a2a;
    color: #feb2b2;
    border-left-color: #e53e3e;
  }
  
  .btn-secondary {
    background: #4a5568;
    color: #e2e8f0;
    border-color: #718096;
  }
  
  .btn-secondary:hover {
    background: #2d3748;
  }
}/* Hamburger Menu - Mobile First Design */

/* =========================================================
   1) Hamburger Button
   ========================================================= */
.hamburger-button {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hamburger-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--header-fg, #ffffff);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.hamburger-button.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-button.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-button.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* =========================================================
   2) Overlay
   ========================================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  backdrop-filter: blur(2px);
  /* Smooth fade in/out */
  animation: overlayFadeIn 0.25s ease-out forwards;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =========================================================
   3) Drawer (Hamburger Menu)
   ========================================================= */
.hamburger-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;

  width: 280px;
  max-width: 85vw;

  background: #ffffff;
  z-index: 2147483647;

  overflow-y: auto;
  overflow-x: hidden;

  display: flex;
  flex-direction: column;

  /* Default: truly hidden */
  visibility: hidden;
  transform: translateX(-100%);
  /* visibility delays: hidden after transform completes */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
  will-change: transform, visibility;
  box-shadow: 2px 0 10px rgba(0,0,0,0.12);

  /* Prevent flickering during transition */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Open state - slide in */
.hamburger-menu.open {
  visibility: visible !important;
  transform: translateX(0) !important;
  /* visibility immediately when opening */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s !important;
}

/* =========================================================
   4) Close Button (FIXED: always visible when rendered)
   ========================================================= */
.menu-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;          /* <-- wichtig: rechts oben, nicht links */
  left: auto;           /* <-- killt alte left-regeln */

  width: 40px;
  height: 40px;
  border-radius: 12px;

  display: grid;
  place-items: center;

  cursor: pointer;
  z-index: 50;          /* über dem Header */

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;

  font-size: 22px;
  font-weight: 800;
  line-height: 1;

  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.menu-close-btn:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: scale(1.03);
}

.menu-close-btn:active {
  transform: scale(0.96);
}

/* =========================================================
   5) Header
   ========================================================= */
.menu-header {
  background: var(--header-bg, #4A6FA5);
  color: var(--header-fg, #ffffff);

  padding: 20px;
  padding-top: 56px;   /* Platz für Close-Button oben */
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-details {
  flex: 1;
}

.user-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.user-email {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 4px;
}

.user-status {
  font-size: 0.8rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator.online {
  background: #28a745;
  box-shadow: 0 0 6px rgba(40, 167, 69, 0.6);
  animation: pulse-green 2s ease-in-out infinite;
}

.status-indicator.offline {
  background: #dc3545;
  box-shadow: 0 0 6px rgba(220, 53, 69, 0.6);
  animation: pulse-red 2s ease-in-out infinite;
}

.status-text {
  font-weight: 500;
  color: inherit;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 6px rgba(40, 167, 69, 0.6); }
  50% { box-shadow: 0 0 12px rgba(40, 167, 69, 0.8); }
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 6px rgba(220, 53, 69, 0.6); }
  50% { box-shadow: 0 0 12px rgba(220, 53, 69, 0.8); }
}

.premium-indicator {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
}

/* =========================================================
   6) Menu Items
   ========================================================= */
.menu-items {
  flex: 0 0 auto;
  padding: 4px 0;
}

.menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 8px 20px;
  background: none;
  border: none;
  cursor: pointer;

  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  font-size: 0.95rem;
  color: #333;

  position: relative;
  min-height: 40px;
}

.menu-item:hover:not(:disabled) {
  background: #f5f5f5;
}

.menu-item:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.menu-item.premium-locked:hover {
  background: #fff9e6;
}

.menu-icon {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.menu-label {
  flex: 1;
  text-align: left;
  font-weight: 500;
}

.premium-badge {
  font-size: 0.8rem;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* =========================================================
   7) Sections + Language
   ========================================================= */
.menu-section {
  padding: 8px 20px;
  border-top: 1px solid #eee;
}

.section-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.language-selector {
  margin-top: 4px;
}

.language-combobox {
  width: 100%;
  padding: 10px 12px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  appearance: none;

  background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMzMzIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNyAxMGw1IDUgNS01eiIvPjxwYXRoIGQ9Im0wIDBoMjR2MjRoLTI0eiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  min-height: 40px;
}

.language-combobox:hover {
  background-color: #f8f9fa;
  border-color: #37507e;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(55, 80, 126, 0.1);
}

.language-combobox:focus {
  background-color: #f8f9ff;
  border-color: #37507e;
  box-shadow: 0 0 0 3px rgba(55, 80, 126, 0.2);
}

.language-combobox option {
  background: white;
  color: #333;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
}

/* =========================================================
   8) Premium
   ========================================================= */
.premium-section {
  background: linear-gradient(135deg, #fff9e6, #ffeaa7);
}

.upgrade-button {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  border: none;
  border-radius: 8px;
  color: #333;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;

  min-height: 48px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.upgrade-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.upgrade-button small {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: normal;
}

/* =========================================================
   9) Footer
   ========================================================= */
.menu-footer {
  border-top: 1px solid #eee;
  padding: 4px 0 8px 0;
}

.menu-item.secondary {
  color: #666;
  font-size: 0.9rem;
}

.menu-item.secondary:hover {
  background: #f5f5f5;
  color: #333;
}

/* Submenu-style: visually indented under parent item */
.menu-item.secondary.submenu-style {
  padding-left: 48px !important;
  font-size: 0.85rem;
  opacity: 0.9;
}

.menu-item.secondary.submenu-style:hover {
  padding-left: 52px !important;
  opacity: 1;
}

.menu-item.logout {
  color: #dc3545;
  font-weight: 500;
}

.menu-item.logout:hover {
  background: #fff5f5;
  color: #dc3545;
}

/* =========================================================
   10) Voice UI
   ========================================================= */
.voice-status {
  background: rgba(104, 151, 187, 0.1);
  color: #6897bb;
  padding: 8px 12px;
  margin: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(104, 151, 187, 0.3);
  animation: pulse 2s infinite;
  text-align: center;
}

.voice-command-feedback {
  background: rgba(98, 151, 85, 0.1);
  color: #629755;
  padding: 6px 12px;
  margin: 4px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(98, 151, 85, 0.3);
  text-align: center;
}

.menu-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.menu-item.disabled:hover {
  background: transparent;
  transform: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* =========================================================
   11) Settings Submenu
   ========================================================= */
.settings-menu,
.shopping-list-menu,
.recipes-menu,
.bookmarks-menu {
  position: relative;
}

.menu-item.expanded {
  background: #f1f3f5;
}

.expand-icon {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.submenu {
  background: #f8f9fa;
  border-left: 3px solid #37507e;
  margin: 4px 0 8px 0;
  animation: slideDown 0.2s ease-out;
}

.submenu-item {
  width: 100%;
  padding: 12px 20px 12px 40px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  color: #495057;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;

  display: flex;
  align-items: center;
  gap: 12px;

  border-bottom: 1px solid #e9ecef;
}

.submenu-item:last-child {
  border-bottom: none;
}

.submenu-item:hover {
  background: #e9ecef;
  color: #37507e;
  padding-left: 44px;
}

.submenu-item .menu-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.submenu-item .menu-label {
  font-size: 14px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
  }
}

/* =========================================================
   12) Responsive - Smartphones (full width menu)
   ========================================================= */
@media (max-width: 767px) {
  .hamburger-menu {
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
  }
}

/* =========================================================
   13) Desktop spacing
   ========================================================= */
@media (min-width: 768px) {
  .hamburger-menu {
    width: 320px;
  }

  .menu-header {
    padding: 24px;
    padding-top: 60px; /* Platz für Close-Button */
  }

  .menu-item {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .menu-section {
    padding: 20px 24px;
  }

  .voice-status {
    margin: 8px 24px;
    padding: 10px 16px;
  }

  .voice-command-feedback {
    margin: 4px 24px;
    padding: 8px 16px;
  }
}

/* =========================================================
   14) POWER THEME: less transparency + better readability
   (only affects the drawer, not your whole app)
   ========================================================= */
[data-theme="power"] .hamburger-menu {
  background: rgba(6, 10, 8, 0.92) !important;   /* weniger transparent */
  border: 1px solid rgba(72, 232, 119, 0.25) !important;
}

[data-theme="power"] .menu-item,
[data-theme="power"] .submenu-item,
[data-theme="power"] .section-title,
[data-theme="power"] .menu-label {
  color: rgba(207, 255, 217, 0.92) !important;
}

[data-theme="power"] .menu-item:hover:not(:disabled),
[data-theme="power"] .submenu-item:hover {
  background: rgba(72, 232, 119, 0.08) !important;
}

[data-theme="power"] .menu-close-btn {
  background: rgba(6, 10, 8, 0.78);
  border: 1px solid rgba(72, 232, 119, 0.35);
  color: var(--power-accent, #48E877);
  box-shadow: 0 0 12px rgba(72, 232, 119, 0.18);
}
[data-theme="power"] .menu-close-btn:hover {
  background: rgba(6, 10, 8, 0.92);
  box-shadow: 0 0 18px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .language-combobox {
  background: rgba(0,0,0,0.35) !important;
  border: 1px solid rgba(72, 232, 119, 0.25) !important;
  color: rgba(207, 255, 217, 0.92) !important;
}
[data-theme="power"] .language-combobox option {
  background: #050807;
  color: rgba(207, 255, 217, 0.92);
}

/* =========================================================
   FIX: Submenu-Items sollen wie normale Menu-Items aussehen
   (insb. im Power Theme)
   ========================================================= */

/* Allgemein: Submenu übernimmt die "menu-item" Optik */
.submenu {
  background: transparent !important;
  border-left: none !important;
  margin: 4px 0 8px 0;
}

.submenu-item {
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important; /* dezent */
}

/* Hover wie menu-item */
.submenu-item:hover {
  background: rgba(255,255,255,0.06) !important;
  color: inherit !important;
  padding-left: 40px; /* kein "springen" */
}

/* POWER: gleiche Farbe/Look wie restliche Hamburger Items */
[data-theme="power"] .submenu-item {
  color: rgba(207, 255, 217, 0.92) !important;     /* gleiche Schriftfarbe */
  border-bottom: 1px solid rgba(72, 232, 119, 0.18) !important;
}

[data-theme="power"] .submenu-item .menu-icon,
[data-theme="power"] .submenu-item .menu-label {
  color: rgba(207, 255, 217, 0.92) !important;
}

[data-theme="power"] .submenu-item:hover {
  background: rgba(72, 232, 119, 0.08) !important; /* gleicher Hover */
  padding-left: 40px !important;                   /* kein shift */
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME - HamburgerMenu (Robust Fix)
   - zusätzlicher Scope über body/html
   - trifft auch <button>/<a> innerhalb der Items
   - disabled über aria-disabled / is-disabled
   ═══════════════════════════════════════════════════════════════════ */

:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) {
  /* Optional: zentrale Variablen nur fürs Menü */
  --pb-menu-overlay: rgba(28, 14, 46, 0.65);
  --pb-menu-bg: rgba(28, 14, 46, 0.94);
  --pb-item-bg: rgba(40, 20, 60, 0.70);
  --pb-item-bg-soft: rgba(40, 20, 60, 0.60);
  --pb-border-soft: rgba(182, 109, 255, 0.22);
  --pb-border-strong: rgba(182, 109, 255, 0.35);
  --pb-text: #F6EEFF;
  --pb-text-dim: rgba(246, 238, 255, 0.75);
  --pb-icon: #C89BFF;
  --pb-glow: rgba(182, 109, 255, 0.35);
}

/* ─────── 1) Backdrop Overlay ─────── */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-overlay {
  background: var(--pb-menu-overlay) !important;
  backdrop-filter: blur(6px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(130%) !important;
}

/* ─────── 2) Sidebar Container ─────── */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .hamburger-menu {
  background: var(--pb-menu-bg) !important;
  backdrop-filter: blur(14px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(150%) !important;

  /* wichtig: manche Default-CSS setzen borders wieder */
  border: none !important;
  outline: none !important;

  box-shadow:
          0 0 30px rgba(182, 109, 255, 0.25),
          inset 0 0 0 1px rgba(182, 109, 255, 0.18),
          4px 0 40px rgba(28, 14, 46, 0.70) !important;
}

/* ─────── 3) Menu Header ─────── */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(182, 109, 255, 0.18) !important;
  color: var(--pb-text) !important;
}

:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .user-name {
  color: var(--pb-text) !important;
  text-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
  font-weight: 600 !important;
}

:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .user-email,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .user-status,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .status-text {
  color: rgba(246, 238, 255, 0.70) !important;
}

/* Status Dots */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .status-indicator.online {
  background: #A78BFA !important;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.65) !important;
}
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .status-indicator.offline {
  background: rgba(200, 155, 255, 0.40) !important;
  box-shadow: 0 0 6px rgba(200, 155, 255, 0.25) !important;
}

/* Premium pill */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .premium-indicator {
  background: rgba(182, 109, 255, 0.22) !important;
  color: var(--pb-icon) !important;
  border: 1px solid rgba(182, 109, 255, 0.30) !important;
  text-shadow: 0 0 8px rgba(182, 109, 255, 0.30) !important;
}

/* ─────── Close Button ─────── */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-close-btn {
  background: rgba(40, 20, 60, 0.55) !important;
  border: 1px solid var(--pb-border-strong) !important;
  color: var(--pb-text) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-close-btn:hover {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.50) !important;
  box-shadow: 0 0 16px rgba(182, 109, 255, 0.35) !important;
}

/* ─────── Menu Items Container ─────── */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-items {
  background: transparent !important;
  padding: 8px 0 !important;
}

/* ─────── Menu Items (WICHTIG: auch button/a inside) ─────── */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item > button,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item > a {
  background: var(--pb-item-bg) !important;
  border: 1px solid var(--pb-border-soft) !important;
  border-radius: 14px !important;
  color: var(--pb-text) !important;

  /* falls button/a eigene styles haben */
  text-decoration: none !important;
  box-shadow: none !important;

  margin: 4px 12px !important;
  padding: 12px 16px !important;

  transition: all 0.2s ease !important;
}

/* Hover/Active auf Wrapper und auf button/a */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item:hover,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item:hover > button,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item:hover > a {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.35) !important;
  box-shadow: 0 0 16px var(--pb-glow) !important;
  /* Removed transform to prevent flicker on menu close */
}

:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item:active,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item:active > button,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item:active > a {
  background: rgba(182, 109, 255, 0.28) !important;
}

/* ─────── Disabled (erweitert) ─────── */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item.disabled,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item.is-disabled,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item[aria-disabled="true"],
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item:has(> button:disabled),
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item > button:disabled {
  background: rgba(40, 20, 60, 0.30) !important;
  border-color: rgba(182, 109, 255, 0.12) !important;
  color: rgba(246, 238, 255, 0.45) !important;
  opacity: 0.45 !important;
  filter: saturate(60%) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ─────── Icons & Labels ─────── */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-icon,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .expand-icon {
  color: var(--pb-icon) !important;
  filter: none !important;
}
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-label {
  color: var(--pb-text) !important;
}

/* ─────── Sprach-Sektion ─────── */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-section {
  background: transparent !important;
  border-top: 1px solid rgba(182, 109, 255, 0.15) !important;
  padding: 14px 16px !important;
}
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .section-title {
  color: rgba(200, 160, 255, 0.85) !important;
  text-transform: uppercase !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 8px !important;
}

/* Language combobox */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .language-combobox {
  background: rgba(40, 20, 60, 0.55) !important;
  border: 1px solid rgba(182, 109, 255, 0.25) !important;
  border-radius: 12px !important;
  color: var(--pb-text) !important;
  padding: 10px 36px 10px 14px !important;
  font-size: 14px !important;
}

/* ─────── Submenu Items (auch button/a inside) ─────── */
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .submenu-item,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .submenu-item > button,
:where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .submenu-item > a {
  background: var(--pb-item-bg-soft) !important;
  border: 1px solid rgba(182, 109, 255, 0.18) !important;
  border-radius: 12px !important;
  color: var(--pb-text) !important;
  margin: 4px 20px !important;
  padding: 10px 14px 10px 16px !important;
  text-decoration: none !important;
}

/* Mobile ≤480px */
@media (max-width: 480px) {
  :where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .hamburger-menu {
    backdrop-filter: blur(8px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(130%) !important;
    box-shadow:
            0 0 18px rgba(182, 109, 255, 0.18),
            inset 0 0 0 1px rgba(182, 109, 255, 0.15),
            2px 0 24px rgba(28, 14, 46, 0.55) !important;
  }

  :where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item:hover,
  :where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item:hover > button,
  :where(html[data-theme="purple-bubbles"], body[data-theme="purple-bubbles"], [data-theme="purple-bubbles"]) .menu-item:hover > a {
    box-shadow: 0 0 8px rgba(182, 109, 255, 0.20) !important;
  }
}/* =========================================================
   MOBILE HEADER - Native App Bar Design
   ========================================================= */

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding-top: env(safe-area-inset-top, 0);
}

.mobile-header.app-bar {
  /* Native app bar styling */
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 8px 12px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 56px;
  gap: 8px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 48px;
}

.header-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-bar-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary, #F3F4F6);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 48px;
  justify-content: flex-end;
}

/* Compact Logo for App Bar */
.header-logo-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.logo-image-compact {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-subtitle {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

/* Premium badge */
.premium-badge-header {
  position: absolute;
  top: -2px;
  right: -8px;

  width: 16px;
  height: 16px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.7rem;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);

  animation: premiumGlow 2s ease-in-out infinite;
}

@keyframes premiumGlow {
  0%, 100% { box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 0 8px rgba(255, 215, 0, 0.5); }
}

/* User avatar */
.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

.avatar-circle:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.avatar-icon {
  font-size: 1.3rem;
  filter: grayscale(100%) brightness(2);
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 94px;
}

.logo-image {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo-image:hover {
  opacity: 0.9;
}

/* =========================================================
   Responsive Design
   ========================================================= */

@media (max-width: 480px) {
  .header-content {
    padding: 10px 12px;
    min-height: 56px;
  }

  .header-logo { height: 88px; }
  .logo-image { height: 84px; }
}

@media (max-width: 360px) {
  .app-title { margin: 0 12px; }
  .app-title h1 { font-size: 1.1rem; }
}

@media (min-width: 768px) {
  .mobile-header {
    position: relative;
    margin-bottom: 0;
  }

  .header-content {
    padding: 16px 24px;
    min-height: 72px;
  }

  .header-logo { height: 98px; }
  .logo-image { height: 94px; }

  .premium-badge-header {
    top: -4px;
    right: -12px;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
  }
}
/* Tab Navigation - Mobile First Design (Bottom Navigation) */
.tab-navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  z-index: 1000;
  background: rgba(30, 30, 40, 0.95);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  margin: 0;
  /* Begrenzt safe-area-inset auf max 20px für Android Capacitor Apps */
  padding-bottom: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tab-container {
  display: flex;
  justify-content: space-around;
  padding: 4px 8px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.tab-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.tab-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 36px; /* Kompakter für kleine Screens */
  padding: 4px 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  color: #666;
  font-size: 0.85rem;
  font-weight: 500;
}

.tab-button:hover {
  background: rgba(74, 111, 165, 0.1);
  color: #4A6FA5;
  transform: translateY(-1px);
}

.tab-button.active {
  background: rgba(74, 111, 165, 0.15);
  color: var(--active-button-color);
  font-weight: 600;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--active-button-color);
  border-radius: 0 0 3px 3px;
}

.tab-icon {
  font-size: 1.1rem;
  margin-bottom: 1px;
  display: block;
}

.tab-label {
  font-size: 0.65rem;
  line-height: 1;
  white-space: nowrap;
}

/* Premium Features */
.tab-button.premium-locked {
  opacity: 0.6;
  position: relative;
}

.tab-button.premium-locked:hover {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.premium-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 0.6rem;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 480px) {
  .tab-container {
    padding: 3px 6px;
  }

  .tab-button {
    min-width: 44px;
    min-height: 32px;
    padding: 3px 6px;
  }

  .tab-icon {
    font-size: 1rem;
  }

  .tab-label {
    font-size: 0.55rem;
  }
}

@media (max-width: 400px) {
  .tab-navigation {
    border-radius: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  .tab-container {
    padding: 3px 4px;
    width: 100%;
  }

  .tab-label {
    display: none; /* Nur Icons auf sehr kleinen Screens */
  }

  .tab-button {
    min-width: 36px;
    min-height: 28px;
    flex: 1;
  }

  .tab-icon {
    margin-bottom: 0;
    font-size: 1.1rem;
  }
}

/* Desktop Enhancement */
@media (min-width: 768px) {
  .tab-navigation {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    margin-top: 0;
    padding-bottom: 0;
  }
  
  .tab-container {
    padding: 12px 20px;
    justify-content: center;
    gap: 20px;
  }
  
  .tab-button {
    min-width: 80px;
    min-height: 48px;
    padding: 12px 16px;
  }
  
  .tab-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
  }
  
  .tab-label {
    font-size: 0.8rem;
  }
}/* ═══════════════════════════════════════════════════════════════════
   CATEGORY ICON - Individual Image Icons
   Robust centering with outer container + inner image
   ═══════════════════════════════════════════════════════════════════ */

/* Outer Container - provides the visual frame and centering */
.category-icon-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: rgba(30, 20, 50, 0.4);
  border: 1px solid rgba(196, 181, 253, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-icon-container:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Inner Image - displays the category icon centered */
.category-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .category-icon-container {
  background-color: rgba(30, 20, 50, 0.5);
  border-color: rgba(196, 181, 253, 0.30);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25),
    0 0 12px rgba(139, 92, 246, 0.15);
}

[data-theme="purple-bubbles"] .category-icon-container:hover {
  border-color: rgba(196, 181, 253, 0.50);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(139, 92, 246, 0.35);
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="blue-galaxy"] .category-icon-container {
  background-color: rgba(18, 28, 56, 0.5);
  border-color: rgba(127, 182, 255, 0.25);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25),
    0 0 12px rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] .category-icon-container:hover {
  border-color: rgba(127, 182, 255, 0.50);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(127, 182, 255, 0.35);
}

/* ═══════════════════════════════════════════════════════════════════
   POWER THEME (Green/Matrix)
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="power"] .category-icon-container {
  background-color: rgba(8, 12, 10, 0.5);
  border-color: rgba(72, 232, 119, 0.25);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25),
    0 0 12px rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .category-icon-container:hover {
  border-color: rgba(72, 232, 119, 0.50);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(72, 232, 119, 0.35);
}

/* ═══════════════════════════════════════════════════════════════════
   SIZE VARIANTS
   ═══════════════════════════════════════════════════════════════════ */

.category-icon-container.size-small {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px;
}

.category-icon-container.size-medium {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px;
}

.category-icon-container.size-large {
  width: 64px !important;
  height: 64px !important;
  border-radius: 14px;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .category-icon-container {
    border-radius: 10px;
  }
}
/* ReminderCreateDialog - Modal for creating reminders from bookmarks */

._overlay_1yc39_3 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  animation: _fadeIn_1yc39_1 0.2s ease-out;
}

._dialog_1yc39_16 {
  background: var(--bg-secondary, #1a1a2e);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: _slideUp_1yc39_1 0.25s ease-out;
}

/* Header */
._header_1yc39_29 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

._headerLeft_1yc39_37 {
  display: flex;
  align-items: center;
  gap: 12px;
}

._headerIcon_1yc39_43 {
  font-size: 22px;
  color: var(--accent-color, #6366f1);
  filter: drop-shadow(0 0 8px var(--accent-color, rgba(99, 102, 241, 0.4)));
}

._headerTitle_1yc39_49 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary, #fff);
}

._closeBtn_1yc39_56 {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
  border-radius: 10px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.7));
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

._closeBtn_1yc39_56:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary, #fff);
  border-color: rgba(255, 255, 255, 0.25);
}

._closeBtn_1yc39_56:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Bookmark Info Preview */
._bookmarkInfo_1yc39_83 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 20px;
  padding: 14px 16px;
  background: var(--bg-tertiary, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
}

._linkIcon_1yc39_94 {
  font-size: 18px;
  color: var(--accent-color, #6366f1);
  flex-shrink: 0;
}

._bookmarkDetails_1yc39_100 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

._bookmarkTitle_1yc39_107 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary, #fff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._bookmarkUrl_1yc39_116 {
  font-size: 12px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.5));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Warning Banner (Notification Permission) */
._warningBanner_1yc39_125 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 20px 16px;
  padding: 12px 16px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 10px;
  color: #fbbf24;
  font-size: 13px;
  line-height: 1.4;
}

._warningBanner_1yc39_125 svg {
  flex-shrink: 0;
  font-size: 16px;
}

/* Error Banner */
._errorBanner_1yc39_145 {
  margin: 0 20px 16px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  color: #f87171;
  font-size: 14px;
}

/* Success Banner */
._successBanner_1yc39_156 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 20px 16px;
  padding: 16px 20px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 12px;
  color: #22c55e;
  font-size: 15px;
  font-weight: 600;
  animation: _successPulse_1yc39_1 0.4s ease-out;
}

._successBanner_1yc39_156 svg {
  font-size: 20px;
  flex-shrink: 0;
}

@keyframes _successPulse_1yc39_1 {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Section */
._section_1yc39_192 {
  padding: 0 20px 20px;
}

._sectionLabel_1yc39_196 {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, rgba(255, 255, 255, 0.6));
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Frequency Grid */
._frequencyGrid_1yc39_207 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

._frequencyBtn_1yc39_213 {
  padding: 12px 16px;
  background: var(--bg-tertiary, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 10px;
  color: var(--text-primary, #fff);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

._frequencyBtn_1yc39_213:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

._frequencyBtn_1yc39_213._active_1yc39_230 {
  background: var(--accent-color, #6366f1);
  border-color: var(--accent-color, #6366f1);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

._frequencyBtn_1yc39_213:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Quick Options Grid */
._quickGrid_1yc39_243 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

._quickBtn_1yc39_249 {
  padding: 14px 12px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 10px;
  color: var(--text-primary, #fff);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

._quickBtn_1yc39_249:hover:not(:disabled) {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.2);
}

._quickBtn_1yc39_249:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Custom Date/Time Row */
._customRow_1yc39_274 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

._dateInput_1yc39_280,
._timeInput_1yc39_281 {
  flex: 1;
  min-width: 120px;
  padding: 12px 14px;
  background: var(--bg-tertiary, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 10px;
  color: var(--text-primary, #fff);
  font-size: 14px;
  transition: all 0.2s ease;
}

._dateInput_1yc39_280:focus,
._timeInput_1yc39_281:focus {
  outline: none;
  border-color: var(--accent-color, #6366f1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

._dateInput_1yc39_280:disabled,
._timeInput_1yc39_281:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Color scheme for date/time inputs */
._dateInput_1yc39_280::-webkit-calendar-picker-indicator,
._timeInput_1yc39_281::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

._submitBtn_1yc39_313 {
  padding: 12px 24px;
  background: var(--accent-color, #6366f1);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

._submitBtn_1yc39_313:hover:not(:disabled) {
  background: #5558e3;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

._submitBtn_1yc39_313:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Animations */
@keyframes _fadeIn_1yc39_1 {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes _slideUp_1yc39_1 {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  ._dialog_1yc39_16 {
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
  }

  ._overlay_1yc39_3 {
    align-items: flex-end;
    padding: 0;
  }

  ._frequencyGrid_1yc39_207 {
    grid-template-columns: repeat(2, 1fr);
  }

  ._quickGrid_1yc39_243 {
    grid-template-columns: repeat(2, 1fr);
  }

  ._customRow_1yc39_274 {
    flex-direction: column;
  }

  ._dateInput_1yc39_280,
  ._timeInput_1yc39_281 {
    min-width: 100%;
  }

  ._submitBtn_1yc39_313 {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="purple-bubbles"] ._dialog_1yc39_16 {
  background: #1d0e37;
  border: 1px solid rgba(196, 181, 253, 0.25);
}

body[data-theme="purple-bubbles"] ._header_1yc39_29 {
  border-bottom: 1px solid rgba(196, 181, 253, 0.15);
}

body[data-theme="purple-bubbles"] ._headerIcon_1yc39_43 {
  color: #A78BFA;
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.5));
}

body[data-theme="purple-bubbles"] ._successBanner_1yc39_156 {
  background: rgba(167, 139, 250, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.40);
  color: #C4B5FD;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="blue-galaxy"] ._dialog_1yc39_16 {
  background: rgba(10, 18, 40, 0.95);
  border: 1px solid rgba(120, 170, 255, 0.25);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

body[data-theme="blue-galaxy"] ._header_1yc39_29 {
  border-bottom: 1px solid rgba(120, 170, 255, 0.15);
}

body[data-theme="blue-galaxy"] ._headerIcon_1yc39_43 {
  color: #7FB6FF;
  filter: drop-shadow(0 0 8px rgba(127, 182, 255, 0.5));
}

body[data-theme="blue-galaxy"] ._successBanner_1yc39_156 {
  background: rgba(127, 182, 255, 0.15);
  border: 1px solid rgba(127, 182, 255, 0.35);
  color: #7FB6FF;
}
/* Compact Bookmark Item - Modern Card Design (like RecipesList) */

/* Modern Bookmark Card - Glassmorphism */
.bookmark-card-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(30, 20, 50, 0.75);
  border: 1px solid rgba(196, 181, 253, 0.20);
  border-radius: 16px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  min-height: 80px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bookmark-card-modern:active {
  transform: scale(0.98);
}

/* Card with open menu needs higher z-index */
.bookmark-card-modern.menu-open {
  z-index: 100;
}

/* ═══════════════════════════════════════════════════════════════════
   CATEGORY ICON CONTAINER (replaces Checkbox)
   ═══════════════════════════════════════════════════════════════════ */

.bookmark-icon-container {
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bookmark-icon-container .category-icon-container {
  transition: transform 0.2s ease;
}

.bookmark-icon-container:hover .category-icon-container {
  transform: scale(1.08);
}

/* ═══════════════════════════════════════════════════════════════════
   BOOKMARK CARD CONTENT
   ═══════════════════════════════════════════════════════════════════ */

.bookmark-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

/* Title Row with Category Badge */
.bookmark-title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.bookmark-title-modern {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #F3F4F6;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1;
  min-width: 0;
}

/* Category Badge */
.bookmark-category-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.25);
  color: rgba(196, 181, 253, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.35);
  white-space: nowrap;
}

/* Bookmark Meta Modern */
.bookmark-meta-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.bookmark-meta-modern .meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: rgba(196, 181, 253, 0.85);
}

.bookmark-meta-modern .meta-icon {
  font-size: 0.85rem;
}

/* Rating inline in meta */
.bookmark-rating-inline {
  display: flex;
  align-items: center;
}

.bookmark-rating-inline .star-rating {
  gap: 1px;
}

.bookmark-rating-inline .star {
  font-size: 0.75rem;
  color: #fbbf24;
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .bookmark-card-modern {
  background: rgba(30, 20, 50, 0.75);
  border-color: rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .bookmark-title-modern {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .bookmark-meta-modern .meta-item {
  color: rgba(196, 181, 253, 0.85);
}

[data-theme="purple-bubbles"] .bookmark-category-badge {
  background: rgba(139, 92, 246, 0.25);
  color: rgba(196, 181, 253, 0.95);
  border-color: rgba(139, 92, 246, 0.35);
}

[data-theme="purple-bubbles"] .bookmark-overflow-btn {
  color: rgba(196, 181, 253, 0.75);
}

[data-theme="purple-bubbles"] .bookmark-overflow-btn:hover {
  background: rgba(139, 92, 246, 0.20);
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .bookmark-overflow-menu {
  background: rgba(40, 25, 70, 0.95);
  border-color: rgba(196, 181, 253, 0.25);
}

[data-theme="purple-bubbles"] .overflow-menu-item:hover {
  background: rgba(139, 92, 246, 0.20);
}

[data-theme="purple-bubbles"] .bookmark-rating-inline .star {
  color: #fbbf24;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (SPACE GLASS)
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="blue-galaxy"] .bookmark-card-modern {
  background: rgba(18, 28, 56, 0.75);
  border-color: rgba(127, 182, 255, 0.20);
}

body[data-theme="blue-galaxy"] .bookmark-title-modern {
  color: var(--bgx-text, #EAF2FF);
}

body[data-theme="blue-galaxy"] .bookmark-meta-modern .meta-item {
  color: rgba(127, 182, 255, 0.75);
}

body[data-theme="blue-galaxy"] .bookmark-category-badge {
  background: rgba(127, 182, 255, 0.20);
  color: rgba(127, 182, 255, 0.95);
  border-color: rgba(127, 182, 255, 0.35);
}

body[data-theme="blue-galaxy"] .bookmark-overflow-btn {
  color: rgba(127, 182, 255, 0.65);
}

body[data-theme="blue-galaxy"] .bookmark-overflow-btn:hover {
  background: rgba(127, 182, 255, 0.15);
  color: var(--bgx-accent0, #7FB6FF);
}

body[data-theme="blue-galaxy"] .bookmark-overflow-menu {
  background: rgba(18, 28, 56, 0.95);
  border-color: rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .overflow-menu-item {
  color: var(--bgx-text, #EAF2FF);
}

body[data-theme="blue-galaxy"] .overflow-menu-item:hover {
  background: rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] .overflow-menu-item svg {
  color: rgba(127, 182, 255, 0.85);
}

body[data-theme="blue-galaxy"] .bookmark-rating-inline .star {
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.5));
}

/* ═══════════════════════════════════════════════════════════════════
   OVERFLOW MENU BUTTON & DROPDOWN
   ═══════════════════════════════════════════════════════════════════ */

.bookmark-overflow-container {
  flex-shrink: 0;
  position: relative;
}

.bookmark-overflow-btn {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: rgba(196, 181, 253, 0.75);
  font-size: 1.1rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bookmark-overflow-btn:hover,
.bookmark-overflow-btn:focus {
  background: rgba(139, 92, 246, 0.20);
  color: #C4B5FD;
}

/* Dropdown Menu */
.bookmark-overflow-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 9999;
  min-width: 200px;
  background: rgba(40, 25, 70, 0.95);
  border: 1px solid rgba(196, 181, 253, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  animation: bookmarkMenuSlideIn 0.15s ease-out;
  margin-top: 4px;
}

@keyframes bookmarkMenuSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.overflow-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: #F3F4F6;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
  min-height: 48px;
}

.overflow-menu-item:hover {
  background: rgba(139, 92, 246, 0.20);
}

.overflow-menu-item svg {
  font-size: 1rem;
  color: rgba(196, 181, 253, 0.85);
}

.overflow-menu-item-danger {
  color: #F87171;
}

.overflow-menu-item-danger:hover {
  background: rgba(248, 113, 113, 0.15);
}

.overflow-menu-item-danger svg {
  color: #F87171;
}

/* ═══════════════════════════════════════════════════════════════════
   POWER THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="power"] .bookmark-card-modern {
  background: rgba(8, 12, 10, 0.75);
  border-color: rgba(72, 232, 119, 0.20);
}

[data-theme="power"] .bookmark-title-modern {
  color: var(--power-text, #CFFFD9);
}

[data-theme="power"] .bookmark-meta-modern .meta-item {
  color: var(--power-text-dim, rgba(207, 255, 217, 0.7));
}

[data-theme="power"] .bookmark-category-badge {
  background: rgba(72, 232, 119, 0.20);
  color: rgba(207, 255, 217, 0.95);
  border-color: rgba(72, 232, 119, 0.35);
}

[data-theme="power"] .bookmark-overflow-btn {
  color: var(--power-text-dim, rgba(207, 255, 217, 0.7));
}

[data-theme="power"] .bookmark-overflow-btn:hover {
  background: rgba(72, 232, 119, 0.15);
  color: var(--power-accent, #48E877);
}

[data-theme="power"] .bookmark-overflow-menu {
  background: rgba(8, 12, 10, 0.95);
  border-color: rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .overflow-menu-item {
  color: var(--power-text, #CFFFD9);
}

[data-theme="power"] .overflow-menu-item:hover {
  background: rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .overflow-menu-item svg {
  color: rgba(72, 232, 119, 0.85);
}

[data-theme="power"] .bookmark-rating-inline .star {
  color: #fbbf24;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE - MOBILE OPTIMIZATIONS
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .bookmark-card-modern {
    padding: 10px;
  }

  .bookmark-title-modern {
    font-size: 0.95rem;
  }

  .bookmark-category-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
  }
}

@media (max-width: 480px) {
  .bookmark-card-modern {
    gap: 8px;
    padding: 10px 8px;
  }

  .bookmark-icon-container .category-icon {
    width: 44px !important;
    height: 44px !important;
  }

  .bookmark-title-modern {
    font-size: 0.9rem;
    -webkit-line-clamp: 1;
  }

  .bookmark-title-row {
    gap: 6px;
  }

  .bookmark-category-badge {
    font-size: 0.55rem;
    padding: 1px 5px;
  }

  .bookmark-meta-modern {
    gap: 6px;
  }

  .bookmark-meta-modern .meta-item {
    font-size: 0.7rem;
  }

  .bookmark-overflow-btn {
    min-width: 36px;
    min-height: 36px;
  }
}
/* ═══════════════════════════════════════════════════════════════════════
   Support - Power Green / Matrix Neon Theme
   Complete UI Redesign - Full Design System Compliance
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣ THEME VARIABLES */
/* ─────────────────────────────────────────────────────────────────────── */

:root {
  /* Backgrounds */
  --pg-bg0: #05070b;
  --pg-bg1: #07110a;
  --pg-surface0: #0b1210;
  --pg-surface1: #0e1a14;

  /* Borders */
  --pg-border: #1b3d2a;
  --pg-borderSoft: rgba(34, 197, 94, 0.18);

  /* Text */
  --pg-text: #e9fff1;
  --pg-textMuted: #9ad8ad;

  /* Neon Green Accents */
  --pg-g0: #1aff6a;
  --pg-g1: #22c55e;
  --pg-g2: #00ff88;

  /* Status */
  --pg-warn: #f97316;
  --pg-danger: #ef4444;

  /* Shadows & Glows */
  --shadowCard: 0 10px 30px rgba(0,0,0,.55);
  --shadowGlow: 0 0 14px rgba(34,197,94,.35);
  --shadowGlowStrong: 0 0 22px rgba(26,255,106,.45);

  /* Radius */
  --pg-radiusCard: 18px;
  --pg-radiusControl: 14px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 2️⃣ POWER PANEL CONTAINER */
/* ─────────────────────────────────────────────────────────────────────── */

.support-power-panel {
  background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(8,14,10,.92));
  border: 1px solid rgba(34,197,94,.25);
  border-radius: var(--pg-radiusCard);
  box-shadow: var(--shadowCard), var(--shadowGlow);
  padding: 26px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Optional: Noise/Particle Overlay */
.support-power-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(26,255,106,.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34,197,94,.02) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
}

/* Content above noise */
.support-power-panel > * {
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 3️⃣ POWER HEADLINE */
/* ─────────────────────────────────────────────────────────────────────── */

.support-power-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(34,197,94,0.15);
}

.support-headline-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-headline-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 8px rgba(26,255,106,0.45));
  line-height: 1;
}

.support-headline-title {
  margin: 0;
  color: var(--pg-g0);
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(26,255,106,0.35);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.support-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 10px;
  color: var(--pg-g1);
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.support-close-btn:hover {
  background: rgba(34,197,94,0.12);
  border-color: var(--pg-g0);
  box-shadow: 0 0 14px rgba(34,197,94,0.35);
  transform: scale(1.05);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 4️⃣ INFO PANEL */
/* ─────────────────────────────────────────────────────────────────────── */

.support-info-panel {
  background: rgba(14,26,20,.55);
  border: 1px solid rgba(34,197,94,0.20);
  border-radius: var(--pg-radiusControl);
  padding: 20px 22px;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.info-panel-header {
  margin-bottom: 10px;
}

.info-panel-title {
  margin: 0;
  color: var(--pg-g1);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.info-panel-text {
  margin: 0 0 12px 0;
  color: rgba(154,216,173,.78);
  font-size: 14px;
  line-height: 1.5;
}

.info-panel-hint {
  margin: 0;
  color: rgba(154,216,173,.65);
  font-size: 13px;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-panel-subhint {
  margin: 8px 0 0 0;
  color: rgba(154,216,173,.50);
  font-size: 12px;
  font-style: italic;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 5️⃣ SUPPORT FORM */
/* ─────────────────────────────────────────────────────────────────────── */

.support-form {
  margin-bottom: 28px;
}

.form-field {
  margin-bottom: 20px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--pg-textMuted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 6️⃣ TECH INPUTS (Container = Visual Frame) */
/* ─────────────────────────────────────────────────────────────────────── */

/* Input Wrapper */
.input-wrapper,
.select-wrapper,
.textarea-wrapper {
  position: relative;
  background: rgba(14,26,20,.80);
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: var(--pg-radiusControl);
  transition: all 0.2s ease;
  overflow: hidden;
}

.input-wrapper:hover,
.select-wrapper:hover,
.textarea-wrapper:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 12px rgba(34,197,94,0.20);
}

.input-wrapper:focus-within,
.select-wrapper:focus-within,
.textarea-wrapper:focus-within {
  border-color: var(--pg-g0);
  box-shadow: var(--shadowGlowStrong);
}

/* Input = Visually Naked */
.tech-input,
.tech-select,
.tech-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--pg-text);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  font-family: inherit;
}

.tech-input::placeholder,
.tech-textarea::placeholder {
  color: rgba(154,216,173,0.50);
}

/* Select Specific */
.tech-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2322c55e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.tech-select option {
  background: rgba(14,26,20,.95);
  color: var(--pg-text);
  padding: 10px;
}

/* Textarea Specific */
.tech-textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.6;
}

/* Field Hint */
.field-hint {
  margin-top: 6px;
  color: rgba(154,216,173,.55);
  font-size: 12px;
  text-align: right;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 7️⃣ PRIMARY CTA BUTTON */
/* ─────────────────────────────────────────────────────────────────────── */

.support-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: transparent;
  border: 2px solid rgba(34,197,94,0.45);
  border-radius: var(--pg-radiusControl);
  color: var(--pg-g1);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-sizing: border-box;
}

.support-cta-btn:hover:not(:disabled) {
  background: rgba(34,197,94,0.15);
  border-color: var(--pg-g0);
  color: var(--pg-g0);
  box-shadow: 0 0 20px rgba(34,197,94,0.40);
  transform: translateY(-2px);
}

.support-cta-btn:active:not(:disabled) {
  transform: translateY(0);
}

.support-cta-btn:disabled {
  opacity: 0.30;
  cursor: not-allowed;
  border-color: rgba(34,197,94,0.20);
  color: rgba(154,216,173,0.45);
  box-shadow: none;
}

.cta-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 6px rgba(26,255,106,0.30));
}

.cta-text {
  line-height: 1;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 8️⃣ AI SUPPORT CTA CARD */
/* ─────────────────────────────────────────────────────────────────────── */

.ai-support-cta-card {
  background: linear-gradient(135deg, rgba(14,26,20,.75), rgba(8,20,14,.85));
  border: 2px solid rgba(34,197,94,0.35);
  border-radius: var(--pg-radiusCard);
  padding: 28px 26px;
  backdrop-filter: blur(8px);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.35),
    0 0 20px rgba(34,197,94,0.15),
    inset 0 1px 0 rgba(26,255,106,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle glow animation on hover */
.ai-support-cta-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(26,255,106,0.08) 50%,
    transparent 100%
  );
  border-radius: var(--pg-radiusCard);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.ai-support-cta-card:hover::before {
  opacity: 1;
}

.ai-support-cta-card:hover {
  border-color: rgba(34,197,94,0.55);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.45),
    0 0 30px rgba(34,197,94,0.25),
    inset 0 1px 0 rgba(26,255,106,0.12);
  transform: translateY(-2px);
}

/* Card content above background effect */
.ai-support-cta-card > * {
  position: relative;
  z-index: 1;
}

/* Card Header */
.cta-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.cta-card-icon {
  font-size: 36px;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(26,255,106,0.50));
  animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% {
    filter: drop-shadow(0 0 12px rgba(26,255,106,0.50));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(26,255,106,0.65));
    transform: scale(1.03);
  }
}

.cta-card-title {
  margin: 0;
  color: var(--pg-g0);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
  text-shadow: 0 0 14px rgba(26,255,106,0.30);
}

/* Card Description */
.cta-card-description {
  margin: 0 0 24px 0;
  color: rgba(154,216,173,.80);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 9️⃣ SCROLLBAR CUSTOMIZATION */
/* ─────────────────────────────────────────────────────────────────────── */

.support-power-panel::-webkit-scrollbar {
  width: 8px;
}

.support-power-panel::-webkit-scrollbar-track {
  background: rgba(14,26,20,.50);
  border-radius: 4px;
}

.support-power-panel::-webkit-scrollbar-thumb {
  background: rgba(34,197,94,0.35);
  border-radius: 4px;
  transition: background 0.2s;
}

.support-power-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(34,197,94,0.55);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 🔟 RESPONSIVE DESIGN */
/* ─────────────────────────────────────────────────────────────────────── */

/* Tablet (768px) */
@media (max-width: 768px) {
  .support-power-panel {
    padding: 22px;
  }

  .support-power-headline {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .support-headline-title {
    font-size: 24px;
  }

  .support-headline-icon {
    font-size: 22px;
  }

  .support-close-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .support-info-panel {
    padding: 18px;
    margin-bottom: 24px;
  }

  .support-form {
    margin-bottom: 24px;
  }

  .support-cta-btn {
    padding: 14px 24px;
    font-size: 15px;
  }

  .ai-support-cta-card {
    padding: 24px 20px;
  }

  .cta-card-icon {
    font-size: 32px;
  }

  .cta-card-title {
    font-size: 18px;
  }

  .cta-card-description {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  .support-power-panel {
    padding: 18px;
  }

  .support-power-headline {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .support-headline-title {
    font-size: 20px;
  }

  .support-headline-icon {
    font-size: 20px;
  }

  .support-headline-left {
    gap: 10px;
  }

  .support-close-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .support-info-panel {
    padding: 16px;
    margin-bottom: 20px;
  }

  .info-panel-title {
    font-size: 16px;
  }

  .info-panel-text,
  .info-panel-hint {
    font-size: 13px;
  }

  .support-form {
    margin-bottom: 20px;
  }

  .form-field {
    margin-bottom: 16px;
  }

  .field-label {
    font-size: 13px;
  }

  .tech-input,
  .tech-select,
  .tech-textarea {
    font-size: 14px;
    padding: 11px 14px;
  }

  .tech-textarea {
    min-height: 160px;
  }

  .support-cta-btn {
    padding: 12px 20px;
    font-size: 14px;
    margin-top: 24px;
  }

  .cta-icon {
    font-size: 16px;
  }

  .ai-support-cta-card {
    padding: 20px 16px;
  }

  .cta-card-header {
    gap: 12px;
    margin-bottom: 14px;
  }

  .cta-card-icon {
    font-size: 28px;
  }

  .cta-card-title {
    font-size: 17px;
  }

  .cta-card-description {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .info-panel-subhint {
    font-size: 11px;
  }
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣1️⃣ ACCESSIBILITY */
/* ─────────────────────────────────────────────────────────────────────── */

.support-close-btn:focus,
.support-cta-btn:focus {
  outline: 2px solid var(--pg-g0);
  outline-offset: 2px;
}

.tech-input:focus,
.tech-select:focus,
.tech-textarea:focus {
  /* Focus handled by wrapper */
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣2️⃣ ANIMATIONS */
/* ─────────────────────────────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.support-power-panel {
  animation: slideUp 0.3s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════════
   END OF SUPPORT STYLES
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .support-power-panel {
  background: #1d0e33;
  border: 1px solid rgba(196, 181, 253, 0.20);
  box-shadow: 0 8px 32px rgba(30, 27, 75, 0.35), 0 0 20px rgba(167, 139, 250, 0.25);
  backdrop-filter: saturate(140%) blur(16px);
}

[data-theme="purple-bubbles"] .support-power-panel::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(167, 139, 250, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.02) 0%, transparent 50%);
}

[data-theme="purple-bubbles"] .support-power-headline {
  border-bottom: 1px solid rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .support-headline-icon {
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.50));
}

[data-theme="purple-bubbles"] .support-headline-title {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .support-close-btn {
  border: 1px solid rgba(196, 181, 253, 0.30);
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .support-close-btn:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: #C4B5FD;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

/* Info Panel */
[data-theme="purple-bubbles"] .support-info-panel {
  background: rgba(49, 46, 129, 0.50);
  border: 1px solid rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .info-panel-title {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .info-panel-text {
  color: rgba(196, 181, 253, 0.80);
}

[data-theme="purple-bubbles"] .info-panel-hint {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .info-panel-subhint {
  color: rgba(196, 181, 253, 0.50);
}

/* Form Fields */
[data-theme="purple-bubbles"] .field-label {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .input-wrapper,
[data-theme="purple-bubbles"] .select-wrapper,
[data-theme="purple-bubbles"] .textarea-wrapper {
  background: rgba(49, 46, 129, 0.50);
  border: 1px solid rgba(196, 181, 253, 0.30);
}

[data-theme="purple-bubbles"] .input-wrapper:hover,
[data-theme="purple-bubbles"] .select-wrapper:hover,
[data-theme="purple-bubbles"] .textarea-wrapper:hover {
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .input-wrapper:focus-within,
[data-theme="purple-bubbles"] .select-wrapper:focus-within,
[data-theme="purple-bubbles"] .textarea-wrapper:focus-within {
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .tech-input,
[data-theme="purple-bubbles"] .tech-select,
[data-theme="purple-bubbles"] .tech-textarea {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .tech-input::placeholder,
[data-theme="purple-bubbles"] .tech-textarea::placeholder {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .tech-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A78BFA' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

[data-theme="purple-bubbles"] .tech-select option {
  background: rgba(30, 27, 75, 0.95);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .field-hint {
  color: rgba(196, 181, 253, 0.65);
}

/* CTA Button */
[data-theme="purple-bubbles"] .support-cta-btn {
  background: transparent;
  border: 2px solid #A78BFA;
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .support-cta-btn:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.18);
  border-color: #C4B5FD;
  color: #C4B5FD;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .support-cta-btn:disabled {
  border-color: rgba(167, 139, 250, 0.20);
  color: rgba(196, 181, 253, 0.45);
}

[data-theme="purple-bubbles"] .cta-icon {
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.40));
}

/* AI Support CTA Card */
[data-theme="purple-bubbles"] .ai-support-cta-card {
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.80), rgba(30, 27, 75, 0.90));
  border: 2px solid rgba(196, 181, 253, 0.30);
  box-shadow:
    0 8px 24px rgba(30, 27, 75, 0.35),
    0 0 20px rgba(167, 139, 250, 0.25),
    inset 0 1px 0 rgba(196, 181, 253, 0.08);
}

[data-theme="purple-bubbles"] .ai-support-cta-card::before {
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(167, 139, 250, 0.08) 50%,
    transparent 100%
  );
}

[data-theme="purple-bubbles"] .ai-support-cta-card:hover {
  border-color: rgba(196, 181, 253, 0.50);
  box-shadow:
    0 12px 32px rgba(30, 27, 75, 0.45),
    0 0 30px rgba(167, 139, 250, 0.35),
    inset 0 1px 0 rgba(196, 181, 253, 0.12);
}

[data-theme="purple-bubbles"] .cta-card-icon {
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.50));
}

@keyframes purplePulse {
  0%, 100% {
    filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.50));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(167, 139, 250, 0.65));
    transform: scale(1.03);
  }
}

[data-theme="purple-bubbles"] .cta-card-icon {
  animation: purplePulse 3s ease-in-out infinite;
}

[data-theme="purple-bubbles"] .cta-card-title {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .cta-card-description {
  color: rgba(196, 181, 253, 0.80);
}

/* Scrollbar */
[data-theme="purple-bubbles"] .support-power-panel::-webkit-scrollbar-track {
  background: rgba(49, 46, 129, 0.50);
}

[data-theme="purple-bubbles"] .support-power-panel::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.35);
}

[data-theme="purple-bubbles"] .support-power-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(167, 139, 250, 0.55);
}

/* Accessibility */
[data-theme="purple-bubbles"] .support-close-btn:focus,
[data-theme="purple-bubbles"] .support-cta-btn:focus {
  outline: 2px solid #C4B5FD;
}

/* ═══════════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (SPACE GLASS)
   Support Panel with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣ MAIN PANEL CONTAINER - Space Glass */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .support-power-panel {
  background: linear-gradient(180deg, rgba(10,18,40,0.82), rgba(10,18,40,0.62));
  border: 1px solid rgba(120, 170, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.55), 0 0 26px rgba(127,182,255,0.18);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  animation: slideUp 0.3s ease-out;
}

/* Noise/Particle Layer */
body[data-theme="blue-galaxy"] .support-power-panel::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(127, 182, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(120, 170, 255, 0.02) 0%, transparent 50%);
  opacity: 0.08;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 2️⃣ HEADLINE SECTION */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .support-power-headline {
  border-bottom: 1px solid rgba(120, 170, 255, 0.15);
}

body[data-theme="blue-galaxy"] .support-headline-icon {
  filter: drop-shadow(0 0 8px rgba(127, 182, 255, 0.45));
}

body[data-theme="blue-galaxy"] .support-headline-title {
  color: #7FB6FF;
  text-shadow: 0 0 18px rgba(127, 182, 255, 0.35);
}

body[data-theme="blue-galaxy"] .support-close-btn {
  background: transparent;
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .support-close-btn:hover {
  background: rgba(127, 182, 255, 0.12);
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.30);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 3️⃣ INFO PANEL */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .support-info-panel {
  background: rgba(18, 28, 56, 0.50);
  border: 1px solid rgba(120, 170, 255, 0.20);
  backdrop-filter: blur(6px) saturate(150%);
  -webkit-backdrop-filter: blur(6px) saturate(150%);
}

body[data-theme="blue-galaxy"] .info-panel-title {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .info-panel-text {
  color: rgba(234, 242, 255, 0.78);
}

body[data-theme="blue-galaxy"] .info-panel-hint {
  color: rgba(234, 242, 255, 0.65);
}

body[data-theme="blue-galaxy"] .info-panel-subhint {
  color: rgba(234, 242, 255, 0.50);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 4️⃣ FORM FIELDS (Input Wrappers) */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .field-label {
  color: rgba(234, 242, 255, 0.75);
}

body[data-theme="blue-galaxy"] .input-wrapper,
body[data-theme="blue-galaxy"] .select-wrapper,
body[data-theme="blue-galaxy"] .textarea-wrapper {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.22);
}

body[data-theme="blue-galaxy"] .input-wrapper:hover,
body[data-theme="blue-galaxy"] .select-wrapper:hover,
body[data-theme="blue-galaxy"] .textarea-wrapper:hover {
  border-color: rgba(120, 170, 255, 0.35);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.20);
}

body[data-theme="blue-galaxy"] .input-wrapper:focus-within,
body[data-theme="blue-galaxy"] .select-wrapper:focus-within,
body[data-theme="blue-galaxy"] .textarea-wrapper:focus-within {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 22px rgba(127, 182, 255, 0.35);
}

body[data-theme="blue-galaxy"] .tech-input,
body[data-theme="blue-galaxy"] .tech-select,
body[data-theme="blue-galaxy"] .tech-textarea {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .tech-input::placeholder,
body[data-theme="blue-galaxy"] .tech-textarea::placeholder {
  color: rgba(234, 242, 255, 0.45);
}

/* Blue SVG Arrow for Select */
body[data-theme="blue-galaxy"] .tech-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237FB6FF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

body[data-theme="blue-galaxy"] .tech-select option {
  background: rgba(10, 18, 40, 0.98);
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .field-hint {
  color: rgba(234, 242, 255, 0.55);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 5️⃣ PRIMARY CTA BUTTON */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .support-cta-btn {
  background: transparent;
  border: 2px solid rgba(120, 170, 255, 0.35);
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .support-cta-btn:hover:not(:disabled) {
  background: rgba(127, 182, 255, 0.15);
  border-color: rgba(127, 182, 255, 0.50);
  color: #7FB6FF;
  box-shadow: 0 0 20px rgba(127, 182, 255, 0.40);
}

body[data-theme="blue-galaxy"] .support-cta-btn:active:not(:disabled) {
  transform: translateY(0);
}

body[data-theme="blue-galaxy"] .support-cta-btn:disabled {
  opacity: 0.30;
  border-color: rgba(120, 170, 255, 0.20);
  color: rgba(234, 242, 255, 0.45);
}

body[data-theme="blue-galaxy"] .cta-icon {
  filter: drop-shadow(0 0 6px rgba(127, 182, 255, 0.30));
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 6️⃣ AI SUPPORT CTA CARD - Featured Space Glass */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .ai-support-cta-card {
  background: linear-gradient(135deg, rgba(18, 28, 56, 0.70), rgba(10, 18, 40, 0.80));
  border: 2px solid rgba(120, 170, 255, 0.28);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.40),
    0 0 20px rgba(127, 182, 255, 0.18),
    inset 0 1px 0 rgba(127, 182, 255, 0.08);
}

/* Subtle glow animation on hover */
body[data-theme="blue-galaxy"] .ai-support-cta-card::before {
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(127, 182, 255, 0.08) 50%,
    transparent 100%
  );
}

body[data-theme="blue-galaxy"] .ai-support-cta-card:hover {
  border-color: rgba(120, 170, 255, 0.45);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.50),
    0 0 30px rgba(127, 182, 255, 0.28),
    inset 0 1px 0 rgba(127, 182, 255, 0.12);
}

body[data-theme="blue-galaxy"] .cta-card-icon {
  filter: drop-shadow(0 0 12px rgba(127, 182, 255, 0.50));
}

/* Blue Pulse Animation */
@keyframes bluePulse {
  0%, 100% {
    filter: drop-shadow(0 0 12px rgba(127, 182, 255, 0.50));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(127, 182, 255, 0.65));
    transform: scale(1.03);
  }
}

body[data-theme="blue-galaxy"] .cta-card-icon {
  animation: bluePulse 3s ease-in-out infinite;
}

body[data-theme="blue-galaxy"] .cta-card-title {
  color: #7FB6FF;
  text-shadow: 0 0 14px rgba(127, 182, 255, 0.30);
}

body[data-theme="blue-galaxy"] .cta-card-description {
  color: rgba(234, 242, 255, 0.80);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 7️⃣ SCROLLBAR */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .support-power-panel::-webkit-scrollbar-track {
  background: rgba(18, 28, 56, 0.50);
}

body[data-theme="blue-galaxy"] .support-power-panel::-webkit-scrollbar-thumb {
  background: rgba(127, 182, 255, 0.30);
}

body[data-theme="blue-galaxy"] .support-power-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(127, 182, 255, 0.50);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 8️⃣ ACCESSIBILITY */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .support-close-btn:focus,
body[data-theme="blue-galaxy"] .support-cta-btn:focus {
  outline: 2px solid rgba(127, 182, 255, 0.50);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 9️⃣ MOBILE OPTIMIZATIONS */
/* ─────────────────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  body[data-theme="blue-galaxy"] .support-power-panel {
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════
   Category Management - Power Green / Matrix Neon Theme
   Complete UI Redesign - Full Design System Compliance
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣ THEME VARIABLES */
/* ─────────────────────────────────────────────────────────────────────── */

:root {
  /* Backgrounds */
  --pg-bg0: #05070b;
  --pg-bg1: #07110a;
  --pg-surface0: #0b1210;
  --pg-surface1: #0e1a14;

  /* Borders */
  --pg-border: #1b3d2a;
  --pg-borderSoft: rgba(34, 197, 94, 0.18);

  /* Text */
  --pg-text: #e9fff1;
  --pg-textMuted: #9ad8ad;

  /* Neon Green Accents */
  --pg-g0: #1aff6a;
  --pg-g1: #22c55e;
  --pg-g2: #00ff88;

  /* Status */
  --pg-warn: #f97316;
  --pg-danger: #ef4444;

  /* Shadows & Glows */
  --shadowCard: 0 10px 30px rgba(0,0,0,.55);
  --shadowGlow: 0 0 14px rgba(34,197,94,.35);
  --shadowGlowStrong: 0 0 22px rgba(26,255,106,.45);

  /* Radius */
  --pg-radiusCard: 18px;
  --pg-radiusControl: 14px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 2️⃣ POWER PANEL CONTAINER */
/* ─────────────────────────────────────────────────────────────────────── */

.category-power-panel {
  background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(8,14,10,.92));
  border: 1px solid rgba(34,197,94,.25);
  border-radius: var(--pg-radiusCard);
  box-shadow: var(--shadowCard), var(--shadowGlow);
  padding: 26px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Optional: Dezente Noise/Particle-Ebene */
.category-power-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(26,255,106,.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34,197,94,.02) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0.06;
  z-index: 0;
}

/* Content must be above noise layer */
.category-power-panel > * {
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 3️⃣ POWER HEADLINE */
/* ─────────────────────────────────────────────────────────────────────── */

.category-power-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(34,197,94,0.15);
}

.category-headline-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-headline-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 8px rgba(26,255,106,0.45));
  line-height: 1;
}

.category-headline-title {
  margin: 0;
  color: var(--pg-g0);
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(26,255,106,0.35);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.category-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 10px;
  color: var(--pg-g1);
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.category-close-btn:hover {
  background: rgba(34,197,94,0.12);
  border-color: var(--pg-g0);
  box-shadow: 0 0 14px rgba(34,197,94,0.35);
  transform: scale(1.05);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 4️⃣ SECTION 1: CREATE ZONE (Neue Kategorie hinzufügen) */
/* ─────────────────────────────────────────────────────────────────────── */

.create-category-section {
  margin-bottom: 32px;
}

.section-title {
  margin: 0 0 16px 0;
  color: var(--pg-textMuted);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

/* Input Wrapper = Visual Frame */
.category-input-wrapper {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(14,26,20,.75);
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: var(--pg-radiusControl);
  padding: 4px 4px 4px 16px;
  transition: all 0.2s ease;
}

.category-input-wrapper:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 12px rgba(34,197,94,0.20);
}

.category-input-wrapper:focus-within {
  border-color: var(--pg-g0);
  box-shadow: var(--shadowGlowStrong);
}

/* Input = Visually Naked */
.category-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--pg-text);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 4px;
  min-width: 0;
}

.category-input::placeholder {
  color: rgba(154,216,173,0.50);
}

/* Button: Neon Outline */
.category-add-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid rgba(34,197,94,0.40);
  border-radius: 10px;
  color: var(--pg-g1);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.category-add-btn:hover:not(:disabled) {
  background: rgba(34,197,94,0.12);
  border-color: var(--pg-g0);
  color: var(--pg-g0);
  box-shadow: 0 0 14px rgba(34,197,94,0.35);
}

.category-add-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  border-color: rgba(34,197,94,0.15);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 5️⃣ ERROR MESSAGE */
/* ─────────────────────────────────────────────────────────────────────── */

.error-message {
  background: rgba(239,68,68,0.12);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.30);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 0 12px rgba(239,68,68,0.15);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 6️⃣ SECTION 2: CATEGORIES LIST */
/* ─────────────────────────────────────────────────────────────────────── */

.categories-list-section {
  margin-bottom: 32px;
}

.categories-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Empty State */
.empty-categories {
  text-align: center;
  padding: 48px 28px;
  color: rgba(154,216,173,.60);
  background: rgba(14,26,20,.40);
  border: 2px dashed rgba(34,197,94,0.20);
  border-radius: var(--pg-radiusControl);
  backdrop-filter: blur(6px);
}

.empty-categories p {
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.empty-categories p:first-child {
  font-size: 17px;
  font-weight: 600;
  color: rgba(154,216,173,.80);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 7️⃣ CATEGORY CARD (Power Card) */
/* ─────────────────────────────────────────────────────────────────────── */

.category-card {
  background: linear-gradient(180deg, rgba(14,26,20,.85), rgba(10,18,16,.85));
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: var(--pg-radiusControl);
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(34,197,94,.18);
  overflow: hidden;
}

.category-card:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 18px rgba(34,197,94,.35);
  transform: translateY(-2px);
}

.category-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  gap: 16px;
}

.category-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

/* Category Name */
.category-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--pg-text);
  cursor: pointer;
  user-select: none;
  letter-spacing: -0.2px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-name:hover {
  color: var(--pg-g0);
  text-shadow: 0 0 10px rgba(26,255,106,0.30);
}

/* Bookmark Count Chip */
.bookmark-count-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(154,216,173,.75);
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: 999px;
  align-self: flex-start;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 8️⃣ INLINE EDITING */
/* ─────────────────────────────────────────────────────────────────────── */

.category-edit-input {
  padding: 8px 14px;
  border: 2px solid var(--pg-g0);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  background: rgba(26,255,106,0.08);
  color: var(--pg-text);
  outline: none;
  box-shadow: 0 0 18px rgba(26,255,106,0.35);
  width: 100%;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 9️⃣ CATEGORY ACTIONS (Icon Buttons) */
/* ─────────────────────────────────────────────────────────────────────── */

.category-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.action-icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 10px;
  color: var(--pg-g1);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

/* Edit Button */
.action-icon-btn.edit-btn:hover {
  background: rgba(34,197,94,0.15);
  border-color: var(--pg-g0);
  box-shadow: 0 0 12px rgba(34,197,94,0.30);
  transform: scale(1.08);
}

/* Delete Button */
.action-icon-btn.delete-btn {
  color: #fca5a5;
  border-color: rgba(239,68,68,0.30);
}

.action-icon-btn.delete-btn:hover {
  background: rgba(239,68,68,0.12);
  border-color: #ef4444;
  color: #ef4444;
  box-shadow: 0 0 12px rgba(239,68,68,0.30);
  transform: scale(1.08);
}

/* Save Button */
.action-icon-btn.save-btn {
  color: var(--pg-g0);
  border-color: rgba(26,255,106,0.40);
  background: rgba(26,255,106,0.08);
}

.action-icon-btn.save-btn:hover {
  background: rgba(26,255,106,0.18);
  border-color: var(--pg-g0);
  box-shadow: 0 0 14px rgba(26,255,106,0.45);
  transform: scale(1.08);
}

/* Cancel Button */
.action-icon-btn.cancel-btn {
  color: rgba(154,216,173,.75);
  border-color: rgba(154,216,173,0.25);
}

.action-icon-btn.cancel-btn:hover {
  background: rgba(154,216,173,0.08);
  border-color: rgba(154,216,173,0.45);
  color: rgba(154,216,173,.95);
  box-shadow: 0 0 8px rgba(154,216,173,0.20);
  transform: scale(1.08);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 🔟 SECTION 3: INFO PANEL */
/* ─────────────────────────────────────────────────────────────────────── */

.info-panel {
  background: rgba(14,26,20,.50);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: var(--pg-radiusControl);
  padding: 18px 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.info-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.info-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 6px rgba(26,255,106,0.30));
}

.info-title {
  color: var(--pg-g1);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-list {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
}

.info-list li {
  margin-bottom: 6px;
  color: rgba(154,216,173,.72);
  line-height: 1.5;
  font-size: 14px;
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-list strong {
  color: var(--pg-text);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣1️⃣ SCROLLBAR CUSTOMIZATION */
/* ─────────────────────────────────────────────────────────────────────── */

.category-power-panel::-webkit-scrollbar {
  width: 8px;
}

.category-power-panel::-webkit-scrollbar-track {
  background: rgba(14,26,20,.50);
  border-radius: 4px;
}

.category-power-panel::-webkit-scrollbar-thumb {
  background: rgba(34,197,94,0.35);
  border-radius: 4px;
  transition: background 0.2s;
}

.category-power-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(34,197,94,0.55);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣2️⃣ RESPONSIVE DESIGN */
/* ─────────────────────────────────────────────────────────────────────── */

/* Tablet (768px) */
@media (max-width: 768px) {
  .category-power-panel {
    padding: 22px;
  }

  .category-power-headline {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .category-headline-title {
    font-size: 24px;
  }

  .category-headline-icon {
    font-size: 22px;
  }

  .category-close-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .create-category-section,
  .categories-list-section {
    margin-bottom: 28px;
  }

  .category-input-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
  }

  .category-input {
    padding: 10px 8px;
  }

  .category-add-btn {
    width: 100%;
    justify-content: center;
  }

  .category-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .category-actions {
    align-self: flex-end;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  .category-power-panel {
    padding: 18px;
  }

  .category-power-headline {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .category-headline-title {
    font-size: 20px;
  }

  .category-headline-icon {
    font-size: 20px;
  }

  .category-headline-left {
    gap: 10px;
  }

  .category-close-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .section-title {
    font-size: 13px;
  }

  .create-category-section,
  .categories-list-section {
    margin-bottom: 24px;
  }

  .categories-list {
    gap: 12px;
  }

  .category-card {
    padding: 14px;
  }

  .category-name {
    font-size: 15px;
  }

  .action-icon-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .info-panel {
    padding: 16px;
  }

  .info-list {
    padding-left: 20px;
  }

  .info-list li {
    font-size: 13px;
  }
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣3️⃣ ACCESSIBILITY */
/* ─────────────────────────────────────────────────────────────────────── */

.category-close-btn:focus,
.category-add-btn:focus,
.action-icon-btn:focus {
  outline: 2px solid var(--pg-g0);
  outline-offset: 2px;
}

.category-input:focus {
  /* Focus handled by wrapper */
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣4️⃣ ANIMATIONS */
/* ─────────────────────────────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-card {
  animation: fadeIn 0.3s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   Complete Override with Higher Specificity (using body[data-theme])
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣ MAIN PANEL CONTAINER */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .category-power-panel {
  background: #1d0e33 !important;
  border: 1px solid rgba(196, 181, 253, 0.20) !important;
  box-shadow: 0 8px 32px rgba(30, 27, 75, 0.35), 0 0 20px rgba(167, 139, 250, 0.25) !important;
  backdrop-filter: saturate(140%) blur(16px) !important;
}

body[data-theme="purple-bubbles"] .category-power-panel::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(167, 139, 250, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.02) 0%, transparent 50%) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 2️⃣ HEADLINE SECTION */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .category-power-headline {
  border-bottom: 1px solid rgba(167, 139, 250, 0.20) !important;
}

body[data-theme="purple-bubbles"] .category-headline-icon {
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.50)) !important;
}

body[data-theme="purple-bubbles"] .category-headline-title {
  color: #C4B5FD !important;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40) !important;
}

body[data-theme="purple-bubbles"] .category-close-btn {
  background: rgba(49, 46, 129, 0.60) !important;
  border: 1px solid rgba(167, 139, 250, 0.30) !important;
  color: #C4B5FD !important;
}

body[data-theme="purple-bubbles"] .category-close-btn:hover {
  background: rgba(139, 92, 246, 0.18) !important;
  border-color: #A78BFA !important;
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.30) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 3️⃣ SECTION TITLES */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .section-title {
  color: #C4B5FD !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 4️⃣ CREATE CATEGORY SECTION (Input Wrapper) */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .category-input-wrapper {
  background: rgba(49, 46, 129, 0.50) !important;
  border: 1px solid rgba(167, 139, 250, 0.30) !important;
}

body[data-theme="purple-bubbles"] .category-input-wrapper:hover {
  border-color: rgba(167, 139, 250, 0.45) !important;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.20) !important;
}

body[data-theme="purple-bubbles"] .category-input-wrapper:focus-within {
  border-color: #A78BFA !important;
  box-shadow: 0 0 22px rgba(167, 139, 250, 0.35) !important;
}

body[data-theme="purple-bubbles"] .category-input {
  color: #F3F4F6 !important;
  background: transparent !important;
  border: none !important;
}

body[data-theme="purple-bubbles"] .category-input::placeholder {
  color: rgba(196, 181, 253, 0.55) !important;
}

/* Add Button */
body[data-theme="purple-bubbles"] .category-add-btn {
  background: transparent !important;
  border: 1px solid rgba(167, 139, 250, 0.40) !important;
  color: #A78BFA !important;
}

body[data-theme="purple-bubbles"] .category-add-btn:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.15) !important;
  border-color: #A78BFA !important;
  color: #C4B5FD !important;
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.30) !important;
}

body[data-theme="purple-bubbles"] .category-add-btn:disabled {
  opacity: 0.25 !important;
  border-color: rgba(167, 139, 250, 0.15) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 5️⃣ ERROR MESSAGE */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .error-message {
  background: rgba(144, 84, 204, 0.15) !important;
  color: #C4B5FD !important;
  border: 1px solid rgba(144, 84, 204, 0.35) !important;
  box-shadow: 0 0 12px rgba(144, 84, 204, 0.20) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 6️⃣ EMPTY STATE */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .empty-categories {
  background: rgba(49, 46, 129, 0.30) !important;
  border: 2px dashed rgba(167, 139, 250, 0.25) !important;
  color: rgba(196, 181, 253, 0.70) !important;
}

body[data-theme="purple-bubbles"] .empty-categories p:first-child {
  color: #C4B5FD !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 7️⃣ CATEGORY CARD */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .category-card {
  background: rgba(49, 46, 129, 0.45) !important;
  border: 1px solid rgba(196, 181, 253, 0.22) !important;
  box-shadow: 0 4px 16px rgba(30, 27, 75, 0.25) !important;
}

body[data-theme="purple-bubbles"] .category-card:hover {
  background: rgba(49, 46, 129, 0.60) !important;
  border-color: rgba(167, 139, 250, 0.40) !important;
  box-shadow: 0 6px 24px rgba(30, 27, 75, 0.35), 0 0 16px rgba(167, 139, 250, 0.25) !important;
}

/* Category Name */
body[data-theme="purple-bubbles"] .category-name {
  color: #F3F4F6 !important;
}

body[data-theme="purple-bubbles"] .category-name:hover {
  color: #C4B5FD !important;
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.35) !important;
}

/* Bookmark Count Chip */
body[data-theme="purple-bubbles"] .bookmark-count-chip {
  color: #C4B5FD !important;
  background: rgba(139, 92, 246, 0.15) !important;
  border: 1px solid rgba(167, 139, 250, 0.25) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 8️⃣ INLINE EDITING INPUT */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .category-edit-input {
  border: 2px solid #A78BFA !important;
  background: rgba(139, 92, 246, 0.12) !important;
  color: #F3F4F6 !important;
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.35) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 9️⃣ ACTION BUTTONS (Icon Buttons) */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .action-icon-btn {
  background: rgba(49, 46, 129, 0.40) !important;
  border: 1px solid rgba(167, 139, 250, 0.30) !important;
  color: #C4B5FD !important;
}

/* Edit Button */
body[data-theme="purple-bubbles"] .action-icon-btn.edit-btn:hover {
  background: rgba(139, 92, 246, 0.18) !important;
  border-color: #A78BFA !important;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.30) !important;
}

/* Delete Button - using #9054cc */
body[data-theme="purple-bubbles"] .action-icon-btn.delete-btn {
  color: #9054cc !important;
  border-color: rgba(144, 84, 204, 0.40) !important;
}

body[data-theme="purple-bubbles"] .action-icon-btn.delete-btn:hover {
  background: rgba(144, 84, 204, 0.18) !important;
  border-color: #9054cc !important;
  color: #9054cc !important;
  box-shadow: 0 0 16px rgba(144, 84, 204, 0.35) !important;
}

/* Save Button */
body[data-theme="purple-bubbles"] .action-icon-btn.save-btn {
  color: #A78BFA !important;
  border-color: rgba(167, 139, 250, 0.40) !important;
  background: rgba(139, 92, 246, 0.18) !important;
}

body[data-theme="purple-bubbles"] .action-icon-btn.save-btn:hover {
  background: rgba(139, 92, 246, 0.28) !important;
  border-color: #C4B5FD !important;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.45) !important;
}

/* Cancel Button */
body[data-theme="purple-bubbles"] .action-icon-btn.cancel-btn {
  color: rgba(196, 181, 253, 0.75) !important;
  border-color: rgba(196, 181, 253, 0.25) !important;
}

body[data-theme="purple-bubbles"] .action-icon-btn.cancel-btn:hover {
  background: rgba(196, 181, 253, 0.10) !important;
  border-color: rgba(196, 181, 253, 0.45) !important;
  color: #C4B5FD !important;
  box-shadow: 0 0 8px rgba(196, 181, 253, 0.20) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 🔟 INFO PANEL */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .info-panel {
  background: rgba(49, 46, 129, 0.45) !important;
  border: 1px solid rgba(167, 139, 250, 0.22) !important;
}

body[data-theme="purple-bubbles"] .info-icon {
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.35)) !important;
}

body[data-theme="purple-bubbles"] .info-title {
  color: #A78BFA !important;
}

body[data-theme="purple-bubbles"] .info-list li {
  color: rgba(196, 181, 253, 0.75) !important;
}

body[data-theme="purple-bubbles"] .info-list strong {
  color: #F3F4F6 !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣1️⃣ SCROLLBAR */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .category-power-panel::-webkit-scrollbar-track {
  background: rgba(49, 46, 129, 0.40) !important;
}

body[data-theme="purple-bubbles"] .category-power-panel::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.35) !important;
}

body[data-theme="purple-bubbles"] .category-power-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(167, 139, 250, 0.55) !important;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣2️⃣ ACCESSIBILITY - FOCUS OUTLINES */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="purple-bubbles"] .category-close-btn:focus,
body[data-theme="purple-bubbles"] .category-add-btn:focus,
body[data-theme="purple-bubbles"] .action-icon-btn:focus {
  outline: 2px solid #A78BFA !important;
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (SPACE GLASS)
   Category Management with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣ MAIN PANEL CONTAINER - Space Glass */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .category-power-panel {
  background: linear-gradient(180deg, rgba(10,18,40,0.82), rgba(10,18,40,0.62));
  border: 1px solid rgba(120, 170, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.55), 0 0 26px rgba(127,182,255,0.18);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

/* Noise/Particle Layer */
body[data-theme="blue-galaxy"] .category-power-panel::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(127, 182, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(120, 170, 255, 0.02) 0%, transparent 50%);
  opacity: 0.08;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 2️⃣ HEADLINE SECTION */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .category-power-headline {
  border-bottom: 1px solid rgba(120, 170, 255, 0.15);
}

body[data-theme="blue-galaxy"] .category-headline-icon {
  filter: drop-shadow(0 0 8px rgba(127, 182, 255, 0.45));
}

body[data-theme="blue-galaxy"] .category-headline-title {
  color: #7FB6FF;
  text-shadow: 0 0 18px rgba(127, 182, 255, 0.35);
}

body[data-theme="blue-galaxy"] .category-close-btn {
  background: transparent;
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .category-close-btn:hover {
  background: rgba(127, 182, 255, 0.12);
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.30);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 3️⃣ SECTION TITLES */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .section-title {
  color: rgba(234, 242, 255, 0.68);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 4️⃣ CREATE CATEGORY SECTION (Input Wrapper) */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .category-input-wrapper {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.22);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] .category-input-wrapper:hover {
  border-color: rgba(120, 170, 255, 0.30);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] .category-input-wrapper:focus-within {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 22px rgba(127, 182, 255, 0.25);
}

/* Input Field */
body[data-theme="blue-galaxy"] .category-input {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .category-input::placeholder {
  color: rgba(234, 242, 255, 0.45);
}

/* Add Button */
body[data-theme="blue-galaxy"] .category-add-btn {
  background: transparent;
  border: 1px solid rgba(120, 170, 255, 0.30);
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .category-add-btn:hover:not(:disabled) {
  background: rgba(127, 182, 255, 0.12);
  border-color: rgba(127, 182, 255, 0.45);
  color: #7FB6FF;
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .category-add-btn:disabled {
  opacity: 0.25;
  border-color: rgba(120, 170, 255, 0.15);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 5️⃣ ERROR MESSAGE */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .error-message {
  background: rgba(239,68,68,0.12);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.30);
  box-shadow: 0 0 12px rgba(239,68,68,0.15);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 6️⃣ EMPTY STATE */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .empty-categories {
  background: rgba(18, 28, 56, 0.40);
  border: 2px dashed rgba(120, 170, 255, 0.20);
  color: rgba(234, 242, 255, 0.60);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body[data-theme="blue-galaxy"] .empty-categories p:first-child {
  color: rgba(234, 242, 255, 0.80);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 7️⃣ CATEGORY CARD - Space Glass */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .category-card {
  background: linear-gradient(180deg, rgba(18, 28, 56, 0.60), rgba(10, 18, 40, 0.60));
  border: 1px solid rgba(120, 170, 255, 0.22);
  box-shadow: 0 0 10px rgba(127, 182, 255, 0.15);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] .category-card:hover {
  border-color: rgba(120, 170, 255, 0.35);
  box-shadow: 0 0 18px rgba(127, 182, 255, 0.25);
}

/* Category Name */
body[data-theme="blue-galaxy"] .category-name {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .category-name:hover {
  color: #7FB6FF;
  text-shadow: 0 0 10px rgba(127, 182, 255, 0.30);
}

/* Bookmark Count Chip */
body[data-theme="blue-galaxy"] .bookmark-count-chip {
  color: rgba(234, 242, 255, 0.75);
  background: rgba(127, 182, 255, 0.15);
  border: 1px solid rgba(120, 170, 255, 0.25);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 8️⃣ INLINE EDITING INPUT */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .category-edit-input {
  border: 2px solid rgba(127, 182, 255, 0.45);
  background: rgba(127, 182, 255, 0.10);
  color: #EAF2FF;
  box-shadow: 0 0 18px rgba(127, 182, 255, 0.25);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 9️⃣ ACTION BUTTONS (Icon Buttons) */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .action-icon-btn {
  background: transparent;
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: rgba(234, 242, 255, 0.85);
}

/* Edit Button */
body[data-theme="blue-galaxy"] .action-icon-btn.edit-btn:hover {
  background: rgba(127, 182, 255, 0.15);
  border-color: rgba(127, 182, 255, 0.45);
  color: #7FB6FF;
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.25);
}

/* Delete Button */
body[data-theme="blue-galaxy"] .action-icon-btn.delete-btn {
  color: #fca5a5;
  border-color: rgba(239,68,68,0.30);
}

body[data-theme="blue-galaxy"] .action-icon-btn.delete-btn:hover {
  background: rgba(239,68,68,0.12);
  border-color: #ef4444;
  color: #ef4444;
  box-shadow: 0 0 12px rgba(239,68,68,0.30);
}

/* Save Button */
body[data-theme="blue-galaxy"] .action-icon-btn.save-btn {
  color: #7FB6FF;
  border-color: rgba(127, 182, 255, 0.35);
  background: rgba(127, 182, 255, 0.10);
}

body[data-theme="blue-galaxy"] .action-icon-btn.save-btn:hover {
  background: rgba(127, 182, 255, 0.20);
  border-color: rgba(127, 182, 255, 0.50);
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.35);
}

/* Cancel Button */
body[data-theme="blue-galaxy"] .action-icon-btn.cancel-btn {
  color: rgba(234, 242, 255, 0.75);
  border-color: rgba(234, 242, 255, 0.20);
}

body[data-theme="blue-galaxy"] .action-icon-btn.cancel-btn:hover {
  background: rgba(234, 242, 255, 0.08);
  border-color: rgba(234, 242, 255, 0.35);
  color: rgba(234, 242, 255, 0.95);
  box-shadow: 0 0 8px rgba(234, 242, 255, 0.15);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 🔟 INFO PANEL */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .info-panel {
  background: rgba(18, 28, 56, 0.50);
  border: 1px solid rgba(120, 170, 255, 0.20);
  backdrop-filter: blur(6px) saturate(150%);
  -webkit-backdrop-filter: blur(6px) saturate(150%);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

body[data-theme="blue-galaxy"] .info-icon {
  filter: drop-shadow(0 0 6px rgba(127, 182, 255, 0.30));
}

body[data-theme="blue-galaxy"] .info-title {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .info-list li {
  color: rgba(234, 242, 255, 0.68);
}

body[data-theme="blue-galaxy"] .info-list strong {
  color: #EAF2FF;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣1️⃣ SCROLLBAR */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .category-power-panel::-webkit-scrollbar-track {
  background: rgba(18, 28, 56, 0.50);
}

body[data-theme="blue-galaxy"] .category-power-panel::-webkit-scrollbar-thumb {
  background: rgba(127, 182, 255, 0.30);
}

body[data-theme="blue-galaxy"] .category-power-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(127, 182, 255, 0.50);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣2️⃣ ACCESSIBILITY - FOCUS OUTLINES */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .category-close-btn:focus,
body[data-theme="blue-galaxy"] .category-add-btn:focus,
body[data-theme="blue-galaxy"] .action-icon-btn:focus {
  outline: 2px solid rgba(127, 182, 255, 0.50);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   NEW: QuickShoppingList-Style Category Panel
   ═══════════════════════════════════════════════════════════════════════ */

/* Panel Wrapper - Full height like native app */
.category-panel-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  min-height: 0;
}

/* Main Panel - Full height */
.category-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  min-height: 0;
  background: var(--card-bg, #1a1a2e);
  border-radius: 16px;
  overflow: hidden;
}

/* Add Category Section - Top (like QuickShoppingList) */
.category-add-section {
  display: flex;
  gap: 0.625rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.category-add-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary, #fff);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.category-add-input:focus {
  border-color: var(--primary-color, #6366f1);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.category-add-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.category-add-btn-plus {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--primary-color, #6366f1);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-add-btn-plus:hover:not(:disabled) {
  background: var(--primary-hover, #5558e3);
  transform: scale(1.05);
}

.category-add-btn-plus:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Error Message */
.category-error {
  padding: 0.75rem 1rem;
  margin: 0.5rem 1rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 0.85rem;
}

/* List Header */
.category-list-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.category-list-icon {
  font-size: 1.1rem;
}

.category-list-title {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary, #fff);
}

.category-list-count {
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary, #aaa);
}

/* Scrollable Content - Full height, native app feel */
.category-list-content {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
  min-height: 0;
}

/* Empty State - Centered, full height */
.category-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 300px;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary, #888);
}

.category-empty p:first-child {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.category-empty-hint {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Category Items List - Full height */
.category-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-height: 100%;
}

/* Category Item - Same height as bookmark cards */
.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(30, 20, 50, 0.75);
  border: 1px solid rgba(196, 181, 253, 0.20);
  border-radius: 16px;
  min-height: 80px;
  transition: all 0.2s ease;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.category-item:hover {
  background: rgba(40, 28, 65, 0.85);
  border-color: rgba(196, 181, 253, 0.35);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.category-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}

.category-item-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary, #F3F4F6);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s ease;
}

.category-item-name:hover {
  color: var(--primary-color, #A78BFA);
}

.category-item-count {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  background: rgba(139, 92, 246, 0.25);
  border-radius: 8px;
  font-size: 0.75rem;
  color: rgba(196, 181, 253, 0.95);
  font-weight: 500;
  align-self: flex-start;
}

.category-item-count::before {
  content: '📚';
  font-size: 0.7rem;
}

/* Edit Input */
.category-edit-input {
  flex: 1;
  padding: 0.4rem 0.6rem;
  border: 2px solid var(--primary-color, #6366f1);
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-primary, #fff);
  font-size: 0.95rem;
  outline: none;
}

/* Action Buttons */
.category-item-actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.category-action-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary, #aaa);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.category-action-btn.edit:hover {
  border-color: var(--primary-color, #6366f1);
  color: var(--primary-color, #6366f1);
}

.category-action-btn.delete:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.category-action-btn.save {
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.category-action-btn.save:hover {
  background: rgba(34, 197, 94, 0.15);
}

.category-action-btn.cancel:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Scrollbar */
.category-list-content::-webkit-scrollbar {
  width: 6px;
}

.category-list-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.category-list-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.category-list-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME - QuickShoppingList Style
   ═══════════════════════════════════════════════════════════════════════ */

body[data-theme="purple-bubbles"] .category-panel {
  background: rgba(29, 14, 51, 0.85);
  backdrop-filter: blur(20px);
}

body[data-theme="purple-bubbles"] .category-add-section {
  background: rgba(49, 46, 129, 0.3);
  border-bottom-color: rgba(167, 139, 250, 0.15);
}

body[data-theme="purple-bubbles"] .category-add-input {
  background: rgba(49, 46, 129, 0.5);
  border-color: rgba(167, 139, 250, 0.25);
}

body[data-theme="purple-bubbles"] .category-add-input:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

body[data-theme="purple-bubbles"] .category-add-btn-plus {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

body[data-theme="purple-bubbles"] .category-add-btn-plus:hover:not(:disabled) {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
}

body[data-theme="purple-bubbles"] .category-list-header {
  background: rgba(49, 46, 129, 0.2);
  border-bottom-color: rgba(167, 139, 250, 0.1);
}

body[data-theme="purple-bubbles"] .category-list-count {
  background: rgba(139, 92, 246, 0.3);
  color: #C4B5FD;
}

body[data-theme="purple-bubbles"] .category-item {
  background: rgba(30, 20, 50, 0.75);
  border: 1px solid rgba(196, 181, 253, 0.20);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

body[data-theme="purple-bubbles"] .category-item:hover {
  background: rgba(40, 28, 65, 0.85);
  border-color: rgba(196, 181, 253, 0.35);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(167, 139, 250, 0.15);
}

body[data-theme="purple-bubbles"] .category-item-name {
  color: #F3F4F6;
  font-weight: 600;
}

body[data-theme="purple-bubbles"] .category-item-name:hover {
  color: #C4B5FD;
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.35);
}

body[data-theme="purple-bubbles"] .category-item-count {
  background: rgba(139, 92, 246, 0.25);
  color: rgba(196, 181, 253, 0.95);
  border-radius: 8px;
}

body[data-theme="purple-bubbles"] .category-action-btn {
  border-color: rgba(167, 139, 250, 0.25);
}

body[data-theme="purple-bubbles"] .category-action-btn.edit:hover {
  border-color: #A78BFA;
  color: #A78BFA;
}

/* ═══════════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME - QuickShoppingList Style
   ═══════════════════════════════════════════════════════════════════════ */

body[data-theme="blue-galaxy"] .category-panel {
  background: rgba(10, 18, 40, 0.85);
  backdrop-filter: blur(20px);
}

body[data-theme="blue-galaxy"] .category-add-section {
  background: rgba(18, 28, 56, 0.4);
  border-bottom-color: rgba(120, 170, 255, 0.12);
}

body[data-theme="blue-galaxy"] .category-add-input {
  background: rgba(18, 28, 56, 0.6);
  border-color: rgba(120, 170, 255, 0.2);
}

body[data-theme="blue-galaxy"] .category-add-input:focus {
  border-color: rgba(127, 182, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] .category-add-btn-plus {
  background: linear-gradient(135deg, rgba(127, 182, 255, 0.8), rgba(100, 150, 255, 0.8));
}

body[data-theme="blue-galaxy"] .category-add-btn-plus:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(127, 182, 255, 1), rgba(100, 150, 255, 1));
}

body[data-theme="blue-galaxy"] .category-list-header {
  background: rgba(18, 28, 56, 0.3);
  border-bottom-color: rgba(120, 170, 255, 0.08);
}

body[data-theme="blue-galaxy"] .category-list-count {
  background: rgba(127, 182, 255, 0.2);
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .category-item {
  background: rgba(18, 28, 56, 0.5);
  border-color: rgba(120, 170, 255, 0.15);
}

body[data-theme="blue-galaxy"] .category-item:hover {
  background: rgba(18, 28, 56, 0.7);
  border-color: rgba(120, 170, 255, 0.25);
}

body[data-theme="blue-galaxy"] .category-item-count {
  background: rgba(127, 182, 255, 0.2);
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .category-action-btn {
  border-color: rgba(120, 170, 255, 0.2);
}

body[data-theme="blue-galaxy"] .category-action-btn.edit:hover {
  border-color: #7FB6FF;
  color: #7FB6FF;
}

/* ═══════════════════════════════════════════════════════════════════════
   END OF CATEGORY MANAGEMENT STYLES
   ═══════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════
   Export Dialog - Power Green / Matrix Neon Theme

   ⚠️ CRITICAL: Theme-Scoped Styles
   These styles are ONLY active when Power Theme is enabled (.theme-power)
   Other themes (Light, Classic, etc.) are NOT affected.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER THEME TOKENS */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power {
  /* Backgrounds */
  --export-surface0: #0b1210;
  --export-surface1: #0e1a14;

  /* Borders */
  --export-border: rgba(34, 197, 94, 0.30);
  --export-borderSoft: rgba(34, 197, 94, 0.18);

  /* Text */
  --export-text: #e9fff1;
  --export-textMuted: #9ad8ad;

  /* Neon Green Accents */
  --export-g0: #1aff6a;
  --export-g1: #22c55e;

  /* Shadows & Glows */
  --export-shadowCard: 0 10px 30px rgba(0,0,0,.55);
  --export-shadowGlow: 0 0 14px rgba(34,197,94,.35);
  --export-shadowGlowStrong: 0 0 22px rgba(26,255,106,.45);

  /* Radius */
  --export-radiusCard: 18px;
  --export-radiusControl: 14px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER PANEL CONTAINER */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power.export-power-panel {
  background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(8,14,10,.92));
  border: 1px solid rgba(34,197,94,.25);
  border-radius: var(--export-radiusCard);
  box-shadow: var(--export-shadowCard), var(--export-shadowGlow);
  padding: 26px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Optional: Noise/Particle Overlay */
.theme-power.export-power-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(26,255,106,.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34,197,94,.02) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
}

/* Content above noise */
.theme-power.export-power-panel > * {
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER HEADLINE */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .export-power-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(34,197,94,0.15);
}

.theme-power .export-headline-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-power .export-headline-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 8px rgba(26,255,106,0.45));
  line-height: 1;
}

.theme-power .export-headline-title {
  margin: 0;
  color: var(--export-g0);
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(26,255,106,0.35);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.theme-power .export-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 10px;
  color: var(--export-g1);
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.theme-power .export-close-btn:hover:not(:disabled) {
  background: rgba(34,197,94,0.12);
  border-color: var(--export-g0);
  box-shadow: 0 0 14px rgba(34,197,94,0.35);
  transform: scale(1.05);
}

.theme-power .export-close-btn:disabled {
  opacity: 0.30;
  cursor: not-allowed;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* SECTION 1: EXPORT INFO PANEL */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .export-info-panel {
  background: rgba(14,26,20,.55);
  border: 1px solid rgba(34,197,94,0.20);
  border-radius: var(--export-radiusControl);
  padding: 20px 22px;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.theme-power .info-panel-header {
  margin-bottom: 14px;
}

.theme-power .info-panel-title {
  margin: 0;
  color: var(--export-g1);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.theme-power .export-steps {
  margin: 0 0 20px 0;
  padding-left: 24px;
  color: rgba(154,216,173,.78);
  font-size: 14px;
  line-height: 1.6;
}

.theme-power .export-steps li {
  margin-bottom: 8px;
}

.theme-power .export-steps li:last-child {
  margin-bottom: 0;
}

/* Browser Support Subsection */
.theme-power .browser-support {
  background: rgba(14,26,20,.40);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 16px;
}

.theme-power .subsection-title {
  margin: 0 0 12px 0;
  color: var(--export-textMuted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.theme-power .browser-list {
  margin: 0;
  padding-left: 22px;
  list-style: disc;
}

.theme-power .browser-list li {
  margin-bottom: 10px;
  color: rgba(154,216,173,.72);
  font-size: 14px;
  line-height: 1.5;
}

.theme-power .browser-list li:last-child {
  margin-bottom: 0;
}

.theme-power .browser-list strong {
  color: var(--export-text);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* SECTION 2: EXPORT OVERVIEW (SINGLE KPI) */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .export-overview-section {
  margin-bottom: 28px;
}

.theme-power .section-title {
  margin: 0 0 16px 0;
  color: var(--export-textMuted);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.theme-power .export-kpi-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(14,26,20,.85), rgba(10,18,16,.85));
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: var(--export-radiusControl);
  padding: 18px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(34,197,94,.18);
}

.theme-power .export-kpi-card:hover {
  border-color: rgba(34,197,94,0.40);
  box-shadow: 0 0 18px rgba(34,197,94,.30);
  transform: translateY(-2px);
}

.theme-power .kpi-icon {
  font-size: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(26,255,106,0.35));
}

.theme-power .kpi-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.theme-power .kpi-label {
  color: var(--export-textMuted);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.theme-power .kpi-value {
  color: var(--export-g0);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 14px rgba(26,255,106,0.30);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* SECTION 3: PRIMARY CTA (PowerButton handles this) */
/* Note: CTA styling is in PowerFormComponents.css */
/* ─────────────────────────────────────────────────────────────────────── */

/* Loading Spinner for Export Button */
.theme-power .loading-spinner-inline {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(34,197,94,0.30);
  border-top-color: var(--export-g0);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────────────────────────────── */
/* SUCCESS STATE */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .export-success-panel {
  text-align: center;
  padding: 40px 28px;
  background: rgba(14,26,20,.50);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: var(--export-radiusControl);
  backdrop-filter: blur(6px);
}

.theme-power .success-icon {
  font-size: 64px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 12px rgba(26,255,106,0.40));
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.theme-power .success-title {
  margin: 0 0 16px 0;
  color: var(--export-g0);
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(26,255,106,0.35);
}

.theme-power .success-message {
  margin: 0 0 16px 0;
  color: rgba(154,216,173,.80);
  font-size: 15px;
  line-height: 1.6;
}

.theme-power .success-hint {
  margin: 0;
  color: rgba(154,216,173,.60);
  font-size: 13px;
  font-style: italic;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* SCROLLBAR CUSTOMIZATION */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power.export-power-panel::-webkit-scrollbar {
  width: 8px;
}

.theme-power.export-power-panel::-webkit-scrollbar-track {
  background: rgba(14,26,20,.50);
  border-radius: 4px;
}

.theme-power.export-power-panel::-webkit-scrollbar-thumb {
  background: rgba(34,197,94,0.35);
  border-radius: 4px;
  transition: background 0.2s;
}

.theme-power.export-power-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(34,197,94,0.55);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* RESPONSIVE DESIGN */
/* ─────────────────────────────────────────────────────────────────────── */

/* Tablet (768px) */
@media (max-width: 768px) {
  .theme-power.export-power-panel {
    padding: 22px;
  }

  .theme-power .export-power-headline {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .theme-power .export-headline-title {
    font-size: 24px;
  }

  .theme-power .export-headline-icon {
    font-size: 22px;
  }

  .theme-power .export-close-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .theme-power .export-info-panel {
    padding: 18px;
    margin-bottom: 24px;
  }

  .theme-power .export-overview-section {
    margin-bottom: 24px;
  }

  .theme-power .export-kpi-card {
    padding: 16px 18px;
  }

  .theme-power .kpi-icon {
    font-size: 32px;
  }

  .theme-power .kpi-value {
    font-size: 28px;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  .theme-power.export-power-panel {
    padding: 18px;
  }

  .theme-power .export-power-headline {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .theme-power .export-headline-title {
    font-size: 20px;
  }

  .theme-power .export-headline-icon {
    font-size: 20px;
  }

  .theme-power .export-headline-left {
    gap: 10px;
  }

  .theme-power .export-close-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .theme-power .export-info-panel {
    padding: 16px;
    margin-bottom: 20px;
  }

  .theme-power .info-panel-title {
    font-size: 16px;
  }

  .theme-power .export-steps,
  .theme-power .browser-list li {
    font-size: 13px;
  }

  .theme-power .subsection-title {
    font-size: 14px;
  }

  .theme-power .export-overview-section {
    margin-bottom: 20px;
  }

  .theme-power .section-title {
    font-size: 13px;
  }

  .theme-power .export-kpi-card {
    padding: 14px 16px;
  }

  .theme-power .kpi-icon {
    font-size: 28px;
  }

  .theme-power .kpi-label {
    font-size: 12px;
  }

  .theme-power .kpi-value {
    font-size: 24px;
  }

  .theme-power .export-success-panel {
    padding: 32px 20px;
  }

  .theme-power .success-icon {
    font-size: 48px;
  }

  .theme-power .success-title {
    font-size: 20px;
  }

  .theme-power .success-message {
    font-size: 14px;
  }

  .theme-power .success-hint {
    font-size: 12px;
  }
}

/* ─────────────────────────────────────────────────────────────────────── */
/* ACCESSIBILITY */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .export-close-btn:focus {
  outline: 2px solid var(--export-g0);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* ANIMATIONS */
/* ─────────────────────────────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.theme-power.export-power-panel {
  animation: slideUp 0.3s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════════
   END OF EXPORT DIALOG STYLES (POWER THEME)
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .export-power-panel {
  background: #1d0e33;
  border: 1px solid rgba(196, 181, 253, 0.20);
  box-shadow: 0 8px 32px rgba(30, 27, 75, 0.35), 0 0 20px rgba(167, 139, 250, 0.25);
  backdrop-filter: saturate(140%) blur(16px);
}

[data-theme="purple-bubbles"] .export-power-panel::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(167, 139, 250, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.02) 0%, transparent 50%);
}

[data-theme="purple-bubbles"] .export-power-headline {
  border-bottom: 1px solid rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .export-headline-icon {
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.50));
}

[data-theme="purple-bubbles"] .export-headline-title {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .export-close-btn {
  border: 1px solid rgba(196, 181, 253, 0.30);
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .export-close-btn:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.18);
  border-color: #C4B5FD;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .export-info-panel {
  background: rgba(49, 46, 129, 0.50);
  border: 1px solid rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .info-panel-title {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .export-steps {
  color: rgba(196, 181, 253, 0.80);
}

[data-theme="purple-bubbles"] .browser-support {
  background: rgba(49, 46, 129, 0.40);
  border: 1px solid rgba(196, 181, 253, 0.15);
}

[data-theme="purple-bubbles"] .subsection-title {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .browser-list li {
  color: rgba(196, 181, 253, 0.75);
}

[data-theme="purple-bubbles"] .browser-list strong {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .section-title {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .export-kpi-card {
  background: linear-gradient(180deg, rgba(49, 46, 129, 0.85), rgba(30, 27, 75, 0.85));
  border: 1px solid rgba(196, 181, 253, 0.28);
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.18);
}

[data-theme="purple-bubbles"] .export-kpi-card:hover {
  border-color: rgba(196, 181, 253, 0.40);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.30);
}

[data-theme="purple-bubbles"] .kpi-icon {
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.40));
}

[data-theme="purple-bubbles"] .kpi-label {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .kpi-value {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .loading-spinner-inline {
  border: 2px solid rgba(167, 139, 250, 0.30);
  border-top-color: #C4B5FD;
}

[data-theme="purple-bubbles"] .export-success-panel {
  background: rgba(49, 46, 129, 0.50);
  border: 1px solid rgba(196, 181, 253, 0.22);
}

[data-theme="purple-bubbles"] .success-icon {
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.50));
}

[data-theme="purple-bubbles"] .success-title {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .success-message {
  color: rgba(196, 181, 253, 0.80);
}

[data-theme="purple-bubbles"] .success-hint {
  color: rgba(196, 181, 253, 0.60);
}

[data-theme="purple-bubbles"] .export-power-panel::-webkit-scrollbar-track {
  background: rgba(49, 46, 129, 0.50);
}

[data-theme="purple-bubbles"] .export-power-panel::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.35);
}

[data-theme="purple-bubbles"] .export-power-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(167, 139, 250, 0.55);
}

[data-theme="purple-bubbles"] .export-close-btn:focus {
  outline: 2px solid #C4B5FD;
}

/* ═══════════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (SPACE GLASS)
   Export Dialog with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* 1️⃣ MAIN PANEL CONTAINER - Space Glass */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .export-power-panel {
  background: linear-gradient(180deg, rgba(10,18,40,0.82), rgba(10,18,40,0.62));
  border: 1px solid rgba(120, 170, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.55), 0 0 26px rgba(127,182,255,0.18);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  animation: slideUp 0.3s ease-out;
}

/* Noise/Particle Layer */
body[data-theme="blue-galaxy"] .export-power-panel::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(127, 182, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(120, 170, 255, 0.02) 0%, transparent 50%);
  opacity: 0.08;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 2️⃣ HEADLINE SECTION */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .export-power-headline {
  border-bottom: 1px solid rgba(120, 170, 255, 0.15);
}

body[data-theme="blue-galaxy"] .export-headline-icon {
  filter: drop-shadow(0 0 8px rgba(127, 182, 255, 0.45));
}

body[data-theme="blue-galaxy"] .export-headline-title {
  color: #7FB6FF;
  text-shadow: 0 0 18px rgba(127, 182, 255, 0.35);
}

body[data-theme="blue-galaxy"] .export-close-btn {
  background: transparent;
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .export-close-btn:hover:not(:disabled) {
  background: rgba(127, 182, 255, 0.12);
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.30);
}

body[data-theme="blue-galaxy"] .export-close-btn:disabled {
  opacity: 0.30;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 3️⃣ INFO PANEL */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .export-info-panel {
  background: rgba(18, 28, 56, 0.50);
  border: 1px solid rgba(120, 170, 255, 0.20);
  backdrop-filter: blur(6px) saturate(150%);
  -webkit-backdrop-filter: blur(6px) saturate(150%);
}

body[data-theme="blue-galaxy"] .info-panel-title {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .export-steps {
  color: rgba(234, 242, 255, 0.72);
}

/* Browser Support Subsection */
body[data-theme="blue-galaxy"] .browser-support {
  background: rgba(18, 28, 56, 0.40);
  border: 1px solid rgba(120, 170, 255, 0.15);
}

body[data-theme="blue-galaxy"] .subsection-title {
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .browser-list li {
  color: rgba(234, 242, 255, 0.68);
}

body[data-theme="blue-galaxy"] .browser-list strong {
  color: #EAF2FF;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 4️⃣ SECTION TITLE */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .section-title {
  color: rgba(234, 242, 255, 0.75);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 5️⃣ EXPORT KPI CARD */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .export-kpi-card {
  background: linear-gradient(180deg, rgba(18, 28, 56, 0.60), rgba(10, 18, 40, 0.60));
  border: 1px solid rgba(120, 170, 255, 0.22);
  box-shadow: 0 0 10px rgba(127, 182, 255, 0.15);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] .export-kpi-card:hover {
  border-color: rgba(120, 170, 255, 0.35);
  box-shadow: 0 0 18px rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .kpi-icon {
  filter: drop-shadow(0 0 8px rgba(127, 182, 255, 0.35));
}

body[data-theme="blue-galaxy"] .kpi-label {
  color: rgba(234, 242, 255, 0.75);
}

body[data-theme="blue-galaxy"] .kpi-value {
  color: #7FB6FF;
  text-shadow: 0 0 14px rgba(127, 182, 255, 0.30);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 6️⃣ SUCCESS STATE */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .export-success-panel {
  background: rgba(18, 28, 56, 0.50);
  border: 1px solid rgba(120, 170, 255, 0.20);
  backdrop-filter: blur(6px) saturate(150%);
  -webkit-backdrop-filter: blur(6px) saturate(150%);
}

body[data-theme="blue-galaxy"] .success-icon {
  filter: drop-shadow(0 0 12px rgba(127, 182, 255, 0.40));
}

body[data-theme="blue-galaxy"] .success-title {
  color: #7FB6FF;
  text-shadow: 0 0 16px rgba(127, 182, 255, 0.35);
}

body[data-theme="blue-galaxy"] .success-message {
  color: rgba(234, 242, 255, 0.80);
}

body[data-theme="blue-galaxy"] .success-hint {
  color: rgba(234, 242, 255, 0.60);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 7️⃣ LOADING SPINNER */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .loading-spinner-inline {
  border: 2px solid rgba(120, 170, 255, 0.30);
  border-top-color: #7FB6FF;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 8️⃣ SCROLLBAR */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .export-power-panel::-webkit-scrollbar-track {
  background: rgba(18, 28, 56, 0.50);
}

body[data-theme="blue-galaxy"] .export-power-panel::-webkit-scrollbar-thumb {
  background: rgba(127, 182, 255, 0.30);
}

body[data-theme="blue-galaxy"] .export-power-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(127, 182, 255, 0.50);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* 9️⃣ ACCESSIBILITY */
/* ─────────────────────────────────────────────────────────────────────── */

body[data-theme="blue-galaxy"] .export-close-btn:focus {
  outline: 2px solid rgba(127, 182, 255, 0.50);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */
.theme-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.theme-option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
  background: #fff;
  position: relative;
}

.theme-option:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.theme-option.active {
  border-color: #46b2e4;
  box-shadow: 0 0 0 3px rgba(70,178,228,0.15);
}

/* Green checkmark for active theme */
.theme-checkmark {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.theme-preview {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e6e8eb;
}

.theme-preview .preview-header {
  height: 32px;
}

.theme-preview .preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: #fff;
}

.theme-preview .preview-item {
  height: 24px;
  border-radius: 6px;
  background: #f3f4f6;
}

/* Light-ish preview (Blue Galaxy uses this visual) - now using image */
.light-preview {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.light-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Dark preview */
.dark-preview .preview-header {
  background: #2b2b2b;
}
.dark-preview .preview-content {
  background: #0f172a;
}
.dark-preview .preview-item {
  background: #1f2937;
}

/* GoodVibes preview - now using image */
.goodvibes-preview {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goodvibes-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Power preview (bold) - now using image */
.power-preview {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.power-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* PurpleBubbles preview - now using image */
.purple-bubbles-preview {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.purple-bubbles-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.theme-info h4 {
  margin: 0;
  font-size: 1rem;
}

.theme-info p {
  margin: 4px 0 0 0;
  color: #6b7280;
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES
   Theme Modal/Selector with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════ */

/* Theme Option Cards - Space Glass */
[data-theme="blue-galaxy"] .theme-option {
  background: rgba(10, 18, 40, 0.65);
  border: 1px solid rgba(120, 170, 255, 0.22);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
}

[data-theme="blue-galaxy"] .theme-option:hover {
  border-color: rgba(120, 170, 255, 0.32);
  box-shadow: 0 6px 20px rgba(127, 182, 255, 0.18);
  transform: translateY(-2px);
}

[data-theme="blue-galaxy"] .theme-option.active {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(127, 182, 255, 0.18), 0 8px 24px rgba(127, 182, 255, 0.22);
}

/* Blue Checkmark for Active Theme */
[data-theme="blue-galaxy"] .theme-checkmark {
  background: linear-gradient(135deg, #7FB6FF, #4CA9FF);
  color: #081024;
  box-shadow: 0 2px 8px rgba(127, 182, 255, 0.35);
}

/* Theme Preview Border */
[data-theme="blue-galaxy"] .theme-preview {
  border: 1px solid rgba(120, 170, 255, 0.18);
}

/* Theme Preview Content */
[data-theme="blue-galaxy"] .theme-preview .preview-content {
  background: rgba(5, 8, 20, 0.55);
}

[data-theme="blue-galaxy"] .theme-preview .preview-item {
  background: rgba(18, 28, 56, 0.45);
}

/* Theme Info Text */
[data-theme="blue-galaxy"] .theme-info h4 {
  color: #EAF2FF;
}

[data-theme="blue-galaxy"] .theme-info p {
  color: rgba(234, 242, 255, 0.65);
}

/* ═══════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════
   Privacy Policy - Power Green / Matrix Neon Theme

   ⚠️ CRITICAL: Theme-Scoped Styles
   These styles are ONLY active when Power Theme is enabled (.theme-power)
   Other themes (Light, Classic, etc.) are NOT affected.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER THEME TOKENS */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power {
  /* Backgrounds */
  --privacy-surface0: #0b1210;
  --privacy-surface1: #0e1a14;
  --privacy-surface2: rgba(14,26,20,.55);

  /* Borders */
  --privacy-border: rgba(34, 197, 94, 0.30);
  --privacy-borderSoft: rgba(34, 197, 94, 0.18);

  /* Text */
  --privacy-text: #e9fff1;
  --privacy-textMuted: #9ad8ad;
  --privacy-textSubtle: rgba(154,216,173,.72);

  /* Neon Green Accents */
  --privacy-g0: #1aff6a;
  --privacy-g1: #22c55e;

  /* Shadows & Glows */
  --privacy-shadowCard: 0 10px 30px rgba(0,0,0,.55);
  --privacy-shadowGlow: 0 0 14px rgba(34,197,94,.35);
  --privacy-shadowGlowStrong: 0 0 22px rgba(26,255,106,.45);

  /* Radius */
  --privacy-radiusCard: 18px;
  --privacy-radiusControl: 14px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER PANEL CONTAINER */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power.privacy-power-panel {
  background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(8,14,10,.92));
  border: 1px solid rgba(34,197,94,.25);
  border-radius: var(--privacy-radiusCard);
  box-shadow: var(--privacy-shadowCard), var(--privacy-shadowGlow);
  padding: 26px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Optional: Noise/Particle Overlay */
.theme-power.privacy-power-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(26,255,106,.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34,197,94,.02) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
}

/* Content above noise */
.theme-power.privacy-power-panel > * {
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* POWER HEADLINE */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .privacy-power-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(34,197,94,0.15);
}

.theme-power .privacy-headline-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-power .privacy-headline-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 8px rgba(26,255,106,0.45));
  line-height: 1;
}

.theme-power .privacy-headline-title {
  margin: 0;
  color: var(--privacy-g0);
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(26,255,106,0.35);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.theme-power .privacy-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 10px;
  color: var(--privacy-g1);
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.theme-power .privacy-close-btn:hover:not(:disabled) {
  background: rgba(34,197,94,0.12);
  border-color: var(--privacy-g0);
  box-shadow: 0 0 14px rgba(34,197,94,0.35);
  transform: scale(1.05);
}

.theme-power .privacy-close-btn:disabled {
  opacity: 0.30;
  cursor: not-allowed;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* CONTENT WRAPPER (MAX-WIDTH FOR READABILITY) */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .privacy-content-wrapper {
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.7;
  color: var(--privacy-text);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* PRIVACY SECTIONS */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .privacy-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(34,197,94,0.10);
}

.theme-power .privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* HEADINGS (H3 & H4) WITH NEON ACCENTS */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .privacy-section h3 {
  margin: 0 0 16px 0;
  color: var(--privacy-g1);
  font-size: 20px;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(34,197,94,0.25);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.theme-power .privacy-section h4 {
  margin: 20px 0 12px 0;
  color: var(--privacy-textMuted);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* PARAGRAPHS */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .privacy-section p {
  margin: 0 0 16px 0;
  color: var(--privacy-textSubtle);
  font-size: 15px;
  line-height: 1.7;
}

.theme-power .privacy-section p:last-child {
  margin-bottom: 0;
}

.theme-power .privacy-section p strong {
  color: var(--privacy-text);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* LINKS */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .privacy-section a {
  color: var(--privacy-g1);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(34,197,94,0.30);
}

.theme-power .privacy-section a:hover {
  color: var(--privacy-g0);
  border-bottom-color: var(--privacy-g0);
  text-shadow: 0 0 8px rgba(26,255,106,0.30);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* LISTS (UL & LI) - DARK STYLED */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .privacy-section ul {
  margin: 12px 0 16px 0;
  padding-left: 24px;
  list-style: none;
}

.theme-power .privacy-section ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  color: var(--privacy-textSubtle);
  font-size: 15px;
  line-height: 1.7;
}

.theme-power .privacy-section ul li:last-child {
  margin-bottom: 0;
}

/* Custom Bullet Points (Neon Green Dot) */
.theme-power .privacy-section ul li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--privacy-g1);
  font-size: 10px;
  top: 8px;
}

.theme-power .privacy-section ul li strong {
  color: var(--privacy-text);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* NESTED CONTENT BLOCKS (DATA-LIST, SECURITY-INFO, TECH-STACK) */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .privacy-section .data-list,
.theme-power .privacy-section .security-info,
.theme-power .privacy-section .tech-stack {
  background: var(--privacy-surface2);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--privacy-radiusControl);
  padding: 18px 20px;
  margin: 16px 0;
  backdrop-filter: blur(4px);
}

.theme-power .privacy-section .data-list h4,
.theme-power .privacy-section .security-info h4,
.theme-power .privacy-section .tech-stack h4 {
  margin: 0 0 12px 0;
  color: var(--privacy-textMuted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Nested lists in data blocks */
.theme-power .privacy-section .data-list ul,
.theme-power .privacy-section .security-info ul,
.theme-power .privacy-section .tech-stack ul {
  margin: 0;
  padding-left: 22px;
}

.theme-power .privacy-section .data-list ul li,
.theme-power .privacy-section .security-info ul li,
.theme-power .privacy-section .tech-stack ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* SCROLLBAR CUSTOMIZATION */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .privacy-content-wrapper::-webkit-scrollbar {
  width: 8px;
}

.theme-power .privacy-content-wrapper::-webkit-scrollbar-track {
  background: rgba(14,26,20,.50);
  border-radius: 4px;
}

.theme-power .privacy-content-wrapper::-webkit-scrollbar-thumb {
  background: rgba(34,197,94,0.35);
  border-radius: 4px;
  transition: background 0.2s;
}

.theme-power .privacy-content-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(34,197,94,0.55);
}

/* ─────────────────────────────────────────────────────────────────────── */
/* RESPONSIVE DESIGN */
/* ─────────────────────────────────────────────────────────────────────── */

/* Tablet (768px) */
@media (max-width: 768px) {
  .theme-power.privacy-power-panel {
    padding: 22px;
  }

  .theme-power .privacy-power-headline {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .theme-power .privacy-headline-title {
    font-size: 24px;
  }

  .theme-power .privacy-headline-icon {
    font-size: 22px;
  }

  .theme-power .privacy-close-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .theme-power .privacy-content-wrapper {
    max-width: 100%;
    line-height: 1.65;
  }

  .theme-power .privacy-section {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .theme-power .privacy-section h3 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .theme-power .privacy-section h4 {
    font-size: 15px;
    margin: 18px 0 10px 0;
  }

  .theme-power .privacy-section p,
  .theme-power .privacy-section ul li {
    font-size: 14px;
  }

  .theme-power .privacy-section .data-list,
  .theme-power .privacy-section .security-info,
  .theme-power .privacy-section .tech-stack {
    padding: 16px 18px;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  .theme-power.privacy-power-panel {
    padding: 18px;
  }

  .theme-power .privacy-power-headline {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .theme-power .privacy-headline-title {
    font-size: 20px;
  }

  .theme-power .privacy-headline-icon {
    font-size: 20px;
  }

  .theme-power .privacy-headline-left {
    gap: 10px;
  }

  .theme-power .privacy-close-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .theme-power .privacy-content-wrapper {
    line-height: 1.6;
  }

  .theme-power .privacy-section {
    margin-bottom: 24px;
    padding-bottom: 18px;
  }

  .theme-power .privacy-section h3 {
    font-size: 17px;
    margin-bottom: 12px;
    gap: 8px;
  }

  .theme-power .privacy-section h4 {
    font-size: 14px;
    margin: 16px 0 10px 0;
  }

  .theme-power .privacy-section p {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .theme-power .privacy-section ul {
    padding-left: 20px;
  }

  .theme-power .privacy-section ul li {
    font-size: 13px;
    padding-left: 18px;
    margin-bottom: 8px;
  }

  .theme-power .privacy-section .data-list,
  .theme-power .privacy-section .security-info,
  .theme-power .privacy-section .tech-stack {
    padding: 14px 16px;
    margin: 14px 0;
  }

  .theme-power .privacy-section .data-list h4,
  .theme-power .privacy-section .security-info h4,
  .theme-power .privacy-section .tech-stack h4 {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .theme-power .privacy-section .data-list ul li,
  .theme-power .privacy-section .security-info ul li,
  .theme-power .privacy-section .tech-stack ul li {
    font-size: 13px;
    margin-bottom: 7px;
  }
}

/* ─────────────────────────────────────────────────────────────────────── */
/* ACCESSIBILITY */
/* ─────────────────────────────────────────────────────────────────────── */

.theme-power .privacy-close-btn:focus {
  outline: 2px solid var(--privacy-g0);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────── */
/* ANIMATIONS */
/* ─────────────────────────────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.theme-power.privacy-power-panel {
  animation: slideUp 0.3s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════════
   END OF PRIVACY POLICY STYLES (POWER THEME)
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .privacy-power-panel {
  background: #1d0e33;
  border: 1px solid rgba(196, 181, 253, 0.20);
  box-shadow: 0 8px 32px rgba(30, 27, 75, 0.35), 0 0 20px rgba(167, 139, 250, 0.25);
  backdrop-filter: saturate(140%) blur(16px);
}

[data-theme="purple-bubbles"] .privacy-power-panel::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(167, 139, 250, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.02) 0%, transparent 50%);
}

[data-theme="purple-bubbles"] .privacy-power-headline {
  border-bottom: 1px solid rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .privacy-headline-icon {
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.50));
}

[data-theme="purple-bubbles"] .privacy-headline-title {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .privacy-close-btn {
  border: 1px solid rgba(196, 181, 253, 0.30);
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .privacy-close-btn:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.18);
  border-color: #C4B5FD;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .privacy-content-wrapper {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .privacy-section {
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

[data-theme="purple-bubbles"] .privacy-section h3 {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .privacy-section h4 {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .privacy-section p {
  color: rgba(196, 181, 253, 0.75);
}

[data-theme="purple-bubbles"] .privacy-section p strong {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .privacy-section a {
  color: #A78BFA;
  border-bottom: 1px solid rgba(167, 139, 250, 0.30);
}

[data-theme="purple-bubbles"] .privacy-section a:hover {
  color: #C4B5FD;
  border-bottom-color: #C4B5FD;
  text-shadow: 0 0 12px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .privacy-section ul li {
  color: rgba(196, 181, 253, 0.75);
}

[data-theme="purple-bubbles"] .privacy-section ul li::before {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .privacy-section ul li strong {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .privacy-section .data-list,
[data-theme="purple-bubbles"] .privacy-section .security-info,
[data-theme="purple-bubbles"] .privacy-section .tech-stack {
  background: rgba(49, 46, 129, 0.50);
  border: 1px solid rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .privacy-section .data-list h4,
[data-theme="purple-bubbles"] .privacy-section .security-info h4,
[data-theme="purple-bubbles"] .privacy-section .tech-stack h4 {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .privacy-content-wrapper::-webkit-scrollbar-track {
  background: rgba(49, 46, 129, 0.50);
}

[data-theme="purple-bubbles"] .privacy-content-wrapper::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.35);
}

[data-theme="purple-bubbles"] .privacy-content-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(167, 139, 250, 0.55);
}

[data-theme="purple-bubbles"] .privacy-close-btn:focus {
  outline: 2px solid #C4B5FD;
}
/* Premium Placeholders - Engaging & Converting */
.premium-placeholder {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  padding: 24px;
  margin: 16px 0;
  border: 2px dashed #dee2e6;
  position: relative;
  overflow: hidden;
}

.premium-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  animation: shimmerGold 3s infinite;
}

@keyframes shimmerGold {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Placeholder Header */
.placeholder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.placeholder-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.premium-badge-large {
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.5);
  }
}

/* Feature Preview */
.feature-preview {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.preview-item:last-child {
  border-bottom: none;
}

.preview-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.preview-text {
  flex: 1;
  color: #555;
  font-weight: 500;
}

/* Stats Preview for Analytics */
.preview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
}

.stat-card {
  background: rgba(55, 80, 126, 0.1);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #37507e;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.2;
}

/* AI Chat Preview */
.ai-chat-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-message {
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 85%;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-message.user {
  background: #46b2e4;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-message.ai {
  background: #f1f3f4;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* Feature Description */
.placeholder-description {
  margin-bottom: 24px;
}

.placeholder-description h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.placeholder-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.placeholder-description li {
  padding: 4px 0;
  color: #555;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Upgrade Button */
.upgrade-button {
  width: 100%;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  border: none;
  border-radius: 10px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 183, 71, 0.3);
  text-align: center;
}

.upgrade-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 183, 71, 0.4);
  background: linear-gradient(135deg, #ffdd00, #ffc107);
}

.upgrade-button:active {
  transform: translateY(0);
}

/* Upgrade Modal */
.upgrade-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.upgrade-modal {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.modal-header p {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

/* Pricing Cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.pricing-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 2px solid #e9ecef;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.pricing-card.pro {
  background: linear-gradient(135deg, #37507e, #46b2e4);
  color: white;
  border-color: #46b2e4;
}

.plan-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffd700;
  color: #333;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.plan-price span {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: normal;
}

.plan-features {
  margin-bottom: 20px;
}

.feature {
  padding: 6px 0;
  font-size: 0.9rem;
}

.select-plan-button {
  width: 100%;
  background: #37507e;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-plan-button:hover {
  background: #2c3f5f;
  transform: translateY(-1px);
}

.select-plan-button.pro {
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #333;
}

.select-plan-button.pro:hover {
  background: linear-gradient(135deg, #ffdd00, #ffc107);
}

.modal-footer {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.modal-footer p {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 480px) {
  .premium-placeholder {
    padding: 16px;
    margin: 12px 0;
  }
  
  .placeholder-header h2 {
    font-size: 1.2rem;
  }
  
  .premium-badge-large {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  
  .feature-preview {
    padding: 12px;
  }
  
  .preview-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .stat-card {
    padding: 8px;
  }
  
  .stat-number {
    font-size: 1.2rem;
  }
  
  .upgrade-modal {
    padding: 20px;
    margin: 10px;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 360px) {
  .placeholder-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .chat-message {
    max-width: 95%;
    font-size: 0.85rem;
  }
}/* Power Green / Matrix Neon Theme for Analytics */

/* Theme Variables */
:root {
  /* Backgrounds */
  --pg-bg0: #05070b;
  --pg-bg1: #07110a;
  --pg-surface0: #0b1210;
  --pg-surface1: #0e1a14;

  /* Borders */
  --pg-border: #1b3d2a;
  --pg-borderSoft: rgba(34, 197, 94, 0.18);

  /* Text */
  --pg-text: #e9fff1;
  --pg-textMuted: #9ad8ad;

  /* Neon Green Accents */
  --pg-g0: #1aff6a;
  --pg-g1: #22c55e;
  --pg-g2: #00ff88;

  /* Status Colors */
  --pg-warn: #f97316;
  --pg-danger: #ef4444;

  /* Shadows & Glows */
  --pg-shadowGlow: 0 0 14px rgba(34,197,94,.35);
  --pg-shadowGlowStrong: 0 0 22px rgba(26,255,106,.45);
  --pg-shadowCard: 0 10px 30px rgba(0,0,0,.55);

  /* Radius */
  --pg-radiusCard: 18px;
  --pg-radiusControl: 14px;
}

/* Page Background with Gradient + Particle Effect */
._page_2ep4y_39 {
  padding: 24px 20px;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(600px 400px at 80% 80%, rgba(26,255,106,.12), transparent 50%),
    linear-gradient(180deg, var(--pg-bg0), var(--pg-bg1));
  position: relative;
}

/* Subtle Matrix Particle Overlay */
._page_2ep4y_39::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(34,197,94,0.03) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(34,197,94,0.02) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  background-position: 0 0, 40px 40px;
  opacity: 0.08;
  pointer-events: none;
  animation: _matrixDrift_2ep4y_1 60s linear infinite;
}

@keyframes _matrixDrift_2ep4y_1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50px); }
}

/* Main Analytics Card/Panel */
._card_2ep4y_73 {
  background: linear-gradient(180deg, rgba(8,16,12,.92), rgba(6,10,8,.92));
  border: 1px solid var(--pg-borderSoft);
  border-radius: var(--pg-radiusCard);
  box-shadow: var(--pg-shadowCard), var(--pg-shadowGlow);
  padding: 32px;
  position: relative;
  backdrop-filter: blur(8px);
}

/* Inner Highlight at Top */
._card_2ep4y_73::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  border-radius: var(--pg-radiusCard) var(--pg-radiusCard) 0 0;
}

/* Card Header */
._cardHeader_2ep4y_96 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

._titleWrap_2ep4y_105 {
  display: flex;
  align-items: center;
  gap: 12px;
}

._icon_2ep4y_111 {
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(26,255,106,0.4));
}

._title_2ep4y_105 {
  margin: 0;
  color: var(--pg-g0);
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(26,255,106,0.35);
  letter-spacing: -0.5px;
}

._beta_2ep4y_125 {
  background: rgba(34,197,94,0.12);
  color: var(--pg-g1);
  border: 1px solid var(--pg-borderSoft);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px rgba(34,197,94,0.2);
}

/* Control Bar (Selectors) */
._headerSelectors_2ep4y_139 {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

._selectorBlock_2ep4y_145 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

._label_2ep4y_151 {
  color: var(--pg-textMuted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Selectors */
._mobileSelectors_2ep4y_160 {
  display: none;
}

._mobileRange_2ep4y_164 {
  margin-top: 16px;
}

/* Sections */
._section_2ep4y_169 {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(34,197,94,0.12);
}

._sectionTitle_2ep4y_175 {
  margin: 0 0 20px;
  color: var(--pg-text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* Export Button Row */
._exportRow_2ep4y_184 {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

._exportRow_2ep4y_184 button {
  flex: 1;
  min-width: 200px;
  background: transparent;
  border: 2px solid var(--pg-g1);
  border-radius: var(--pg-radiusControl);
  padding: 16px 24px;
  color: var(--pg-g0);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 0 rgba(34,197,94,0);
}

._exportRow_2ep4y_184 button:hover {
  background: rgba(34,197,94,0.12);
  border-color: var(--pg-g0);
  box-shadow: var(--pg-shadowGlowStrong);
  transform: translateY(-1px);
}

._exportRow_2ep4y_184 button:active {
  transform: translateY(0);
}

._exportRow_2ep4y_184 button i {
  font-size: 18px;
}

/* Error State */
._error_2ep4y_225 {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  ._page_2ep4y_39 {
    padding: 16px 12px;
  }

  ._card_2ep4y_73 {
    padding: 20px;
  }

  ._title_2ep4y_105 {
    font-size: 24px;
  }

  ._headerSelectors_2ep4y_139 {
    display: none;
  }

  ._mobileSelectors_2ep4y_160 {
    display: block;
  }

  ._exportRow_2ep4y_184 {
    flex-direction: column;
  }

  ._exportRow_2ep4y_184 button {
    min-width: 100%;
  }

  ._section_2ep4y_169 {
    margin-top: 32px;
    padding-top: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES (CSS MODULE SAFE)
   NOTE: In CSS Modules selectors like ".page" are hashed in DOM.
   Therefore theme scoping must use :global(...) for the theme attribute.
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="purple-bubbles"] ._page_2ep4y_39 {
  /* Set local tokens for Purple-Bubbles analytics */
  --pb-a-bg0: #0B0614;
  --pb-a-bg1: #140A22;
  --pb-a-surface0: rgba(28, 14, 46, 0.70);
  --pb-a-surface1: rgba(40, 20, 60, 0.55);

  --pb-a-borderSoft: rgba(182, 109, 255, 0.22);
  --pb-a-border: rgba(182, 109, 255, 0.30);

  --pb-a-text: #F6EEFF;
  --pb-a-textMuted: rgba(246, 238, 255, 0.72);

  --pb-a-accent0: #C89BFF;
  --pb-a-accent1: #B66DFF;

  --pb-a-glow: 0 0 20px rgba(182, 109, 255, 0.25);
  --pb-a-glowStrong: 0 0 28px rgba(182, 109, 255, 0.35);
  --pb-a-shadowCard: 0 12px 34px rgba(0,0,0,.45);

  background:
          radial-gradient(900px 500px at 20% 10%, rgba(182, 109, 255, 0.16), transparent 60%),
          radial-gradient(600px 400px at 80% 80%, rgba(200, 160, 255, 0.10), transparent 50%),
          linear-gradient(180deg, var(--pb-a-bg0), var(--pb-a-bg1));
}

/* Replace matrix particles with subtle bubbles-like speckles */
body[data-theme="purple-bubbles"] ._page_2ep4y_39::before {
  opacity: 0.10;
  animation: none; /* Important: remove matrix drift feeling */
  background-image:
          radial-gradient(circle at 20% 30%, rgba(182, 109, 255, 0.06) 1px, transparent 1px),
          radial-gradient(circle at 80% 70%, rgba(200, 160, 255, 0.05) 1px, transparent 1px);
  background-size: 70px 70px, 110px 110px;
  background-position: 0 0, 40px 40px;
}

/* Main card */
body[data-theme="purple-bubbles"] ._card_2ep4y_73 {
  background: linear-gradient(180deg, var(--pb-a-surface0), var(--pb-a-surface1));
  border: 1px solid var(--pb-a-borderSoft);
  border-radius: 18px;
  box-shadow: var(--pb-a-shadowCard), var(--pb-a-glow);
  backdrop-filter: blur(14px) saturate(150%);
}

/* Header icon + title */
body[data-theme="purple-bubbles"] ._icon_2ep4y_111 {
  filter: drop-shadow(0 0 12px rgba(182, 109, 255, 0.45));
}

body[data-theme="purple-bubbles"] ._title_2ep4y_105 {
  color: var(--pb-a-accent0);
  text-shadow: 0 0 18px rgba(182, 109, 255, 0.30);
}

/* Beta pill */
body[data-theme="purple-bubbles"] ._beta_2ep4y_125 {
  background: rgba(182, 109, 255, 0.14);
  color: var(--pb-a-accent0);
  border: 1px solid rgba(182, 109, 255, 0.28);
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.18);
}

/* Labels & section headings */
body[data-theme="purple-bubbles"] ._label_2ep4y_151 {
  color: var(--pb-a-textMuted);
}

body[data-theme="purple-bubbles"] ._sectionTitle_2ep4y_175 {
  color: var(--pb-a-text);
}

body[data-theme="purple-bubbles"] ._section_2ep4y_169 {
  border-top: 1px solid rgba(182, 109, 255, 0.16);
}

/* Export buttons */
body[data-theme="purple-bubbles"] ._exportRow_2ep4y_184 button {
  background: rgba(40, 20, 60, 0.35);
  border: 1px solid rgba(182, 109, 255, 0.30);
  border-radius: 14px;
  color: var(--pb-a-text);
  box-shadow: none;
}

body[data-theme="purple-bubbles"] ._exportRow_2ep4y_184 button:hover {
  background: rgba(182, 109, 255, 0.18);
  border-color: rgba(182, 109, 255, 0.45);
  box-shadow: var(--pb-a-glowStrong);
  transform: translateY(-1px);
}

body[data-theme="purple-bubbles"] ._exportRow_2ep4y_184 button:active {
  background: rgba(182, 109, 255, 0.26);
  transform: translateY(0);
}

/* Error state stays calm, but readable */
body[data-theme="purple-bubbles"] ._error_2ep4y_225 {
  background: rgba(248, 113, 113, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.30);
  color: #FECACA;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (CSS MODULE SAFE)
   Space Glass Analytics with Cyan/Blue Accents
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="blue-galaxy"] ._page_2ep4y_39 {
  /* Set local tokens for Blue-Galaxy analytics */
  --bgx-a-bg0: #050814;
  --bgx-a-bg1: #07112a;
  --bgx-a-surface0: rgba(10, 18, 40, 0.72);
  --bgx-a-surface1: rgba(18, 28, 56, 0.58);

  --bgx-a-borderSoft: rgba(120, 170, 255, 0.18);
  --bgx-a-border: rgba(120, 170, 255, 0.26);

  --bgx-a-text: #EAF2FF;
  --bgx-a-textMuted: rgba(234, 242, 255, 0.72);

  --bgx-a-accent0: #7FB6FF;
  --bgx-a-accent1: #4CA9FF;

  --bgx-a-glow: 0 0 20px rgba(127, 182, 255, 0.25);
  --bgx-a-glowStrong: 0 0 28px rgba(127, 182, 255, 0.38);
  --bgx-a-shadowCard: 0 12px 34px rgba(0,0,0,.50);

  background:
    radial-gradient(900px 500px at 20% 10%, rgba(127, 182, 255, 0.14), transparent 60%),
    radial-gradient(600px 400px at 80% 80%, rgba(76, 169, 255, 0.10), transparent 50%),
    linear-gradient(180deg, var(--bgx-a-bg0), var(--bgx-a-bg1));
}

/* Remove matrix particles, use subtle space speckles */
body[data-theme="blue-galaxy"] ._page_2ep4y_39::before {
  opacity: 0.08;
  animation: none; /* No matrix drift */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(127, 182, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(120, 170, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px, 100px 100px;
  background-position: 0 0, 50px 50px;
}

/* Main card - Space Glass */
body[data-theme="blue-galaxy"] ._card_2ep4y_73 {
  background: linear-gradient(180deg, var(--bgx-a-surface0), var(--bgx-a-surface1));
  border: 1px solid var(--bgx-a-borderSoft);
  border-radius: 18px;
  box-shadow: var(--bgx-a-shadowCard), var(--bgx-a-glow);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

/* Header icon + title */
body[data-theme="blue-galaxy"] ._icon_2ep4y_111 {
  filter: drop-shadow(0 0 12px rgba(127, 182, 255, 0.42));
}

body[data-theme="blue-galaxy"] ._title_2ep4y_105 {
  color: var(--bgx-a-accent0);
  text-shadow: 0 0 18px rgba(127, 182, 255, 0.28);
}

/* Beta pill */
body[data-theme="blue-galaxy"] ._beta_2ep4y_125 {
  background: rgba(127, 182, 255, 0.12);
  color: var(--bgx-a-accent0);
  border: 1px solid rgba(120, 170, 255, 0.26);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.16);
}

/* Labels & section headings */
body[data-theme="blue-galaxy"] ._label_2ep4y_151 {
  color: var(--bgx-a-textMuted);
}

body[data-theme="blue-galaxy"] ._sectionTitle_2ep4y_175 {
  color: var(--bgx-a-text);
}

body[data-theme="blue-galaxy"] ._section_2ep4y_169 {
  border-top: 1px solid rgba(120, 170, 255, 0.14);
}

/* Export buttons */
body[data-theme="blue-galaxy"] ._exportRow_2ep4y_184 button {
  background: rgba(18, 28, 56, 0.40);
  border: 1px solid rgba(120, 170, 255, 0.28);
  border-radius: 14px;
  color: var(--bgx-a-text);
  box-shadow: none;
}

body[data-theme="blue-galaxy"] ._exportRow_2ep4y_184 button:hover {
  background: rgba(127, 182, 255, 0.16);
  border-color: rgba(127, 182, 255, 0.42);
  box-shadow: var(--bgx-a-glowStrong);
  transform: translateY(-1px);
}

body[data-theme="blue-galaxy"] ._exportRow_2ep4y_184 button:active {
  background: rgba(127, 182, 255, 0.24);
  transform: translateY(0);
}

/* Error state */
body[data-theme="blue-galaxy"] ._error_2ep4y_225 {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #FCA5A5;
}/* Bookmark Selector Desktop - Power Green Tech Controls */

._desktopSelector_v9n5h_3 {
  display: flex;
  gap: 12px;
  align-items: center;
}

._search_v9n5h_9,
._select_v9n5h_10 {
  padding: 12px 16px;
  border: 1px solid rgba(34,197,94,0.30);
  background: rgba(14,26,20,.92);
  border-radius: 14px;
  color: #e9fff1;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 rgba(34,197,94,0);
  outline: none;
}

._search_v9n5h_9 {
  min-width: 180px;
}

._select_v9n5h_10 {
  min-width: 220px;
  cursor: pointer;
}

._search_v9n5h_9::placeholder {
  color: rgba(154,216,173,0.65);
}

._search_v9n5h_9:hover,
._select_v9n5h_10:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 12px rgba(34,197,94,0.25);
}

._search_v9n5h_9:focus,
._select_v9n5h_10:focus {
  border-color: #1aff6a;
  box-shadow: 0 0 22px rgba(26,255,106,.45);
}

._select_v9n5h_10 option {
  background: #0b1210;
  color: #e9fff1;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (CSS MODULE SAFE)
   Space Glass Controls with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════ */

/* Blue Galaxy: Search Input & Select Controls */
body[data-theme="blue-galaxy"] ._search_v9n5h_9,
body[data-theme="blue-galaxy"] ._select_v9n5h_10 {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: #EAF2FF;
  border-radius: 14px;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  box-shadow: none;
}

/* Placeholder */
body[data-theme="blue-galaxy"] ._search_v9n5h_9::placeholder {
  color: rgba(234, 242, 255, 0.45);
}

/* Hover */
body[data-theme="blue-galaxy"] ._search_v9n5h_9:hover,
body[data-theme="blue-galaxy"] ._select_v9n5h_10:hover {
  background: rgba(18, 28, 56, 0.68);
  border-color: rgba(120, 170, 255, 0.30);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.15);
}

/* Focus - Cyan/Blue Glow (NO GREEN) */
body[data-theme="blue-galaxy"] ._search_v9n5h_9:focus,
body[data-theme="blue-galaxy"] ._select_v9n5h_10:focus {
  outline: none;
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(127,182,255,0.16), 0 0 18px rgba(127,182,255,0.18);
}

/* Option list background */
body[data-theme="blue-galaxy"] ._select_v9n5h_10 option {
  background: rgba(10, 18, 40, 0.98);
  color: #EAF2FF;
}
/* Bookmark Selector Mobile - Power Green Theme */

._mobileSelector_qprcq_3 {
  margin-bottom: 20px;
}

._tap_qprcq_7 {
  width: 100%;
  text-align: left;
  background: rgba(14,26,20,.92);
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 0 12px rgba(34,197,94,.30);
  color: #e9fff1;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
}

._tap_qprcq_7:active {
  border-color: #1aff6a;
  box-shadow: 0 0 20px rgba(26,255,106,.45);
}

._sheet_qprcq_26 {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(8,16,12,.95), rgba(6,10,8,.95));
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-top: 1px solid rgba(34,197,94,0.30);
  box-shadow: 0 -14px 40px rgba(0,0,0,0.6), 0 0 30px rgba(34,197,94,0.15);
  padding: 24px;
  max-height: 75vh;
  overflow: auto;
  backdrop-filter: blur(12px);
}

._sheetHeader_qprcq_42 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

._sheetHeader_qprcq_42 h3 {
  color: var(--pg-g0);
  font-size: 20px;
  margin: 0;
}

._closeBtn_qprcq_55 {
  border: none;
  background: transparent;
  font-size: 26px;
  color: rgba(154,216,173,.85);
  cursor: pointer;
}

._searchWrap_qprcq_63 {
  margin-bottom: 20px;
}

._search_qprcq_63 {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(34,197,94,0.30);
  background: rgba(14,26,20,.92);
  border-radius: 12px;
  color: #e9fff1;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

._search_qprcq_63::placeholder {
  color: rgba(154,216,173,0.65);
}

._search_qprcq_63:focus {
  border-color: #1aff6a;
  box-shadow: 0 0 18px rgba(26,255,106,.40);
}

._sectionTitle_qprcq_88 {
  color: rgba(154,216,173,.75);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 16px 0 8px;
}

._list_qprcq_97 {
  list-style: none;
  padding: 0;
  margin: 0;
}

._item_qprcq_103 {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}

._item_qprcq_103:hover {
  background: rgba(34,197,94,0.08);
}

._item_qprcq_103:active {
  background: rgba(34,197,94,0.15);
}

._favicon_qprcq_124 {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,0.20);
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 10px;
  font-size: 18px;
}

._itemTexts_qprcq_136 {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

._itemTitle_qprcq_143 {
  color: #e9fff1;
  font-size: 15px;
  font-weight: 500;
}

._itemSub_qprcq_149 {
  color: rgba(154,216,173,.65);
  font-size: 12px;
  margin-top: 2px;
}

._noResults_qprcq_155 {
  color: rgba(154,216,173,.65);
  padding: 16px;
  text-align: center;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (CSS MODULE SAFE)
   Space Glass Mobile Selector with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════ */

/* Blue Galaxy: Tap/Trigger Button */
body[data-theme="blue-galaxy"] ._tap_qprcq_7 {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: #EAF2FF;
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.15);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] ._tap_qprcq_7:active {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 20px rgba(127, 182, 255, 0.28);
}

/* Blue Galaxy: Bottom Sheet Modal */
body[data-theme="blue-galaxy"] ._sheet_qprcq_26 {
  background: linear-gradient(180deg, rgba(10,18,40,.95), rgba(18,28,56,.95));
  border-top: 1px solid rgba(120, 170, 255, 0.22);
  box-shadow: 0 -14px 40px rgba(0,0,0,0.65), 0 0 30px rgba(127, 182, 255, 0.18);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

/* Sheet Header */
body[data-theme="blue-galaxy"] ._sheetHeader_qprcq_42 h3,
body[data-theme="blue-galaxy"] ._sheetHeader_qprcq_42 h4 {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] ._closeBtn_qprcq_55 {
  color: rgba(234, 242, 255, 0.75);
}

/* Search Input */
body[data-theme="blue-galaxy"] ._search_qprcq_63 {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: #EAF2FF;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] ._search_qprcq_63::placeholder {
  color: rgba(234, 242, 255, 0.45);
}

body[data-theme="blue-galaxy"] ._search_qprcq_63:focus {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 18px rgba(127, 182, 255, 0.25);
}

/* Section Titles */
body[data-theme="blue-galaxy"] ._sectionTitle_qprcq_88 {
  color: rgba(234, 242, 255, 0.68);
}

/* List Items */
body[data-theme="blue-galaxy"] ._item_qprcq_103:hover {
  background: rgba(127, 182, 255, 0.10);
}

body[data-theme="blue-galaxy"] ._item_qprcq_103:active {
  background: rgba(127, 182, 255, 0.18);
}

/* Favicon Icons */
body[data-theme="blue-galaxy"] ._favicon_qprcq_124 {
  background: rgba(127, 182, 255, 0.18);
  border: 1px solid rgba(120, 170, 255, 0.28);
}

/* Item Texts */
body[data-theme="blue-galaxy"] ._itemTitle_qprcq_143 {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] ._itemSub_qprcq_149 {
  color: rgba(234, 242, 255, 0.55);
}

/* No Results */
body[data-theme="blue-galaxy"] ._noResults_qprcq_155 {
  color: rgba(234, 242, 255, 0.55);
}
/* Time Range Selector - Power Green Tech Control */

._select_1ozzl_3 {
  padding: 12px 16px;
  border: 1px solid rgba(34,197,94,0.30);
  background: rgba(14,26,20,.92);
  border-radius: 14px;
  color: #e9fff1;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 rgba(34,197,94,0);
  outline: none;
}

._select_1ozzl_3:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 12px rgba(34,197,94,0.25);
}

._select_1ozzl_3:focus {
  border-color: #1aff6a;
  box-shadow: 0 0 22px rgba(26,255,106,.45);
}

._select_1ozzl_3 option {
  background: #0b1210;
  color: #e9fff1;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (CSS MODULE SAFE)
   Space Glass Select Control with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════ */

/* Blue Galaxy: Time Range Select Control */
body[data-theme="blue-galaxy"] ._select_1ozzl_3 {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: #EAF2FF;
  border-radius: 14px;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  box-shadow: none;
}

/* Hover */
body[data-theme="blue-galaxy"] ._select_1ozzl_3:hover {
  background: rgba(18, 28, 56, 0.68);
  border-color: rgba(120, 170, 255, 0.30);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.15);
}

/* Focus - Cyan/Blue Glow (NO GREEN) */
body[data-theme="blue-galaxy"] ._select_1ozzl_3:focus {
  outline: none;
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(127,182,255,0.16), 0 0 18px rgba(127,182,255,0.18);
}

/* Option list background */
body[data-theme="blue-galaxy"] ._select_1ozzl_3 option {
  background: rgba(10, 18, 40, 0.98);
  color: #EAF2FF;
}
/* ═══════════════════════════════════════════════════════════════════
   Power THEME OVERRIDES (CSS MODULE SAFE)
   - Replace power neon green KPI cards with purple glass
   - Must use :global(...) because this is a CSS Module
   ═══════════════════════════════════════════════════════════════════ */
._row_194wy_6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

._kpiCard_194wy_13 {
  background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(10,18,16,.92));
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  box-shadow: 0 0 14px rgba(34,197,94,.35);
  transition: all 0.25s ease;
}

/* Inner highlight at top edge */
._kpiCard_194wy_13::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  border-radius: 16px 16px 0 0;
}

._kpiCard_194wy_13:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 22px rgba(26,255,106,.45);
  transform: translateY(-2px);
}

/* Top Bookmark Card has extra glow */
._kpiCard_194wy_13:nth-child(3) {
  box-shadow: 0 0 18px rgba(34,197,94,.40), 0 0 30px rgba(249,115,22,0.15);
}

._kpiCard_194wy_13:nth-child(3):hover {
  box-shadow: 0 0 25px rgba(26,255,106,.50), 0 0 35px rgba(249,115,22,0.20);
}

._kpiLabel_194wy_50 {
  font-size: 12px;
  font-weight: 600;
  color: rgba(154,216,173,.85);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

._kpiValue_194wy_59 {
  font-size: 34px;
  font-weight: 700;
  color: #e9fff1;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}

._kpiValue_194wy_59 ._icon_194wy_69 {
  font-size: 28px;
  filter: drop-shadow(0 0 8px rgba(26,255,106,0.4));
}

/* Special styling for flame icon (Top Bookmark) */
._kpiCard_194wy_13:nth-child(3) ._kpiValue_194wy_59 ._icon_194wy_69 {
  filter: drop-shadow(0 0 10px rgba(249,115,22,0.6));
}

/* Skeleton Loading State */
._skeleton_194wy_80 {
  display: inline-block;
  width: 120px;
  height: 40px;
  background: linear-gradient(
    90deg,
    rgba(34,197,94,0.08) 0%,
    rgba(34,197,94,0.15) 50%,
    rgba(34,197,94,0.08) 100%
  );
  background-size: 200% 100%;
  animation: _shimmer_194wy_1 1.5s infinite;
  border-radius: 8px;
}

@keyframes _shimmer_194wy_1 {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Responsive */
@media (max-width: 768px) {
  ._row_194wy_6 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  ._kpiValue_194wy_59 {
    font-size: 28px;
  }

  ._kpiValue_194wy_59 ._icon_194wy_69 {
    font-size: 24px;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES (CSS MODULE SAFE)
   - Replace power neon green KPI cards with purple glass
   - Must use :global(...) because this is a CSS Module
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="purple-bubbles"] ._kpiCard_194wy_13 {
  background: linear-gradient(
          180deg,
          rgba(28, 14, 46, 0.78),
          rgba(40, 20, 60, 0.62)
  );
  border: 1px solid rgba(182, 109, 255, 0.22);
  box-shadow:
          0 12px 34px rgba(0,0,0,.42),
          0 0 20px rgba(182, 109, 255, 0.22);
  backdrop-filter: blur(14px) saturate(150%);
}

body[data-theme="purple-bubbles"] ._kpiCard_194wy_13::before {
  background: linear-gradient(
          90deg,
          transparent,
          rgba(246, 238, 255, 0.08),
          transparent
  );
}

/* Hover stays subtle + purple */
body[data-theme="purple-bubbles"] ._kpiCard_194wy_13:hover {
  border-color: rgba(182, 109, 255, 0.35);
  box-shadow:
          0 14px 38px rgba(0,0,0,.46),
          0 0 28px rgba(182, 109, 255, 0.30);
  transform: translateY(-2px);
}

/* Special styling for 3rd card (Top Bookmark): slightly stronger glow but still purple */
body[data-theme="purple-bubbles"] ._kpiCard_194wy_13:nth-child(3) {
  box-shadow:
          0 12px 34px rgba(0,0,0,.42),
          0 0 26px rgba(182, 109, 255, 0.28);
}

body[data-theme="purple-bubbles"] ._kpiCard_194wy_13:nth-child(3):hover {
  box-shadow:
          0 14px 38px rgba(0,0,0,.46),
          0 0 34px rgba(182, 109, 255, 0.36);
}

/* Label + Value */
body[data-theme="purple-bubbles"] ._kpiLabel_194wy_50 {
  color: rgba(246, 238, 255, 0.70);
}

body[data-theme="purple-bubbles"] ._kpiValue_194wy_59 {
  color: #F6EEFF;
}

/* Icons: remove neon green/orange shadows -> purple glow */
body[data-theme="purple-bubbles"] ._kpiValue_194wy_59 ._icon_194wy_69 {
  filter: drop-shadow(0 0 10px rgba(182, 109, 255, 0.35));
}

/* Flame icon (3rd card): keep “hot” feeling without orange neon */
body[data-theme="purple-bubbles"] ._kpiCard_194wy_13:nth-child(3) ._kpiValue_194wy_59 ._icon_194wy_69 {
  filter: drop-shadow(0 0 12px rgba(200, 160, 255, 0.45));
}

/* Skeleton shimmer purple */
body[data-theme="purple-bubbles"] ._skeleton_194wy_80 {
  background: linear-gradient(
          90deg,
          rgba(182, 109, 255, 0.08) 0%,
          rgba(200, 160, 255, 0.16) 50%,
          rgba(182, 109, 255, 0.08) 100%
  );
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (CSS MODULE SAFE)
   - Replace power neon green KPI cards with space glass (cyan/blue)
   - Must use :global(...) because this is a CSS Module
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="blue-galaxy"] ._kpiCard_194wy_13 {
  background: linear-gradient(
    180deg,
    rgba(10, 18, 40, 0.78),
    rgba(18, 28, 56, 0.62)
  );
  border: 1px solid rgba(120, 170, 255, 0.20);
  box-shadow:
    0 12px 34px rgba(0,0,0,.45),
    0 0 20px rgba(127, 182, 255, 0.22);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

body[data-theme="blue-galaxy"] ._kpiCard_194wy_13::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(234, 242, 255, 0.06),
    transparent
  );
}

/* Hover stays subtle + blue */
body[data-theme="blue-galaxy"] ._kpiCard_194wy_13:hover {
  border-color: rgba(127, 182, 255, 0.32);
  box-shadow:
    0 14px 38px rgba(0,0,0,.48),
    0 0 28px rgba(127, 182, 255, 0.28);
  transform: translateY(-2px);
}

/* Special styling for 3rd card (Top Bookmark): slightly stronger glow */
body[data-theme="blue-galaxy"] ._kpiCard_194wy_13:nth-child(3) {
  box-shadow:
    0 12px 34px rgba(0,0,0,.45),
    0 0 26px rgba(127, 182, 255, 0.26);
}

body[data-theme="blue-galaxy"] ._kpiCard_194wy_13:nth-child(3):hover {
  box-shadow:
    0 14px 38px rgba(0,0,0,.48),
    0 0 34px rgba(127, 182, 255, 0.34);
}

/* Label + Value */
body[data-theme="blue-galaxy"] ._kpiLabel_194wy_50 {
  color: rgba(234, 242, 255, 0.68);
}

body[data-theme="blue-galaxy"] ._kpiValue_194wy_59 {
  color: #EAF2FF;
}

/* Icons: remove neon green/orange shadows -> blue glow */
body[data-theme="blue-galaxy"] ._kpiValue_194wy_59 ._icon_194wy_69 {
  filter: drop-shadow(0 0 10px rgba(127, 182, 255, 0.32));
}

/* Flame icon (3rd card): keep "hot" feeling with stronger blue glow */
body[data-theme="blue-galaxy"] ._kpiCard_194wy_13:nth-child(3) ._kpiValue_194wy_59 ._icon_194wy_69 {
  filter: drop-shadow(0 0 12px rgba(127, 182, 255, 0.42));
}

/* Skeleton shimmer blue */
body[data-theme="blue-galaxy"] ._skeleton_194wy_80 {
  background: linear-gradient(
    90deg,
    rgba(127, 182, 255, 0.08) 0%,
    rgba(120, 170, 255, 0.16) 50%,
    rgba(127, 182, 255, 0.08) 100%
  );
}/* ═══════════════════════════════════════════════════════════════════
   POWER THEME OVERRIDES (CSS MODULE SAFE)
   - Replace neon green bars + grid with purple glass + lavender bars
   - Must use :global(...) because this is a CSS Module
   ═══════════════════════════════════════════════════════════════════ */

/* Access Stats Chart - Neon Green Bars */
._card_1aiop_8 {
  background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(10,18,16,.92));
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 14px rgba(34,197,94,.35);
  position: relative;
}

/* Inner highlight */
._card_1aiop_8::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  border-radius: 16px 16px 0 0;
}

._skeleton_1aiop_29 {
  height: 180px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(34,197,94,0.08) 0%,
    rgba(34,197,94,0.15) 50%,
    rgba(34,197,94,0.08) 100%
  );
  background-size: 200% 100%;
  animation: _shimmer_1aiop_1 1.5s infinite;
}

@keyframes _shimmer_1aiop_1 {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

._chart_1aiop_47 {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 180px;
  padding: 16px 8px 8px;
  border-radius: 12px;
  background:
    linear-gradient(0deg, rgba(34,197,94,0.03) 1px, transparent 1px),
    linear-gradient(90deg, transparent, rgba(34,197,94,0.02));
  background-size: 100% 36px, 100% 100%;
  position: relative;
}

/* Subtle grid lines */
._chart_1aiop_47::before {
  content: '';
  position: absolute;
  bottom: 33.33%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(154,216,173,0.08);
}

._chart_1aiop_47::after {
  content: '';
  position: absolute;
  bottom: 66.66%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(154,216,173,0.08);
}

._barWrap_1aiop_82 {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

/* Bar Container - provides height reference for percentage */
._barContainer_1aiop_93 {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

/* Neon Green Bar */
._bar_1aiop_82 {
  width: 100%;
  max-width: 32px;
  background: linear-gradient(180deg, #00ff88, #1aff6a);
  border: 1px solid rgba(34,197,94,0.40);
  border-radius: 8px 8px 4px 4px;
  box-shadow: 0 0 12px rgba(26,255,106,0.4), inset 0 -2px 8px rgba(0,255,136,0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 4px;
}

/* Glow effect on bar */
._bar_1aiop_82::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #00ff88;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 0 8px rgba(0,255,136,0.8);
}

._bar_1aiop_82:hover {
  box-shadow: 0 0 18px rgba(26,255,106,0.6), inset 0 -2px 12px rgba(0,255,136,0.4);
  transform: scale(1.05);
  border-color: rgba(0,255,136,0.60);
}

._day_1aiop_134 {
  color: rgba(154,216,173,.75);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  ._chart_1aiop_47 {
    height: 160px;
    gap: 8px;
  }

  ._bar_1aiop_82 {
    max-width: 24px;
  }

  ._day_1aiop_134 {
    font-size: 10px;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES (CSS MODULE SAFE)
   - Replace neon green bars + grid with purple glass + lavender bars
   - Must use :global(...) because this is a CSS Module
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="purple-bubbles"] ._card_1aiop_8 {
  background: linear-gradient(
          180deg,
          rgba(28, 14, 46, 0.78),
          rgba(40, 20, 60, 0.62)
  );
  border: 1px solid rgba(182, 109, 255, 0.22);
  box-shadow:
          0 12px 34px rgba(0,0,0,.42),
          0 0 20px rgba(182, 109, 255, 0.22);
  backdrop-filter: blur(14px) saturate(150%);
}

body[data-theme="purple-bubbles"] ._card_1aiop_8::before {
  background: linear-gradient(
          90deg,
          transparent,
          rgba(246, 238, 255, 0.08),
          transparent
  );
}

/* Skeleton shimmer purple */
body[data-theme="purple-bubbles"] ._skeleton_1aiop_29 {
  background: linear-gradient(
          90deg,
          rgba(182, 109, 255, 0.08) 0%,
          rgba(200, 160, 255, 0.16) 50%,
          rgba(182, 109, 255, 0.08) 100%
  );
}

/* Chart background grid -> subtle purple */
body[data-theme="purple-bubbles"] ._chart_1aiop_47 {
  background:
          linear-gradient(0deg, rgba(182, 109, 255, 0.035) 1px, transparent 1px),
          linear-gradient(90deg, transparent, rgba(182, 109, 255, 0.02));
  background-size: 100% 36px, 100% 100%;
}

/* Grid lines */
body[data-theme="purple-bubbles"] ._chart_1aiop_47::before,
body[data-theme="purple-bubbles"] ._chart_1aiop_47::after {
  background: rgba(182, 109, 255, 0.10);
}

/* Bar -> lavender/purple gradient (no neon green) */
body[data-theme="purple-bubbles"] ._bar_1aiop_82 {
  background: linear-gradient(180deg, #C89BFF, #B66DFF);
  border: 1px solid rgba(182, 109, 255, 0.35);
  box-shadow:
          0 0 14px rgba(182, 109, 255, 0.30),
          inset 0 -2px 10px rgba(200, 160, 255, 0.18);
}

/* Top glow cap */
body[data-theme="purple-bubbles"] ._bar_1aiop_82::before {
  background: rgba(200, 160, 255, 0.95);
  box-shadow: 0 0 10px rgba(182, 109, 255, 0.55);
}

/* Hover stays subtle */
body[data-theme="purple-bubbles"] ._bar_1aiop_82:hover {
  box-shadow:
          0 0 20px rgba(182, 109, 255, 0.40),
          inset 0 -2px 12px rgba(200, 160, 255, 0.22);
  transform: scale(1.04);
  border-color: rgba(182, 109, 255, 0.55);
}

/* Day labels */
body[data-theme="purple-bubbles"] ._day_1aiop_134 {
  color: rgba(246, 238, 255, 0.70);
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (CSS MODULE SAFE)
   - Replace neon green bars + grid with cyan/blue bars
   - Space Glass aesthetics
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="blue-galaxy"] ._card_1aiop_8 {
  background: linear-gradient(
    180deg,
    rgba(10, 18, 40, 0.78),
    rgba(18, 28, 56, 0.62)
  );
  border: 1px solid rgba(120, 170, 255, 0.20);
  box-shadow:
    0 12px 34px rgba(0,0,0,.45),
    0 0 20px rgba(127, 182, 255, 0.22);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

body[data-theme="blue-galaxy"] ._card_1aiop_8::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(234, 242, 255, 0.06),
    transparent
  );
}

/* Skeleton shimmer blue */
body[data-theme="blue-galaxy"] ._skeleton_1aiop_29 {
  background: linear-gradient(
    90deg,
    rgba(127, 182, 255, 0.08) 0%,
    rgba(120, 170, 255, 0.16) 50%,
    rgba(127, 182, 255, 0.08) 100%
  );
}

/* Chart background grid -> subtle blue */
body[data-theme="blue-galaxy"] ._chart_1aiop_47 {
  background:
    linear-gradient(0deg, rgba(120, 170, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, transparent, rgba(120, 170, 255, 0.02));
  background-size: 100% 36px, 100% 100%;
}

/* Grid lines */
body[data-theme="blue-galaxy"] ._chart_1aiop_47::before,
body[data-theme="blue-galaxy"] ._chart_1aiop_47::after {
  background: rgba(120, 170, 255, 0.09);
}

/* Bar -> cyan/blue gradient (no neon green) */
body[data-theme="blue-galaxy"] ._bar_1aiop_82 {
  background: linear-gradient(180deg, #7FB6FF, #4CA9FF);
  border: 1px solid rgba(120, 170, 255, 0.32);
  box-shadow:
    0 0 14px rgba(127, 182, 255, 0.28),
    inset 0 -2px 10px rgba(76, 169, 255, 0.16);
}

/* Top glow cap */
body[data-theme="blue-galaxy"] ._bar_1aiop_82::before {
  background: rgba(127, 182, 255, 0.90);
  box-shadow: 0 0 10px rgba(127, 182, 255, 0.50);
}

/* Hover stays subtle */
body[data-theme="blue-galaxy"] ._bar_1aiop_82:hover {
  box-shadow:
    0 0 20px rgba(127, 182, 255, 0.38),
    inset 0 -2px 12px rgba(76, 169, 255, 0.20);
  transform: scale(1.04);
  border-color: rgba(127, 182, 255, 0.52);
}

/* Day labels */
body[data-theme="blue-galaxy"] ._day_1aiop_134 {
  color: rgba(234, 242, 255, 0.68);
}/* ═══════════════════════════════════════════════════════════════════
   POWER THEME OVERRIDES (CSS MODULE SAFE)
   - Replace neon green with purple glass + lavender glow
   - Must use :global(...) because this is a CSS Module
   ═══════════════════════════════════════════════════════════════════ */

/* Trend Chart - Power Bars with Neon Green Gradient */

._card_1cwzp_9 {
  background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(10,18,16,.92));
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 14px rgba(34,197,94,.35);
  position: relative;
}

/* Inner highlight */
._card_1cwzp_9::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  border-radius: 16px 16px 0 0;
}

._skeleton_1cwzp_30 {
  height: 160px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(34,197,94,0.08) 0%,
    rgba(34,197,94,0.15) 50%,
    rgba(34,197,94,0.08) 100%
  );
  background-size: 200% 100%;
  animation: _shimmer_1cwzp_1 1.5s infinite;
}

@keyframes _shimmer_1cwzp_1 {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

._list_1cwzp_48 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

._item_1cwzp_54 {
  display: grid;
  grid-template-columns: 140px 1fr 50px;
  gap: 16px;
  align-items: center;
}

._label_1cwzp_61 {
  color: rgba(154,216,173,.85);
  font-size: 14px;
  font-weight: 500;
}

/* Power Bar Track */
._meter_1cwzp_68 {
  height: 12px;
  background: rgba(11,18,16,0.8);
  border: 1px solid rgba(34,197,94,0.20);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

/* Power Bar Fill with Gradient */
._fill_1cwzp_78 {
  height: 100%;
  background: linear-gradient(90deg, #1aff6a 0%, #22c55e 100%);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 10px rgba(34,197,94,0.4);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Endcap Glow (Hot Spot) */
._fill_1cwzp_78::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #00ff88);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 0 12px rgba(0,255,136,0.6);
}

._value_1cwzp_100 {
  text-align: right;
  color: #e9fff1;
  font-weight: 700;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  ._item_1cwzp_54 {
    grid-template-columns: 100px 1fr 45px;
    gap: 12px;
  }

  ._label_1cwzp_61 {
    font-size: 13px;
  }

  ._meter_1cwzp_68 {
    height: 10px;
  }

  ._value_1cwzp_100 {
    font-size: 14px;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES (CSS MODULE SAFE)
   - Replace neon green with purple glass + lavender glow
   - Must use :global(...) because this is a CSS Module
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="purple-bubbles"] ._card_1cwzp_9 {
  background: linear-gradient(
          180deg,
          rgba(28, 14, 46, 0.78),
          rgba(40, 20, 60, 0.62)
  );
  border: 1px solid rgba(182, 109, 255, 0.22);
  box-shadow:
          0 12px 34px rgba(0,0,0,.42),
          0 0 20px rgba(182, 109, 255, 0.22);
  backdrop-filter: blur(14px) saturate(150%);
}

/* Keep subtle top highlight but match purple */
body[data-theme="purple-bubbles"] ._card_1cwzp_9::before {
  background: linear-gradient(
          90deg,
          transparent,
          rgba(246, 238, 255, 0.08),
          transparent
  );
}

/* Skeleton shimmer in purple */
body[data-theme="purple-bubbles"] ._skeleton_1cwzp_30 {
  background: linear-gradient(
          90deg,
          rgba(182, 109, 255, 0.08) 0%,
          rgba(200, 160, 255, 0.16) 50%,
          rgba(182, 109, 255, 0.08) 100%
  );
}

/* Labels should be lavender, not green */
body[data-theme="purple-bubbles"] ._label_1cwzp_61 {
  color: rgba(246, 238, 255, 0.72);
}

/* Meter track: purple glass */
body[data-theme="purple-bubbles"] ._meter_1cwzp_68 {
  background: rgba(11, 6, 20, 0.55);
  border: 1px solid rgba(182, 109, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(182, 109, 255, 0.06);
}

/* Fill: lavender gradient */
body[data-theme="purple-bubbles"] ._fill_1cwzp_78 {
  background: linear-gradient(90deg, #B66DFF 0%, #C89BFF 100%);
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.35);
}

/* Endcap hotspot: soft purple (no neon green) */
body[data-theme="purple-bubbles"] ._fill_1cwzp_78::after {
  background: linear-gradient(90deg, transparent, rgba(200, 160, 255, 0.95));
  box-shadow: 0 0 14px rgba(182, 109, 255, 0.45);
}

/* Value text */
body[data-theme="purple-bubbles"] ._value_1cwzp_100 {
  color: #F6EEFF;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (CSS MODULE SAFE)
   - Replace neon green with cyan/blue glass + glow
   - Must use :global(...) because this is a CSS Module
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="blue-galaxy"] ._card_1cwzp_9 {
  background: linear-gradient(
    180deg,
    rgba(10, 18, 40, 0.78),
    rgba(18, 28, 56, 0.62)
  );
  border: 1px solid rgba(120, 170, 255, 0.20);
  box-shadow:
    0 12px 34px rgba(0,0,0,.45),
    0 0 20px rgba(127, 182, 255, 0.22);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

/* Keep subtle top highlight but match blue */
body[data-theme="blue-galaxy"] ._card_1cwzp_9::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(234, 242, 255, 0.06),
    transparent
  );
}

/* Skeleton shimmer in blue */
body[data-theme="blue-galaxy"] ._skeleton_1cwzp_30 {
  background: linear-gradient(
    90deg,
    rgba(127, 182, 255, 0.08) 0%,
    rgba(120, 170, 255, 0.16) 50%,
    rgba(127, 182, 255, 0.08) 100%
  );
}

/* Labels should be cyan-blue, not green */
body[data-theme="blue-galaxy"] ._label_1cwzp_61 {
  color: rgba(234, 242, 255, 0.68);
}

/* Meter track: blue glass */
body[data-theme="blue-galaxy"] ._meter_1cwzp_68 {
  background: rgba(5, 8, 20, 0.58);
  border: 1px solid rgba(120, 170, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(120, 170, 255, 0.05);
}

/* Fill: cyan/blue gradient */
body[data-theme="blue-galaxy"] ._fill_1cwzp_78 {
  background: linear-gradient(90deg, #4CA9FF 0%, #7FB6FF 100%);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.32);
}

/* Endcap hotspot: soft blue glow (no neon green) */
body[data-theme="blue-galaxy"] ._fill_1cwzp_78::after {
  background: linear-gradient(90deg, transparent, rgba(127, 182, 255, 0.90));
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.42);
}

/* Value text */
body[data-theme="blue-galaxy"] ._value_1cwzp_100 {
  color: #EAF2FF;
}/* RecipePanel - Power Theme Compatible Drawer */

.recipe-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.recipe-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 90%;
  max-width: 600px;
  background: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.recipe-panel-header {
  background: linear-gradient(135deg, #37507e, #46b2e4);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recipe-panel-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.recipe-panel-header .close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: white;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.recipe-panel-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.recipe-panel-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.servings-control {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.servings-control label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 600;
  color: #364F7C;
}

.servings-display {
  font-size: 1.2rem;
  color: #46b2e4;
  font-weight: 700;
}

.servings-input {
  padding: 12px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  width: 120px;
}

.ingredients-list h3 {
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  color: #364F7C;
}

.ingredients-table {
  width: 100%;
  border-collapse: collapse;
}

.ingredients-table th {
  text-align: left;
  padding: 0.75rem;
  background: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  color: #364F7C;
}

.ingredients-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #dee2e6;
}

.quantity-cell {
  font-weight: 600;
  color: #46b2e4;
}

.original-quantity {
  display: block;
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: normal;
  margin-top: 0.25rem;
}

.alternatives {
  display: block;
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

.recipe-panel-actions {
  padding: 1.5rem;
  border-top: 1px solid #dee2e6;
  display: flex;
  gap: 1rem;
}

.recipe-panel-actions .btn {
  flex: 1;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
}

/* Power Theme */
[data-theme="power"] .recipe-panel {
  background: var(--power-surface);
  border-left: 1px solid var(--power-border-soft);
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
}

[data-theme="power"] .servings-control {
  background: rgba(0, 0, 0, 0.25);
  border-color: var(--power-border-soft);
}

[data-theme="power"] .servings-control label,
[data-theme="power"] .ingredients-list h3,
[data-theme="power"] .ingredients-table th {
  color: var(--power-accent);
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .servings-input {
  background: rgba(0, 0, 0, 0.35);
  color: var(--power-text);
  border-color: var(--power-border-soft);
}

[data-theme="power"] .servings-input:focus {
  border-color: var(--power-accent);
  box-shadow: 0 0 0 2px var(--power-glow-soft);
}

[data-theme="power"] .ingredients-table th {
  background: rgba(0, 0, 0, 0.25);
  border-color: var(--power-border-soft);
}

[data-theme="power"] .ingredients-table td {
  color: var(--power-text-dim);
  border-color: var(--power-border-soft);
}

[data-theme="power"] .quantity-cell {
  color: var(--power-accent);
}

[data-theme="power"] .recipe-panel-actions {
  border-color: var(--power-border-soft);
}

/* Extraction Section for Bookmark Recipes */
.extraction-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  gap: 1.5rem;
}

.extraction-info {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 400px;
}

.extraction-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.extraction-loading .loading-spinner {
  font-size: 3rem;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.extraction-loading p {
  color: #6c757d;
  font-size: 1.1rem;
}

.extraction-error {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
}

.recipe-url-info {
  margin-top: 1.5rem;
}

.recipe-url-info a {
  color: #46b2e4;
  text-decoration: none;
}

.recipe-url-info a:hover {
  text-decoration: underline;
}

.no-ingredients-message {
  color: #6c757d;
  text-align: center;
  padding: 2rem;
}

/* Power Theme - Extraction Section */
[data-theme="power"] .extraction-info,
[data-theme="power"] .extraction-loading p {
  color: var(--power-text-dim);
}

[data-theme="power"] .extraction-error {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.3);
}

[data-theme="power"] .recipe-url-info a {
  color: var(--power-accent);
}

/* Purple-Bubbles Theme - Extraction Section */
[data-theme="purple-bubbles"] .extraction-info,
[data-theme="purple-bubbles"] .extraction-loading p {
  color: #D1D5DB;
}

[data-theme="purple-bubbles"] .extraction-error {
  color: #F87171;
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.3);
}

[data-theme="purple-bubbles"] .recipe-url-info a {
  color: #A78BFA;
}

/* Blue-Galaxy Theme - Extraction Section */
body[data-theme="blue-galaxy"] .extraction-info,
body[data-theme="blue-galaxy"] .extraction-loading p {
  color: rgba(234, 242, 255, 0.75);
}

body[data-theme="blue-galaxy"] .extraction-error {
  color: #F87171;
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.25);
}

body[data-theme="blue-galaxy"] .recipe-url-info a {
  color: var(--bgx-accent0);
}

/* Mobile */
@media (max-width: 768px) {
  .recipe-panel {
    width: 100%;
    max-width: 100%;
  }

  .recipe-panel-actions {
    flex-direction: column;
  }

  .extraction-section {
    padding: 1.5rem;
  }

  .btn-extract {
    width: 100%;
    min-width: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .recipe-panel {
  background: #1d0e33;
  border-left: 1px solid rgba(196, 181, 253, 0.20);
  backdrop-filter: saturate(140%) blur(16px);
}

[data-theme="purple-bubbles"] .recipe-panel-header {
  background: #1d0e33;
}

[data-theme="purple-bubbles"] .servings-control {
  background: rgba(49, 46, 129, 0.50);
  border-color: rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .servings-control label,
[data-theme="purple-bubbles"] .ingredients-list h3,
[data-theme="purple-bubbles"] .ingredients-table th {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .servings-display {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .servings-input {
  background: rgba(49, 46, 129, 0.50);
  color: #F3F4F6;
  border-color: rgba(196, 181, 253, 0.30);
}

[data-theme="purple-bubbles"] .servings-input:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .ingredients-table th {
  background: rgba(49, 46, 129, 0.50);
  border-color: rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .ingredients-table td {
  color: #D1D5DB;
  border-color: rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .quantity-cell {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .original-quantity,
[data-theme="purple-bubbles"] .alternatives {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .recipe-panel-actions {
  border-color: rgba(167, 139, 250, 0.20);
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES - Space Glass Design
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="blue-galaxy"] .recipe-panel {
  background: linear-gradient(180deg, var(--bgx-surface-strong), rgba(18,28,56,0.88));
  border-left: 1px solid var(--bgx-border);
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate));
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate));
}

body[data-theme="blue-galaxy"] .recipe-panel-header {
  background: linear-gradient(135deg, rgba(76, 142, 228, 0.72), rgba(127, 182, 255, 0.72));
}

body[data-theme="blue-galaxy"] .servings-control {
  background: var(--bgx-surface-soft);
  border-color: var(--bgx-border-soft);
}

body[data-theme="blue-galaxy"] .servings-control label,
body[data-theme="blue-galaxy"] .ingredients-list h3,
body[data-theme="blue-galaxy"] .ingredients-table th {
  color: var(--bgx-text);
  text-shadow: 0 0 18px var(--bgx-glow);
}

body[data-theme="blue-galaxy"] .servings-display {
  color: var(--bgx-accent0);
}

body[data-theme="blue-galaxy"] .servings-input {
  background: rgba(18, 28, 56, 0.55);
  color: var(--bgx-text);
  border-color: var(--bgx-border);
  border-radius: var(--bgx-radius-control);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-theme="blue-galaxy"] .servings-input::placeholder {
  color: var(--bgx-placeholder);
}

body[data-theme="blue-galaxy"] .servings-input:focus {
  border-color: var(--bgx-border-strong);
  box-shadow: 0 0 0 3px rgba(127, 182, 255, 0.18), 0 0 18px var(--bgx-glow);
  outline: none;
}

body[data-theme="blue-galaxy"] .ingredients-table th {
  background: var(--bgx-surface-soft);
  border-color: var(--bgx-border-soft);
}

body[data-theme="blue-galaxy"] .ingredients-table td {
  color: rgba(234, 242, 255, 0.85);
  border-color: var(--bgx-border-soft);
}

body[data-theme="blue-galaxy"] .quantity-cell {
  color: var(--bgx-accent0);
}

body[data-theme="blue-galaxy"] .original-quantity,
body[data-theme="blue-galaxy"] .alternatives {
  color: rgba(234, 242, 255, 0.65);
}

body[data-theme="blue-galaxy"] .recipe-panel-actions {
  border-color: var(--bgx-border-soft);
}
/* RecipeForm.css - Styles for Recipe Create/Edit Form */
/* Supports all 4 themes: goodvibes (default), power, purple-bubbles, blue-galaxy */

/* ================================================
   BASE STYLES (Default / GoodVibes Theme)
   ================================================ */

.recipe-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}

.recipe-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recipe-form .form-group label {
  color: #364F7C;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ================================================
   FORM OVERFLOW MENU (3-Punkte-Menü)
   ================================================ */

.recipe-form .form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.recipe-form .form-label-row label {
  margin-bottom: 0;
}

.recipe-form .form-overflow-container {
  position: relative;
}

.recipe-form .form-overflow-btn {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #666;
  font-size: 1.1rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-form .form-overflow-btn:hover,
.recipe-form .form-overflow-btn:focus {
  background: rgba(0, 0, 0, 0.08);
  color: #333;
}

.recipe-form .form-overflow-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 9999;
  min-width: 180px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: recipeMenuFadeIn 0.15s ease-out;
  margin-top: 4px;
}

@keyframes recipeMenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.recipe-form .form-overflow-menu .overflow-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
  min-height: 48px;
}

.recipe-form .form-overflow-menu .overflow-menu-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.recipe-form .form-overflow-menu .overflow-menu-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.recipe-form .form-overflow-menu .overflow-menu-item svg {
  font-size: 1rem;
  color: #666;
}

.recipe-form .form-overflow-menu .overflow-menu-item-danger {
  color: #dc3545;
}

.recipe-form .form-overflow-menu .overflow-menu-item-danger:hover {
  background: rgba(220, 53, 69, 0.08);
}

.recipe-form .form-overflow-menu .overflow-menu-item-danger svg {
  color: #dc3545;
}

.recipe-form .form-group input,
.recipe-form .form-group textarea,
.recipe-form .form-group select {
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
}

.recipe-form .form-group input:focus,
.recipe-form .form-group textarea:focus,
.recipe-form .form-group select:focus {
  outline: none;
  border-color: #495057;
  box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.1);
}

.recipe-form .form-group input.error,
.recipe-form .form-group textarea.error {
  border-color: #dc3545;
}

.recipe-form .field-error {
  color: #dc3545;
  font-size: 0.85rem;
}

/* Form Row Layout (side by side) */
.recipe-form .form-row {
  display: flex;
  gap: 16px;
}

.recipe-form .form-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Ingredients Section */
.recipe-form .ingredients-section {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

.recipe-form .ingredients-section > label {
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: block;
}

.recipe-form .ingredients-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  max-height: 300px;
  overflow-y: auto;
}

.recipe-form .ingredient-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
}

.recipe-form .ingredient-row:hover {
  border-color: #adb5bd;
}

.recipe-form .ingredient-quantity {
  width: 70px;
  text-align: center;
  padding: 8px;
}

.recipe-form .ingredient-unit {
  width: 100px;
  padding: 8px;
}

.recipe-form .ingredient-name {
  flex: 2;
  min-width: 120px;
  padding: 8px 12px;
}

.recipe-form .ingredient-note {
  flex: 1;
  min-width: 80px;
  padding: 8px 12px;
}

.recipe-form .btn-remove-ingredient {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.recipe-form .btn-remove-ingredient:hover {
  background: #c82333;
  transform: scale(1.05);
}

.recipe-form .add-ingredient-btn {
  width: 100%;
  padding: 12px;
  background: #e9ecef;
  border: 2px dashed #adb5bd;
  border-radius: 8px;
  color: #495057;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.recipe-form .add-ingredient-btn:hover {
  background: #dee2e6;
  border-color: #6c757d;
}

/* Form Actions */
.recipe-form .form-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #dee2e6;
}

.recipe-form .form-actions .btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.recipe-form .form-actions .btn-primary {
  background: #46b2e4;
  color: white;
  border: none;
}

.recipe-form .form-actions .btn-primary:hover {
  background: #3a9bd1;
}

.recipe-form .form-actions .btn-primary:disabled {
  background: #adb5bd;
  cursor: not-allowed;
}

.recipe-form .form-actions .btn-danger {
  background: var(--danger-color, #dc3545);
  color: white;
  border: none;
}

.recipe-form .form-actions .btn-danger:hover {
  background: var(--danger-hover-color, #c82333);
}

/* Purple Bubbles Theme Override */
[data-theme="purple-bubbles"] .recipe-form .form-actions .btn-danger {
  background: #9054cc !important;
  border-color: #9054cc !important;
  color: #ffffff !important;
}

[data-theme="purple-bubbles"] .recipe-form .form-actions .btn-danger:hover {
  background: #7a3fb8 !important;
  border-color: #7a3fb8 !important;
}

/* ================================================
   POWER THEME OVERRIDES
   ================================================ */

/* Power Theme - Overflow Menu */
[data-theme="power"] .recipe-form .form-overflow-btn {
  color: rgba(72, 232, 119, 0.75);
}

[data-theme="power"] .recipe-form .form-overflow-btn:hover,
[data-theme="power"] .recipe-form .form-overflow-btn:focus {
  background: rgba(72, 232, 119, 0.15);
  color: var(--power-accent, #48E877);
}

[data-theme="power"] .recipe-form .form-overflow-menu {
  background: rgba(8, 12, 10, 0.95);
  border: 1px solid var(--power-border-soft, rgba(72, 232, 119, 0.25));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

[data-theme="power"] .recipe-form .form-overflow-menu .overflow-menu-item {
  color: var(--power-text, #CFFFD9);
}

[data-theme="power"] .recipe-form .form-overflow-menu .overflow-menu-item:hover {
  background: rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .recipe-form .form-overflow-menu .overflow-menu-item svg {
  color: rgba(72, 232, 119, 0.85);
}

[data-theme="power"] .recipe-form .form-overflow-menu .overflow-menu-item-danger {
  color: #F87171;
}

[data-theme="power"] .recipe-form .form-overflow-menu .overflow-menu-item-danger:hover {
  background: rgba(248, 113, 113, 0.15);
}

[data-theme="power"] .recipe-form .form-overflow-menu .overflow-menu-item-danger svg {
  color: #F87171;
}

[data-theme="power"] .recipe-form .form-group label {
  color: var(--power-accent, #48E877);
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .recipe-form .form-group input,
[data-theme="power"] .recipe-form .form-group textarea,
[data-theme="power"] .recipe-form .form-group select {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--power-border-soft, rgba(72, 232, 119, 0.15));
  color: var(--power-text, #CFFFD9);
}

[data-theme="power"] .recipe-form .form-group input::placeholder,
[data-theme="power"] .recipe-form .form-group textarea::placeholder {
  color: rgba(207, 255, 217, 0.5);
}

[data-theme="power"] .recipe-form .form-group input:focus,
[data-theme="power"] .recipe-form .form-group textarea:focus,
[data-theme="power"] .recipe-form .form-group select:focus {
  border-color: var(--power-accent, #48E877);
  box-shadow: 0 0 0 2px var(--power-glow-soft, rgba(72, 232, 119, 0.15)),
              0 0 15px var(--power-glow, rgba(72, 232, 119, 0.25));
}

[data-theme="power"] .recipe-form .ingredients-section {
  background: rgba(0, 0, 0, 0.25);
  border-color: var(--power-border-soft, rgba(72, 232, 119, 0.15));
}

[data-theme="power"] .recipe-form .ingredient-row {
  background: var(--power-surface, rgba(0, 0, 0, 0.4));
  border-color: var(--power-border-soft, rgba(72, 232, 119, 0.15));
}

[data-theme="power"] .recipe-form .ingredient-row:hover {
  border-color: var(--power-accent, #48E877);
  box-shadow: 0 0 10px rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .recipe-form .ingredient-quantity,
[data-theme="power"] .recipe-form .ingredient-unit,
[data-theme="power"] .recipe-form .ingredient-name,
[data-theme="power"] .recipe-form .ingredient-note {
  background: rgba(0, 0, 0, 0.35);
  color: var(--power-text, #CFFFD9);
  border: 1px solid var(--power-border-soft, rgba(72, 232, 119, 0.15));
}

[data-theme="power"] .recipe-form .add-ingredient-btn {
  background: rgba(0, 0, 0, 0.25);
  border: 2px dashed var(--power-border-soft, rgba(72, 232, 119, 0.25));
  color: var(--power-accent, #48E877);
}

[data-theme="power"] .recipe-form .add-ingredient-btn:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: var(--power-accent, #48E877);
  box-shadow: 0 0 15px rgba(72, 232, 119, 0.2);
}

[data-theme="power"] .recipe-form .form-actions {
  border-top-color: var(--power-border-soft, rgba(72, 232, 119, 0.15));
}

[data-theme="power"] .recipe-form .form-actions .btn-primary {
  background: rgba(8, 12, 10, 0.55);
  border: 1px solid var(--power-accent, #48E877);
  color: var(--power-accent, #48E877);
  box-shadow: 0 0 0 1px rgba(72, 232, 119, 0.18), 0 8px 24px rgba(0, 0, 0, 0.25);
}

[data-theme="power"] .recipe-form .form-actions .btn-primary:hover {
  background: rgba(8, 12, 10, 0.72);
  color: #CFFFD9;
  box-shadow: 0 0 0 3px var(--power-glow-soft, rgba(72, 232, 119, 0.15)),
              0 0 18px var(--power-glow, rgba(72, 232, 119, 0.4));
}

/* ================================================
   PURPLE-BUBBLES THEME OVERRIDES
   ================================================ */

/* Purple-Bubbles Theme - Overflow Menu */
[data-theme="purple-bubbles"] .recipe-form .form-overflow-btn {
  color: rgba(196, 181, 253, 0.75);
}

[data-theme="purple-bubbles"] .recipe-form .form-overflow-btn:hover,
[data-theme="purple-bubbles"] .recipe-form .form-overflow-btn:focus {
  background: rgba(139, 92, 246, 0.20);
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .recipe-form .form-overflow-menu {
  background: rgba(40, 25, 70, 0.95);
  border: 1px solid rgba(196, 181, 253, 0.25);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

[data-theme="purple-bubbles"] .recipe-form .form-overflow-menu .overflow-menu-item {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .recipe-form .form-overflow-menu .overflow-menu-item:hover {
  background: rgba(139, 92, 246, 0.20);
}

[data-theme="purple-bubbles"] .recipe-form .form-overflow-menu .overflow-menu-item svg {
  color: rgba(196, 181, 253, 0.85);
}

[data-theme="purple-bubbles"] .recipe-form .form-overflow-menu .overflow-menu-item-danger {
  color: #F87171;
}

[data-theme="purple-bubbles"] .recipe-form .form-overflow-menu .overflow-menu-item-danger:hover {
  background: rgba(248, 113, 113, 0.15);
}

[data-theme="purple-bubbles"] .recipe-form .form-overflow-menu .overflow-menu-item-danger svg {
  color: #F87171;
}

[data-theme="purple-bubbles"] .recipe-form .form-group label {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .recipe-form .form-group input,
[data-theme="purple-bubbles"] .recipe-form .form-group textarea,
[data-theme="purple-bubbles"] .recipe-form .form-group select {
  background: rgba(49, 46, 129, 0.50);
  border: 2px solid rgba(196, 181, 253, 0.30);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .recipe-form .form-group input::placeholder,
[data-theme="purple-bubbles"] .recipe-form .form-group textarea::placeholder {
  color: rgba(243, 244, 246, 0.5);
}

[data-theme="purple-bubbles"] .recipe-form .form-group input:focus,
[data-theme="purple-bubbles"] .recipe-form .form-group textarea:focus,
[data-theme="purple-bubbles"] .recipe-form .form-group select:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .recipe-form .ingredients-section {
  background: rgba(49, 46, 129, 0.50);
  border-color: rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .recipe-form .ingredient-row {
  background: rgba(30, 27, 75, 0.60);
  border-color: rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .recipe-form .ingredient-row:hover {
  border-color: #A78BFA;
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .recipe-form .ingredient-quantity,
[data-theme="purple-bubbles"] .recipe-form .ingredient-unit,
[data-theme="purple-bubbles"] .recipe-form .ingredient-name,
[data-theme="purple-bubbles"] .recipe-form .ingredient-note {
  background: rgba(49, 46, 129, 0.50);
  color: #F3F4F6;
  border: 1px solid rgba(196, 181, 253, 0.30);
}

[data-theme="purple-bubbles"] .recipe-form .add-ingredient-btn {
  background: rgba(49, 46, 129, 0.35);
  border: 2px dashed rgba(196, 181, 253, 0.35);
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .recipe-form .add-ingredient-btn:hover {
  background: rgba(49, 46, 129, 0.55);
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .recipe-form .form-actions {
  border-top-color: rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .recipe-form .form-actions .btn-primary {
  background: rgba(182, 109, 255, 0.75);
  border: 2px solid rgba(182, 109, 255, 0.35);
  color: #0B0614;
  box-shadow: 0 0 18px rgba(182, 109, 255, 0.35);
}

[data-theme="purple-bubbles"] .recipe-form .form-actions .btn-primary:hover {
  background: rgba(200, 160, 255, 0.9);
  box-shadow: 0 0 24px rgba(182, 109, 255, 0.55);
}

[data-theme="purple-bubbles"] .recipe-form .btn-remove-ingredient {
  background: rgba(220, 53, 69, 0.8);
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

/* ================================================
   BLUE-GALAXY THEME OVERRIDES
   ================================================ */

/* Blue-Galaxy Theme - Overflow Menu */
body[data-theme="blue-galaxy"] .recipe-form .form-overflow-btn {
  color: rgba(127, 182, 255, 0.75);
}

body[data-theme="blue-galaxy"] .recipe-form .form-overflow-btn:hover,
body[data-theme="blue-galaxy"] .recipe-form .form-overflow-btn:focus {
  background: rgba(127, 182, 255, 0.15);
  color: var(--bgx-accent0, #7FB6FF);
}

body[data-theme="blue-galaxy"] .recipe-form .form-overflow-menu {
  background: rgba(10, 18, 40, 0.95);
  border: 1px solid var(--bgx-border, rgba(120, 170, 255, 0.25));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

body[data-theme="blue-galaxy"] .recipe-form .form-overflow-menu .overflow-menu-item {
  color: var(--bgx-text, #EAF2FF);
}

body[data-theme="blue-galaxy"] .recipe-form .form-overflow-menu .overflow-menu-item:hover {
  background: rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] .recipe-form .form-overflow-menu .overflow-menu-item svg {
  color: rgba(127, 182, 255, 0.85);
}

body[data-theme="blue-galaxy"] .recipe-form .form-overflow-menu .overflow-menu-item-danger {
  color: #F87171;
}

body[data-theme="blue-galaxy"] .recipe-form .form-overflow-menu .overflow-menu-item-danger:hover {
  background: rgba(248, 113, 113, 0.15);
}

body[data-theme="blue-galaxy"] .recipe-form .form-overflow-menu .overflow-menu-item-danger svg {
  color: #F87171;
}

body[data-theme="blue-galaxy"] .recipe-form .form-group label {
  color: var(--bgx-accent0, #7FB6FF);
  font-weight: 600;
}

body[data-theme="blue-galaxy"] .recipe-form .form-group input,
body[data-theme="blue-galaxy"] .recipe-form .form-group textarea,
body[data-theme="blue-galaxy"] .recipe-form .form-group select {
  background: rgba(18, 28, 56, 0.55);
  border: 2px solid var(--bgx-border, rgba(120, 170, 255, 0.22));
  color: var(--bgx-text, #EAF2FF);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] .recipe-form .form-group input::placeholder,
body[data-theme="blue-galaxy"] .recipe-form .form-group textarea::placeholder {
  color: rgba(234, 242, 255, 0.5);
}

body[data-theme="blue-galaxy"] .recipe-form .form-group input:focus,
body[data-theme="blue-galaxy"] .recipe-form .form-group textarea:focus,
body[data-theme="blue-galaxy"] .recipe-form .form-group select:focus {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(127, 182, 255, 0.16),
              0 0 18px var(--bgx-glow, rgba(127, 182, 255, 0.28));
}

body[data-theme="blue-galaxy"] .recipe-form .ingredients-section {
  background: var(--bgx-surface-soft, rgba(10, 18, 40, 0.45));
  border-color: var(--bgx-border-soft, rgba(120, 170, 255, 0.12));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-theme="blue-galaxy"] .recipe-form .ingredient-row {
  background: rgba(18, 28, 56, 0.55);
  border-color: var(--bgx-border, rgba(120, 170, 255, 0.22));
}

body[data-theme="blue-galaxy"] .recipe-form .ingredient-row:hover {
  border-color: rgba(127, 182, 255, 0.4);
  box-shadow: 0 0 15px rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] .recipe-form .ingredient-quantity,
body[data-theme="blue-galaxy"] .recipe-form .ingredient-unit,
body[data-theme="blue-galaxy"] .recipe-form .ingredient-name,
body[data-theme="blue-galaxy"] .recipe-form .ingredient-note {
  background: rgba(18, 28, 56, 0.55);
  color: var(--bgx-text, #EAF2FF);
  border: 1px solid var(--bgx-border, rgba(120, 170, 255, 0.22));
  border-radius: var(--bgx-radius-control, 8px);
}

body[data-theme="blue-galaxy"] .recipe-form .add-ingredient-btn {
  background: rgba(18, 28, 56, 0.35);
  border: 2px dashed var(--bgx-border, rgba(120, 170, 255, 0.30));
  color: var(--bgx-accent0, #7FB6FF);
}

body[data-theme="blue-galaxy"] .recipe-form .add-ingredient-btn:hover {
  background: rgba(18, 28, 56, 0.55);
  border-color: rgba(127, 182, 255, 0.5);
  box-shadow: 0 0 18px rgba(127, 182, 255, 0.2);
}

body[data-theme="blue-galaxy"] .recipe-form .form-actions {
  border-top-color: var(--bgx-border-soft, rgba(120, 170, 255, 0.12));
}

body[data-theme="blue-galaxy"] .recipe-form .form-actions .btn-primary {
  background: rgba(127, 182, 255, 0.70);
  border: 2px solid var(--bgx-border, rgba(120, 170, 255, 0.22));
  color: #050814;
  box-shadow: 0 0 18px rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .recipe-form .form-actions .btn-primary:hover {
  background: rgba(127, 182, 255, 0.85);
  box-shadow: 0 0 24px rgba(127, 182, 255, 0.38);
}

body[data-theme="blue-galaxy"] .recipe-form .btn-remove-ingredient {
  background: rgba(220, 53, 69, 0.75);
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.25);
}

/* ================================================
   MOBILE RESPONSIVE
   ================================================ */

@media (max-width: 768px) {
  .recipe-form .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .recipe-form .ingredient-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .recipe-form .ingredient-quantity {
    width: calc(35% - 4px);
  }

  .recipe-form .ingredient-unit {
    width: calc(65% - 4px - 40px);
  }

  .recipe-form .ingredient-name {
    width: 100%;
    order: 3;
  }

  .recipe-form .ingredient-note {
    width: calc(100% - 40px);
    order: 4;
  }

  .recipe-form .btn-remove-ingredient {
    order: 5;
  }

  .recipe-form .form-actions {
    flex-direction: column;
  }

  .recipe-form .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .recipe-form .ingredient-row {
    padding: 10px;
  }

  .recipe-form .ingredient-quantity,
  .recipe-form .ingredient-unit {
    width: 48%;
  }

  .recipe-form .ingredients-list {
    max-height: 250px;
  }
}
/* RecipesList - Power Theme Compatible */

.recipes-list-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.recipes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recipes-header h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color, #333);
}

.recipes-cart-badge {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  background: rgba(72, 232, 119, 0.15);
  border: 1px solid rgba(72, 232, 119, 0.3);
  border-radius: 20px;
  font-weight: 600;
}

.recipes-search {
  padding: 1rem 1.5rem;
}

.btn-new-recipe-container {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0.5rem;
}

.recipes-search-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
}

.recipes-search-input:focus {
  outline: none;
  border-color: #495057;
  box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.1);
}

.recipes-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.recipes-empty p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.recipes-empty small {
  opacity: 0.7;
}

.recipes-grid {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  align-content: start;
}

.recipe-card {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recipe-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.recipe-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.recipe-card-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  flex: 1;
}

.recipe-category {
  padding: 0.25rem 0.75rem;
  background: rgba(72, 232, 119, 0.15);
  border: 1px solid rgba(72, 232, 119, 0.3);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.recipe-description {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
}

.recipe-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.recipe-actions .btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
}

.recipe-actions .btn-primary {
  background: #46b2e4;
  color: white;
  border: 2px solid #46b2e4;
}

.recipe-actions .btn-primary:hover {
  background: #3a9bd1;
  border-color: #3a9bd1;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(70, 178, 228, 0.3);
}

.recipe-actions .btn-secondary {
  background: white;
  color: #495057;
  border: 2px solid #dee2e6;
}

.recipe-actions .btn-secondary:hover {
  background: #f8f9fa;
  border-color: #495057;
  transform: translateY(-1px);
}

/* Power Theme Overrides */
[data-theme="power"] .recipes-header,
[data-theme="power"] .recipes-search,
[data-theme="power"] .recipes-empty {
  border-color: var(--power-border-soft);
}

[data-theme="power"] .recipes-header h1,
[data-theme="power"] .recipes-empty p {
  color: var(--power-accent);
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .recipes-cart-badge {
  background: rgba(72, 232, 119, 0.15);
  border-color: var(--power-accent);
  color: var(--power-accent);
  box-shadow: 0 0 0 2px rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .recipes-search-input {
  background: rgba(0, 0, 0, 0.35);
  color: var(--power-text);
  border-color: var(--power-border-soft);
}

[data-theme="power"] .recipes-search-input::placeholder {
  color: rgba(207, 255, 217, 0.55);
}

[data-theme="power"] .recipes-search-input:focus {
  border-color: var(--power-accent);
  box-shadow: 0 0 0 2px var(--power-glow-soft);
}

[data-theme="power"] .recipe-card {
  background: var(--power-surface);
  border-color: var(--power-border-soft);
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.35);
}

[data-theme="power"] .recipe-card:hover {
  box-shadow: 0 0 0 2px var(--power-glow-soft), 0 0 30px rgba(0, 0, 0, 0.45);
}

[data-theme="power"] .recipe-card-header h3 {
  color: var(--power-accent);
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .recipe-category {
  background: rgba(72, 232, 119, 0.15);
  border-color: var(--power-accent);
  color: var(--power-accent);
}

[data-theme="power"] .recipe-description {
  color: var(--power-text-dim);
}

[data-theme="power"] .btn-primary {
  background: rgba(8, 12, 10, 0.55) !important;
  border-color: var(--power-accent) !important;
  color: var(--power-accent) !important;
  box-shadow: 0 0 0 1px rgba(72, 232, 119, 0.18), 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="power"] .btn-primary:hover {
  background: rgba(8, 12, 10, 0.72) !important;
  color: #CFFFD9 !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 18px var(--power-glow) !important;
}

[data-theme="power"] .btn-secondary {
  background: rgba(8, 12, 10, 0.25);
  border-color: var(--power-accent) !important;
  color: var(--power-accent) !important;
}

[data-theme="power"] .btn-secondary:hover {
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 14px var(--power-glow) !important;
}

/* Section Title */
.recipes-section {
  margin-bottom: 2rem;
}

.recipes-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  padding: 0 0.5rem;
  color: #495057;
}

/* Recipe Meta Info */
.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.recipe-meta span {
  padding: 0.25rem 0.5rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  color: #666;
}

/* Card Actions (Edit/Delete) */
.recipe-card-actions {
  display: flex;
  gap: 0.25rem;
}

.btn-icon {
  background: transparent;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.7;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.btn-icon:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

.btn-icon.btn-delete:hover {
  background: rgba(220, 53, 69, 0.1);
}

/* New Recipe Button */
.btn-new-recipe {
  padding: 0.5rem 1rem !important;
  font-size: 0.9rem !important;
  min-height: auto !important;
  white-space: nowrap;
}

/* Loading State */
.recipes-loading {
  display: flex;
  justify-content: center;
  padding: 2rem;
  color: #666;
}

/* Recipe Form Overlay - Full screen modal with flex layout */
.recipe-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* Panel container - flex column layout */
.recipe-form-overlay .dynamic-panel.recipe-form-panel,
.recipe-form-overlay > .dynamic-panel {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  height: 100vh; /* Fallback */
  max-height: 100dvh;
  max-height: 100vh; /* Fallback */
  border-radius: 0;
  margin: 0;
  overflow: hidden;
}

/* Header - fixed at top, no scroll */
.recipe-form-overlay .panel-header {
  flex: 0 0 auto !important;
}

/* Content - fills remaining height, scrolls internally */
.recipe-form-overlay .panel-content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
}

/* Form inside content */
.recipe-form-overlay .recipe-form {
  min-height: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .recipes-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .recipes-header {
    padding: 1rem;
  }

  .recipe-card {
    padding: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .recipes-header,
[data-theme="purple-bubbles"] .recipes-search,
[data-theme="purple-bubbles"] .recipes-empty {
  border-color: rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .recipes-header h1,
[data-theme="purple-bubbles"] .recipes-empty p {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .recipes-cart-badge {
  background: rgba(139, 92, 246, 0.18);
  border-color: #A78BFA;
  color: #A78BFA;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .recipes-search-input {
  background: rgba(49, 46, 129, 0.50);
  color: #F3F4F6;
  border-color: rgba(196, 181, 253, 0.30);
}

[data-theme="purple-bubbles"] .recipes-search-input::placeholder {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .recipes-search-input:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .recipe-card {
  background: #1d0e33;
  border-color: rgba(196, 181, 253, 0.20);
  backdrop-filter: saturate(140%) blur(16px);
  box-shadow: 0 8px 32px rgba(30, 27, 75, 0.35), 0 0 20px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .recipe-card:hover {
  box-shadow: 0 8px 32px rgba(30, 27, 75, 0.45), 0 0 24px rgba(167, 139, 250, 0.35);
}

[data-theme="purple-bubbles"] .recipe-card-header h3 {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .recipe-category {
  background: rgba(139, 92, 246, 0.18);
  border-color: #A78BFA;
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .recipe-description {
  color: #D1D5DB;
}

[data-theme="purple-bubbles"] .btn-primary {
  background: rgba(182, 109, 255, 0.75) !important;
  border: 2px solid rgba(182, 109, 255, 0.35) !important;
  border-radius: 14px !important;
  color: #0B0614 !important;
  box-shadow: 0 0 18px rgba(182, 109, 255, 0.35) !important;
}

[data-theme="purple-bubbles"] .btn-primary:hover {
  background: rgba(200, 160, 255, 0.9) !important;
  border-color: rgba(200, 160, 255, 0.45) !important;
  color: #0B0614 !important;
  box-shadow: 0 0 24px rgba(182, 109, 255, 0.55) !important;
}

[data-theme="purple-bubbles"] .btn-secondary {
  background: rgba(40, 20, 60, 0.45) !important;
  border: 1px solid rgba(182, 109, 255, 0.35) !important;
  border-radius: 14px !important;
  color: #F6EEFF !important;
}

[data-theme="purple-bubbles"] .btn-secondary:hover {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.45) !important;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES - Space Glass Design
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="blue-galaxy"] .recipes-header,
body[data-theme="blue-galaxy"] .recipes-search,
body[data-theme="blue-galaxy"] .recipes-empty {
  border-color: var(--bgx-border-soft);
}

body[data-theme="blue-galaxy"] .recipes-header h1,
body[data-theme="blue-galaxy"] .recipes-empty p {
  color: var(--bgx-text);
  text-shadow: 0 0 18px var(--bgx-glow);
}

body[data-theme="blue-galaxy"] .recipes-cart-badge {
  background: rgba(127, 182, 255, 0.16);
  border-color: var(--bgx-border);
  color: var(--bgx-accent0);
  border-radius: var(--bgx-radius-control);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.18);
}

body[data-theme="blue-galaxy"] .recipes-search-input {
  background: rgba(18, 28, 56, 0.55);
  color: var(--bgx-text);
  border-color: var(--bgx-border);
  border-radius: var(--bgx-radius-control);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-theme="blue-galaxy"] .recipes-search-input::placeholder {
  color: var(--bgx-placeholder);
}

body[data-theme="blue-galaxy"] .recipes-search-input:focus {
  border-color: var(--bgx-border-strong);
  box-shadow: 0 0 0 3px rgba(127, 182, 255, 0.18), 0 0 18px var(--bgx-glow);
  background: rgba(18, 28, 56, 0.65);
  outline: none;
}

body[data-theme="blue-galaxy"] .recipe-card {
  background: linear-gradient(180deg, var(--bgx-surface-strong), var(--bgx-surface));
  border-color: var(--bgx-border);
  border-radius: var(--bgx-radius-card);
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate));
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 20px rgba(127, 182, 255, 0.18);
}

body[data-theme="blue-galaxy"] .recipe-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65), 0 0 24px var(--bgx-glow);
  transform: translateY(-2px);
}

body[data-theme="blue-galaxy"] .recipe-card-header h3 {
  color: var(--bgx-text);
  text-shadow: 0 0 18px var(--bgx-glow);
}

body[data-theme="blue-galaxy"] .recipe-category {
  background: rgba(127, 182, 255, 0.16);
  border-color: var(--bgx-border);
  color: var(--bgx-accent0);
  border-radius: var(--bgx-radius-control);
}

body[data-theme="blue-galaxy"] .recipe-description {
  color: rgba(234, 242, 255, 0.85);
}

/* Buttons - CYAN BLUE GLOW, NO GREEN */
body[data-theme="blue-galaxy"] .btn-primary {
  background: rgba(127, 182, 255, 0.70) !important;
  border: 2px solid var(--bgx-border) !important;
  border-radius: var(--bgx-radius-control) !important;
  color: #050814 !important;
  box-shadow: 0 0 18px rgba(127, 182, 255, 0.25) !important;
}

body[data-theme="blue-galaxy"] .btn-primary:hover {
  background: rgba(127, 182, 255, 0.85) !important;
  border-color: var(--bgx-border-strong) !important;
  color: #050814 !important;
  box-shadow: 0 0 24px rgba(127, 182, 255, 0.38) !important;
  transform: translateY(-1px);
}

body[data-theme="blue-galaxy"] .btn-secondary {
  background: rgba(18, 28, 56, 0.40) !important;
  border: 1px solid var(--bgx-border) !important;
  border-radius: var(--bgx-radius-control) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .btn-secondary:hover {
  background: rgba(127, 182, 255, 0.14) !important;
  border-color: rgba(127, 182, 255, 0.38) !important;
  box-shadow: 0 0 16px rgba(127, 182, 255, 0.22) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   THEME OVERRIDES FOR NEW ELEMENTS (Section Title, Meta, Overlay)
   ═══════════════════════════════════════════════════════════════════ */

/* Power Theme - Section & Meta */
[data-theme="power"] .recipes-section-title {
  color: var(--power-accent);
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .recipe-meta span {
  background: rgba(72, 232, 119, 0.12);
  color: var(--power-text);
  border: 1px solid var(--power-border-soft);
}

[data-theme="power"] .btn-icon {
  color: var(--power-text);
}

[data-theme="power"] .btn-icon:hover {
  background: rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .recipe-form-overlay {
  background: rgba(0, 0, 0, 0.75);
}

[data-theme="power"] .recipes-loading {
  color: var(--power-text-dim);
}

/* Purple-Bubbles Theme - Section & Meta */
[data-theme="purple-bubbles"] .recipes-section-title {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .recipe-meta span {
  background: rgba(139, 92, 246, 0.15);
  color: #D1D5DB;
  border: 1px solid rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .btn-icon {
  color: #D1D5DB;
}

[data-theme="purple-bubbles"] .btn-icon:hover {
  background: rgba(139, 92, 246, 0.20);
}

[data-theme="purple-bubbles"] .recipe-form-overlay {
  background: rgba(11, 6, 20, 0.80);
}

[data-theme="purple-bubbles"] .recipes-loading {
  color: #D1D5DB;
}

/* Blue-Galaxy Theme - Section & Meta */
body[data-theme="blue-galaxy"] .recipes-section-title {
  color: var(--bgx-text);
  text-shadow: 0 0 18px var(--bgx-glow);
}

body[data-theme="blue-galaxy"] .recipe-meta span {
  background: rgba(127, 182, 255, 0.12);
  color: rgba(234, 242, 255, 0.85);
  border: 1px solid var(--bgx-border-soft);
}

body[data-theme="blue-galaxy"] .btn-icon {
  color: var(--bgx-text);
}

body[data-theme="blue-galaxy"] .btn-icon:hover {
  background: rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] .recipe-form-overlay {
  background: rgba(5, 8, 20, 0.80);
}

body[data-theme="blue-galaxy"] .recipes-loading {
  color: rgba(234, 242, 255, 0.85);
}

/* Recipe Extraction Error */
.recipe-extraction-error {
  color: #dc3545;
  font-size: 0.85rem;
  padding: 0.5rem;
  margin: 0.5rem 0;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 4px;
  text-align: center;
}

/* Disabled button during extraction */
.recipe-actions .btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Power Theme */
[data-theme="power"] .recipe-extraction-error {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.15);
}

/* Purple-Bubbles Theme */
[data-theme="purple-bubbles"] .recipe-extraction-error {
  color: #F87171;
  background: rgba(248, 113, 113, 0.15);
}

/* Blue-Galaxy Theme */
body[data-theme="blue-galaxy"] .recipe-extraction-error {
  color: #F87171;
  background: rgba(248, 113, 113, 0.1);
}

/* Instagram Fallback Modal */
.instagram-fallback-modal {
  background: white;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  margin: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.instagram-fallback-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
  color: white;
}

.instagram-fallback-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.instagram-fallback-header .close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.instagram-fallback-content {
  padding: 2rem;
  text-align: center;
}

.instagram-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.instagram-fallback-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
}

.instagram-fallback-info {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.instagram-fallback-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.instagram-fallback-actions .btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
}

/* Dark Themes */
[data-theme="power"] .instagram-fallback-modal,
[data-theme="purple-bubbles"] .instagram-fallback-modal,
body[data-theme="blue-galaxy"] .instagram-fallback-modal {
  background: #1a1a2e;
}

[data-theme="power"] .instagram-fallback-title,
[data-theme="purple-bubbles"] .instagram-fallback-title,
body[data-theme="blue-galaxy"] .instagram-fallback-title {
  color: #fff;
}

[data-theme="power"] .instagram-fallback-info,
[data-theme="purple-bubbles"] .instagram-fallback-info,
body[data-theme="blue-galaxy"] .instagram-fallback-info {
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════════════════════════════
   MODERN MOBILE APP UI - RECIPES SCREEN
   Purple Bubbles Glassmorphism Design
   ═══════════════════════════════════════════════════════════════════ */

/* Panel Container */
.recipes-panel-modern {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0; /* Wichtig für Flex-Kinder */
  width: 100%;
  background: transparent;
}

/* Content Area */
.recipes-content-modern {
  flex: 1 1 auto;
  min-height: 0; /* Wichtig für Flex-Kinder mit overflow */
  overflow-y: auto;
  padding: 0 16px 100px 16px;
  -webkit-overflow-scrolling: touch;
}

/* Recipes List */
.recipes-list-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
}

/* Modern Recipe Card - Glassmorphism */
.recipe-card-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(30, 20, 50, 0.75);
  border: 1px solid rgba(196, 181, 253, 0.20);
  border-radius: 16px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  min-height: 80px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recipe-card-modern:active {
  transform: scale(0.98);
}

/* Card with open menu needs higher z-index */
.recipe-card-modern.menu-open {
  z-index: 100;
}

/* Recipe Thumbnail */
.recipe-thumbnail {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(139, 92, 246, 0.15);
}

.recipe-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(167, 139, 250, 0.15));
}

.recipe-thumbnail-placeholder span {
  font-size: 1.75rem;
}

/* Recipe Card Content */
.recipe-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recipe-title-modern {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #F3F4F6;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Recipe Meta Modern */
.recipe-meta-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: rgba(196, 181, 253, 0.85);
}

.meta-icon {
  font-size: 0.85rem;
}

/* Overflow Menu Container */
.recipe-overflow-container {
  flex-shrink: 0;
  position: relative;
}

.recipe-overflow-btn {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: rgba(196, 181, 253, 0.75);
  font-size: 1.1rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-overflow-btn:hover,
.recipe-overflow-btn:focus {
  background: rgba(139, 92, 246, 0.20);
  color: #C4B5FD;
}

/* Overflow Dropdown Menu */
.recipe-overflow-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 9999;
  min-width: 200px;
  background: rgba(40, 25, 70, 0.95);
  border: 1px solid rgba(196, 181, 253, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  animation: menuSlideIn 0.15s ease-out;
  margin-top: 4px;
}

/* Letzte 2 Einträge: Menü nach oben öffnen */
.recipes-list-modern .recipe-card-modern:nth-last-child(-n+2) .recipe-overflow-menu {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 4px;
  animation: menuSlideUp 0.15s ease-out;
}

@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes menuSlideUp {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.overflow-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: #F3F4F6;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
  min-height: 48px;
}

.overflow-menu-item:hover {
  background: rgba(139, 92, 246, 0.20);
}

.overflow-menu-item svg {
  font-size: 1rem;
  color: rgba(196, 181, 253, 0.85);
}

.overflow-menu-item-danger {
  color: #F87171;
}

.overflow-menu-item-danger:hover {
  background: rgba(248, 113, 113, 0.15);
}

.overflow-menu-item-danger svg {
  color: #F87171;
}

/* Floating Action Button - same position as .fab-add-button */
.recipes-fab {
  position: fixed;
  bottom: var(--fab-offset-bottom, calc(80px + 16px));
  right: var(--space-5, 20px);
  width: var(--fab-size, 56px);
  height: var(--fab-size, 56px);
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #A78BFA);
  border: none;
  color: white;
  font-size: 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.45),
              0 0 30px rgba(167, 139, 250, 0.25);
  z-index: var(--z-fixed, 500);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recipes-fab:hover,
.recipes-fab:focus {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(139, 92, 246, 0.55),
              0 0 40px rgba(167, 139, 250, 0.35);
}

.recipes-fab:active {
  transform: scale(0.95);
}

.fab-icon {
  font-weight: 300;
  line-height: 1;
}

/* Empty State Modern */
.recipes-empty-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  min-height: 300px;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #C4B5FD;
}

.empty-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(196, 181, 253, 0.7);
}

/* Loading State Modern */
.recipes-loading-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 1rem;
}

.recipes-loading-modern p {
  margin: 0;
  color: rgba(196, 181, 253, 0.85);
  font-size: 0.95rem;
}

/* Loading Spinner */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(139, 92, 246, 0.25);
  border-top-color: #A78BFA;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-spinner-small {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(139, 92, 246, 0.25);
  border-top-color: #A78BFA;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Extraction Overlay */
.recipe-extracting-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 20, 50, 0.85);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE - MOBILE OPTIMIZATIONS
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .recipes-content-modern {
    padding: 0 12px 100px 12px;
  }

  .recipe-card-modern {
    padding: 10px;
  }

  .recipe-thumbnail {
    width: 56px;
    height: 56px;
  }

  .recipe-title-modern {
    font-size: 0.95rem;
  }

  .recipes-fab {
    /* Same as .fab-add-button on mobile */
    font-size: 1.5rem;
    bottom: calc(80px + 40px); /* Mehr Abstand auf Mobile */
  }
}

/* ═══════════════════════════════════════════════════════════════════
   THEME OVERRIDES - MODERN COMPONENTS
   ═══════════════════════════════════════════════════════════════════ */

/* Power Theme */
[data-theme="power"] .recipe-card-modern {
  background: rgba(8, 12, 10, 0.75);
  border-color: rgba(72, 232, 119, 0.20);
}

[data-theme="power"] .recipe-title-modern {
  color: var(--power-text);
}

[data-theme="power"] .meta-item {
  color: var(--power-text-dim);
}

[data-theme="power"] .recipe-overflow-btn {
  color: var(--power-text-dim);
}

[data-theme="power"] .recipe-overflow-btn:hover {
  background: rgba(72, 232, 119, 0.15);
  color: var(--power-accent);
}

[data-theme="power"] .recipe-overflow-menu {
  background: rgba(8, 12, 10, 0.95);
  border-color: rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .overflow-menu-item:hover {
  background: rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .recipes-fab {
  background: linear-gradient(135deg, #2dd36f, #48e877);
  box-shadow: 0 4px 20px rgba(72, 232, 119, 0.45),
              0 0 30px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .recipes-fab:hover {
  box-shadow: 0 6px 28px rgba(72, 232, 119, 0.55),
              0 0 40px rgba(72, 232, 119, 0.35);
}

[data-theme="power"] .empty-title {
  color: var(--power-accent);
}

[data-theme="power"] .empty-subtitle {
  color: var(--power-text-dim);
}

[data-theme="power"] .loading-spinner {
  border-color: rgba(72, 232, 119, 0.25);
  border-top-color: var(--power-accent);
}

[data-theme="power"] .loading-spinner-small {
  border-color: rgba(72, 232, 119, 0.25);
  border-top-color: var(--power-accent);
}

/* Blue Galaxy Theme */
body[data-theme="blue-galaxy"] .recipe-card-modern {
  background: rgba(18, 28, 56, 0.75);
  border-color: rgba(127, 182, 255, 0.20);
}

body[data-theme="blue-galaxy"] .recipe-title-modern {
  color: var(--bgx-text);
}

body[data-theme="blue-galaxy"] .meta-item {
  color: rgba(127, 182, 255, 0.75);
}

body[data-theme="blue-galaxy"] .recipe-overflow-btn {
  color: rgba(127, 182, 255, 0.65);
}

body[data-theme="blue-galaxy"] .recipe-overflow-btn:hover {
  background: rgba(127, 182, 255, 0.15);
  color: var(--bgx-accent0);
}

body[data-theme="blue-galaxy"] .recipe-overflow-menu {
  background: rgba(18, 28, 56, 0.95);
  border-color: rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .overflow-menu-item:hover {
  background: rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] .recipes-fab {
  background: linear-gradient(135deg, #4F8AE8, #7FB6FF);
  box-shadow: 0 4px 20px rgba(127, 182, 255, 0.45),
              0 0 30px rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .recipes-fab:hover {
  box-shadow: 0 6px 28px rgba(127, 182, 255, 0.55),
              0 0 40px rgba(127, 182, 255, 0.35);
}

body[data-theme="blue-galaxy"] .empty-title {
  color: var(--bgx-text);
}

body[data-theme="blue-galaxy"] .empty-subtitle {
  color: rgba(127, 182, 255, 0.7);
}

body[data-theme="blue-galaxy"] .loading-spinner {
  border-color: rgba(127, 182, 255, 0.25);
  border-top-color: var(--bgx-accent0);
}

body[data-theme="blue-galaxy"] .loading-spinner-small {
  border-color: rgba(127, 182, 255, 0.25);
  border-top-color: var(--bgx-accent0);
}
/* ShoppingListShareModal.css */

.share-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.share-modal {
  background: var(--bg-primary, #ffffff);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color, #eee);
}

.share-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary, #333);
}

.share-modal-header .close-button {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-secondary, #666);
  border-radius: 8px;
  transition: background-color 0.2s;
}

.share-modal-header .close-button:hover {
  background: var(--hover-bg, #f5f5f5);
}

/* Tabs */
.share-modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color, #eee);
}

.tab-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary, #666);
  font-size: 0.9rem;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.tab-button:hover {
  background: var(--hover-bg, #f5f5f5);
}

.tab-button.active {
  color: var(--primary-color, #7c3aed);
  border-bottom-color: var(--primary-color, #7c3aed);
}

/* Content */
.share-modal-content {
  padding: 1.5rem;
  overflow-y: auto;
}

.share-tab-content,
.collaborators-tab-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Create Share Button */
.create-share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--primary-color, #7c3aed);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.create-share-button:hover:not(:disabled) {
  background: var(--primary-dark, #6d28d9);
  transform: translateY(-1px);
}

.create-share-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Share Link Section */
.share-link-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.share-link-input-wrapper {
  display: flex;
  gap: 0.5rem;
}

.share-link-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color, #ddd);
  border-radius: 8px;
  font-size: 0.9rem;
  background: var(--bg-secondary, #f9f9f9);
  color: var(--text-primary, #333);
}

.copy-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--primary-color, #7c3aed);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.copy-button:hover {
  background: var(--primary-dark, #6d28d9);
}

.copy-button.copied {
  background: #10b981;
}

.native-share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary, #f5f5f5);
  color: var(--text-primary, #333);
  border: 1px solid var(--border-color, #ddd);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.native-share-button:hover {
  background: var(--hover-bg, #eee);
}

.share-info {
  font-size: 0.85rem;
  color: var(--text-secondary, #666);
  text-align: center;
  margin: 0;
}

/* Active Shares Section */
.active-shares-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color, #eee);
}

.active-shares-section h3 {
  font-size: 0.95rem;
  margin: 0 0 0.75rem 0;
  color: var(--text-secondary, #666);
}

.active-shares-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.share-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--bg-secondary, #f9f9f9);
  border-radius: 8px;
}

.share-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.share-token {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-primary, #333);
}

.share-uses {
  font-size: 0.75rem;
  color: var(--text-secondary, #888);
}

.revoke-button {
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--danger-color, #ef4444);
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.revoke-button:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Collaborators List */
.collaborators-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.collaborator-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary, #f9f9f9);
  border-radius: 8px;
}

.collaborator-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.collaborator-name {
  font-weight: 500;
  color: var(--text-primary, #333);
}

.collaborator-email {
  font-size: 0.85rem;
  color: var(--text-secondary, #666);
}

.remove-collaborator-button {
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--text-secondary, #888);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.remove-collaborator-button:hover {
  color: var(--danger-color, #ef4444);
  background: rgba(239, 68, 68, 0.1);
}

/* Share Description */
.share-description {
  text-align: center;
  color: var(--text-secondary, #666);
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

/* Messages */
.info-message,
.empty-message {
  text-align: center;
  color: var(--text-secondary, #666);
  padding: 2rem 1rem;
}

.error-message {
  color: var(--danger-color, #ef4444);
  font-size: 0.9rem;
  text-align: center;
}

/* Loading Spinner */
.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Loading State */
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.loading-state .loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(124, 58, 237, 0.2);
  border-top-color: var(--primary-color, #7c3aed);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .share-modal {
    background: var(--bg-primary, #1a1a2e);
  }

  .share-modal-header,
  .share-modal-tabs {
    border-color: var(--border-color, #2a2a4a);
  }

  .share-link-input {
    background: var(--bg-secondary, #252542);
    border-color: var(--border-color, #2a2a4a);
    color: var(--text-primary, #e4e4e7);
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .share-modal {
    max-height: 95vh;
    border-radius: 0 0 12px 12px;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .share-modal-overlay {
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .share-modal-content {
    padding: 1rem;
  }

  .share-link-input-wrapper {
    flex-direction: column;
  }

  .copy-button {
    justify-content: center;
  }
}

/* Collaborators Info */
.collaborators-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
  border-radius: 8px;
  color: #10b981;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.collaborators-info svg {
  flex-shrink: 0;
}
/* ShoppingList - Power Theme Compatible */

.shopping-list-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.shopping-list-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shopping-list-header h1 {
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
  font-weight: 600;
}

/* Power Theme Headline with CTA */
.shopping-list-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex: 1;
  margin-right: 1rem;
}

.shopping-list-headline h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
}

.shopping-list-btn-new {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  min-height: 44px;
}

/* Manual Creation Form */
.manual-list-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
}

.form-error {
  background: #fdf2f2;
  color: #e74c3c;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #fecaca;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.shopping-list-input,
.shopping-list-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.shopping-list-input:focus,
.shopping-list-textarea:focus {
  outline: none;
  border-color: var(--primary-color, #007bff);
}

.shopping-list-textarea {
  resize: vertical;
  font-family: inherit;
}

.form-items-list {
  margin-bottom: 1rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}

.form-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid #dee2e6;
}

.form-item-row:last-child {
  border-bottom: none;
}

.form-item-text {
  flex: 1;
  font-size: 0.95rem;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: #e74c3c;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.btn-remove-item:hover {
  background: rgba(231, 76, 60, 0.1);
}

.add-item-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.item-input {
  padding: 0.5rem;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  font-size: 0.9rem;
}

.item-input:focus {
  outline: none;
  border-color: var(--primary-color, #007bff);
}

.item-name-input {
  grid-column: span 1;
}

.item-qty-input,
.item-unit-input {
  grid-column: span 1;
}

.btn-add-item {
  background: var(--primary-color, #007bff);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  min-width: 44px;
}

.btn-add-item:hover:not(:disabled) {
  background: #0056b3;
  transform: scale(1.05);
}

.btn-add-item:disabled {
  background: #adb5bd;
  cursor: not-allowed;
  transform: none;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.form-actions button {
  flex: 1;
  padding: 0.85rem;
  font-weight: 600;
  min-height: 48px;
}

.shopping-list-btn-create {
  flex: 2;
}

.shopping-list-btn-cancel {
  flex: 1;
}

/* Manual Badge */
.manual-badge {
  margin-right: 0.5rem;
  font-size: 0.9em;
}

/* List Description */
.list-description {
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0.5rem 0;
  line-height: 1.5;
}

.shopping-list-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border-light, #dee2e6);
  background: var(--card-background, white);
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  min-height: 40px;
  color: var(--text-color, #333);
}

.filter-btn:hover {
  border-color: var(--primary-color, #007bff);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--primary-color, #007bff);
  color: white;
  border-color: var(--primary-color, #007bff);
}

/* Plus Button in Filter-Leiste */
.filter-btn.filter-add-btn {
  background: var(--primary-color, #6366f1);
  color: white;
  border-color: var(--primary-color, #6366f1);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  min-width: 44px;
}

.filter-btn.filter-add-btn:hover {
  background: var(--primary-hover, #4f46e5);
  border-color: var(--primary-hover, #4f46e5);
  transform: translateY(-1px);
}

/* Purple Bubbles Theme */
[data-theme="purple-bubbles"] .filter-btn.filter-add-btn {
  background: linear-gradient(135deg, #8B5CF6, #A78BFA);
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

[data-theme="purple-bubbles"] .filter-btn.filter-add-btn:hover {
  background: linear-gradient(135deg, #A78BFA, #C4B5FD);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

/* Blue Galaxy Theme */
[data-theme="blue-galaxy"] .filter-btn.filter-add-btn {
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  border-color: rgba(127, 182, 255, 0.5);
}

/* Power Theme */
[data-theme="power"] .filter-btn.filter-add-btn {
  background: linear-gradient(135deg, #22C55E, #48E877);
  border-color: rgba(72, 232, 119, 0.5);
  color: #0a0f0c;
}

.shopping-list-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.shopping-lists-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  overflow: hidden;
}

.lists-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  padding: 1rem;
}

.list-item {
  padding: 1rem;
  margin-bottom: 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.list-item:hover,
.list-item.active {
  background: var(--secondary-background, #f8f9fa);
  border-color: var(--primary-color, #007bff);
  transform: translateX(4px);
}

.list-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.list-item-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.list-progress {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color, #007bff);
}

.list-item-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.progress-bar {
  height: 4px;
  background: var(--border-light, #dee2e6);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color, #007bff), #0056b3);
  transition: width 0.3s ease;
}

.list-details {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.list-details-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1rem;
}

.list-details-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.list-details-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.list-btn-edit,
.list-btn-save,
.list-btn-cancel,
.list-btn-delete {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  min-height: 44px;
}

.list-details-meta {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.list-details-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  opacity: 0.6;
}

.list-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.list-item-row {
  padding: 1rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-height: 56px;
}

.list-item-row.checked {
  opacity: 0.6;
  background: var(--secondary-background, #f8f9fa);
}

.list-item-row.checked .item-name,
.list-item-row.checked .item-quantity,
.list-item-row.checked .item-note {
  text-decoration: line-through;
  opacity: 0.7;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-size: 1rem;
}

.checkbox-label input[type="checkbox"] {
  width: 24px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--card-background, #ffffff);
  border: 2px solid var(--primary-color, #007bff);
  border-radius: 50%;
  display: inline-grid;
  place-content: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  position: relative;
}

/* Green checkmark when checked */
.checkbox-label input[type="checkbox"]::before {
  content: "✓";
  font-size: 16px;
  font-weight: bold;
  color: #28a745;
  transform: scale(0);
  transition: transform 120ms ease-in-out;
  line-height: 1;
}

.checkbox-label input[type="checkbox"]:checked {
  background: #ffffff;
  border-color: #28a745;
}

.checkbox-label input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.checkbox-label input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.12);
}

.checkbox-label input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(40, 167, 69, 0.35);
  outline-offset: 2px;
}

.item-quantity {
  font-weight: 600;
  color: var(--primary-color, #007bff);
  min-width: 80px;
}

.item-name {
  flex: 1;
  font-weight: 500;
}

.item-note {
  font-size: 0.85rem;
  color: #6c757d;
  font-style: italic;
}

.item-text {
  flex: 1;
}

/* Edit Mode Styles */
.list-item-row.edit-mode {
  padding: 0.75rem;
}

.edit-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.edit-add-item-section {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.edit-add-item-section h4 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #364F7C;
}

/* Power Theme */
[data-theme="power"] .shopping-list-header,
[data-theme="power"] .lists-sidebar,
[data-theme="power"] .list-details-header {
  border-color: var(--power-border-soft);
}

[data-theme="power"] .shopping-list-header h1,
[data-theme="power"] .list-details-header h2 {
  color: var(--power-accent);
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .filter-btn {
  background: rgba(8, 12, 10, 0.25);
  border-color: var(--power-accent);
  color: var(--power-accent);
}

[data-theme="power"] .filter-btn:hover,
[data-theme="power"] .filter-btn.active {
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 14px var(--power-glow);
  background: rgba(8, 12, 10, 0.55);
  color: #CFFFD9;
}

[data-theme="power"] .list-item {
  background: rgba(0, 0, 0, 0.25);
  border-color: var(--power-border-soft);
}

[data-theme="power"] .list-item:hover,
[data-theme="power"] .list-item.active {
  background: rgba(72, 232, 119, 0.1);
  border-color: var(--power-accent);
  box-shadow: 0 0 0 2px var(--power-glow-soft);
}

[data-theme="power"] .list-item-header h4 {
  color: var(--power-accent);
}

[data-theme="power"] .list-progress {
  color: var(--power-accent);
}

[data-theme="power"] .list-item-meta {
  color: var(--power-text-dim);
}

[data-theme="power"] .progress-bar {
  background: rgba(0, 0, 0, 0.35);
}

[data-theme="power"] .progress-fill {
  background: linear-gradient(90deg, var(--power-accent), #48E877);
}

[data-theme="power"] .list-item-row {
  background: rgba(0, 0, 0, 0.25);
  border-color: var(--power-border-soft);
}

[data-theme="power"] .list-item-row:hover {
  border-color: var(--power-accent);
  box-shadow: 0 0 0 1px var(--power-glow-soft);
}

[data-theme="power"] .list-item-row.checked {
  background: rgba(0, 0, 0, 0.15);
  opacity: 0.5;
}

[data-theme="power"] .item-quantity {
  color: var(--power-accent);
}

[data-theme="power"] .item-name {
  color: var(--power-text);
}

[data-theme="power"] .item-note {
  color: var(--power-text-dim);
}

/* Power Theme Checkboxes */
[data-theme="power"] .checkbox-label input[type="checkbox"] {
  background: transparent;
  border: 2px solid var(--power-accent);
}

[data-theme="power"] .checkbox-label input[type="checkbox"]::before {
  color: #000000;
  text-shadow: none;
  font-size: 14px;
}

[data-theme="power"] .checkbox-label input[type="checkbox"]:checked {
  background: var(--power-accent);
  border-color: var(--power-accent);
  box-shadow: 0 0 0 2px var(--power-glow-soft),
              0 0 12px var(--power-accent),
              0 0 20px rgba(72, 232, 119, 0.4);
  animation: powerGlow 0.3s ease-in-out;
}

@keyframes powerGlow {
  0% {
    box-shadow: 0 0 0 2px var(--power-glow-soft);
  }
  50% {
    box-shadow: 0 0 0 4px var(--power-glow),
                0 0 20px var(--power-accent),
                0 0 30px rgba(72, 232, 119, 0.5);
  }
  100% {
    box-shadow: 0 0 0 2px var(--power-glow-soft),
                0 0 12px var(--power-accent),
                0 0 20px rgba(72, 232, 119, 0.3);
  }
}

[data-theme="power"] .checkbox-label input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 10px var(--power-accent);
}

[data-theme="power"] .checkbox-label input[type="checkbox"]:focus-visible {
  outline-color: rgba(72, 232, 119, 0.45);
}

[data-theme="power"] .list-item-row.checked {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .list-item-row.checked:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(72, 232, 119, 0.35);
  box-shadow: 0 0 0 1px rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .list-item-row.checked .item-name,
[data-theme="power"] .list-item-row.checked .item-quantity,
[data-theme="power"] .list-item-row.checked .item-note {
  text-decoration: line-through;
  text-decoration-color: #48E877;
  text-decoration-thickness: 2px;
  color: rgba(207, 255, 217, 0.75);
  text-shadow: 0 0 8px rgba(72, 232, 119, 0.18);
}

[data-theme="power"] .list-item-row.checked .item-quantity {
  color: rgba(72, 232, 119, 0.8);
  text-decoration-color: #48E877;
}

/* Neon-Glow Effekt auf der Durchstreichung (optional, kann subtil wirken) */
[data-theme="power"] .list-item-row.checked .item-name {
  filter: drop-shadow(0 0 2px rgba(72, 232, 119, 0.3));
}

/* Empty State */
.shopping-list-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  gap: 2rem;
}

.empty-message {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  line-height: 1.6;
}

.empty-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.empty-cta-btn {
  padding: 1rem 2rem;
  font-weight: 600;
  min-height: 52px;
  font-size: 1.05rem;
}

/* Power Theme Styles */

/* Headline & Button */
[data-theme="power"] .shopping-list-headline h2 {
  color: #CFFFD9;
  text-shadow: 0 0 15px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .shopping-list-btn-new {
  background: transparent;
  border: 2px solid #48E877;
  color: #48E877;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="power"] .shopping-list-btn-new:hover {
  background: #48E877;
  color: #0b0f0d;
  box-shadow:
    0 0 25px rgba(72, 232, 119, 0.4),
    inset 0 0 15px rgba(72, 232, 119, 0.2);
}

/* Empty State */
[data-theme="power"] .empty-message {
  color: rgba(207, 255, 217, 0.72);
}

[data-theme="power"] .empty-cta-btn {
  background: transparent;
  border: 2px solid #48E877;
  color: #48E877;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="power"] .empty-cta-btn:hover {
  background: #48E877;
  color: #0b0f0d;
  box-shadow:
    0 0 25px rgba(72, 232, 119, 0.4),
    inset 0 0 15px rgba(72, 232, 119, 0.2);
  transform: translateY(-2px);
}

[data-theme="power"] .empty-cta-btn.btn-secondary {
  border: 1px solid rgba(72, 232, 119, 0.35);
  color: rgba(207, 255, 217, 0.85);
}

[data-theme="power"] .empty-cta-btn.btn-secondary:hover {
  background: rgba(6, 10, 8, 0.55);
  border-color: #48E877;
  color: #CFFFD9;
  box-shadow: 0 0 15px rgba(72, 232, 119, 0.25);
}

/* Manual Form */
[data-theme="power"] .manual-list-form {
  background: rgba(6, 10, 8, 0.35);
  padding: 2rem;
  border-radius: 12px;
}

[data-theme="power"] .form-error {
  background: rgba(255, 68, 68, 0.12);
  border: 1px solid rgba(255, 68, 68, 0.35);
  color: #ff6b6b;
}

[data-theme="power"] .form-group label {
  color: #CFFFD9;
}

[data-theme="power"] .shopping-list-input,
[data-theme="power"] .shopping-list-textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(72, 232, 119, 0.18);
  color: #CFFFD9;
}

[data-theme="power"] .shopping-list-input::placeholder,
[data-theme="power"] .shopping-list-textarea::placeholder {
  color: rgba(207, 255, 217, 0.45);
}

[data-theme="power"] .shopping-list-input:focus,
[data-theme="power"] .shopping-list-textarea:focus {
  border-color: #48E877;
  box-shadow: 0 0 15px rgba(72, 232, 119, 0.25);
  background: rgba(0, 0, 0, 0.45);
}

[data-theme="power"] .form-items-list {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(72, 232, 119, 0.18);
}

[data-theme="power"] .form-item-row {
  border-bottom-color: rgba(72, 232, 119, 0.1);
}

[data-theme="power"] .form-item-text {
  color: #CFFFD9;
}

[data-theme="power"] .btn-remove-item {
  color: #ff6b6b;
}

[data-theme="power"] .btn-remove-item:hover {
  background: rgba(255, 68, 68, 0.15);
}

[data-theme="power"] .item-input {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(72, 232, 119, 0.18);
  color: #CFFFD9;
}

[data-theme="power"] .item-input::placeholder {
  color: rgba(207, 255, 217, 0.45);
}

[data-theme="power"] .item-input:focus {
  border-color: #48E877;
  box-shadow: 0 0 10px rgba(72, 232, 119, 0.2);
}

[data-theme="power"] .btn-add-item {
  background: transparent;
  border: 2px solid #48E877;
  color: #48E877;
}

[data-theme="power"] .btn-add-item:hover:not(:disabled) {
  background: #48E877;
  color: #0b0f0d;
  box-shadow: 0 0 20px rgba(72, 232, 119, 0.4);
}

[data-theme="power"] .btn-add-item:disabled {
  background: transparent;
  border-color: rgba(72, 232, 119, 0.25);
  color: rgba(207, 255, 217, 0.35);
}

[data-theme="power"] .shopping-list-btn-create {
  background: transparent;
  border: 2px solid #48E877;
  color: #48E877;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="power"] .shopping-list-btn-create:hover {
  background: #48E877;
  color: #0b0f0d;
  box-shadow:
    0 0 25px rgba(72, 232, 119, 0.4),
    inset 0 0 15px rgba(72, 232, 119, 0.2);
}

[data-theme="power"] .shopping-list-btn-cancel {
  background: transparent;
  border: 1px solid rgba(72, 232, 119, 0.18);
  color: rgba(207, 255, 217, 0.72);
}

[data-theme="power"] .shopping-list-btn-cancel:hover {
  background: rgba(6, 10, 8, 0.55);
  border-color: rgba(72, 232, 119, 0.35);
  box-shadow: 0 0 15px rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .manual-badge {
  color: #48E877;
  text-shadow: 0 0 8px rgba(72, 232, 119, 0.4);
}

[data-theme="power"] .list-description {
  color: rgba(207, 255, 217, 0.65);
}

/* Power Theme - Edit Mode Buttons */
[data-theme="power"] .list-btn-edit {
  background: rgba(6, 10, 8, 0.45);
  border: 1px solid rgba(72, 232, 119, 0.28);
  color: rgba(207, 255, 217, 0.85);
  border-radius: 8px;
}

[data-theme="power"] .list-btn-edit:hover {
  background: rgba(6, 10, 8, 0.65);
  border-color: rgba(72, 232, 119, 0.42);
  color: #CFFFD9;
  box-shadow: 0 0 14px rgba(72, 232, 119, 0.20);
}

[data-theme="power"] .list-btn-save {
  background: transparent;
  border: 2px solid #48E877;
  color: #48E877;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
}

[data-theme="power"] .list-btn-save:hover {
  background: #48E877;
  color: #0b0f0d;
  box-shadow: 0 0 25px rgba(72, 232, 119, 0.4),
              inset 0 0 15px rgba(72, 232, 119, 0.2);
}

[data-theme="power"] .list-btn-cancel {
  background: rgba(6, 10, 8, 0.45);
  border: 1px solid rgba(72, 232, 119, 0.18);
  color: rgba(207, 255, 217, 0.72);
  border-radius: 8px;
}

[data-theme="power"] .list-btn-cancel:hover {
  background: rgba(6, 10, 8, 0.65);
  border-color: rgba(72, 232, 119, 0.35);
  color: #CFFFD9;
  box-shadow: 0 0 12px rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .list-btn-delete {
  background: rgba(10, 6, 6, 0.45);
  border: 1px solid rgba(255, 68, 68, 0.28);
  color: #ff6b6b;
  border-radius: 8px;
}

[data-theme="power"] .list-btn-delete:hover {
  background: rgba(255, 68, 68, 0.18);
  border-color: rgba(255, 68, 68, 0.42);
  color: #ff8787;
  box-shadow: 0 0 18px rgba(255, 68, 68, 0.25);
}

[data-theme="power"] .edit-add-item-section {
  background: rgba(6, 10, 8, 0.35);
  border: 2px dashed rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .edit-add-item-section h4 {
  color: #CFFFD9;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.20);
}

[data-theme="power"] .edit-item-row .btn-remove-item {
  color: #ff6b6b;
}

[data-theme="power"] .edit-item-row .btn-remove-item:hover {
  background: rgba(255, 68, 68, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════
   GOODVIBES THEME OVERRIDES - Friendly, Softer Design
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="goodvibes"] .shopping-list-header,
[data-theme="goodvibes"] .lists-sidebar,
[data-theme="goodvibes"] .list-details-header {
  border-color: rgba(255, 192, 105, 0.25);
}

[data-theme="goodvibes"] .shopping-list-header h1,
[data-theme="goodvibes"] .list-details-header h2,
[data-theme="goodvibes"] .shopping-list-headline h2 {
  color: #FFD699;
  text-shadow: 0 0 15px rgba(255, 192, 105, 0.35);
}

[data-theme="goodvibes"] .shopping-list-btn-new {
  background: rgba(255, 192, 105, 0.18);
  border: 2px solid rgba(255, 192, 105, 0.35);
  color: #FFD699;
}

[data-theme="goodvibes"] .shopping-list-btn-new:hover {
  background: rgba(255, 192, 105, 0.28);
  border-color: rgba(255, 192, 105, 0.50);
  box-shadow: 0 0 20px rgba(255, 192, 105, 0.30);
}

[data-theme="goodvibes"] .filter-btn {
  background: rgba(70, 50, 30, 0.35);
  border-color: rgba(255, 192, 105, 0.28);
  color: #FFE4C4;
}

[data-theme="goodvibes"] .filter-btn:hover,
[data-theme="goodvibes"] .filter-btn.active {
  background: rgba(255, 192, 105, 0.20);
  border-color: rgba(255, 192, 105, 0.45);
  box-shadow: 0 0 14px rgba(255, 192, 105, 0.25);
  color: #FFD699;
}

[data-theme="goodvibes"] .list-item {
  background: rgba(70, 50, 30, 0.35);
  border-color: rgba(255, 192, 105, 0.22);
}

[data-theme="goodvibes"] .list-item:hover,
[data-theme="goodvibes"] .list-item.active {
  background: rgba(255, 192, 105, 0.15);
  border-color: rgba(255, 192, 105, 0.38);
  box-shadow: 0 0 12px rgba(255, 192, 105, 0.22);
}

[data-theme="goodvibes"] .list-item-header h4 {
  color: #FFD699;
}

[data-theme="goodvibes"] .list-progress {
  color: #FFC069;
}

[data-theme="goodvibes"] .list-item-meta {
  color: rgba(255, 228, 196, 0.70);
}

[data-theme="goodvibes"] .progress-bar {
  background: rgba(50, 35, 20, 0.45);
}

[data-theme="goodvibes"] .progress-fill {
  background: linear-gradient(90deg, #FFC069, #FFD699);
}

[data-theme="goodvibes"] .list-item-row {
  background: rgba(70, 50, 30, 0.35);
  border-color: rgba(255, 192, 105, 0.22);
}

[data-theme="goodvibes"] .list-item-row:hover {
  border-color: rgba(255, 192, 105, 0.35);
  box-shadow: 0 0 10px rgba(255, 192, 105, 0.18);
}

[data-theme="goodvibes"] .list-item-row.checked {
  background: rgba(255, 192, 105, 0.10);
  opacity: 0.6;
}

[data-theme="goodvibes"] .item-quantity {
  color: #FFC069;
}

[data-theme="goodvibes"] .item-name {
  color: #FFE4C4;
}

[data-theme="goodvibes"] .item-note {
  color: rgba(255, 228, 196, 0.70);
}

[data-theme="goodvibes"] .checkbox-label input[type="checkbox"] {
  background: transparent;
  border: 2px solid rgba(255, 192, 105, 0.35);
}

[data-theme="goodvibes"] .checkbox-label input[type="checkbox"]::before {
  color: #2a1f10;
}

[data-theme="goodvibes"] .checkbox-label input[type="checkbox"]:checked {
  background: #FFC069;
  border-color: #FFC069;
  box-shadow: 0 0 12px rgba(255, 192, 105, 0.40);
}

[data-theme="goodvibes"] .checkbox-label input[type="checkbox"]:hover {
  box-shadow: 0 0 10px rgba(255, 192, 105, 0.25);
}

[data-theme="goodvibes"] .checkbox-label input[type="checkbox"]:focus-visible {
  outline-color: rgba(255, 192, 105, 0.45);
}

[data-theme="goodvibes"] .list-item-row.checked .item-name,
[data-theme="goodvibes"] .list-item-row.checked .item-quantity,
[data-theme="goodvibes"] .list-item-row.checked .item-note {
  text-decoration: line-through;
  text-decoration-color: #FFC069;
  color: rgba(255, 228, 196, 0.75);
}

[data-theme="goodvibes"] .empty-message {
  color: rgba(255, 228, 196, 0.75);
}

[data-theme="goodvibes"] .empty-cta-btn {
  background: rgba(70, 50, 30, 0.35);
  border: 2px solid rgba(255, 192, 105, 0.35);
  color: #FFD699;
}

[data-theme="goodvibes"] .empty-cta-btn:hover {
  background: rgba(255, 192, 105, 0.18);
  border-color: rgba(255, 192, 105, 0.50);
  box-shadow: 0 0 18px rgba(255, 192, 105, 0.30);
}

[data-theme="goodvibes"] .manual-list-form {
  background: rgba(50, 35, 20, 0.45);
  border-radius: 12px;
  padding: 2rem;
}

[data-theme="goodvibes"] .form-error {
  background: rgba(220, 80, 50, 0.15);
  border: 1px solid rgba(220, 80, 50, 0.30);
  color: #FF9999;
}

[data-theme="goodvibes"] .form-group label {
  color: #FFD699;
}

[data-theme="goodvibes"] .shopping-list-input,
[data-theme="goodvibes"] .shopping-list-textarea {
  background: rgba(30, 20, 10, 0.45);
  border: 1px solid rgba(255, 192, 105, 0.25);
  color: #FFE4C4;
}

[data-theme="goodvibes"] .shopping-list-input::placeholder,
[data-theme="goodvibes"] .shopping-list-textarea::placeholder {
  color: rgba(255, 228, 196, 0.50);
}

[data-theme="goodvibes"] .shopping-list-input:focus,
[data-theme="goodvibes"] .shopping-list-textarea:focus {
  border-color: rgba(255, 192, 105, 0.45);
  box-shadow: 0 0 15px rgba(255, 192, 105, 0.22);
  background: rgba(30, 20, 10, 0.55);
}

[data-theme="goodvibes"] .form-items-list {
  background: rgba(30, 20, 10, 0.35);
  border: 1px solid rgba(255, 192, 105, 0.22);
}

[data-theme="goodvibes"] .form-item-row {
  border-bottom-color: rgba(255, 192, 105, 0.18);
}

[data-theme="goodvibes"] .form-item-text {
  color: #FFE4C4;
}

[data-theme="goodvibes"] .btn-remove-item {
  color: #FF9999;
}

[data-theme="goodvibes"] .btn-remove-item:hover {
  background: rgba(220, 80, 50, 0.15);
}

[data-theme="goodvibes"] .item-input {
  background: rgba(30, 20, 10, 0.45);
  border: 1px solid rgba(255, 192, 105, 0.25);
  color: #FFE4C4;
}

[data-theme="goodvibes"] .item-input::placeholder {
  color: rgba(255, 228, 196, 0.50);
}

[data-theme="goodvibes"] .item-input:focus {
  border-color: rgba(255, 192, 105, 0.45);
  box-shadow: 0 0 12px rgba(255, 192, 105, 0.20);
}

[data-theme="goodvibes"] .btn-add-item {
  background: rgba(255, 192, 105, 0.20);
  border: 2px solid rgba(255, 192, 105, 0.35);
  color: #FFD699;
}

[data-theme="goodvibes"] .btn-add-item:hover:not(:disabled) {
  background: rgba(255, 192, 105, 0.30);
  border-color: rgba(255, 192, 105, 0.50);
  box-shadow: 0 0 16px rgba(255, 192, 105, 0.28);
}

[data-theme="goodvibes"] .btn-add-item:disabled {
  background: rgba(70, 50, 30, 0.25);
  border-color: rgba(255, 192, 105, 0.18);
  color: rgba(255, 228, 196, 0.40);
  opacity: 0.45;
}

[data-theme="goodvibes"] .shopping-list-btn-create {
  background: rgba(255, 192, 105, 0.75);
  border: 2px solid rgba(255, 192, 105, 0.35);
  color: #2a1f10;
  box-shadow: 0 0 18px rgba(255, 192, 105, 0.30);
}

[data-theme="goodvibes"] .shopping-list-btn-create:hover {
  background: rgba(255, 192, 105, 0.90);
  border-color: rgba(255, 192, 105, 0.50);
  box-shadow: 0 0 24px rgba(255, 192, 105, 0.40);
}

[data-theme="goodvibes"] .shopping-list-btn-cancel {
  background: rgba(70, 50, 30, 0.40);
  border: 1px solid rgba(255, 192, 105, 0.30);
  color: #FFE4C4;
}

[data-theme="goodvibes"] .shopping-list-btn-cancel:hover {
  background: rgba(255, 192, 105, 0.15);
  border-color: rgba(255, 192, 105, 0.45);
  box-shadow: 0 0 12px rgba(255, 192, 105, 0.22);
}

[data-theme="goodvibes"] .manual-badge {
  color: #FFC069;
  text-shadow: 0 0 10px rgba(255, 192, 105, 0.35);
}

[data-theme="goodvibes"] .list-description {
  color: rgba(255, 228, 196, 0.70);
}

/* GoodVibes Theme - Edit Mode Buttons */
[data-theme="goodvibes"] .list-btn-edit {
  background: rgba(70, 50, 30, 0.40);
  border: 1px solid rgba(255, 192, 105, 0.30);
  color: #FFE4C4;
  border-radius: 8px;
}

[data-theme="goodvibes"] .list-btn-edit:hover {
  background: rgba(255, 192, 105, 0.15);
  border-color: rgba(255, 192, 105, 0.45);
  color: #FFD699;
  box-shadow: 0 0 12px rgba(255, 192, 105, 0.22);
}

[data-theme="goodvibes"] .list-btn-save {
  background: rgba(255, 192, 105, 0.28);
  border: 2px solid rgba(255, 192, 105, 0.38);
  color: #2a1f10;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(255, 192, 105, 0.22);
}

[data-theme="goodvibes"] .list-btn-save:hover {
  background: rgba(255, 192, 105, 0.38);
  border-color: rgba(255, 192, 105, 0.52);
  box-shadow: 0 0 20px rgba(255, 192, 105, 0.30);
}

[data-theme="goodvibes"] .list-btn-cancel {
  background: rgba(70, 50, 30, 0.40);
  border: 1px solid rgba(255, 192, 105, 0.22);
  color: rgba(255, 228, 196, 0.80);
  border-radius: 8px;
}

[data-theme="goodvibes"] .list-btn-cancel:hover {
  background: rgba(70, 50, 30, 0.55);
  border-color: rgba(255, 192, 105, 0.38);
  color: #FFE4C4;
  box-shadow: 0 0 10px rgba(255, 192, 105, 0.18);
}

[data-theme="goodvibes"] .list-btn-delete {
  background: rgba(50, 30, 30, 0.45);
  border: 1px solid rgba(220, 80, 50, 0.30);
  color: #FF9999;
  border-radius: 8px;
}

[data-theme="goodvibes"] .list-btn-delete:hover {
  background: rgba(220, 80, 50, 0.18);
  border-color: rgba(220, 80, 50, 0.42);
  color: #FFB3B3;
  box-shadow: 0 0 16px rgba(220, 80, 50, 0.25);
}

[data-theme="goodvibes"] .edit-add-item-section {
  background: rgba(50, 35, 20, 0.35);
  border: 2px dashed rgba(255, 192, 105, 0.25);
}

[data-theme="goodvibes"] .edit-add-item-section h4 {
  color: #FFD699;
  text-shadow: 0 0 10px rgba(255, 192, 105, 0.25);
}

[data-theme="goodvibes"] .edit-item-row .btn-remove-item {
  color: #FF9999;
}

[data-theme="goodvibes"] .edit-item-row .btn-remove-item:hover {
  background: rgba(220, 80, 50, 0.15);
}

/* Mobile */
@media (max-width: 768px) {
  .shopping-lists-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .lists-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 200px;
  }

  .list-item {
    margin-bottom: 0.25rem;
    padding: 0.75rem;
  }

  .list-details {
    padding: 1rem;
  }

  .shopping-list-headline {
    flex-direction: column;
    align-items: flex-start;
  }

  .shopping-list-btn-new {
    width: 100%;
  }

  .empty-actions {
    flex-direction: column;
    width: 100%;
  }

  .empty-cta-btn {
    width: 100%;
  }

  .add-item-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .item-name-input,
  .item-qty-input,
  .item-unit-input {
    grid-column: 1;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions button {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .shopping-list-header,
[data-theme="purple-bubbles"] .lists-sidebar,
[data-theme="purple-bubbles"] .list-details-header {
  border-color: rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .shopping-list-header h1,
[data-theme="purple-bubbles"] .list-details-header h2,
[data-theme="purple-bubbles"] .shopping-list-headline h2 {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

/* Buttons */
[data-theme="purple-bubbles"] .shopping-list-btn-new {
  background: transparent;
  border: 2px solid #A78BFA;
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .shopping-list-btn-new:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: #C4B5FD;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

/* Filters */
[data-theme="purple-bubbles"] .filter-btn {
  background: rgba(49, 46, 129, 0.50);
  border-color: rgba(196, 181, 253, 0.30);
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .filter-btn:hover,
[data-theme="purple-bubbles"] .filter-btn.active {
  background: rgba(139, 92, 246, 0.18);
  border-color: #C4B5FD;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
  color: #C4B5FD;
}

/* List Sidebar Items */
[data-theme="purple-bubbles"] .list-item {
  background: rgba(49, 46, 129, 0.50);
  border-color: rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .list-item:hover,
[data-theme="purple-bubbles"] .list-item.active {
  background: rgba(139, 92, 246, 0.18);
  border-color: #A78BFA;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .list-item-header h4 {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .list-progress {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .list-item-meta {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .progress-bar {
  background: rgba(49, 46, 129, 0.50);
}

[data-theme="purple-bubbles"] .progress-fill {
  background: linear-gradient(90deg, #A78BFA, #C4B5FD);
}

/* List Items/Rows */
[data-theme="purple-bubbles"] .list-item-row {
  background: rgba(49, 46, 129, 0.50);
  border-color: rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .list-item-row:hover {
  border-color: #A78BFA;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .list-item-row.checked {
  background: rgba(139, 92, 246, 0.12);
  opacity: 0.6;
}

[data-theme="purple-bubbles"] .item-quantity {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .item-name {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .item-note {
  color: rgba(196, 181, 253, 0.65);
}

/* Checkboxes */
[data-theme="purple-bubbles"] .checkbox-label input[type="checkbox"] {
  background: transparent;
  border: 2px solid #A78BFA;
}

[data-theme="purple-bubbles"] .checkbox-label input[type="checkbox"]::before {
  color: #000000;
}

[data-theme="purple-bubbles"] .checkbox-label input[type="checkbox"]:checked {
  background: #A78BFA;
  border-color: #A78BFA;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .checkbox-label input[type="checkbox"]:hover {
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .checkbox-label input[type="checkbox"]:focus-visible {
  outline-color: rgba(167, 139, 250, 0.45);
}

[data-theme="purple-bubbles"] .list-item-row.checked {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .list-item-row.checked:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(167, 139, 250, 0.35);
}

[data-theme="purple-bubbles"] .list-item-row.checked .item-name,
[data-theme="purple-bubbles"] .list-item-row.checked .item-quantity,
[data-theme="purple-bubbles"] .list-item-row.checked .item-note {
  text-decoration: line-through;
  text-decoration-color: #A78BFA;
  color: rgba(196, 181, 253, 0.75);
}

[data-theme="purple-bubbles"] .list-item-row.checked .item-quantity {
  color: rgba(167, 139, 250, 0.80);
}

/* Empty State */
[data-theme="purple-bubbles"] .empty-message {
  color: rgba(196, 181, 253, 0.75);
}

[data-theme="purple-bubbles"] .empty-cta-btn {
  background: transparent;
  border: 2px solid #A78BFA;
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .empty-cta-btn:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: #C4B5FD;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .empty-cta-btn.btn-secondary {
  background: rgba(40, 20, 60, 0.45) !important;
  border: 1px solid rgba(182, 109, 255, 0.35) !important;
  border-radius: 14px !important;
  color: #F6EEFF !important;
}

[data-theme="purple-bubbles"] .empty-cta-btn.btn-secondary:hover {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.45) !important;
  color: #F6EEFF !important;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
}

/* Manual Form */
[data-theme="purple-bubbles"] .manual-list-form {
  background: rgba(49, 46, 129, 0.35);
  border-radius: 12px;
}

[data-theme="purple-bubbles"] .form-error {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.30);
  color: #FCA5A5;
}

[data-theme="purple-bubbles"] .form-group label {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .shopping-list-input,
[data-theme="purple-bubbles"] .shopping-list-textarea {
  background: rgba(49, 46, 129, 0.50);
  border: 1px solid rgba(196, 181, 253, 0.30);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .shopping-list-input::placeholder,
[data-theme="purple-bubbles"] .shopping-list-textarea::placeholder {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .shopping-list-input:focus,
[data-theme="purple-bubbles"] .shopping-list-textarea:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
  background: rgba(49, 46, 129, 0.60);
}

[data-theme="purple-bubbles"] .form-items-list {
  background: rgba(49, 46, 129, 0.35);
  border: 1px solid rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .form-item-row {
  border-bottom-color: rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .form-item-text {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .btn-remove-item {
  color: #FCA5A5;
}

[data-theme="purple-bubbles"] .btn-remove-item:hover {
  background: rgba(248, 113, 113, 0.15);
}

[data-theme="purple-bubbles"] .item-input {
  background: rgba(49, 46, 129, 0.50);
  border: 1px solid rgba(196, 181, 253, 0.30);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .item-input::placeholder {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .item-input:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .btn-add-item {
  background: rgba(40, 20, 60, 0.45) !important;
  border: 2px solid rgba(182, 109, 255, 0.35) !important;
  border-radius: 14px !important;
  color: #F6EEFF !important;
}

[data-theme="purple-bubbles"] .btn-add-item:hover:not(:disabled) {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.45) !important;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
}

[data-theme="purple-bubbles"] .btn-add-item:disabled {
  background: rgba(40, 20, 60, 0.25) !important;
  border-color: rgba(182, 109, 255, 0.15) !important;
  color: rgba(246, 238, 255, 0.35) !important;
  opacity: 0.45 !important;
}

[data-theme="purple-bubbles"] .shopping-list-btn-create {
  background: rgba(182, 109, 255, 0.75) !important;
  border: 2px solid rgba(182, 109, 255, 0.35) !important;
  border-radius: 14px !important;
  color: #0B0614 !important;
  box-shadow: 0 0 18px rgba(182, 109, 255, 0.35) !important;
}

[data-theme="purple-bubbles"] .shopping-list-btn-create:hover {
  background: rgba(200, 160, 255, 0.9) !important;
  border-color: rgba(200, 160, 255, 0.45) !important;
  box-shadow: 0 0 24px rgba(182, 109, 255, 0.55) !important;
}

[data-theme="purple-bubbles"] .shopping-list-btn-cancel {
  background: rgba(40, 20, 60, 0.45) !important;
  border: 1px solid rgba(182, 109, 255, 0.35) !important;
  border-radius: 14px !important;
  color: #F6EEFF !important;
}

[data-theme="purple-bubbles"] .shopping-list-btn-cancel:hover {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.45) !important;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
}

[data-theme="purple-bubbles"] .manual-badge {
  color: #A78BFA;
  text-shadow: 0 0 12px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .list-description {
  color: rgba(196, 181, 253, 0.65);
}

/* Purple-Bubbles Theme - Edit Mode Buttons */
[data-theme="purple-bubbles"] .list-btn-edit {
  background: rgba(40, 20, 60, 0.45);
  border: 1px solid rgba(182, 109, 255, 0.35);
  border-radius: 14px;
  color: #F6EEFF;
}

[data-theme="purple-bubbles"] .list-btn-edit:hover {
  background: rgba(182, 109, 255, 0.22);
  border-color: rgba(182, 109, 255, 0.45);
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.25);
}

[data-theme="purple-bubbles"] .list-btn-save {
  background: rgba(182, 109, 255, 0.75);
  border: 2px solid rgba(182, 109, 255, 0.35);
  border-radius: 14px;
  color: #0B0614;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(182, 109, 255, 0.35);
}

[data-theme="purple-bubbles"] .list-btn-save:hover {
  background: rgba(200, 160, 255, 0.9);
  border-color: rgba(200, 160, 255, 0.45);
  box-shadow: 0 0 24px rgba(182, 109, 255, 0.55);
}

[data-theme="purple-bubbles"] .list-btn-cancel {
  background: rgba(40, 20, 60, 0.45);
  border: 1px solid rgba(182, 109, 255, 0.30);
  border-radius: 14px;
  color: rgba(246, 238, 255, 0.85);
}

[data-theme="purple-bubbles"] .list-btn-cancel:hover {
  background: rgba(40, 20, 60, 0.60);
  border-color: rgba(182, 109, 255, 0.45);
  color: #F6EEFF;
  box-shadow: 0 0 10px rgba(182, 109, 255, 0.20);
}

[data-theme="purple-bubbles"] .list-btn-delete {
  background: rgba(60, 20, 40, 0.50);
  border: 1px solid rgba(248, 113, 113, 0.30);
  border-radius: 14px;
  color: #FCA5A5;
}

[data-theme="purple-bubbles"] .list-btn-delete:hover {
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(248, 113, 113, 0.42);
  color: #FFC9C9;
  box-shadow: 0 0 16px rgba(248, 113, 113, 0.28);
}

[data-theme="purple-bubbles"] .edit-add-item-section {
  background: rgba(49, 46, 129, 0.30);
  border: 2px dashed rgba(196, 181, 253, 0.25);
  border-radius: 12px;
}

[data-theme="purple-bubbles"] .edit-add-item-section h4 {
  color: #C4B5FD;
  text-shadow: 0 0 12px rgba(167, 139, 250, 0.30);
}

[data-theme="purple-bubbles"] .edit-item-row .btn-remove-item {
  color: #FCA5A5;
}

[data-theme="purple-bubbles"] .edit-item-row .btn-remove-item:hover {
  background: rgba(248, 113, 113, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES - Space Glass Design
   ═══════════════════════════════════════════════════════════════════ */

/* Headers & Borders */
body[data-theme="blue-galaxy"] .shopping-list-header,
body[data-theme="blue-galaxy"] .lists-sidebar,
body[data-theme="blue-galaxy"] .list-details-header {
  border-color: rgba(120, 170, 255, 0.18);
}

body[data-theme="blue-galaxy"] .shopping-list-header h1,
body[data-theme="blue-galaxy"] .list-details-header h2,
body[data-theme="blue-galaxy"] .shopping-list-headline h2 {
  color: #EAF2FF;
  text-shadow: 0 0 18px rgba(127, 182, 255, 0.28);
}

/* Primary Button (New List) */
body[data-theme="blue-galaxy"] .shopping-list-btn-new {
  background: rgba(127, 182, 255, 0.16);
  border: 2px solid rgba(120, 170, 255, 0.28);
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .shopping-list-btn-new:hover {
  background: rgba(127, 182, 255, 0.26);
  border-color: rgba(127, 182, 255, 0.42);
  box-shadow: 0 0 20px rgba(127, 182, 255, 0.30);
}

/* Filters */
body[data-theme="blue-galaxy"] .filter-btn {
  background: rgba(18, 28, 56, 0.46);
  border-color: rgba(120, 170, 255, 0.22);
  color: rgba(234, 242, 255, 0.72);
}

body[data-theme="blue-galaxy"] .filter-btn:hover,
body[data-theme="blue-galaxy"] .filter-btn.active {
  background: rgba(127, 182, 255, 0.16);
  border-color: rgba(127, 182, 255, 0.38);
  box-shadow: 0 0 16px rgba(127, 182, 255, 0.22);
  color: #EAF2FF;
}

/* List Sidebar Items */
body[data-theme="blue-galaxy"] .list-item {
  background: rgba(18, 28, 56, 0.46);
  border-color: rgba(120, 170, 255, 0.18);
}

body[data-theme="blue-galaxy"] .list-item:hover,
body[data-theme="blue-galaxy"] .list-item.active {
  background: rgba(127, 182, 255, 0.12);
  border-color: rgba(127, 182, 255, 0.32);
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.20);
}

body[data-theme="blue-galaxy"] .list-item-header h4 {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .list-progress {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .list-item-meta {
  color: rgba(234, 242, 255, 0.65);
}

body[data-theme="blue-galaxy"] .progress-bar {
  background: rgba(5, 8, 20, 0.58);
}

body[data-theme="blue-galaxy"] .progress-fill {
  background: linear-gradient(90deg, #4CA9FF, #7FB6FF);
}

/* List Items/Rows */
body[data-theme="blue-galaxy"] .list-item-row {
  background: rgba(18, 28, 56, 0.46);
  border-color: rgba(120, 170, 255, 0.18);
}

body[data-theme="blue-galaxy"] .list-item-row:hover {
  border-color: rgba(127, 182, 255, 0.28);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.18);
}

body[data-theme="blue-galaxy"] .list-item-row.checked {
  background: rgba(127, 182, 255, 0.08);
  opacity: 0.6;
}

body[data-theme="blue-galaxy"] .item-quantity {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .item-name {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .item-note {
  color: rgba(234, 242, 255, 0.68);
}

/* Checkboxes */
body[data-theme="blue-galaxy"] .checkbox-label input[type="checkbox"] {
  background: transparent;
  border: 2px solid rgba(120, 170, 255, 0.28);
}

body[data-theme="blue-galaxy"] .checkbox-label input[type="checkbox"]::before {
  color: #050814;
}

body[data-theme="blue-galaxy"] .checkbox-label input[type="checkbox"]:checked {
  background: #7FB6FF;
  border-color: #7FB6FF;
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.35);
}

body[data-theme="blue-galaxy"] .checkbox-label input[type="checkbox"]:hover {
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.22);
}

body[data-theme="blue-galaxy"] .checkbox-label input[type="checkbox"]:focus-visible {
  outline-color: rgba(127, 182, 255, 0.42);
}

body[data-theme="blue-galaxy"] .list-item-row.checked {
  background: rgba(127, 182, 255, 0.08);
  border-color: rgba(120, 170, 255, 0.22);
}

body[data-theme="blue-galaxy"] .list-item-row.checked:hover {
  background: rgba(127, 182, 255, 0.12);
  border-color: rgba(120, 170, 255, 0.32);
}

body[data-theme="blue-galaxy"] .list-item-row.checked .item-name,
body[data-theme="blue-galaxy"] .list-item-row.checked .item-quantity,
body[data-theme="blue-galaxy"] .list-item-row.checked .item-note {
  text-decoration: line-through;
  text-decoration-color: #7FB6FF;
  color: rgba(234, 242, 255, 0.68);
}

body[data-theme="blue-galaxy"] .list-item-row.checked .item-quantity {
  color: rgba(127, 182, 255, 0.75);
}

/* Empty State */
body[data-theme="blue-galaxy"] .empty-message {
  color: rgba(234, 242, 255, 0.72);
}

body[data-theme="blue-galaxy"] .empty-cta-btn {
  background: rgba(18, 28, 56, 0.40);
  border: 2px solid rgba(120, 170, 255, 0.28);
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .empty-cta-btn:hover {
  background: rgba(127, 182, 255, 0.16);
  border-color: rgba(127, 182, 255, 0.42);
  box-shadow: 0 0 20px rgba(127, 182, 255, 0.28);
}

body[data-theme="blue-galaxy"] .empty-cta-btn.btn-secondary {
  background: rgba(18, 28, 56, 0.40) !important;
  border: 1px solid rgba(120, 170, 255, 0.26) !important;
  border-radius: 14px !important;
  color: #EAF2FF !important;
}

body[data-theme="blue-galaxy"] .empty-cta-btn.btn-secondary:hover {
  background: rgba(127, 182, 255, 0.14) !important;
  border-color: rgba(127, 182, 255, 0.38) !important;
  box-shadow: 0 0 16px rgba(127, 182, 255, 0.22) !important;
}

/* ─── Manual Creation Form (Dialog) ─── */
body[data-theme="blue-galaxy"] .manual-list-form {
  background: linear-gradient(180deg, rgba(10,18,40,0.82), rgba(10,18,40,0.62));
  border: 1px solid rgba(120,170,255,0.18);
  box-shadow: 0 18px 48px rgba(0,0,0,0.55), 0 0 26px rgba(127,182,255,0.18);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-radius: 18px;
  padding: 2rem;
}

body[data-theme="blue-galaxy"] .form-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #FCA5A5;
}

body[data-theme="blue-galaxy"] .form-group label {
  color: #EAF2FF;
  text-shadow: 0 0 8px rgba(127, 182, 255, 0.15);
}

/* Form Inputs - MUST BE SPACE GLASS (NO WHITE) */
body[data-theme="blue-galaxy"] .shopping-list-input,
body[data-theme="blue-galaxy"] .shopping-list-textarea {
  background: rgba(18, 28, 56, 0.55) !important;
  border: 1px solid rgba(120, 170, 255, 0.20) !important;
  color: #EAF2FF !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-theme="blue-galaxy"] .shopping-list-input::placeholder,
body[data-theme="blue-galaxy"] .shopping-list-textarea::placeholder {
  color: rgba(234, 242, 255, 0.45) !important;
}

body[data-theme="blue-galaxy"] .shopping-list-input:focus,
body[data-theme="blue-galaxy"] .shopping-list-textarea:focus {
  border-color: rgba(127, 182, 255, 0.42) !important;
  box-shadow: 0 0 0 3px rgba(127,182,255,0.18), 0 0 18px rgba(127,182,255,0.18) !important;
  background: rgba(18, 28, 56, 0.65) !important;
  outline: none !important;
}

body[data-theme="blue-galaxy"] .form-items-list {
  background: rgba(5, 8, 20, 0.48);
  border: 1px solid rgba(120, 170, 255, 0.16);
}

body[data-theme="blue-galaxy"] .form-item-row {
  border-bottom-color: rgba(120, 170, 255, 0.12);
}

body[data-theme="blue-galaxy"] .form-item-text {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .btn-remove-item {
  color: #FCA5A5;
}

body[data-theme="blue-galaxy"] .btn-remove-item:hover {
  background: rgba(239, 68, 68, 0.14);
}

/* Item Add Row Inputs */
body[data-theme="blue-galaxy"] .item-input {
  background: rgba(18, 28, 56, 0.55) !important;
  border: 1px solid rgba(120, 170, 255, 0.20) !important;
  color: #EAF2FF !important;
}

body[data-theme="blue-galaxy"] .item-input::placeholder {
  color: rgba(234, 242, 255, 0.45) !important;
}

body[data-theme="blue-galaxy"] .item-input:focus {
  border-color: rgba(127, 182, 255, 0.42) !important;
  box-shadow: 0 0 0 3px rgba(127,182,255,0.18), 0 0 14px rgba(127,182,255,0.16) !important;
  outline: none !important;
}

/* Add Item Button "+" */
body[data-theme="blue-galaxy"] .btn-add-item {
  background: rgba(127, 182, 255, 0.16) !important;
  border: 2px solid rgba(120, 170, 255, 0.26) !important;
  border-radius: 14px !important;
  color: #EAF2FF !important;
}

body[data-theme="blue-galaxy"] .btn-add-item:hover:not(:disabled) {
  background: rgba(127, 182, 255, 0.26) !important;
  border-color: rgba(127, 182, 255, 0.42) !important;
  box-shadow: 0 0 16px rgba(127, 182, 255, 0.24) !important;
}

body[data-theme="blue-galaxy"] .btn-add-item:disabled {
  background: rgba(18, 28, 56, 0.28) !important;
  border-color: rgba(120, 170, 255, 0.12) !important;
  color: rgba(234, 242, 255, 0.35) !important;
  opacity: 0.45 !important;
}

/* Primary Button (Erstellen) - CYAN BLUE GLOW */
body[data-theme="blue-galaxy"] .shopping-list-btn-create {
  background: rgba(127, 182, 255, 0.70) !important;
  border: 2px solid rgba(120, 170, 255, 0.26) !important;
  border-radius: 14px !important;
  color: #050814 !important;
  font-weight: 600 !important;
  box-shadow: 0 0 18px rgba(127, 182, 255, 0.25) !important;
}

body[data-theme="blue-galaxy"] .shopping-list-btn-create:hover {
  background: rgba(127, 182, 255, 0.85) !important;
  border-color: rgba(127, 182, 255, 0.42) !important;
  box-shadow: 0 0 24px rgba(127, 182, 255, 0.38) !important;
  transform: translateY(-1px);
}

/* Secondary Button (Abbrechen) - GLASS OUTLINE */
body[data-theme="blue-galaxy"] .shopping-list-btn-cancel {
  background: rgba(18, 28, 56, 0.40) !important;
  border: 1px solid rgba(120, 170, 255, 0.26) !important;
  border-radius: 14px !important;
  color: #EAF2FF !important;
}

body[data-theme="blue-galaxy"] .shopping-list-btn-cancel:hover {
  background: rgba(127, 182, 255, 0.14) !important;
  border-color: rgba(127, 182, 255, 0.38) !important;
  box-shadow: 0 0 16px rgba(127, 182, 255, 0.20) !important;
}

body[data-theme="blue-galaxy"] .manual-badge {
  color: #7FB6FF;
  text-shadow: 0 0 10px rgba(127, 182, 255, 0.32);
}

body[data-theme="blue-galaxy"] .list-description {
  color: rgba(234, 242, 255, 0.68);
}

/* Blue-Galaxy Theme - Edit Mode Buttons */
body[data-theme="blue-galaxy"] .list-btn-edit {
  background: rgba(18, 28, 56, 0.40);
  border: 1px solid rgba(120, 170, 255, 0.26);
  border-radius: 14px;
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .list-btn-edit:hover {
  background: rgba(127, 182, 255, 0.14);
  border-color: rgba(127, 182, 255, 0.38);
  box-shadow: 0 0 16px rgba(127, 182, 255, 0.22);
}

body[data-theme="blue-galaxy"] .list-btn-save {
  background: rgba(127, 182, 255, 0.70);
  border: 2px solid rgba(120, 170, 255, 0.26);
  border-radius: 14px;
  color: #050814;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .list-btn-save:hover {
  background: rgba(127, 182, 255, 0.85);
  border-color: rgba(127, 182, 255, 0.42);
  box-shadow: 0 0 24px rgba(127, 182, 255, 0.38);
  transform: translateY(-1px);
}

body[data-theme="blue-galaxy"] .list-btn-cancel {
  background: rgba(18, 28, 56, 0.40);
  border: 1px solid rgba(120, 170, 255, 0.22);
  border-radius: 14px;
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .list-btn-cancel:hover {
  background: rgba(18, 28, 56, 0.55);
  border-color: rgba(127, 182, 255, 0.35);
  color: #EAF2FF;
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.18);
}

body[data-theme="blue-galaxy"] .list-btn-delete {
  background: rgba(56, 18, 28, 0.50);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 14px;
  color: #FCA5A5;
}

body[data-theme="blue-galaxy"] .list-btn-delete:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.42);
  color: #FFB9B9;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.25);
}

body[data-theme="blue-galaxy"] .edit-add-item-section {
  background: rgba(5, 8, 20, 0.40);
  border: 2px dashed rgba(120, 170, 255, 0.22);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body[data-theme="blue-galaxy"] .edit-add-item-section h4 {
  color: #EAF2FF;
  text-shadow: 0 0 12px rgba(127, 182, 255, 0.22);
}

body[data-theme="blue-galaxy"] .edit-item-row .btn-remove-item {
  color: #FCA5A5;
}

body[data-theme="blue-galaxy"] .edit-item-row .btn-remove-item:hover {
  background: rgba(239, 68, 68, 0.14);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEUES LAYOUT: Karten-Grid Übersicht & Fokus-Modus
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Karten-Grid für Übersicht ─── */
.shopping-lists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.shopping-list-card {
  background: var(--card-background, #ffffff);
  border: 1px solid var(--border-light, #dee2e6);
  border-radius: 8px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shopping-list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.shopping-list-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.shopping-list-card .card-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-color, #333);
  line-height: 1.3;
}

.shopping-list-card .card-progress-badge {
  background: var(--primary-color, #007bff);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
}

.shopping-list-card .card-description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shopping-list-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted, #6c757d);
}

.shopping-list-card .card-items-preview {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light, #dee2e6);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.shopping-list-card .preview-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-color, #333);
}

.shopping-list-card .preview-item.checked {
  opacity: 0.6;
  text-decoration: line-through;
}

.shopping-list-card .preview-check {
  font-size: 0.8rem;
  color: var(--primary-color, #007bff);
}

.shopping-list-card .preview-item.checked .preview-check {
  color: var(--success-color, #28a745);
}

.shopping-list-card .preview-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shopping-list-card .preview-more {
  font-size: 0.85rem;
  color: var(--text-muted, #6c757d);
  font-style: italic;
  padding-left: 1.3rem;
}

/* ─── Today Badge ─── */
.today-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.today-badge.primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.today-badge.secondary {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ─── Card Action Buttons ─── */
.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light, #dee2e6);
}

.btn-card-today {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: 1px solid var(--border-light, #dee2e6);
  color: var(--text-secondary, #666);
}

.btn-card-today:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
  color: #22c55e;
}

.btn-card-today.active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
  border-color: #22c55e;
  color: #22c55e;
}

.btn-card-edit,
.btn-card-delete {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-edit {
  background: var(--secondary-background, #f8f9fa);
  border: 1px solid var(--border-light, #dee2e6);
  color: var(--text-color, #333);
}

.btn-card-edit:hover {
  background: #e9ecef;
  border-color: var(--primary-color, #007bff);
  color: var(--primary-color, #007bff);
}

.btn-card-delete {
  background: var(--primary-color, #007bff);
  border: 1px solid var(--primary-color, #007bff);
  color: white;
}

.btn-card-delete:hover {
  background: #0056b3;
  border-color: #0056b3;
}

/* ─── Fokus-Modus (einzelner Einkaufszettel) ─── */
.shopping-list-focus-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.btn-back {
  align-self: flex-start;
  background: transparent;
  border: 2px solid var(--border-light, #dee2e6);
  color: var(--text-color, #333);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back:hover {
  border-color: var(--primary-color, #007bff);
  color: var(--primary-color, #007bff);
  background: rgba(0, 123, 255, 0.05);
}

.list-focus-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
}

.list-focus-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.list-focus-progress .progress-bar.large {
  flex: 1;
  height: 10px;
}

.list-focus-progress .progress-text {
  font-weight: 600;
  color: var(--primary-color, #007bff);
  white-space: nowrap;
}

/* ─── Power Theme: Karten-Grid ─── */
[data-theme="power"] .shopping-list-card {
  background: rgba(0, 0, 0, 0.35);
  border-color: var(--power-border-soft);
}

[data-theme="power"] .shopping-list-card:hover {
  background: rgba(72, 232, 119, 0.08);
  border-color: var(--power-accent);
  box-shadow: 0 0 20px var(--power-glow-soft), 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="power"] .shopping-list-card .card-header h3 {
  color: var(--power-accent);
}

[data-theme="power"] .shopping-list-card .card-progress-badge {
  background: var(--power-accent);
  color: #0b0f0d;
}

[data-theme="power"] .shopping-list-card .card-description,
[data-theme="power"] .shopping-list-card .card-meta {
  color: var(--power-text-dim);
}

[data-theme="power"] .shopping-list-card .card-items-preview {
  border-top-color: var(--power-border-soft);
}

[data-theme="power"] .shopping-list-card .preview-item {
  color: var(--power-text);
}

[data-theme="power"] .shopping-list-card .preview-check {
  color: var(--power-accent);
}

[data-theme="power"] .shopping-list-card .preview-more {
  color: var(--power-text-dim);
}

[data-theme="power"] .shopping-list-card .card-actions {
  border-top-color: var(--power-border-soft);
}

[data-theme="power"] .btn-card-edit {
  background: rgba(6, 10, 8, 0.45);
  border: 1px solid rgba(72, 232, 119, 0.28);
  color: var(--power-text);
}

[data-theme="power"] .btn-card-edit:hover {
  background: rgba(6, 10, 8, 0.65);
  border-color: rgba(72, 232, 119, 0.42);
  color: var(--power-accent);
}

[data-theme="power"] .btn-card-delete {
  background: transparent;
  border: 2px solid #48E877;
  color: #48E877;
}

[data-theme="power"] .btn-card-delete:hover {
  background: #48E877;
  color: #0b0f0d;
  box-shadow: 0 0 15px var(--power-glow-soft);
}

[data-theme="power"] .btn-back {
  border-color: var(--power-border-soft);
  color: var(--power-text);
}

[data-theme="power"] .btn-back:hover {
  border-color: var(--power-accent);
  color: var(--power-accent);
  background: rgba(72, 232, 119, 0.08);
  box-shadow: 0 0 15px var(--power-glow-soft);
}

[data-theme="power"] .list-focus-progress .progress-text {
  color: var(--power-accent);
}

/* ─── GoodVibes Theme: Karten-Grid ─── */
[data-theme="goodvibes"] .shopping-list-card {
  background: rgba(70, 50, 30, 0.35);
  border-color: rgba(255, 192, 105, 0.22);
}

[data-theme="goodvibes"] .shopping-list-card:hover {
  background: rgba(255, 192, 105, 0.12);
  border-color: rgba(255, 192, 105, 0.38);
  box-shadow: 0 8px 24px rgba(255, 192, 105, 0.15);
}

[data-theme="goodvibes"] .shopping-list-card .card-header h3 {
  color: #FFD699;
}

[data-theme="goodvibes"] .shopping-list-card .card-progress-badge {
  background: #FFC069;
  color: #2a1f10;
}

[data-theme="goodvibes"] .shopping-list-card .card-description,
[data-theme="goodvibes"] .shopping-list-card .card-meta {
  color: rgba(255, 228, 196, 0.70);
}

[data-theme="goodvibes"] .shopping-list-card .card-items-preview {
  border-top-color: rgba(255, 192, 105, 0.18);
}

[data-theme="goodvibes"] .shopping-list-card .preview-item {
  color: #FFE4C4;
}

[data-theme="goodvibes"] .shopping-list-card .preview-check {
  color: #FFC069;
}

[data-theme="goodvibes"] .shopping-list-card .preview-more {
  color: rgba(255, 228, 196, 0.70);
}

[data-theme="goodvibes"] .shopping-list-card .card-actions {
  border-top-color: rgba(255, 192, 105, 0.18);
}

[data-theme="goodvibes"] .btn-card-edit {
  background: rgba(70, 50, 30, 0.40);
  border: 1px solid rgba(255, 192, 105, 0.30);
  color: #FFE4C4;
}

[data-theme="goodvibes"] .btn-card-edit:hover {
  background: rgba(255, 192, 105, 0.15);
  border-color: rgba(255, 192, 105, 0.45);
  color: #FFD699;
}

[data-theme="goodvibes"] .btn-card-delete {
  background: rgba(255, 192, 105, 0.18);
  border: 2px solid rgba(255, 192, 105, 0.35);
  color: #FFD699;
}

[data-theme="goodvibes"] .btn-card-delete:hover {
  background: rgba(255, 192, 105, 0.28);
  border-color: rgba(255, 192, 105, 0.50);
  color: #FFC069;
}

[data-theme="goodvibes"] .btn-back {
  border-color: rgba(255, 192, 105, 0.30);
  color: #FFE4C4;
}

[data-theme="goodvibes"] .btn-back:hover {
  border-color: rgba(255, 192, 105, 0.50);
  color: #FFD699;
  background: rgba(255, 192, 105, 0.12);
}

[data-theme="goodvibes"] .list-focus-progress .progress-text {
  color: #FFC069;
}

/* ─── Purple-Bubbles Theme: Karten-Grid ─── */
[data-theme="purple-bubbles"] .shopping-list-card {
  background: rgba(49, 46, 129, 0.50);
  border-color: rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .shopping-list-card:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: #A78BFA;
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .shopping-list-card .card-header h3 {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .shopping-list-card .card-progress-badge {
  background: #A78BFA;
  color: #000000;
}

[data-theme="purple-bubbles"] .shopping-list-card .card-description,
[data-theme="purple-bubbles"] .shopping-list-card .card-meta {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .shopping-list-card .card-items-preview {
  border-top-color: rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .shopping-list-card .preview-item {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .shopping-list-card .preview-check {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .shopping-list-card .preview-more {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .shopping-list-card .card-actions {
  border-top-color: rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .btn-card-edit {
  background: rgba(40, 20, 60, 0.45);
  border: 1px solid rgba(182, 109, 255, 0.35);
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .btn-card-edit:hover {
  background: rgba(182, 109, 255, 0.22);
  border-color: rgba(182, 109, 255, 0.45);
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .btn-card-delete {
  background: rgba(182, 109, 255, 0.75);
  border: 2px solid rgba(182, 109, 255, 0.35);
  color: #0B0614;
  box-shadow: 0 0 18px rgba(182, 109, 255, 0.35);
}

[data-theme="purple-bubbles"] .btn-card-delete:hover {
  background: rgba(200, 160, 255, 0.9);
  border-color: rgba(200, 160, 255, 0.45);
  box-shadow: 0 0 24px rgba(182, 109, 255, 0.55);
}

[data-theme="purple-bubbles"] .btn-back {
  border-color: rgba(196, 181, 253, 0.30);
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .btn-back:hover {
  border-color: #A78BFA;
  color: #C4B5FD;
  background: rgba(139, 92, 246, 0.12);
}

[data-theme="purple-bubbles"] .list-focus-progress .progress-text {
  color: #A78BFA;
}

/* ─── Blue-Galaxy Theme: Karten-Grid ─── */
body[data-theme="blue-galaxy"] .shopping-list-card {
  background: rgba(18, 28, 56, 0.46);
  border-color: rgba(120, 170, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-theme="blue-galaxy"] .shopping-list-card:hover {
  background: rgba(127, 182, 255, 0.10);
  border-color: rgba(127, 182, 255, 0.32);
  box-shadow: 0 8px 24px rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] .shopping-list-card .card-header h3 {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .shopping-list-card .card-progress-badge {
  background: #7FB6FF;
  color: #050814;
}

body[data-theme="blue-galaxy"] .shopping-list-card .card-description,
body[data-theme="blue-galaxy"] .shopping-list-card .card-meta {
  color: rgba(234, 242, 255, 0.65);
}

body[data-theme="blue-galaxy"] .shopping-list-card .card-items-preview {
  border-top-color: rgba(120, 170, 255, 0.15);
}

body[data-theme="blue-galaxy"] .shopping-list-card .preview-item {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .shopping-list-card .preview-check {
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .shopping-list-card .preview-more {
  color: rgba(234, 242, 255, 0.65);
}

body[data-theme="blue-galaxy"] .shopping-list-card .card-actions {
  border-top-color: rgba(120, 170, 255, 0.15);
}

body[data-theme="blue-galaxy"] .btn-card-edit {
  background: rgba(18, 28, 56, 0.40);
  border: 1px solid rgba(120, 170, 255, 0.26);
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .btn-card-edit:hover {
  background: rgba(127, 182, 255, 0.14);
  border-color: rgba(127, 182, 255, 0.38);
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .btn-card-delete {
  background: rgba(127, 182, 255, 0.16);
  border: 2px solid rgba(120, 170, 255, 0.28);
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] .btn-card-delete:hover {
  background: rgba(127, 182, 255, 0.26);
  border-color: rgba(127, 182, 255, 0.42);
  box-shadow: 0 0 15px rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .btn-back {
  border-color: rgba(120, 170, 255, 0.26);
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] .btn-back:hover {
  border-color: rgba(127, 182, 255, 0.42);
  color: #7FB6FF;
  background: rgba(127, 182, 255, 0.10);
}

body[data-theme="blue-galaxy"] .list-focus-progress .progress-text {
  color: #7FB6FF;
}

/* ─── Mobile Responsive: Karten-Grid ─── */
@media (max-width: 768px) {
  .shopping-lists-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.5rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .shopping-list-card {
    padding: 1rem;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .shopping-list-card .card-header h3 {
    font-size: 1.05rem;
  }

  .card-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
  }

  .btn-card-edit,
  .btn-card-delete {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .btn-back {
    width: 100%;
    text-align: center;
  }

  .list-details-header {
    flex-direction: column;
    gap: 1rem;
  }

  .list-details-actions {
    width: 100%;
    justify-content: stretch;
  }

  .list-details-actions button {
    flex: 1;
  }
}

/* ─── Extra Small Screens (< 450px) - Galaxy S20 Ultra etc. ─── */
@media (max-width: 450px) {
  .shopping-lists-grid {
    padding: 0.5rem 0.75rem;
  }

  .shopping-list-card {
    padding: 0.875rem;
    margin: 0;
  }

  .shopping-list-card .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .shopping-list-card .card-progress-badge {
    align-self: flex-start;
  }

  .card-actions {
    gap: 0.5rem;
    padding-top: 0.6rem;
  }

  .btn-card-edit,
  .btn-card-delete {
    padding: 0.55rem 0.4rem;
    font-size: 0.8rem;
    border-radius: 6px;
  }
}

/* Loading State */
.shopping-list-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  gap: 1rem;
}

.shopping-list-loading p {
  margin: 0;
  color: var(--text-secondary, #666);
  font-size: 0.95rem;
}

.shopping-list-loading .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(124, 58, 237, 0.2);
  border-top-color: var(--primary-color, #7c3aed);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* QuickShoppingList - Mobile-First Responsive Design */

/* ============================================
   BASE RESET & BOX-SIZING
   ============================================ */
.quick-shopping-list-overlay,
.quick-shopping-list-overlay *,
.quick-shopping-list-overlay *::before,
.quick-shopping-list-overlay *::after {
  box-sizing: border-box;
}

/* ============================================
   OVERLAY - Mobile First (Full Screen)
   ============================================ */
.quick-shopping-list-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  /* Mobile: no scroll on overlay */
  overflow: hidden;
  /* iOS Safe Area - Top */
  padding-top: env(safe-area-inset-top, 0);
}

/* Desktop: behave like normal element in document flow (like other panels) */
@media (min-width: 768px) {
  .quick-shopping-list-overlay {
    /* Remove fixed positioning - act like dynamic-panel */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    /* Remove overlay background */
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* Reset z-index */
    z-index: auto !important;
    /* Normal flex behavior */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    /* Fill parent container */
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: visible;
  }
}

/* ============================================
   PANEL - Mobile First (Bottom Sheet)
   ============================================ */
.quick-shopping-list-panel {
  background: var(--card-bg, #1a1a2e);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 100%;
  /* Mobile: limited height with internal scroll */
  max-height: 92vh;
  max-height: 92dvh; /* Dynamic viewport height for mobile browsers */
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  display: flex;
  flex-direction: column;
  /* Mobile: hidden overflow for bottom sheet */
  overflow: hidden;
  animation: slideUp 0.25s ease-out;
  /* iOS Safe Area - Bottom */
  padding-bottom: 8px;
}

/* Desktop drag state - visual feedback */
.quick-shopping-list-panel.dragging {
  cursor: grabbing;
  user-select: none;
}

/* Desktop: behave like dynamic-panel */
@media (min-width: 768px) {
  .quick-shopping-list-panel {
    /* Match dynamic-panel styles */
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Remove bottom sheet styling */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInUp 0.3s ease;
  }

  @keyframes slideInUp {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   HEADER - Responsive with Touch Targets
   ============================================ */
.quick-list-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
  min-height: 56px;
  position: relative;
  z-index: 100;
}

.quick-list-back-btn {
  background: none;
  border: none;
  color: var(--text-secondary, #a0a0a0);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s;
  /* Minimum touch target */
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.quick-list-back-btn:hover,
.quick-list-back-btn:active {
  color: var(--text-primary, #ffffff);
  background: rgba(255, 255, 255, 0.1);
}

/* Header Center Container - matches MobileHeader structure */
.quick-list-header .header-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.quick-list-title,
.quick-list-header .header-center .app-bar-title,
.quick-list-header .app-bar-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.quick-list-all-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  opacity: 0.8;
  /* Minimum touch target */
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.quick-list-all-btn:hover,
.quick-list-all-btn:active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* Header Left Container */
.quick-list-header-left {
  min-width: 44px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.25rem;
}

/* Navigation Buttons for List Switching */
.quick-list-nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.quick-list-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--text-primary, #fff);
  font-size: 1.25rem;
  font-weight: bold;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.quick-list-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.quick-list-nav-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.quick-list-nav-btn:disabled,
.quick-list-nav-btn.disabled {
  opacity: 0.3;
  cursor: default;
}

/* Menu Button (⋮) */
.quick-list-menu-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  color: var(--text-secondary, #a0a0a0);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.quick-list-menu-btn:hover,
.quick-list-menu-btn:active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary, #ffffff);
}

/* Header Actions Container */
.quick-list-header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

/* ============================================
   SWIPE INDICATOR
   ============================================ */
.quick-list-swipe-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.swipe-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.swipe-dot.active {
  background: var(--primary-color, #6366f1);
  transform: scale(1.2);
  box-shadow: 0 0 8px var(--primary-color, #6366f1);
}

.swipe-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
}

/* ============================================
   LIST INFO BANNER
   ============================================ */
.quick-list-info-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.quick-list-info-banner.private {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.quick-list-info-banner .banner-icon {
  font-size: 1.25rem;
}

.quick-list-info-banner .banner-text {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary, #fff);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.quick-list-info-banner .banner-badge {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary, #a0a0a0);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
}

.quick-list-info-banner .banner-badge.shared {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.15));
  color: #4ade80;
  font-weight: 500;
}

/* Edit Button */
.quick-list-edit-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  color: var(--text-secondary, #a0a0a0);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.quick-list-edit-btn:hover,
.quick-list-edit-btn:active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary, #ffffff);
}

/* Share Button */
.quick-list-share-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  color: var(--primary-color, #7c3aed);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.quick-list-share-btn:hover,
.quick-list-share-btn:active {
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light, #a855f7);
}

/* Shared Badge */
.shared-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  font-size: 0.8em;
  color: var(--primary-color, #7c3aed);
  opacity: 0.9;
}

/* Purple Bubbles Theme - Share Button */
[data-theme="purple-bubbles"] .quick-list-share-btn {
  color: var(--pb-accent, #A78BFA);
}

[data-theme="purple-bubbles"] .quick-list-share-btn:hover,
[data-theme="purple-bubbles"] .quick-list-share-btn:active {
  background: var(--pb-surface-hover, rgba(167, 139, 250, 0.22));
  color: var(--pb-accent-bright, #C4B5FD);
}

[data-theme="purple-bubbles"] .shared-badge {
  color: var(--pb-accent, #A78BFA);
}

/* ============================================
   CONTENT AREA - Scrollable on Mobile only
   ============================================ */
.quick-list-content {
  padding: 1rem;
  flex: 1 1 auto;
  /* Mobile: internal scroll */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  position: relative;
  z-index: 1;
}

/* Desktop: scrollable content within panel (like dynamic-panel) */
@media (min-width: 768px) {
  .quick-list-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
  }
}

/* ============================================
   LOADING STATE
   ============================================ */
.quick-list-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  color: var(--text-secondary, #a0a0a0);
}

.quick-list-loading .loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-color, #6366f1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   ERROR STATE
   ============================================ */
.quick-list-error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid rgba(239, 68, 68, 0.2);
  font-size: 0.9rem;
  word-break: break-word;
}

/* ============================================
   ADD ITEM SECTION - Top Position (like search bar)
   ============================================ */
.quick-shopping-list-panel > .quick-list-add-section {
  display: flex;
  gap: 0.625rem;
  margin: 1rem;
  margin-bottom: 0;
  align-items: stretch;
  flex-shrink: 0;
}

.quick-list-add-section {
  display: flex;
  gap: 0.625rem;
  align-items: stretch;
}

.quick-list-input {
  /* Flex child settings - CRITICAL */
  flex: 1 1 auto;
  min-width: 0; /* Prevents input from overflowing container */
  width: 0; /* Forces flex-basis calculation */

  /* Appearance */
  padding: 0.875rem 1rem;
  font-size: 16px; /* Prevents iOS zoom on focus */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--text-primary, #ffffff);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.quick-list-input::placeholder {
  color: var(--text-secondary, #a0a0a0);
  opacity: 0.8;
}

.quick-list-input:focus {
  outline: none;
  border-color: var(--primary-color, #6366f1);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.quick-list-add-btn {
  /* Fixed size button - touch-friendly */
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;

  /* Appearance */
  border: none;
  border-radius: 12px;
  background: var(--primary-color, #6366f1);
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.quick-list-add-btn:hover:not(:disabled) {
  background: var(--primary-hover, #4f46e5);
}

.quick-list-add-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.quick-list-add-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.quick-list-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-secondary, #a0a0a0);
}

.quick-list-empty p {
  margin: 0;
  font-size: 0.95rem;
}

.quick-list-empty-hint {
  font-size: 0.85rem;
  margin-top: 0.5rem !important;
  opacity: 0.7;
}

/* ============================================
   ITEMS LIST
   ============================================ */
.quick-list-items {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.quick-list-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
  /* Prevent text selection on long press */
  -webkit-user-select: none;
  user-select: none;
}

.quick-list-item:active {
  background: rgba(255, 255, 255, 0.08);
}

.quick-list-item.checked {
  opacity: 0.6;
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.15);
}

.quick-list-item-label {
  flex: 1 1 auto;
  min-width: 0; /* Allow text wrapping */
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.125rem 0;
}

.quick-list-checkbox {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  min-width: 24px;
  cursor: pointer;
  margin-top: 0.125rem;
  /* Custom checkbox appearance */
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 2px solid var(--primary-color, #6366f1);
  border-radius: 50%;
  display: inline-grid;
  place-content: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  position: relative;
}

.quick-list-checkbox::before {
  content: "✓";
  font-size: 14px;
  font-weight: bold;
  color: #000000;
  transform: scale(0);
  transition: transform 120ms ease-in-out;
  line-height: 1;
}

.quick-list-checkbox:checked {
  background: var(--primary-color, #6366f1);
  border-color: var(--primary-color, #6366f1);
}

.quick-list-checkbox:checked::before {
  transform: scale(1);
}

.quick-list-checkbox:hover {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.quick-list-checkbox:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.35);
  outline-offset: 2px;
}

.quick-list-item-text {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text-primary, #ffffff);
  font-size: 0.95rem;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.quick-list-item-text.strikethrough {
  text-decoration: line-through;
  color: var(--text-secondary, #a0a0a0);
}

.quick-list-item-delete {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-secondary, #a0a0a0);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.375rem 0.5rem;
  margin: -0.25rem -0.25rem -0.25rem 0;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  /* Always visible on mobile (no hover) */
  opacity: 0.6;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.quick-list-item-delete:active {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

/* ============================================
   CHECKBOX BUTTON (New Circle Style)
   ============================================ */
.quick-list-checkbox-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.checkbox-circle {
  width: 26px;
  height: 26px;
  border: 2px solid var(--primary-color, #6366f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.quick-list-checkbox-btn:hover .checkbox-circle {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.quick-list-checkbox-btn.checked .checkbox-circle {
  background: #22c55e;
  border-color: #22c55e;
  color: #ffffff;
}

/* ============================================
   PROGRESS DIVIDER (Between items)
   ============================================ */
.quick-list-progress-divider {
  padding: 10px 0;
  margin: 6px 0;
  display: flex;
  align-items: center;
}

.quick-list-progress-divider .quick-list-progress-text {
  color: var(--text-secondary, #a0a0a0);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Checked Items List */
.quick-list-item-list.checked-items {
  margin-top: 0;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.quick-list-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin-top: 0.75rem;
}

.quick-list-progress-bar {
  flex: 1 1 auto;
  min-width: 0;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.quick-list-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color, #6366f1), #22c55e);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.quick-list-progress-text {
  flex-shrink: 0;
  color: var(--text-secondary, #a0a0a0);
  font-size: 0.8rem;
  font-weight: 500;
  min-width: 40px;
  text-align: right;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Very small devices (320px - 360px) */
@media (max-width: 360px) {
  .quick-list-header {
    padding: 0.625rem 0.75rem;
    gap: 0.375rem;
  }

  .quick-list-title {
    font-size: 1rem;
  }

  .quick-list-content {
    padding: 0.875rem;
  }

  .quick-list-add-section {
    gap: 0.5rem;
  }

  .quick-list-input {
    padding: 0.75rem 0.875rem;
    font-size: 16px;
  }

  .quick-list-add-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.375rem;
  }

  .quick-list-item {
    padding: 0.625rem;
    gap: 0.375rem;
  }

  .quick-list-item-text {
    font-size: 0.9rem;
  }
}

/* Standard mobile (375px - 480px) */
@media (min-width: 361px) and (max-width: 480px) {
  .quick-list-content {
    padding: 1rem;
  }
}

/* Large mobile / Small tablet (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .quick-shopping-list-overlay {
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
  }

  .quick-shopping-list-panel {
    border-radius: 12px;
    width: 100%;
    max-width: calc(100vw - 1.5rem);
    max-height: calc(100vh - 1.5rem);
    margin: auto;
    padding-bottom: 0;
    animation: slideIn 0.2s ease-out;
  }

  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-20px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .quick-list-content {
    padding: 1.25rem;
    flex: 1;
  }
}

/* Tablet and up (768px+) - integrated in app-main like other panels */
@media (min-width: 768px) {
  .quick-list-header {
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .quick-list-title {
    font-size: 1.2rem;
  }

  .quick-list-content {
    padding: 1.5rem;
  }

  .quick-list-add-section {
    gap: 0.75rem;
  }

  .quick-list-input {
    padding: 1rem 1.125rem;
  }

  .quick-list-add-btn {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }

  /* Show delete on hover for non-touch */
  .quick-list-item-delete {
    opacity: 0;
    transition: opacity 0.15s, color 0.2s, background 0.2s;
  }

  .quick-list-item:hover .quick-list-item-delete {
    opacity: 0.7;
  }

  .quick-list-item-delete:hover {
    opacity: 1;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .quick-list-header {
    padding: 1.25rem 1.5rem;
    min-height: 64px;
  }

  .quick-list-title {
    font-size: 1.3rem;
  }

  .quick-list-content {
    padding: 1.75rem;
  }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .quick-list-header {
    padding: 1.5rem 2rem;
  }

  .quick-list-content {
    padding: 2rem;
  }
}

/* ============================================
   LANDSCAPE MODE ADJUSTMENTS
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .quick-shopping-list-panel {
    max-height: 95vh;
  }

  .quick-list-header {
    padding: 0.5rem 1rem;
    min-height: 48px;
  }

  .quick-list-content {
    padding: 0.75rem 1rem;
  }

  .quick-list-loading {
    padding: 1.5rem;
  }

  .quick-list-empty {
    padding: 1rem;
  }
}

/* ============================================
   HIGH CONTRAST / ACCESSIBILITY
   ============================================ */
@media (prefers-contrast: high) {
  .quick-shopping-list-panel {
    border: 2px solid rgba(255, 255, 255, 0.3);
  }

  .quick-list-input {
    border-width: 2px;
  }

  .quick-list-item {
    border-width: 2px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .quick-shopping-list-panel {
    animation: none;
  }

  .quick-list-add-btn:active:not(:disabled) {
    transform: none;
  }

  .quick-list-progress-fill {
    transition: none;
  }
}

/* ============================================
   DARK/LIGHT MODE SUPPORT
   ============================================ */
@media (prefers-color-scheme: light) {
  .quick-shopping-list-overlay {
    background: rgba(0, 0, 0, 0.4);
  }

  .quick-shopping-list-panel {
    background: var(--card-bg, #ffffff);
    border-color: rgba(0, 0, 0, 0.1);
  }

  .quick-list-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
  }

  .quick-list-input {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-primary, #1a1a1a);
  }

  .quick-list-input:focus {
    background: rgba(0, 0, 0, 0.02);
  }

  .quick-list-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
  }

  .quick-list-item:active {
    background: rgba(0, 0, 0, 0.05);
  }

  .quick-list-progress-bar {
    background: rgba(0, 0, 0, 0.1);
  }
}

/* ============================================
   PURPLE-BUBBLES THEME - Galaxy Glassmorphism
   ============================================ */

/* Overlay with Galaxy Background */
[data-theme="purple-bubbles"] .quick-shopping-list-overlay {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(167, 139, 250, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
    linear-gradient(180deg, #0f0720 0%, #1a0a30 50%, #150826 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Panel - Full Height Glassmorphism */
[data-theme="purple-bubbles"] .quick-shopping-list-panel {
  background: rgba(29, 14, 51, 0.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-bottom: none;
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(139, 92, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  min-height: 100%;
  height: 100%;
}

/* Header - App Bar Style */
[data-theme="purple-bubbles"] .quick-list-header {
  background: rgba(29, 14, 51, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
  padding: 12px 16px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="purple-bubbles"] .quick-list-header-left {
  width: 44px;
  display: flex;
  align-items: center;
}

[data-theme="purple-bubbles"] .quick-list-header .header-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="purple-bubbles"] .quick-list-header .header-center .app-bar-title,
[data-theme="purple-bubbles"] .quick-list-header .app-bar-title {
  text-align: center;
  color: #F3F4F6;
  font-size: 1.25rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
  margin: 0;
  letter-spacing: 0.5px;
}

[data-theme="purple-bubbles"] .quick-list-back-btn {
  color: rgba(196, 181, 253, 0.8);
  background: transparent;
  border: none;
  font-size: 1.25rem;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
}

[data-theme="purple-bubbles"] .quick-list-back-btn:hover,
[data-theme="purple-bubbles"] .quick-list-back-btn:active {
  color: #C4B5FD;
  background: rgba(167, 139, 250, 0.15);
}

/* Menu Button (⋮) */
[data-theme="purple-bubbles"] .quick-list-menu-btn {
  background: transparent;
  border: none;
  color: rgba(196, 181, 253, 0.8);
  font-size: 1.5rem;
  font-weight: bold;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="purple-bubbles"] .quick-list-menu-btn:hover {
  background: rgba(167, 139, 250, 0.15);
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .quick-list-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

[data-theme="purple-bubbles"] .quick-list-share-btn {
  color: rgba(196, 181, 253, 0.8);
}

[data-theme="purple-bubbles"] .quick-list-share-btn:hover {
  background: rgba(167, 139, 250, 0.15);
  color: #C4B5FD;
}

/* Content Area */
[data-theme="purple-bubbles"] .quick-list-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow-y: auto;
}

/* Add Item Section - Top Position with Glowing Border */
[data-theme="purple-bubbles"] .quick-shopping-list-panel > .quick-list-add-section {
  background: rgba(29, 14, 51, 0.7);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 2px solid rgba(182, 109, 255, 0.6);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 16px 16px 0 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.35), 0 0 24px rgba(182, 109, 255, 0.15);
  flex-shrink: 0;
}

[data-theme="purple-bubbles"] .quick-shopping-list-panel > .quick-list-add-section:focus-within {
  border-color: rgba(182, 109, 255, 0.85);
  box-shadow: 0 0 16px rgba(182, 109, 255, 0.5), 0 0 32px rgba(182, 109, 255, 0.25);
}

[data-theme="purple-bubbles"] .quick-list-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #F3F4F6;
  font-size: 16px;
  padding: 12px 0;
  outline: none;
}

[data-theme="purple-bubbles"] .quick-list-input::placeholder {
  color: rgba(196, 181, 253, 0.5);
}

[data-theme="purple-bubbles"] .quick-list-input:focus {
  box-shadow: none;
  border: none;
  background: transparent;
}

[data-theme="purple-bubbles"] .quick-list-add-btn {
  background: linear-gradient(135deg, #8B5CF6, #A78BFA);
  color: #1F2937;
  border: none;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  cursor: pointer;
  flex-shrink: 0;
}

[data-theme="purple-bubbles"] .quick-list-add-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #A78BFA, #C4B5FD);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.5);
}

[data-theme="purple-bubbles"] .quick-list-add-btn:disabled {
  background: rgba(139, 92, 246, 0.3);
  color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
  cursor: not-allowed;
}

/* Items List */
[data-theme="purple-bubbles"] .quick-list-items {
  flex: 1;
  display: flex;
  flex-direction: column;
}

[data-theme="purple-bubbles"] .quick-list-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Item Card - Glassmorphism */
[data-theme="purple-bubbles"] .quick-list-item {
  background: rgba(80, 40, 120, 0.4);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

[data-theme="purple-bubbles"] .quick-list-item:active {
  background: rgba(100, 50, 140, 0.5);
  transform: scale(0.98);
}

[data-theme="purple-bubbles"] .quick-list-item.checked {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.25);
  opacity: 0.75;
}

/* Checkbox Button - Circle Style */
[data-theme="purple-bubbles"] .quick-list-checkbox-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

[data-theme="purple-bubbles"] .checkbox-circle {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(167, 139, 250, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s ease;
}

[data-theme="purple-bubbles"] .quick-list-checkbox-btn:hover .checkbox-circle {
  border-color: #A78BFA;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.3);
}

[data-theme="purple-bubbles"] .quick-list-checkbox-btn.checked .checkbox-circle {
  background: linear-gradient(135deg, #34D399, #6EE7B7);
  border-color: #34D399;
  color: #1F2937;
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.4);
}

/* Item Text */
[data-theme="purple-bubbles"] .quick-list-item-text {
  flex: 1;
  color: #F3F4F6;
  font-size: 0.95rem;
  line-height: 1.4;
  word-break: break-word;
}

[data-theme="purple-bubbles"] .quick-list-item-text.strikethrough {
  text-decoration: line-through;
  color: rgba(156, 163, 175, 0.8);
  text-decoration-color: rgba(52, 211, 153, 0.6);
}

/* Delete Button - X in Badge */
[data-theme="purple-bubbles"] .quick-list-item-delete {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: rgba(248, 113, 113, 0.8);
  border-radius: 10px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  opacity: 0.7;
}

[data-theme="purple-bubbles"] .quick-list-item-delete:hover,
[data-theme="purple-bubbles"] .quick-list-item-delete:active {
  background: rgba(248, 113, 113, 0.25);
  border-color: rgba(248, 113, 113, 0.4);
  color: #F87171;
  opacity: 1;
}

/* Progress Divider */
[data-theme="purple-bubbles"] .quick-list-progress-divider {
  padding: 12px 0;
  margin: 8px 0;
  display: flex;
  align-items: center;
}

[data-theme="purple-bubbles"] .quick-list-progress-divider .quick-list-progress-text {
  color: rgba(196, 181, 253, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Checked Items Section */
[data-theme="purple-bubbles"] .quick-list-item-list.checked-items {
  margin-top: 0;
}

/* Empty State */
[data-theme="purple-bubbles"] .quick-list-empty {
  text-align: center;
  padding: 48px 24px;
  color: rgba(196, 181, 253, 0.7);
}

[data-theme="purple-bubbles"] .quick-list-empty p {
  margin: 0;
  font-size: 1rem;
}

[data-theme="purple-bubbles"] .quick-list-empty-hint {
  font-size: 0.9rem;
  margin-top: 8px !important;
  color: rgba(156, 163, 175, 0.6);
}

/* Loading State */
[data-theme="purple-bubbles"] .quick-list-loading {
  color: rgba(196, 181, 253, 0.8);
  padding: 48px 24px;
  text-align: center;
}

[data-theme="purple-bubbles"] .quick-list-loading .loading-spinner {
  border-color: rgba(167, 139, 250, 0.2);
  border-top-color: #A78BFA;
}

/* Error State */
[data-theme="purple-bubbles"] .quick-list-error {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.25);
  border-radius: 12px;
  color: #F87171;
  padding: 12px 16px;
  margin-bottom: 16px;
}

/* Hide old progress bar for purple-bubbles */
[data-theme="purple-bubbles"] .quick-list-progress {
  display: none;
}

/* Shared List Banner */
[data-theme="purple-bubbles"] .shared-list-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(167, 139, 250, 0.15));
  border-bottom: 1px solid rgba(167, 139, 250, 0.2);
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .shared-title-icon {
  color: #A78BFA;
}

/* Shared List Styles */
.shared-title-icon {
  color: var(--primary-color, #7c3aed);
  margin-right: 0.25rem;
}

.shared-list-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--primary-color, #7c3aed);
  font-weight: 500;
}

.shared-list-banner .owner-info {
  font-weight: 400;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Dark mode for shared banner */
@media (prefers-color-scheme: dark) {
  .shared-list-banner {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(168, 85, 247, 0.15) 100%);
    border-color: rgba(124, 58, 237, 0.3);
  }
}

/* ============================================
   OVERFLOW MENU - Dropdown for Create Form
   ============================================ */
.overflow-menu-container {
  position: static;
}

.overflow-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 9998;
}

.overflow-dropdown {
  position: fixed;
  top: 60px;
  right: 1rem;
  min-width: 220px;
  background: var(--card-bg, #1a1a2e);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  overflow: hidden;
  animation: dropdownFade 0.15s ease-out;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.overflow-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  background: none;
  border: none;
  color: var(--text-primary, #ffffff);
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.overflow-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.overflow-item:active {
  background: rgba(255, 255, 255, 0.12);
}

.overflow-item:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.overflow-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.overflow-item.create {
  color: #22c55e;
}

.overflow-item.cancel {
  color: #ef4444;
}

.overflow-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

/* Description Section */
.quick-list-description-section {
  margin-bottom: 1rem;
}

.quick-list-textarea {
  width: 100%;
  min-height: 60px;
  resize: vertical;
}

/* ============================================
   PURPLE-BUBBLES THEME - Overflow Menu
   ============================================ */
[data-theme="purple-bubbles"] .overflow-dropdown {
  background: rgba(29, 14, 51, 0.95);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(139, 92, 246, 0.2);
}

[data-theme="purple-bubbles"] .overflow-item {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .overflow-item:hover {
  background: rgba(167, 139, 250, 0.15);
}

[data-theme="purple-bubbles"] .overflow-item:active {
  background: rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .overflow-item:not(:last-child) {
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

[data-theme="purple-bubbles"] .overflow-item.create {
  color: #34D399;
}

[data-theme="purple-bubbles"] .overflow-item.cancel {
  color: #F87171;
}

[data-theme="purple-bubbles"] .quick-list-textarea {
  background: rgba(80, 40, 120, 0.3);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] .quick-list-textarea::placeholder {
  color: rgba(196, 181, 253, 0.5);
}

/* ============================================
   BLUE-GALAXY THEME - Overflow Menu
   ============================================ */
[data-theme="blue-galaxy"] .overflow-dropdown {
  background: rgba(18, 28, 56, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(127, 182, 255, 0.25);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(127, 182, 255, 0.15);
}

[data-theme="blue-galaxy"] .overflow-item:hover {
  background: rgba(127, 182, 255, 0.15);
}

[data-theme="blue-galaxy"] .overflow-item:not(:last-child) {
  border-bottom: 1px solid rgba(127, 182, 255, 0.15);
}

/* ============================================
   POWER THEME - Overflow Menu
   ============================================ */
[data-theme="power"] .overflow-dropdown {
  background: rgba(8, 12, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(72, 232, 119, 0.25);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .overflow-item:hover {
  background: rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .overflow-item:not(:last-child) {
  border-bottom: 1px solid rgba(72, 232, 119, 0.15);
}

[data-theme="power"] .overflow-item.create {
  color: #48E877;
}
/* RecipeArchive - Power Theme Compatible */

.archive-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.archive-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-header h1 {
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.archive-info {
  padding: 1rem;
  background: rgba(70, 178, 228, 0.1);
  border-left: 4px solid #46b2e4;
  border-radius: 4px;
  margin-top: 1rem;
}

.archive-info p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.archive-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.archive-grid {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  align-content: start;
}

.archive-card {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.archive-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.archive-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.archive-card-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  flex: 1;
}

.archive-date {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 500;
  white-space: nowrap;
}

.archive-card-body {
  flex: 1;
}

.archive-description {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
}

.archive-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(70, 178, 228, 0.15);
  border: 1px solid rgba(70, 178, 228, 0.3);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
}

.archive-card-actions {
  margin-top: auto;
}

.archive-card-actions .btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}

/* Archive Viewer Modal */
.archive-viewer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

.archive-viewer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    transform: translate(-50%, -40%) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.archive-viewer-header {
  background: linear-gradient(135deg, #37507e, #46b2e4);
  color: white;
  padding: 1.5rem;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.archive-viewer-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.archive-viewer-header .close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: white;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.archive-viewer-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.archive-viewer-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.archive-meta {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.archive-meta p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.archive-meta a {
  color: #46b2e4;
  text-decoration: none;
  word-break: break-all;
}

.archive-meta a:hover {
  text-decoration: underline;
}

.archive-snapshot h3 {
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  color: #364F7C;
}

.snapshot-description p {
  line-height: 1.6;
  color: #495057;
}

.archive-viewer-actions {
  padding: 1.5rem;
  border-top: 1px solid #dee2e6;
  display: flex;
  justify-content: flex-end;
}

/* Power Theme */
[data-theme="power"] .archive-header {
  border-color: var(--power-border-soft);
}

[data-theme="power"] .archive-header h1 {
  color: var(--power-accent);
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .archive-info {
  background: rgba(72, 232, 119, 0.1);
  border-color: var(--power-accent);
}

[data-theme="power"] .archive-info p {
  color: var(--power-text-dim);
}

[data-theme="power"] .archive-card {
  background: var(--power-surface);
  border-color: var(--power-border-soft);
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.35);
}

[data-theme="power"] .archive-card:hover {
  box-shadow: 0 0 0 2px var(--power-glow-soft), 0 0 30px rgba(0, 0, 0, 0.45);
}

[data-theme="power"] .archive-card-header h3 {
  color: var(--power-accent);
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

[data-theme="power"] .archive-date,
[data-theme="power"] .archive-description {
  color: var(--power-text-dim);
}

[data-theme="power"] .archive-category {
  background: rgba(72, 232, 119, 0.15);
  border-color: var(--power-accent);
  color: var(--power-accent);
}

[data-theme="power"] .archive-viewer {
  background: var(--power-surface);
  border: 1px solid var(--power-border-soft);
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
}

[data-theme="power"] .archive-meta {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--power-border-soft);
}

[data-theme="power"] .archive-meta p,
[data-theme="power"] .archive-snapshot h3 {
  color: var(--power-accent);
}

[data-theme="power"] .archive-meta a {
  color: var(--power-accent);
}

[data-theme="power"] .snapshot-description p {
  color: var(--power-text-dim);
}

[data-theme="power"] .archive-viewer-actions {
  border-color: var(--power-border-soft);
}

/* Mobile */
@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .archive-viewer {
    width: 95%;
    max-height: 95vh;
  }

  .archive-viewer-content {
    padding: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .archive-header {
  border-color: rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .archive-header h1 {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .archive-info {
  background: rgba(139, 92, 246, 0.18);
  border-color: #A78BFA;
}

[data-theme="purple-bubbles"] .archive-info p {
  color: #D1D5DB;
}

[data-theme="purple-bubbles"] .archive-card {
  background: #1d0e33;
  border-color: rgba(196, 181, 253, 0.20);
  backdrop-filter: saturate(140%) blur(16px);
  box-shadow: 0 8px 32px rgba(30, 27, 75, 0.35), 0 0 20px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .archive-card:hover {
  box-shadow: 0 8px 32px rgba(30, 27, 75, 0.45), 0 0 24px rgba(167, 139, 250, 0.35);
}

[data-theme="purple-bubbles"] .archive-card-header h3 {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .archive-date,
[data-theme="purple-bubbles"] .archive-description {
  color: #D1D5DB;
}

[data-theme="purple-bubbles"] .archive-category {
  background: rgba(139, 92, 246, 0.18);
  border-color: #A78BFA;
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .archive-viewer {
  background: #1d0e33;
  border: 1px solid rgba(196, 181, 253, 0.20);
  backdrop-filter: saturate(140%) blur(16px);
}

[data-theme="purple-bubbles"] .archive-viewer-header {
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.85), rgba(139, 92, 246, 0.85));
}

[data-theme="purple-bubbles"] .archive-meta {
  background: rgba(49, 46, 129, 0.50);
  border: 1px solid rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .archive-meta p,
[data-theme="purple-bubbles"] .archive-snapshot h3 {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .archive-meta a {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .archive-meta a:hover {
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .snapshot-description p {
  color: #D1D5DB;
}

[data-theme="purple-bubbles"] .archive-viewer-actions {
  border-color: rgba(167, 139, 250, 0.20);
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES - Space Glass Design
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="blue-galaxy"] .archive-header {
  border-color: var(--bgx-border-soft);
}

body[data-theme="blue-galaxy"] .archive-header h1 {
  color: var(--bgx-text);
  text-shadow: 0 0 18px var(--bgx-glow);
}

body[data-theme="blue-galaxy"] .archive-info {
  background: rgba(127, 182, 255, 0.12);
  border-color: var(--bgx-border);
}

body[data-theme="blue-galaxy"] .archive-info p {
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .archive-card {
  background: linear-gradient(180deg, var(--bgx-surface-strong), var(--bgx-surface));
  border-color: var(--bgx-border);
  border-radius: var(--bgx-radius-card);
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate));
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 20px rgba(127, 182, 255, 0.18);
}

body[data-theme="blue-galaxy"] .archive-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65), 0 0 24px var(--bgx-glow);
  transform: translateY(-2px);
}

body[data-theme="blue-galaxy"] .archive-card-header h3 {
  color: var(--bgx-text);
  text-shadow: 0 0 18px var(--bgx-glow);
}

body[data-theme="blue-galaxy"] .archive-date,
body[data-theme="blue-galaxy"] .archive-description {
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .archive-category {
  background: rgba(127, 182, 255, 0.16);
  border-color: var(--bgx-border);
  color: var(--bgx-accent0);
  border-radius: var(--bgx-radius-control);
}

body[data-theme="blue-galaxy"] .archive-viewer {
  background: linear-gradient(180deg, var(--bgx-surface-strong), rgba(18,28,56,0.88));
  border: 1px solid var(--bgx-border);
  border-radius: var(--bgx-radius-card);
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate));
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate));
}

body[data-theme="blue-galaxy"] .archive-viewer-header {
  background: linear-gradient(135deg, rgba(76, 142, 228, 0.72), rgba(127, 182, 255, 0.72));
}

body[data-theme="blue-galaxy"] .archive-meta {
  background: var(--bgx-surface-soft);
  border: 1px solid var(--bgx-border-soft);
  border-radius: var(--bgx-radius-control);
}

body[data-theme="blue-galaxy"] .archive-meta p,
body[data-theme="blue-galaxy"] .archive-snapshot h3 {
  color: var(--bgx-text);
}

body[data-theme="blue-galaxy"] .archive-meta a {
  color: var(--bgx-accent0);
}

body[data-theme="blue-galaxy"] .archive-meta a:hover {
  color: #B3D7FF;
}

body[data-theme="blue-galaxy"] .snapshot-description p {
  color: rgba(234, 242, 255, 0.85);
}

body[data-theme="blue-galaxy"] .archive-viewer-actions {
  border-color: var(--bgx-border-soft);
}
/* JoinShareHandler.css */

.join-share-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: 9999;
  overflow-y: auto;
}

.join-share-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.join-share-card.loading,
.join-share-card.success,
.join-share-card.error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Icons */
.share-icon,
.success-icon,
.error-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.share-icon {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
}

.success-icon {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  color: white;
}

.error-icon {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  color: white;
}

/* Title */
.join-share-card h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
  color: #1f2937;
}

/* Share Details */
.share-details {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.detail-row {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-icon {
  color: #7c3aed;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.detail-label {
  color: #6b7280;
  margin-right: 0.5rem;
}

.detail-value {
  color: #1f2937;
  font-weight: 500;
  margin-left: auto;
}

.detail-value.expires {
  color: #f59e0b;
}

/* Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.join-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.join-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.join-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cancel-button,
.back-button {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: transparent;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cancel-button:hover,
.back-button:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* Login Hint */
.login-hint {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Error Message */
.error-message {
  color: #ef4444;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Loading Spinner */
.loading-spinner {
  border: 3px solid rgba(124, 58, 237, 0.2);
  border-top-color: #7c3aed;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-spinner.large {
  width: 50px;
  height: 50px;
}

.loading-spinner.small {
  width: 20px;
  height: 20px;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: white;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  .join-share-card {
    background: #1f2937;
  }

  .join-share-card h2 {
    color: #f9fafb;
  }

  .share-details {
    background: #374151;
  }

  .detail-row {
    border-color: #4b5563;
  }

  .detail-label {
    color: #9ca3af;
  }

  .detail-value {
    color: #f9fafb;
  }

  .cancel-button,
  .back-button {
    color: #d1d5db;
    border-color: #4b5563;
  }

  .cancel-button:hover,
  .back-button:hover {
    background: #374151;
    border-color: #6b7280;
  }

  .login-hint {
    color: #9ca3af;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .join-share-container {
    padding: 0.5rem;
  }

  .join-share-card {
    padding: 1.5rem;
  }

  .share-icon,
  .success-icon,
  .error-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}
/* OfflineBanner.css */

.offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.offline-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.875rem;
  font-weight: 500;
}

.offline-icon {
  font-size: 1rem;
  opacity: 0.9;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.5;
  }
}

.offline-text {
  flex: 1;
  text-align: center;
}

.offline-timer {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Adjust body padding when banner is visible */
body:has(.offline-banner) {
  padding-top: 40px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .offline-banner {
    padding: 0.4rem 0.75rem;
  }

  .offline-banner-content {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .offline-text {
    font-size: 0.75rem;
  }

  .offline-timer {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .offline-banner {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
  }
}
/**
 * SyncStatusIndicator Styles
 */

.sync-indicator {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sync-indicator:hover {
  transform: scale(1.1);
}

.sync-icon {
  font-size: 18px;
  transition: color 0.2s ease;
}

/* Synced Status - Grün */
.sync-indicator.synced {
  background: rgba(76, 175, 80, 0.15);
}

.sync-indicator.synced .sync-icon {
  color: #4CAF50;
}

.sync-indicator.synced .sync-check {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 10px;
  color: #4CAF50;
  background: var(--bg-primary, #1a1a2e);
  border-radius: 50%;
  padding: 1px;
}

/* Syncing Status - Blau mit Animation */
.sync-indicator.syncing {
  background: rgba(33, 150, 243, 0.15);
}

.sync-indicator.syncing .sync-icon {
  color: #2196F3;
}

.sync-icon.spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Pending Status - Orange */
.sync-indicator.pending {
  background: rgba(255, 152, 0, 0.15);
}

.sync-indicator.pending .sync-icon {
  color: #FF9800;
}

/* Offline Status - Grau/Orange */
.sync-indicator.offline {
  background: rgba(158, 158, 158, 0.15);
}

.sync-indicator.offline .sync-icon {
  color: #9E9E9E;
}

/* Conflict Status - Rot */
.sync-indicator.conflict {
  background: rgba(244, 67, 54, 0.15);
}

.sync-indicator.conflict .sync-icon {
  color: #F44336;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Badge für Anzahl */
.sync-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  color: white;
  background: #FF9800;
  border-radius: 9px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sync-indicator.conflict .sync-badge {
  background: #F44336;
}

.sync-indicator.offline .sync-badge {
  background: #607D8B;
}

/* Dark Mode Anpassungen */
@media (prefers-color-scheme: dark) {
  .sync-indicator.synced .sync-check {
    background: var(--bg-primary, #1a1a2e);
  }
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
  .sync-indicator {
    width: 32px;
    height: 32px;
  }

  .sync-icon {
    font-size: 16px;
  }

  .sync-badge {
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    line-height: 16px;
  }
}
/**
 * ConflictResolutionModal Styles
 */

.conflict-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.conflict-modal {
  position: relative;
  background: var(--bg-secondary, #16213e);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.conflict-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.conflict-icon {
  font-size: 24px;
  color: #F44336;
}

.conflict-modal-header h2 {
  flex: 1;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary, #fff);
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary, #8b8b8b);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary, #fff);
}

/* Beschreibung */
.conflict-description {
  padding: 16px 24px;
  margin: 0;
  color: var(--text-secondary, #8b8b8b);
  font-size: 14px;
  line-height: 1.5;
}

/* Entity Info */
.entity-info {
  padding: 0 24px 16px;
}

.entity-type {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 152, 0, 0.2);
  color: #FF9800;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Versionen Container */
.versions-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 24px 24px;
}

@media (max-width: 560px) {
  .versions-container {
    grid-template-columns: 1fr;
  }
}

/* Version Card */
.version-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  border: 2px solid transparent;
}

.version-card.server {
  border-color: rgba(33, 150, 243, 0.3);
}

.version-card.local {
  border-color: rgba(76, 175, 80, 0.3);
}

.version-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.version-card.server .version-header {
  color: #2196F3;
}

.version-card.local .version-header {
  color: #4CAF50;
}

.version-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

/* Version Summary */
.version-summary {
  font-size: 13px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row .label {
  color: var(--text-secondary, #8b8b8b);
}

.summary-row .value {
  color: var(--text-primary, #fff);
  font-weight: 500;
}

/* Items Preview */
.items-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.item-badge {
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-primary, #fff);
}

.item-badge.checked {
  text-decoration: line-through;
  opacity: 0.6;
}

.more-badge {
  padding: 4px 8px;
  background: rgba(255, 152, 0, 0.2);
  color: #FF9800;
  border-radius: 6px;
  font-size: 11px;
}

/* Aktionen */
.conflict-actions {
  display: flex;
  gap: 12px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 16px 16px;
}

@media (max-width: 560px) {
  .conflict-actions {
    flex-direction: column;
  }
}

.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.server-btn {
  background: rgba(33, 150, 243, 0.2);
  color: #2196F3;
}

.server-btn:hover:not(:disabled) {
  background: rgba(33, 150, 243, 0.3);
}

.local-btn {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.local-btn:hover:not(:disabled) {
  background: rgba(76, 175, 80, 0.3);
}

.merge-btn {
  background: rgba(156, 39, 176, 0.2);
  color: #9C27B0;
}

.merge-btn:hover:not(:disabled) {
  background: rgba(156, 39, 176, 0.3);
}

/* Resolving Overlay */
.resolving-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(22, 33, 62, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 16px;
}

.resolving-overlay .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #9C27B0;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.resolving-overlay span {
  color: var(--text-secondary, #8b8b8b);
  font-size: 14px;
}

.no-data {
  color: var(--text-secondary, #8b8b8b);
  font-style: italic;
  font-size: 13px;
}
/* App v0.5.0 - Mobile-First Premium Design */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --active-button-color: #4a6fa5;
}

html, body {
  height: 100vh;
  height: 100dvh; /* Dynamic viewport for mobile */
  overflow: hidden; /* Prevent page scroll */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #e8f2fd;
  color: #333;
  line-height: 1.6;
}

.app {
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: var(--container-padding, 8px);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Auth Header (Login) */
.app-header {
  text-align: center;
  margin-bottom: 5px;
  padding: 20px 0 60px 0;
  background: #37507e;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: relative;
}

.app-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: white;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.language-switcher {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.language-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.2rem;
  min-height: 40px;
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.language-btn.active {
  background: var(--active-button-color);
  color: #ffffff;
  border-color: var(--active-button-color);
}

.voice-control-app-header-buttons {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.voice-help-btn-app-header,
.voice-privacy-btn-app-header {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Main Content Area */
.app-main {
  flex: 1;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-card, 12px);
  padding: var(--container-padding, 16px);
  padding-bottom: calc(var(--bottom-nav-height, 56px) + var(--space-6, 24px) + var(--safe-area-bottom, 0px));
  box-shadow: var(--shadow-card, 0 2px 10px rgba(0,0,0,0.08));
  margin-bottom: 0;
  backdrop-filter: blur(10px);
  position: relative;
  /* Enable internal scrolling */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

/* Search & Filters Container */
.search-filters-container {
  margin-bottom: 20px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 0;
  margin: -16px -16px 20px -16px;
  padding-left: 16px;
  padding-right: 16px;
  backdrop-filter: blur(10px);
  flex-shrink: 0; /* Don't shrink - stay fixed at top */
  border-radius: 12px 12px 0 0;
  border: none;
  border-top: none;
  border-bottom: none;
  border-left: none;
  border-right: none;
}

.search-bar-container {
  margin-bottom: 12px;
  border: none;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: none;
}

.search-icon {
  position: absolute;
  left: 12px;
  font-size: 1rem;
  color: #666;
  z-index: 1;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  min-height: 44px; /* Touch-optimiert */
}

.search-input:focus {
  outline: none;
  border-color: #46b2e4;
  box-shadow: 0 0 0 3px rgba(70, 178, 228, 0.1);
}

.clear-search {
  position: absolute;
  right: 12px;
  background: #666;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.clear-search:hover {
  background: #333;
}

/* Filter Chips */
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border: none;
}

.filter-chip {
  background: rgba(55, 80, 126, 0.1);
  border: 2px solid rgba(55, 80, 126, 0.2);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #37507e;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-chip:hover {
  background: rgba(55, 80, 126, 0.15);
  border-color: rgba(55, 80, 126, 0.3);
}

.filter-chip.active {
  background: var(--active-button-color);
  color: #ffffff;
  border-color: var(--active-button-color);
}

.filter-chip.voice {
  background: rgba(70, 178, 228, 0.1);
  border-color: rgba(70, 178, 228, 0.2);
  color: #46b2e4;
}

.filter-chip.voice:hover {
  background: rgba(70, 178, 228, 0.15);
  border-color: rgba(70, 178, 228, 0.3);
}

.filter-chip.multi-select-active {
  background: rgba(40, 167, 69, 0.2);
  border-color: rgba(40, 167, 69, 0.4);
  color: #28a745;
  animation: pulse 1.5s ease-in-out infinite;
}

.filter-chip.multi-select-active:hover {
  background: rgba(40, 167, 69, 0.3);
  border-color: rgba(40, 167, 69, 0.5);
}

/* Bookmarks Container - Scrollable for infinite scroll */
.bookmarks-container {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Critical for internal scrolling */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: 1rem;
}

/* Form Overlay */
.form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}

/* Error Messages */
.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid #f5c6cb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.error-message.success {
  background: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.error-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.error-close:hover {
  background: rgba(0,0,0,0.1);
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #666;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(55, 80, 126, 0.2);
  border-top: 4px solid #37507e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #333;
  font-weight: 600;
}

.empty-state p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #666;
}

/* Footer */
.app-footer {
  text-align: center;
  color: #666;
  padding: 16px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.premium-footer {
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #333;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Floating Action Button (FAB) - Bottom Right Position */
.fab-add-button {
  position: fixed;
  right: var(--space-5, 20px);
  bottom: var(--fab-offset-bottom, calc(80px + 16px));
  top: auto;
  transform: none;
  width: var(--fab-size, 56px);
  height: var(--fab-size, 56px);
  background: #46b2e4;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-fab, 0 4px 16px rgba(70, 178, 228, 0.4));
  transition: var(--transition-base, all 0.3s ease);
  z-index: var(--z-fixed, 500);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Second FAB: Edit button - hidden on mobile */
.fab-edit-button {
  bottom: calc(160px + env(safe-area-inset-bottom, 16px));
}

/* Third FAB: Share button - hidden on mobile */
.fab-share-button {
  bottom: calc(230px + env(safe-area-inset-bottom, 16px));
}

.fab-add-button:hover {
  background: #3a9bd1;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(70, 178, 228, 0.5);
}

.fab-add-button:active {
  transform: scale(0.95);
}

/* Disabled state for FAB buttons */
.fab-add-button:disabled {
  background: #6c757d;
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.fab-add-button:disabled:hover {
  transform: scale(1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.fab-icon {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  line-height: 1;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  margin: 0 5px;
  letter-spacing: 0.01em;
  min-height: 44px; /* Touch-optimiert */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: #46b2e4;
  color: white;
  border-color: #46b2e4;
  font-weight: 600;
}

.btn-primary:hover:not(:disabled) {
  background: #3a9bd1;
  border-color: #3a9bd1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(70, 178, 228, 0.25);
}

.btn-secondary {
  background: #6c757d;
  color: white;
  border-color: #6c757d;
  font-weight: 500;
}

.btn-secondary:hover:not(:disabled) {
  background: #545b62;
  border-color: #545b62;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.25);
}

.btn-danger {
  background: #dc3545;
  color: white;
  border-color: #dc3545;
  font-weight: 600;
}

.btn-danger:hover:not(:disabled) {
  background: #c82333;
  border-color: #bd2130;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

/* Multi-select controls styling */
.multi-select-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 12px 0;
}

/* Multi-select filter chip variants */
.filter-chip.select-all-btn {
  background: rgba(40, 167, 69, 0.1);
  border-color: rgba(40, 167, 69, 0.3);
  color: #28a745;
}

.filter-chip.select-all-btn:hover {
  background: rgba(40, 167, 69, 0.2);
  border-color: rgba(40, 167, 69, 0.4);
}

.filter-chip.exit-multi-select-btn {
  background: rgba(108, 117, 125, 0.1);
  border-color: rgba(108, 117, 125, 0.3);
  color: #6c757d;
}

.filter-chip.exit-multi-select-btn:hover {
  background: rgba(108, 117, 125, 0.2);
  border-color: rgba(108, 117, 125, 0.4);
}

.filter-chip.selection-count {
  background: rgba(70, 178, 228, 0.1);
  border-color: rgba(70, 178, 228, 0.3);
  color: #46b2e4;
  cursor: default;
  font-weight: 600;
}

.filter-chip.delete-selected-btn {
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

.filter-chip.delete-selected-btn:hover {
  background: rgba(220, 53, 69, 0.2);
  border-color: rgba(220, 53, 69, 0.4);
}

/* Responsive Design */
@media (max-width: 480px) {
  .app {
    padding: 4px;
  }
  
  .app-header h1 {
    font-size: 1.6rem;
  }
  
  .app-main {
    padding: 12px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 16px));
    margin-bottom: 0;
  }
  
  .search-filters-container {
    margin: -12px -12px 16px -12px;
    padding: 12px;
  }
  
  .search-input {
    font-size: 0.9rem;
    padding: 10px 14px 10px 36px;
  }
  
  .filter-chips {
    gap: 6px;
  }
  
  .filter-chip {
    padding: 6px 12px;
    font-size: 0.8rem;
    min-height: 32px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 3px 2px;
    min-height: 40px;
  }
  
  .app-footer {
    display: none; /* Hide on mobile - bottom nav takes this space */
  }

  /* FAB responsive for mobile */
  .fab-add-button {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: calc(100px + env(safe-area-inset-bottom, 16px));
  }

  /* Hide secondary FABs on mobile */
  .fab-edit-button,
  .fab-share-button {
    display: none;
  }

  .fab-icon {
    font-size: 1.8rem;
  }

  .empty-state {
    padding: 40px 16px;
  }
  
  .empty-state h3 {
    font-size: 1.2rem;
  }
  
  .empty-state p {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  /* Full-width layout for small mobile devices (360px Galaxy S8, etc.) */
  html, body {
    overflow-x: hidden;
  }

  .app {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .app-main {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    margin: 0;
    padding: 8px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 16px));
  }

  .search-filters-container {
    margin: -8px -8px 12px -8px;
    padding: 8px;
    border-radius: 0;
    width: calc(100% + 16px);
  }

  .search-input {
    font-size: 16px; /* Prevents iOS zoom */
    padding: 10px 14px 10px 36px;
    width: 100%;
  }

  .filter-chip {
    padding: 6px 10px;
    font-size: 0.8rem;
    min-height: 32px;
  }

  .language-switcher,
  .voice-control-app-header-buttons {
    bottom: 12px;
  }

  .language-switcher {
    right: 12px;
  }

  .voice-control-app-header-buttons {
    left: 12px;
  }

  .bookmarks-container {
    width: 100%;
    /* Explicit height for mobile scrolling */
    height: calc(100vh - 250px);
    height: calc(100dvh - 250px);
    max-height: calc(100vh - 250px);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Power Panel full-width with scroll structure */
  .power-panel.bookmarks-power-panel {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    /* Mobile: fixed height for internal scroll */
    height: calc(100vh - 130px);
    height: calc(100dvh - 130px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  /* Fixed elements - don't scroll */
  .power-panel.bookmarks-power-panel .unified-search-section,
  .power-panel.bookmarks-power-panel .quick-list-header,
  .power-panel.bookmarks-power-panel .power-headline,
  .power-panel.bookmarks-power-panel .multi-select-controls {
    flex-shrink: 0;
  }

  /* Scrollable bookmark list */
  .power-panel.bookmarks-power-panel .bookmarks-container {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide pagination info on mobile */
  .power-panel.bookmarks-power-panel .pagination-info {
    display: none;
  }

  .power-headline {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  /* Mobile search container full-width */
  .mobile-search-container {
    width: 100%;
  }

  .mobile-search-container .search-input-wrapper {
    width: 100%;
  }

  .mobile-search-container .search-input {
    width: 100%;
  }
}

/* Tablet Enhancement (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .app {
    padding: var(--container-padding-md, 16px);
    max-width: var(--container-md, 720px);
  }

  .app-header h1 {
    font-size: var(--font-size-3xl, 1.875rem);
  }

  .app-main {
    padding: var(--space-5, 20px);
    padding-bottom: var(--space-5, 20px);
    margin-bottom: var(--space-4, 16px);
    border-radius: var(--radius-lg, 12px);
  }

  .search-filters-container {
    margin: calc(-1 * var(--space-5, 20px)) calc(-1 * var(--space-5, 20px)) var(--space-5, 20px) calc(-1 * var(--space-5, 20px));
    padding: var(--space-4, 16px) var(--space-5, 20px);
    display: flex;
    align-items: center;
    gap: var(--space-4, 16px);
  }

  .search-bar-container {
    flex: 1;
    margin-bottom: 0;
  }

  .filter-chips {
    flex-shrink: 0;
    gap: var(--space-3, 12px);
  }

  .filter-chip {
    padding: var(--space-2, 8px) var(--space-4, 16px);
    font-size: var(--font-size-sm, 0.875rem);
    min-height: var(--touch-target-min, 44px);
  }

  /* FAB stays at bottom on tablet */
  .fab-add-button {
    width: var(--fab-size, 56px);
    height: var(--fab-size, 56px);
    right: var(--space-6, 24px);
    bottom: var(--space-6, 24px);
  }

  /* Hide secondary FABs on tablet */
  .fab-edit-button,
  .fab-share-button {
    display: none;
  }
}

/* Desktop Enhancement (1024px+) */
@media (min-width: 1024px) {
  .app {
    padding: var(--container-padding-lg, 24px);
    max-width: var(--container-lg, 960px);
  }

  .app-header h1 {
    font-size: var(--font-size-4xl, 2.25rem);
  }

  .app-main {
    padding: var(--space-6, 24px);
    padding-bottom: var(--space-6, 24px);
    margin-bottom: var(--space-4, 16px);
  }

  .search-filters-container {
    margin: calc(-1 * var(--space-6, 24px)) calc(-1 * var(--space-6, 24px)) var(--space-6, 24px) calc(-1 * var(--space-6, 24px));
    padding: var(--space-5, 20px) var(--space-6, 24px);
    display: flex;
    align-items: center;
    gap: var(--space-5, 20px);
  }

  .search-bar-container {
    flex: 1;
    margin-bottom: 0;
  }

  .filter-chips {
    flex-shrink: 0;
    gap: var(--space-3, 12px);
  }

  .filter-chip {
    padding: var(--space-2, 10px) var(--space-5, 20px);
    font-size: var(--font-size-base, 0.95rem);
    min-height: var(--touch-target-min, 44px);
  }

  .btn {
    padding: var(--space-3, 14px) var(--space-7, 28px);
    font-size: var(--font-size-base, 1rem);
    min-height: var(--touch-target-comfortable, 48px);
  }

  .app-footer {
    padding: var(--space-5, 20px);
    font-size: var(--font-size-base, 1rem);
  }

  /* FAB responsive for desktop - right side centered */
  .fab-add-button {
    width: var(--fab-size, 64px);
    height: var(--fab-size, 64px);
    right: var(--space-7, 32px);
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .fab-add-button:hover {
    transform: translateY(-50%) scale(1.1);
  }

  .fab-add-button:active {
    transform: translateY(-50%) scale(0.95);
  }

  /* Show secondary FABs on desktop */
  .fab-edit-button,
  .fab-share-button {
    display: flex;
  }

  .fab-edit-button {
    top: calc(50% + 80px);
    bottom: auto;
  }

  .fab-share-button {
    top: calc(50% + 160px);
    bottom: auto;
  }

  .fab-icon {
    font-size: var(--font-size-2xl, 2.2rem);
  }

  .empty-state {
    padding: var(--space-10, 80px) var(--space-5, 20px);
  }

  .empty-state h3 {
    font-size: var(--font-size-2xl, 1.5rem);
  }

  .empty-state p {
    font-size: var(--font-size-lg, 1.1rem);
  }
}

/* Large Desktop (1368px+) */
@media (min-width: 1368px) {
  .app {
    max-width: var(--container-xl, 1140px);
  }
}

/* High contrast support */
@media (prefers-contrast: high) {
  .filter-chip {
    border-width: 3px;
  }
  
  .search-input {
    border-width: 3px;
  }
  
  .btn {
    border-width: 3px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .loading-spinner {
    animation: none;
    border: 4px solid #37507e;
  }
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1rem 0;
  padding: 1rem;
  border-top: 1px solid #dee2e6;
}

.pagination-btn {
  background: #ffffff;
  color: #495057;
  border: 1px solid #dee2e6;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  background: #37507e;
  color: white;
  border-color: #37507e;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f8f9fa;
  color: #6c757d;
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
}

.pagination-number {
  background: #ffffff;
  color: #495057;
  border: 1px solid #dee2e6;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.pagination-number:hover {
  background: #e7f3ff;
  border-color: #37507e;
}

.pagination-number.active {
  background: var(--active-button-color);
  color: #ffffff;
  border-color: var(--active-button-color);
}

.pagination-info {
  text-align: center;
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
}

/* AI Header Styles for Microphone Button */
.ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.microphone-btn {
  background: #37507e;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.microphone-btn:hover {
  background: #2c3e5a;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.microphone-btn:active {
  transform: scale(0.95);
  background: #1e2a3a;
}

/* Dynamic Content Form Container - uses dynamic-panel styles from DynamicPanel.css */
.dynamic-content-form {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* ========== POWER GREEN THEME - Bookmarks Panel ========== */

/* Power Panel Container */
.power-panel.bookmarks-power-panel {
  background: linear-gradient(180deg, rgba(8,16,12,.92), rgba(6,10,8,.92));
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 14px rgba(34,197,94,.35);
  padding: 32px;
  /* Flex structure for internal scrolling */
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(8px);
  margin: 0;
}

/* Inner Highlight */
.power-panel.bookmarks-power-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  border-radius: 18px 18px 0 0;
}

/* Mobile/Desktop Visibility Helpers */
.mobile-only {
  display: none;
}

.desktop-only {
  display: flex;
}

@media (max-width: 768px) {
  .mobile-only {
    display: flex;
  }

  .desktop-only {
    display: none !important;
  }

  /* Mobile scroll structure for all smartphones */
  html, body {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .app {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
  }
}

/* Power Headline */
.power-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(34,197,94,0.15);
}

/* Mobile Search Container inside Power Headline */
.mobile-search-container {
  flex: 1;
  width: 100%;
}

.mobile-search-container .search-input-wrapper {
  width: 100%;
}

.mobile-search-container .search-input {
  width: 100%;
  height: 44px;
  font-size: 16px; /* Prevents iOS zoom */
}

@media (max-width: 768px) {
  .power-headline {
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
  }
}

.power-headline-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.power-headline-icon {
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(26,255,106,0.4));
}

.power-headline-title {
  margin: 0;
  color: #1aff6a;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(26,255,106,0.35);
  letter-spacing: -0.5px;
}

/* Search Filters Container - Power Green Override */
.power-panel .search-filters-container {
  margin-bottom: 24px;
  position: relative;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
}

.power-panel .search-bar-container {
  margin-bottom: 0 !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 14px !important;
  overflow: visible !important;
}

/* Container übernimmt die visuelle Begrenzung */
.power-panel .search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(14,26,20,.92);
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 14px;
  transition: all 0.2s ease;
}

.power-panel .search-input-wrapper:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 12px rgba(34,197,94,0.25);
}

.power-panel .search-input-wrapper:focus-within {
  border-color: #1aff6a;
  box-shadow: 0 0 22px rgba(26,255,106,.45);
}

/* Input wird vollständig neutralisiert */
.power-panel .search-input {
  background: transparent !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #e9fff1;
  border-radius: 0;
  padding: 12px 16px 12px 44px;
  transition: none;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.power-panel .search-input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.power-panel .search-input::placeholder {
  color: rgba(154,216,173,0.65);
}

/* Pseudo-Elemente deaktivieren */
.power-panel .search-input-wrapper::before,
.power-panel .search-input-wrapper::after {
  content: none;
}

.power-panel .search-icon {
  color: #22c55e;
  position: absolute;
  left: 16px;
  z-index: 1;
}

.power-panel .clear-search {
  position: absolute;
  right: 12px;
  color: #22c55e;
  background: transparent;
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  transition: all 0.2s ease;
  cursor: pointer;
  z-index: 1;
}

.power-panel .clear-search:hover {
  background: rgba(34,197,94,0.12);
  border-color: #1aff6a;
}

/* Bookmarks Container */
.power-panel .bookmarks-container {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Multi-Select Controls */
.power-panel .multi-select-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(14,26,20,.85);
  border: 1px solid rgba(34,197,94,0.20);
  border-radius: 14px;
}

.power-panel .filter-chip {
  background: transparent;
  border: 1px solid rgba(34,197,94,0.35);
  color: #22c55e;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.power-panel .filter-chip:hover {
  background: rgba(34,197,94,0.12);
  border-color: #1aff6a;
  box-shadow: 0 0 10px rgba(34,197,94,0.20);
}

.power-panel .selection-count {
  background: rgba(34,197,94,0.15);
  border-color: #1aff6a;
  color: #1aff6a;
}

/* Pagination - Power Green Style */
.power-panel .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(34,197,94,0.12);
}

.power-panel .pagination-btn {
  padding: 10px 18px;
  border: 1px solid rgba(34,197,94,0.30);
  background: transparent;
  color: #22c55e;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  min-width: 80px;
  box-shadow: 0 0 0 rgba(34,197,94,0);
}

.power-panel .pagination-btn:hover:not(:disabled) {
  background: rgba(34,197,94,0.12);
  border-color: #1aff6a;
  box-shadow: 0 0 12px rgba(34,197,94,0.25);
}

.power-panel .pagination-btn:disabled {
  color: rgba(154,216,173,.35);
  border-color: rgba(34,197,94,0.15);
  cursor: not-allowed;
  opacity: 0.5;
}

.power-panel .pagination-numbers {
  display: flex;
  gap: 6px;
}

.power-panel .pagination-number {
  padding: 10px 14px;
  border: 1px solid rgba(34,197,94,0.30);
  background: transparent;
  color: #22c55e;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  min-width: 42px;
  box-shadow: 0 0 0 rgba(34,197,94,0);
}

.power-panel .pagination-number:hover {
  background: rgba(34,197,94,0.12);
  border-color: #1aff6a;
  box-shadow: 0 0 12px rgba(34,197,94,0.25);
}

.power-panel .pagination-number.active {
  background: linear-gradient(135deg, #1aff6a, #22c55e);
  color: #000;
  border-color: #1aff6a;
  box-shadow: 0 0 14px rgba(34,197,94,0.35);
  font-weight: 700;
}

.power-panel .pagination-number.active:hover {
  background: linear-gradient(135deg, #1aff6a, #22c55e);
  box-shadow: 0 0 22px rgba(26,255,106,.45);
}

/* Pagination Info */
.power-panel .pagination-info {
  text-align: center;
  color: rgba(154,216,173,.65);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 16px;
}

/* Empty State */
.power-panel .empty-state {
  text-align: center;
  padding: 48px 24px;
  color: rgba(154,216,173,.65);
}

.power-panel .empty-state h3 {
  color: rgba(154,216,173,.85);
  font-size: 18px;
  margin-bottom: 12px;
}

.power-panel .empty-state p {
  color: rgba(154,216,173,.65);
  font-size: 14px;
}

/* Loading State */
.power-panel .loading-state {
  text-align: center;
  padding: 48px 24px;
  color: rgba(154,216,173,.75);
}

.power-panel .loading-spinner {
  border: 3px solid rgba(34,197,94,0.2);
  border-top-color: #1aff6a;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .power-panel.bookmarks-power-panel {
    padding: 20px;
    border-radius: 16px;
    /* Mobile: fixed height for internal scroll */
    height: calc(100vh - 130px);
    height: calc(100dvh - 130px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  /* Scrollable bookmark list */
  .power-panel.bookmarks-power-panel .bookmarks-container {
    flex: 1;
    min-height: 0;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Fixed elements - don't scroll */
  .power-panel.bookmarks-power-panel .unified-search-section,
  .power-panel.bookmarks-power-panel .quick-list-header,
  .power-panel.bookmarks-power-panel .power-headline,
  .power-panel.bookmarks-power-panel .multi-select-controls {
    flex-shrink: 0;
  }

  /* Hide pagination info on mobile */
  .power-panel.bookmarks-power-panel .pagination-info {
    display: none;
  }

  .power-headline-title {
    font-size: 24px;
  }

  .power-panel .pagination {
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 0 0;
  }

  .power-panel .pagination-btn {
    padding: 8px 14px;
    font-size: 13px;
    min-width: 70px;
  }

  .power-panel .pagination-number {
    padding: 8px 12px;
    font-size: 13px;
    min-width: 38px;
  }
}

@media (max-width: 480px) {
  .power-panel.bookmarks-power-panel {
    padding: 16px;
  }

  .power-headline-title {
    font-size: 20px;
  }

  .power-panel .pagination-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 60px;
  }

  .power-panel .pagination-number {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 32px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES - BOOKMARKS PANEL
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .power-panel.bookmarks-power-panel {
  background: #1d0e33;
  border: 1px solid rgba(196, 181, 253, 0.20);
  box-shadow: 0 8px 32px rgba(30, 27, 75, 0.35), 0 0 20px rgba(167, 139, 250, 0.25);
  backdrop-filter: saturate(140%) blur(16px);
}

[data-theme="purple-bubbles"] .power-panel.bookmarks-power-panel::before {
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.06), transparent);
}

[data-theme="purple-bubbles"] .power-headline {
  border-bottom: 1px solid rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .power-headline-icon {
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.50));
}

[data-theme="purple-bubbles"] .power-headline-title {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .power-close-btn {
  border: 1px solid rgba(196, 181, 253, 0.30);
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .power-close-btn:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: #C4B5FD;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] .power-panel .search-filters-container {
  display: block;
  padding: 0;
  margin: 0;
  margin-bottom: 1rem;
  background: transparent;
}

[data-theme="purple-bubbles"] .power-panel .search-bar-container {
  width: 100%;
  margin-bottom: 0;
  padding: 1rem 1.5rem;
}

[data-theme="purple-bubbles"] .power-panel .search-input-wrapper {
  background: rgba(49, 46, 129, 0.50);
  border: 2px solid rgba(196, 181, 253, 0.30);
  border-radius: 8px;
  width: 100%;
}

[data-theme="purple-bubbles"] .power-panel .search-input-wrapper:hover {
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .power-panel .search-input-wrapper:focus-within {
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

[data-theme="purple-bubbles"] .power-panel .search-input {
  color: #F3F4F6;
  padding: 12px 16px 12px 40px;
  font-size: 1rem;
  width: 100%;
  background: transparent;
  border: none;
}

[data-theme="purple-bubbles"] .power-panel .search-input::placeholder {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] .power-panel .search-icon {
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .power-panel .clear-search {
  color: #A78BFA;
  border: 1px solid rgba(167, 139, 250, 0.30);
}

[data-theme="purple-bubbles"] .power-panel .clear-search:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: #C4B5FD;
}

[data-theme="purple-bubbles"] .power-panel .multi-select-controls {
  background: rgba(49, 46, 129, 0.50);
  border: 1px solid rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] .power-panel .filter-chip {
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #A78BFA;
}

[data-theme="purple-bubbles"] .power-panel .filter-chip:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: #C4B5FD;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .power-panel .selection-count {
  background: rgba(139, 92, 246, 0.25);
  border-color: #C4B5FD;
  color: #C4B5FD;
}

[data-theme="purple-bubbles"] .power-panel .pagination {
  border-top: 1px solid rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] .power-panel .pagination-btn {
  background: rgba(40, 20, 60, 0.45) !important;
  border: 1px solid rgba(182, 109, 255, 0.35) !important;
  border-radius: 14px !important;
  color: #F6EEFF !important;
}

[data-theme="purple-bubbles"] .power-panel .pagination-btn:hover:not(:disabled) {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.45) !important;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
}

[data-theme="purple-bubbles"] .power-panel .pagination-btn:disabled {
  background: rgba(40, 20, 60, 0.25) !important;
  color: rgba(246, 238, 255, 0.35) !important;
  border-color: rgba(182, 109, 255, 0.15) !important;
  opacity: 0.45 !important;
}

[data-theme="purple-bubbles"] .power-panel .pagination-number {
  background: rgba(40, 20, 60, 0.45) !important;
  border: 1px solid rgba(182, 109, 255, 0.35) !important;
  border-radius: 14px !important;
  color: #F6EEFF !important;
}

[data-theme="purple-bubbles"] .power-panel .pagination-number:hover {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.45) !important;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
}

[data-theme="purple-bubbles"] .power-panel .pagination-number.active {
  background: rgba(182, 109, 255, 0.65) !important;
  color: #0B0614 !important;
  border-color: rgba(182, 109, 255, 0.50) !important;
  box-shadow: 0 0 16px rgba(182, 109, 255, 0.40) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES - BOOKMARKS PANEL (SPACE GLASS)
   Lesezeichen-Anzeige with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════ */

/* Power Panel Container - Space Glass */
[data-theme="blue-galaxy"] .power-panel.bookmarks-power-panel {
  background: linear-gradient(180deg, rgba(10,18,40,.88), rgba(18,28,56,.88));
  border: 1px solid rgba(120, 170, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0,0,0,.60), 0 0 26px rgba(127,182,255,0.18);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

/* Inner Highlight - Blue */
[data-theme="blue-galaxy"] .power-panel.bookmarks-power-panel::before {
  background: linear-gradient(90deg, transparent, rgba(234, 242, 255, 0.06), transparent);
}

/* Power Headline - Blue */
[data-theme="blue-galaxy"] .power-headline {
  border-bottom: 1px solid rgba(120, 170, 255, 0.15);
}

[data-theme="blue-galaxy"] .power-headline-icon {
  filter: drop-shadow(0 0 8px rgba(127, 182, 255, 0.45));
}

[data-theme="blue-galaxy"] .power-headline-title {
  color: #7FB6FF;
  text-shadow: 0 0 18px rgba(127, 182, 255, 0.35);
}

/* Close Button - Blue */
[data-theme="blue-galaxy"] .power-close-btn {
  border: 1px solid rgba(120, 170, 255, 0.26);
  color: #7FB6FF;
}

[data-theme="blue-galaxy"] .power-close-btn:hover {
  background: rgba(127, 182, 255, 0.12);
  border-color: rgba(127, 182, 255, 0.40);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.20);
}

/* Search Input Wrapper - Space Glass */
[data-theme="blue-galaxy"] .power-panel .search-input-wrapper {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.22);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

[data-theme="blue-galaxy"] .power-panel .search-input-wrapper:hover {
  border-color: rgba(120, 170, 255, 0.32);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.18);
}

[data-theme="blue-galaxy"] .power-panel .search-input-wrapper:focus-within {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 20px rgba(127, 182, 255, 0.30);
}

/* Search Input - Blue Text */
[data-theme="blue-galaxy"] .power-panel .search-input {
  color: #EAF2FF;
}

[data-theme="blue-galaxy"] .power-panel .search-input::placeholder {
  color: rgba(234, 242, 255, 0.45);
}

/* Search Icon - Blue */
[data-theme="blue-galaxy"] .power-panel .search-icon {
  color: #7FB6FF;
}

/* Clear Search Button - Blue */
[data-theme="blue-galaxy"] .power-panel .clear-search {
  color: #7FB6FF;
  border: 1px solid rgba(120, 170, 255, 0.26);
}

[data-theme="blue-galaxy"] .power-panel .clear-search:hover {
  background: rgba(127, 182, 255, 0.15);
  border-color: rgba(127, 182, 255, 0.40);
}

/* Multi-Select Controls - Space Glass */
[data-theme="blue-galaxy"] .power-panel .multi-select-controls {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.18);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

/* Filter Chips - Blue */
[data-theme="blue-galaxy"] .power-panel .filter-chip {
  border: 1px solid rgba(120, 170, 255, 0.30);
  color: #7FB6FF;
}

[data-theme="blue-galaxy"] .power-panel .filter-chip:hover {
  background: rgba(127, 182, 255, 0.12);
  border-color: rgba(127, 182, 255, 0.40);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.18);
}

/* Selection Count Badge - Blue */
[data-theme="blue-galaxy"] .power-panel .selection-count {
  background: rgba(127, 182, 255, 0.20);
  border-color: #7FB6FF;
  color: #7FB6FF;
}

/* Pagination - Blue */
[data-theme="blue-galaxy"] .power-panel .pagination {
  border-top: 1px solid rgba(120, 170, 255, 0.15);
}

/* Pagination Buttons - Blue */
[data-theme="blue-galaxy"] .power-panel .pagination-btn {
  background: transparent !important;
  border: 1px solid rgba(120, 170, 255, 0.26) !important;
  border-radius: 14px !important;
  color: #7FB6FF !important;
}

[data-theme="blue-galaxy"] .power-panel .pagination-btn:hover:not(:disabled) {
  background: rgba(127, 182, 255, 0.12) !important;
  border-color: rgba(127, 182, 255, 0.40) !important;
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.20) !important;
}

[data-theme="blue-galaxy"] .power-panel .pagination-btn:disabled {
  background: transparent !important;
  color: rgba(234, 242, 255, 0.30) !important;
  border-color: rgba(120, 170, 255, 0.12) !important;
  opacity: 0.50 !important;
}

/* Page Number Buttons - Blue */
[data-theme="blue-galaxy"] .power-panel .pagination-number {
  background: transparent !important;
  border: 1px solid rgba(120, 170, 255, 0.26) !important;
  border-radius: 14px !important;
  color: #7FB6FF !important;
}

[data-theme="blue-galaxy"] .power-panel .pagination-number:hover {
  background: rgba(127, 182, 255, 0.12) !important;
  border-color: rgba(127, 182, 255, 0.40) !important;
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.20) !important;
}

/* Active Page Number - Blue Gradient */
[data-theme="blue-galaxy"] .power-panel .pagination-number.active {
  background: linear-gradient(135deg, #7FB6FF, #4CA9FF) !important;
  color: #081024 !important;
  border-color: rgba(127, 182, 255, 0.45) !important;
  box-shadow: 0 0 16px rgba(127, 182, 255, 0.35) !important;
}

/* Mobile Optimization */
@media (max-width: 480px) {
  [data-theme="blue-galaxy"] .power-panel.bookmarks-power-panel {
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ *//* Dark Theme - IntelliJ Inspired */
[data-theme="dark"] {
  /* Primary Colors */
  --bg-primary: #2b2b2b;
  --bg-secondary: #3c3f41;
  --bg-tertiary: #4c5052;
  --bg-hover: #4c5052;
  
  /* Text Colors */
  --text-primary: #bbbbbb;
  --text-secondary: #a9a9a9;
  --text-tertiary: #808080;
  --text-accent: #6897bb;
  
  /* Border Colors */
  --border-color: #555555;
  --border-light: #404040;
  --border-dark: #2d2d2d;
  
  /* Accent Colors */
  --primary-color: #6897bb;
  --primary-light: rgba(104, 151, 187, 0.2);
  --success-color: #629755;
  --warning-color: #cc7832;
  --danger-color: #bc3f4a;
  --info-color: #9876aa;
  
  /* Interactive Colors */
  --hover-bg: #4c5052;
  --active-bg: #5e6163;
  --selected-bg: rgba(104, 151, 187, 0.3);
  
  /* Shadow */
  --shadow: rgba(0, 0, 0, 0.5);
  --shadow-light: rgba(0, 0, 0, 0.3);
}

/* Global Dark Theme Styles */
[data-theme="dark"] body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

[data-theme="dark"] .app {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* Mobile Header Dark */
[data-theme="dark"] .mobile-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .app-title h1 {
  color: var(--text-primary);
}

[data-theme="dark"] .add-button {
  background: var(--primary-color);
  color: var(--bg-primary);
}

[data-theme="dark"] .add-button:hover {
  background: var(--primary-light);
}

/* Hamburger Menu Dark */
[data-theme="dark"] .hamburger-menu {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .menu-header {
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .user-name {
  color: var(--text-primary);
}

[data-theme="dark"] .user-email {
  color: var(--text-secondary);
}

[data-theme="dark"] .menu-item {
  color: var(--text-primary);
  background: transparent;
}

[data-theme="dark"] .menu-item:hover {
  background: var(--hover-bg);
}

[data-theme="dark"] .section-title {
  color: var(--text-primary);
}

[data-theme="dark"] .language-combobox {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjYzRjOWNlIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNyAxMGw1IDUgNS01eiIvPjxwYXRoIGQ9Im0wIDBoMjR2MjRoLTI0eiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==');
}

[data-theme="dark"] .language-combobox:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--text-primary);
}

[data-theme="dark"] .language-combobox:focus {
  background: rgba(104, 151, 187, 0.2);
  border-color: var(--primary-color);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(104, 151, 187, 0.3);
}

[data-theme="dark"] .language-combobox option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* Tab Navigation Dark */
[data-theme="dark"] .tab-navigation {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .tab-item {
  color: var(--text-secondary);
}

[data-theme="dark"] .tab-item.active {
  color: var(--primary-color);
  border-top: 2px solid var(--primary-color);
}

/* Compact Bookmark Item Dark */
[data-theme="dark"] .compact-bookmark-item {
  background: rgba(60, 63, 65, 0.95);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .compact-bookmark-item:hover {
  background: rgba(76, 80, 82, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .bookmark-title {
  color: var(--text-primary);
}

[data-theme="dark"] .bookmark-meta {
  color: var(--text-tertiary);
}

[data-theme="dark"] .bookmark-url {
  color: var(--text-accent);
}

[data-theme="dark"] .bookmark-actions {
  background: rgba(43, 43, 43, 0.8);
  border-left: 1px solid var(--border-color);
}

[data-theme="dark"] .action-button:hover {
  background: var(--hover-bg);
}

/* Bookmark Form Dark */
[data-theme="dark"] .bookmark-form-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .form-header h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .form-group label {
  color: var(--text-primary);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(104, 151, 187, 0.1);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
  color: var(--text-tertiary);
}

/* Buttons Dark */
[data-theme="dark"] .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-primary);
}

[data-theme="dark"] .btn-primary:hover {
  background-color: #5a8bb3;
  border-color: #5a8bb3;
}

[data-theme="dark"] .btn-secondary {
  background-color: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .btn-secondary:hover {
  background-color: var(--hover-bg);
}

[data-theme="dark"] .btn-danger {
  background-color: var(--danger-color);
  border-color: var(--danger-color);
}

[data-theme="dark"] .btn-danger:hover {
  background-color: #a33640;
}

/* Search and Filters Dark */
[data-theme="dark"] .search-filters-container {
  background: var(--bg-secondary);
}

[data-theme="dark"] .search-input {
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .search-input:focus {
  border-color: var(--primary-color);
}

[data-theme="dark"] .search-input::placeholder {
  color: var(--text-tertiary);
}

[data-theme="dark"] .filter-chip {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .filter-chip.active {
  background: var(--primary-color);
  color: var(--bg-primary);
}

[data-theme="dark"] .filter-chip:hover {
  background: var(--hover-bg);
}

/* Pagination Dark */
[data-theme="dark"] .pagination-btn {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .pagination-btn:hover {
  background: var(--hover-bg);
}

[data-theme="dark"] .pagination-number {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .pagination-number.active {
  background: var(--primary-color);
  color: var(--bg-primary);
}

[data-theme="dark"] .pagination-info {
  color: var(--text-secondary);
}

/* Error Messages Dark */
[data-theme="dark"] .error-message {
  background: rgba(188, 63, 74, 0.2);
  color: #ff6b6b;
  border: 1px solid var(--danger-color);
}

[data-theme="dark"] .error-message.success {
  background: rgba(98, 151, 85, 0.2);
  color: #51cf66;
  border: 1px solid var(--success-color);
}

/* Loading States Dark */
[data-theme="dark"] .loading-spinner {
  border-color: var(--border-color);
  border-top-color: var(--primary-color);
}

/* Footer Dark */
[data-theme="dark"] .app-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Scrollbars Dark */
[data-theme="dark"] ::-webkit-scrollbar {
  width: 12px;
  background: var(--bg-primary);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 6px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: var(--hover-bg);
}

/* Modal Dark */
[data-theme="dark"] .theme-modal-overlay {
  background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .theme-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .theme-header h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .theme-option {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .theme-option:hover {
  background: var(--hover-bg);
  border-color: var(--primary-color);
}

[data-theme="dark"] .theme-option.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(104, 151, 187, 0.3);
}

[data-theme="dark"] .theme-info h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .theme-info p {
  color: var(--text-secondary);
}

/* Multi-select controls Dark */
[data-theme="dark"] .multi-select-controls {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .multi-select-btn {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .multi-select-btn.active {
  background: var(--primary-color);
  color: var(--bg-primary);
}

[data-theme="dark"] .filter-chip.select-all-btn {
  background: rgba(56, 161, 105, 0.15);
  border-color: rgba(56, 161, 105, 0.3);
  color: #38a169;
}

[data-theme="dark"] .filter-chip.select-all-btn:hover {
  background: rgba(56, 161, 105, 0.25);
  border-color: rgba(56, 161, 105, 0.4);
}

[data-theme="dark"] .filter-chip.exit-multi-select-btn {
  background: rgba(160, 174, 192, 0.15);
  border-color: rgba(160, 174, 192, 0.3);
  color: #a0aec0;
}

[data-theme="dark"] .filter-chip.exit-multi-select-btn:hover {
  background: rgba(160, 174, 192, 0.25);
  border-color: rgba(160, 174, 192, 0.4);
}

[data-theme="dark"] .filter-chip.selection-count {
  background: rgba(108, 142, 191, 0.15);
  border-color: rgba(108, 142, 191, 0.3);
  color: #6c8ebf;
}

[data-theme="dark"] .filter-chip.delete-selected-btn {
  background: rgba(245, 101, 101, 0.15);
  border-color: rgba(245, 101, 101, 0.3);
  color: #f56565;
}

[data-theme="dark"] .filter-chip.delete-selected-btn:hover {
  background: rgba(245, 101, 101, 0.25);
  border-color: rgba(245, 101, 101, 0.4);
}

[data-theme="dark"] .selection-count {
  color: var(--text-accent);
  background: rgba(104, 151, 187, 0.2);
}

[data-theme="dark"] .bulk-actions select {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

/* Category filter Dark */
[data-theme="dark"] .category-filter {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .category-filter:focus {
  border-color: var(--primary-color);
}

/* Bookmark category display Dark */
[data-theme="dark"] .bookmark-category {
  background: rgba(104, 151, 187, 0.2);
  color: var(--primary-color);
  border: 1px solid rgba(104, 151, 187, 0.3);
}

/* Checkbox styling Dark */
[data-theme="dark"] .bookmark-checkbox input[type="checkbox"] {
  accent-color: var(--primary-color);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}

/* Selected bookmark item Dark */
[data-theme="dark"] .compact-bookmark-item.selected {
  background: var(--selected-bg);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(104, 151, 187, 0.3);
}

/* Category form section Dark */
[data-theme="dark"] .category-section {
  background: rgba(76, 80, 82, 0.3);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .category-mode-selector {
  background: var(--bg-primary);
}

[data-theme="dark"] .mode-btn {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .mode-btn.active {
  background: var(--primary-color);
  color: var(--bg-primary);
}

[data-theme="dark"] .category-select,
[data-theme="dark"] .new-category-input {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .category-select:focus,
[data-theme="dark"] .new-category-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(104, 151, 187, 0.1);
}

/* Import Dialog Dark Theme */
[data-theme="dark"] .import-dialog-overlay {
  background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .import-dialog {
  background: var(--bg-secondary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .import-dialog-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .import-dialog-content {
  background: var(--bg-secondary);
}

[data-theme="dark"] .import-instructions {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .import-instructions p {
  color: var(--text-primary);
}

[data-theme="dark"] .import-instructions li {
  color: var(--text-secondary);
}

[data-theme="dark"] .import-instructions code {
  background: var(--bg-primary);
  color: var(--primary-color);
}

[data-theme="dark"] .file-upload-area {
  border-color: var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

[data-theme="dark"] .file-upload-area:hover:not(.has-file) {
  border-color: var(--primary-color);
  background: rgba(104, 151, 187, 0.1);
}

[data-theme="dark"] .file-upload-area.drag-active {
  border-color: var(--primary-color);
  background: rgba(104, 151, 187, 0.2);
}

[data-theme="dark"] .file-upload-area.has-file {
  border-color: var(--success-color);
  background: rgba(98, 151, 85, 0.1);
}

[data-theme="dark"] .upload-content p {
  color: var(--text-primary);
}

[data-theme="dark"] .upload-content small {
  color: var(--text-secondary);
}

[data-theme="dark"] .file-selected {
  background: var(--bg-primary);
  border: 1px solid var(--success-color);
}

[data-theme="dark"] .file-info p {
  color: var(--text-primary);
}

[data-theme="dark"] .file-info small {
  color: var(--text-secondary);
}

[data-theme="dark"] .error-message {
  background: rgba(188, 63, 74, 0.2);
  color: #ff6b6b;
  border: 1px solid var(--danger-color);
}

[data-theme="dark"] .parse-results {
  background: rgba(104, 151, 187, 0.1);
  border: 1px solid rgba(104, 151, 187, 0.3);
}

[data-theme="dark"] .parse-results h3 {
  color: var(--primary-color);
}

[data-theme="dark"] .stat-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .stat-label {
  color: var(--text-secondary);
}

[data-theme="dark"] .stat-value {
  color: var(--primary-color);
}

[data-theme="dark"] .preview-bookmark {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .bookmark-title {
  color: var(--text-primary);
}

[data-theme="dark"] .bookmark-url {
  color: var(--primary-color);
}

[data-theme="dark"] .bookmark-tags {
  color: var(--text-tertiary);
}

[data-theme="dark"] .more-bookmarks {
  color: var(--text-secondary);
}

[data-theme="dark"] .import-dialog-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .import-dialog-footer .btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .import-dialog-footer .btn-secondary:hover:not(:disabled) {
  background: var(--hover-bg);
}

[data-theme="dark"] .import-dialog-footer .btn-primary {
  background: var(--primary-color);
  color: var(--bg-primary);
}

[data-theme="dark"] .import-dialog-footer .btn-primary:hover:not(:disabled) {
  background: #5a8bb3;
}

[data-theme="dark"] .close-button {
  color: var(--text-primary);
}

[data-theme="dark"] .close-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
}

/* Category Management Modal Dark Theme */
[data-theme="dark"] .category-modal-overlay {
  background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .category-modal {
  background: var(--bg-secondary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .category-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .category-content {
  background: var(--bg-secondary);
}

[data-theme="dark"] .add-category-section {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .add-category-section h4 {
  color: var(--primary-color);
}

[data-theme="dark"] .category-input {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .category-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(104, 151, 187, 0.1);
}

[data-theme="dark"] .add-btn {
  background: var(--primary-color);
  color: var(--bg-primary);
}

[data-theme="dark"] .add-btn:hover:not(:disabled) {
  background: #5a8bb3;
}

[data-theme="dark"] .categories-list-section h4 {
  color: var(--primary-color);
}

[data-theme="dark"] .empty-categories {
  background: var(--bg-tertiary);
  border: 2px dashed var(--border-color);
  color: var(--text-secondary);
}

[data-theme="dark"] .empty-categories p:first-child {
  color: var(--text-primary);
}

[data-theme="dark"] .category-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .category-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(104, 151, 187, 0.2);
}

[data-theme="dark"] .category-name {
  color: var(--primary-color);
}

[data-theme="dark"] .category-edit-input {
  background: var(--bg-primary);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

[data-theme="dark"] .edit-btn {
  background: rgba(104, 151, 187, 0.2);
  color: var(--primary-color);
}

[data-theme="dark"] .edit-btn:hover {
  background: rgba(104, 151, 187, 0.3);
}

[data-theme="dark"] .delete-btn {
  background: rgba(188, 63, 74, 0.2);
  color: var(--danger-color);
}

[data-theme="dark"] .delete-btn:hover {
  background: rgba(188, 63, 74, 0.3);
}

[data-theme="dark"] .save-btn {
  background: rgba(98, 151, 85, 0.2);
  color: var(--success-color);
}

[data-theme="dark"] .save-btn:hover {
  background: rgba(98, 151, 85, 0.3);
}

[data-theme="dark"] .cancel-btn {
  background: rgba(108, 117, 125, 0.2);
  color: var(--text-secondary);
}

[data-theme="dark"] .cancel-btn:hover {
  background: rgba(108, 117, 125, 0.3);
}

[data-theme="dark"] .info-box {
  background: rgba(104, 151, 187, 0.1);
  border: 1px solid rgba(104, 151, 187, 0.3);
}

[data-theme="dark"] .info-box h5 {
  color: var(--primary-color);
}

[data-theme="dark"] .info-box li {
  color: var(--text-secondary);
}

[data-theme="dark"] .info-box strong {
  color: var(--primary-color);
}

[data-theme="dark"] .category-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .category-footer .btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .category-footer .btn-secondary:hover {
  background: var(--hover-bg);
}

/* Export Dialog Dark */
[data-theme="dark"] .export-dialog {
  background: var(--bg-primary);
  color: var(--text-primary);
}

[data-theme="dark"] .export-dialog-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #4a6fa5 100%);
  border-bottom-color: var(--border-color);
}

[data-theme="dark"] .export-dialog-footer {
  background: var(--bg-secondary);
  border-top-color: var(--border-color);
}

[data-theme="dark"] .export-instructions {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .export-instructions p {
  color: var(--text-primary);
}

[data-theme="dark"] .export-instructions li {
  color: var(--text-secondary);
}

[data-theme="dark"] .browser-instructions {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .browser-instructions h4 {
  color: var(--primary-color);
}

[data-theme="dark"] .browser-instructions li {
  color: var(--text-primary);
}

[data-theme="dark"] .browser-instructions strong {
  color: var(--primary-color);
}

[data-theme="dark"] .export-stats {
  background: rgba(104, 151, 187, 0.1);
  border-color: rgba(104, 151, 187, 0.3);
}

[data-theme="dark"] .export-stats h3 {
  color: var(--primary-color);
}

[data-theme="dark"] .stat-item {
  background: var(--bg-primary);
  border-color: var(--border-color);
}

[data-theme="dark"] .stat-label {
  color: var(--text-secondary);
}

[data-theme="dark"] .stat-value {
  color: var(--primary-color);
}

[data-theme="dark"] .export-preview {
  background: var(--bg-tertiary);
}

[data-theme="dark"] .export-preview h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .preview-bookmark {
  background: var(--bg-primary);
  border-color: var(--border-color);
}

[data-theme="dark"] .bookmark-title {
  color: var(--primary-color);
}

[data-theme="dark"] .bookmark-url {
  color: var(--accent-color);
}

[data-theme="dark"] .bookmark-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .more-bookmarks {
  color: var(--text-secondary);
}

[data-theme="dark"] .export-success h3 {
  color: var(--success-color);
}

[data-theme="dark"] .export-success p {
  color: var(--text-primary);
}

[data-theme="dark"] .export-success small {
  color: var(--text-secondary);
}/* =========================================================
   THEMES (data-theme on <html> or an ancestor)
   Themes: blue-galaxy, goodvibes, power, purple-bubbles
   ========================================================= */


/* =========================================================
   0) GLOBAL BASICS
   ========================================================= */

:root {
  --glass-radius: 12px;
  --glass-blur: 6px;
  --glass-saturate: 140%;
}

/* =========================================================
   1) GLOBAL LOGO SIZING (use GoodVibes size for ALL themes)
   ========================================================= */

.header-logo {
  height: 132px !important;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 128px !important;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .header-logo { height: 120px !important; }
  .logo-image  { height: 116px !important; }
}

@media (min-width: 768px) {
  .header-logo { height: 140px !important; }
  .logo-image  { height: 136px !important; }
}


/* =========================================================
   2) BLUE GALAXY
   ========================================================= */

html[data-theme="blue-galaxy"],
/* =========================================================
   BLUE GALAXY THEME - Space Glass Design
   ========================================================= */

/* Design Tokens */
body[data-theme="blue-galaxy"],
[data-theme="blue-galaxy"] body {
  /* Background */
  --bgx-bg0: #050814;
  --bgx-bg1: #07112a;

  /* Glass Surfaces */
  --bgx-surface: rgba(10, 18, 40, 0.62);
  --bgx-surface-strong: rgba(10, 18, 40, 0.78);
  --bgx-surface-soft: rgba(18, 28, 56, 0.46);

  /* Borders */
  --bgx-border-soft: rgba(120, 170, 255, 0.18);
  --bgx-border: rgba(120, 170, 255, 0.26);
  --bgx-border-strong: rgba(120, 170, 255, 0.34);

  /* Text */
  --bgx-text: #EAF2FF;
  --bgx-text-dim: rgba(234, 242, 255, 0.72);
  --bgx-placeholder: rgba(234, 242, 255, 0.45);
  --bgx-link: #8DB9FF;

  /* Accents */
  --bgx-accent0: #7FB6FF;
  --bgx-accent1: #4CA9FF;
  --bgx-glow: rgba(127, 182, 255, 0.28);
  --bgx-glow-strong: rgba(127, 182, 255, 0.42);

  /* Effects */
  --bgx-blur: 14px;
  --bgx-saturate: 150%;

  /* Border Radius */
  --bgx-radius-card: 18px;
  --bgx-radius-control: 14px;

  /* Background Image */
  background-color: var(--bgx-bg0);
  background-image: url(/assets/BlueGalaxyBackground-Bqqj7RaO.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* ─── Header + Navigation ─── */
body[data-theme="blue-galaxy"] .mobile-header,
[data-theme="blue-galaxy"] .mobile-header {
  background-image: url(/assets/BlueGalaxyBackground-Bqqj7RaO.png) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  backdrop-filter: blur(12px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  box-shadow:
    0 8px 28px rgba(0,0,0,0.35),
    0 0 26px rgba(127, 182, 255, 0.22) !important;
}

/* Optional overlay for better readability */
body[data-theme="blue-galaxy"] .mobile-header::before,
[data-theme="blue-galaxy"] .mobile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(127, 182, 255, 0.12),
    rgba(10, 18, 40, 0.65)
  );
  pointer-events: none;
  z-index: 0;
}

/* Ensure header content is above overlay */
body[data-theme="blue-galaxy"] .mobile-header > *,
[data-theme="blue-galaxy"] .mobile-header > * {
  position: relative;
  z-index: 1;
}

body[data-theme="blue-galaxy"] .header-content,
[data-theme="blue-galaxy"] .header-content {
  background: transparent !important;
  border: none !important;
}

body[data-theme="blue-galaxy"] .brand-title,
[data-theme="blue-galaxy"] .brand-title {
  color: var(--bgx-text) !important;
  text-shadow: 0 0 12px rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .brand-subtitle,
[data-theme="blue-galaxy"] .brand-subtitle {
  color: var(--bgx-text-dim) !important;
}

body[data-theme="blue-galaxy"] .hamburger-button span,
[data-theme="blue-galaxy"] .hamburger-button span {
  background: var(--bgx-accent0) !important;
}

body[data-theme="blue-galaxy"] .hamburger-button:hover,
[data-theme="blue-galaxy"] .hamburger-button:hover {
  background: rgba(127, 182, 255, 0.12) !important;
}

/* Tab Navigation */
body[data-theme="blue-galaxy"] .tab-navigation,
[data-theme="blue-galaxy"] .tab-navigation {
  background: var(--bgx-surface-soft) !important;
  backdrop-filter: blur(10px) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(10px) saturate(var(--bgx-saturate)) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
}

body[data-theme="blue-galaxy"] .tab-item,
[data-theme="blue-galaxy"] .tab-item {
  color: var(--bgx-text-dim) !important;
}

body[data-theme="blue-galaxy"] .tab-item.active,
[data-theme="blue-galaxy"] .tab-item.active {
  color: var(--bgx-accent0) !important;
  border-bottom-color: var(--bgx-accent0) !important;
  text-shadow: 0 0 10px var(--bgx-glow);
}

body[data-theme="blue-galaxy"] .tab-item:hover,
[data-theme="blue-galaxy"] .tab-item:hover {
  color: var(--bgx-text) !important;
  background: rgba(127, 182, 255, 0.08) !important;
}

/* ─── Hamburger Menu ─── */
body[data-theme="blue-galaxy"] .menu-overlay,
[data-theme="blue-galaxy"] .menu-overlay {
  background: rgba(6, 10, 24, 0.55) !important;
  backdrop-filter: blur(6px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(130%) !important;
}

body[data-theme="blue-galaxy"] .hamburger-menu,
[data-theme="blue-galaxy"] .hamburger-menu {
  background: var(--bgx-surface-strong) !important;
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  border: none !important;
  box-shadow:
    0 0 30px rgba(127, 182, 255, 0.22),
    inset 0 0 0 1px rgba(127, 182, 255, 0.14),
    4px 0 40px rgba(5, 8, 20, 0.70) !important;
}

body[data-theme="blue-galaxy"] .menu-header,
[data-theme="blue-galaxy"] .menu-header {
  background: transparent !important;
  border-bottom: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .close-menu-btn,
[data-theme="blue-galaxy"] .close-menu-btn {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border) !important;
  color: var(--bgx-text) !important;
  border-radius: 12px !important;
}

body[data-theme="blue-galaxy"] .close-menu-btn:hover,
[data-theme="blue-galaxy"] .close-menu-btn:hover {
  background: rgba(127, 182, 255, 0.18) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .menu-item,
[data-theme="blue-galaxy"] .menu-item,
body[data-theme="blue-galaxy"] .menu-item > button,
[data-theme="blue-galaxy"] .menu-item > button,
body[data-theme="blue-galaxy"] .menu-item > a,
[data-theme="blue-galaxy"] .menu-item > a {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
  border-radius: 14px !important;
}

body[data-theme="blue-galaxy"] .menu-item:hover,
[data-theme="blue-galaxy"] .menu-item:hover,
body[data-theme="blue-galaxy"] .menu-item > button:hover,
[data-theme="blue-galaxy"] .menu-item > button:hover,
body[data-theme="blue-galaxy"] .menu-item > a:hover,
[data-theme="blue-galaxy"] .menu-item > a:hover {
  background: rgba(127, 182, 255, 0.16) !important;
  border-color: var(--bgx-border) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .menu-item.disabled,
[data-theme="blue-galaxy"] .menu-item.disabled,
body[data-theme="blue-galaxy"] .menu-item > button:disabled,
[data-theme="blue-galaxy"] .menu-item > button:disabled {
  opacity: 0.45 !important;
  filter: saturate(60%) !important;
  background: rgba(18, 28, 56, 0.28) !important;
  border-color: rgba(120, 170, 255, 0.10) !important;
}

body[data-theme="blue-galaxy"] .menu-item-icon,
[data-theme="blue-galaxy"] .menu-item-icon {
  color: var(--bgx-accent0) !important;
}

body[data-theme="blue-galaxy"] .submenu-item,
[data-theme="blue-galaxy"] .submenu-item,
body[data-theme="blue-galaxy"] .submenu-item > button,
[data-theme="blue-galaxy"] .submenu-item > button {
  background: rgba(18, 28, 56, 0.35) !important;
  border: 1px solid rgba(120, 170, 255, 0.15) !important;
  color: var(--bgx-text-dim) !important;
  border-radius: 12px !important;
}

body[data-theme="blue-galaxy"] .submenu-item:hover,
[data-theme="blue-galaxy"] .submenu-item:hover,
body[data-theme="blue-galaxy"] .submenu-item > button:hover,
[data-theme="blue-galaxy"] .submenu-item > button:hover {
  background: rgba(127, 182, 255, 0.12) !important;
  border-color: rgba(120, 170, 255, 0.25) !important;
  color: var(--bgx-text) !important;
}

/* ─── Buttons ─── */
body[data-theme="blue-galaxy"] .btn-primary,
[data-theme="blue-galaxy"] .btn-primary,
body[data-theme="blue-galaxy"] button.btn-primary,
[data-theme="blue-galaxy"] button.btn-primary {
  background: rgba(127, 182, 255, 0.70) !important;
  border: 2px solid var(--bgx-border) !important;
  color: var(--bgx-bg0) !important;
  font-weight: 600 !important;
  box-shadow: 0 0 18px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .btn-primary:hover,
[data-theme="blue-galaxy"] .btn-primary:hover,
body[data-theme="blue-galaxy"] button.btn-primary:hover,
[data-theme="blue-galaxy"] button.btn-primary:hover {
  background: rgba(127, 182, 255, 0.85) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 24px var(--bgx-glow-strong) !important;
  transform: translateY(-1px);
}

body[data-theme="blue-galaxy"] .btn-secondary,
[data-theme="blue-galaxy"] .btn-secondary,
body[data-theme="blue-galaxy"] button.btn-secondary,
[data-theme="blue-galaxy"] button.btn-secondary {
  background: transparent !important;
  border: 2px solid var(--bgx-border) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .btn-secondary:hover,
[data-theme="blue-galaxy"] .btn-secondary:hover,
body[data-theme="blue-galaxy"] button.btn-secondary:hover,
[data-theme="blue-galaxy"] button.btn-secondary:hover {
  background: rgba(127, 182, 255, 0.12) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

/* FAB */
body[data-theme="blue-galaxy"] .fab-add-button,
[data-theme="blue-galaxy"] .fab-add-button {
  background: rgba(127, 182, 255, 0.75) !important;
  box-shadow: 0 4px 20px var(--bgx-glow-strong) !important;
  color: var(--bgx-bg0) !important;
}

body[data-theme="blue-galaxy"] .fab-add-button:hover,
[data-theme="blue-galaxy"] .fab-add-button:hover {
  background: rgba(127, 182, 255, 0.90) !important;
  box-shadow: 0 6px 28px var(--bgx-glow-strong), 0 0 40px var(--bgx-glow) !important;
  transform: translateY(-50%) scale(1.05);
}

/* ─── Pagination ─── */
body[data-theme="blue-galaxy"] .pagination-button.active,
[data-theme="blue-galaxy"] .pagination-button.active {
  background: rgba(127, 182, 255, 0.70) !important;
  border-color: var(--bgx-border-strong) !important;
  color: var(--bgx-bg0) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .pagination-button,
[data-theme="blue-galaxy"] .pagination-button {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .pagination-button:hover:not(.active),
[data-theme="blue-galaxy"] .pagination-button:hover:not(.active) {
  background: rgba(127, 182, 255, 0.14) !important;
  border-color: var(--bgx-border) !important;
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.18) !important;
}

/* ─── Checkbox ─── */
body[data-theme="blue-galaxy"] input[type="checkbox"]:checked,
[data-theme="blue-galaxy"] input[type="checkbox"]:checked {
  background: rgba(127, 182, 255, 0.85) !important;
  border-color: var(--bgx-accent0) !important;
  box-shadow: 0 0 12px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] input[type="checkbox"],
[data-theme="blue-galaxy"] input[type="checkbox"] {
  border-color: var(--bgx-border) !important;
}

/* ─── Shell Surfaces ─── */
body[data-theme="blue-galaxy"] .app-main,
[data-theme="blue-galaxy"] .app-main,
body[data-theme="blue-galaxy"] .app-footer,
[data-theme="blue-galaxy"] .app-footer {
  background: var(--bgx-surface) !important;
  -webkit-backdrop-filter: saturate(var(--bgx-saturate)) blur(var(--bgx-blur));
  backdrop-filter: saturate(var(--bgx-saturate)) blur(var(--bgx-blur));
  border: 1px solid var(--bgx-border-soft) !important;
  border-radius: var(--glass-radius);
  box-shadow: 0 0 30px rgba(127, 182, 255, 0.15) !important;
}

body[data-theme="blue-galaxy"] .dynamic-panel,
[data-theme="blue-galaxy"] .dynamic-panel {
  background: var(--bgx-surface-strong) !important;
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  border: 1px solid var(--bgx-border) !important;
  box-shadow: 0 0 35px rgba(127, 182, 255, 0.20) !important;
}

/* ─── Links & Text ─── */
body[data-theme="blue-galaxy"] a,
[data-theme="blue-galaxy"] a,
body[data-theme="blue-galaxy"] .bookmark-url,
[data-theme="blue-galaxy"] .bookmark-url {
  color: var(--bgx-link) !important;
}

body[data-theme="blue-galaxy"] a:hover,
[data-theme="blue-galaxy"] a:hover {
  color: var(--bgx-accent0) !important;
  text-shadow: 0 0 8px rgba(127, 182, 255, 0.20);
}

/* ─── Bookmarks / Cards (Blue Galaxy) ───────────────────────────── */

body[data-theme="blue-galaxy"] .bookmark-item,
[data-theme="blue-galaxy"] .bookmark-item,
body[data-theme="blue-galaxy"] .bookmark-card,
[data-theme="blue-galaxy"] .bookmark-card,
body[data-theme="blue-galaxy"] .bookmark-row,
[data-theme="blue-galaxy"] .bookmark-row,
body[data-theme="blue-galaxy"] .compact-bookmark-item,
[data-theme="blue-galaxy"] .compact-bookmark-item {
  background: linear-gradient(
          180deg,
          rgba(10, 18, 40, 0.75),
          rgba(10, 18, 40, 0.55)
  ) !important;

  border: 1px solid rgba(120, 170, 255, 0.22) !important;
  border-radius: 14px !important;

  backdrop-filter: blur(14px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(150%) !important;

  box-shadow:
          0 12px 32px rgba(0,0,0,0.55),
          0 0 18px rgba(127,182,255,0.18) !important;

  color: #EAF2FF !important;
}

body[data-theme="blue-galaxy"] .bookmark-item:hover,
[data-theme="blue-galaxy"] .bookmark-item:hover,
body[data-theme="blue-galaxy"] .compact-bookmark-item:hover,
[data-theme="blue-galaxy"] .compact-bookmark-item:hover {
  border-color: rgba(120,170,255,0.35) !important;
  box-shadow:
          0 16px 40px rgba(0,0,0,0.6),
          0 0 26px rgba(127,182,255,0.30) !important;
  transform: translateY(-1px);
}

/* Title + Meta */
body[data-theme="blue-galaxy"] .bookmark-title,
[data-theme="blue-galaxy"] .bookmark-title {
  color: #EAF2FF !important;
}

body[data-theme="blue-galaxy"] .bookmark-meta,
[data-theme="blue-galaxy"] .bookmark-meta,
body[data-theme="blue-galaxy"] .bookmark-url,
[data-theme="blue-galaxy"] .bookmark-url {
  color: rgba(234,242,255,0.70) !important;
}


/* =========================================================
   3) GOODVIBES
   Palette: #FFC84C, #FC8797, #FDA471, #6196EB
   ========================================================= */

[data-theme="goodvibes"] body {
  background-color: #FFF6DC;
  background-image: url(/assets/GoodVipesBackground-DtdFpG0l.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Header */
[data-theme="goodvibes"] .mobile-header {
  background: linear-gradient(90deg, #FFF4D6, #E9F6FB);
  --header-fg: #000000;
}
[data-theme="goodvibes"] .hamburger-button span { background: #000000 !important; }
[data-theme="goodvibes"] .brand-title,
[data-theme="goodvibes"] .brand-subtitle { color: #000000 !important; }

/* Accents */
[data-theme="goodvibes"] .fab-add-button {
  background: #FFC84C;
  box-shadow: 0 4px 12px rgba(255, 200, 76, 0.45);
}
[data-theme="goodvibes"] .fab-add-button:hover {
  background: #FDA471;
  box-shadow: 0 6px 22px rgba(253, 164, 113, 0.55);
}

[data-theme="goodvibes"] .btn-primary {
  background: #FFC84C;
  border-color: #FFC84C;
  color: #000000;
}
[data-theme="goodvibes"] .btn-primary:hover {
  background: #FDA471;
  border-color: #FDA471;
  color: #000000;
}

/* Secondary hover ring */
[data-theme="goodvibes"] .btn-secondary:hover,
[data-theme="goodvibes"] .filter-chip:hover,
[data-theme="goodvibes"] .icon-button:hover {
  box-shadow: 0 0 0 3px rgba(252, 135, 151, 0.18);
}

/* Glass surfaces */
[data-theme="goodvibes"] .header-content,
[data-theme="goodvibes"] .search-filters-container,
[data-theme="goodvibes"] .tab-navigation,
[data-theme="goodvibes"] .tab-container,
[data-theme="goodvibes"] .app-main,
[data-theme="goodvibes"] .app-footer,
[data-theme="goodvibes"] .compact-bookmark-item,
[data-theme="goodvibes"] .bookmark-form-container,
[data-theme="goodvibes"] .dynamic-panel,
[data-theme="goodvibes"] .panel-header,
[data-theme="goodvibes"] .panel-content,
[data-theme="goodvibes"] .export-stats,
[data-theme="goodvibes"] .export-preview,
[data-theme="goodvibes"] .panel-actions {
  background: rgba(255, 255, 255, 0.30) !important;
  -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  border-radius: var(--glass-radius);
}

[data-theme="goodvibes"] .tab-container { border-top: none !important; }

[data-theme="goodvibes"] .bookmark-url,
[data-theme="goodvibes"] .app a { color: #6196EB; }

/* Pagination */
[data-theme="goodvibes"] .pagination-number,
[data-theme="goodvibes"] .pagination-btn {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] .pagination-number.active,
[data-theme="goodvibes"] .pagination-number.active:hover,
[data-theme="goodvibes"] .pagination-number.active:focus {
  background: #FFC84C !important;
  border-color: #FFC84C !important;
  color: #19295b !important;
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18);
}
[data-theme="goodvibes"] .pagination-btn[disabled] { opacity: 0.7; }

/* Checkbox accents */
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"],
[data-theme="goodvibes"] input[aria-label="selectBookmark"][type="checkbox"] {
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]::before,
[data-theme="goodvibes"] input[aria-label="selectBookmark"][type="checkbox"]::before {
  background: #FFC84C !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18) !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35) !important;
  outline-offset: 2px;
}

/* Tab icon color */
[data-theme="goodvibes"] .tab-navigation .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-icon i,
[data-theme="goodvibes"] .tab-navigation .tab-button.active .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-button.active .tab-icon i,
[data-theme="goodvibes"] .tab-navigation .tab-button:hover .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-button:hover .tab-icon i {
  color: #FFC84C !important;
}

/* Hamburger menu */
[data-theme="goodvibes"] .hamburger-menu {
  background: #FEFCF9 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
[data-theme="goodvibes"] .hamburger-menu .menu-header {
  background-image: url(/assets/GoodVipesBackground-DtdFpG0l.png) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: #000000;
}

/* Buttons */
[data-theme="goodvibes"] button,
[data-theme="goodvibes"] .btn,
[data-theme="goodvibes"] .btn-secondary,
[data-theme="goodvibes"] .menu-item,
[data-theme="goodvibes"] .submenu-item,
[data-theme="goodvibes"] .action-button {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] button:hover,
[data-theme="goodvibes"] .btn:hover,
[data-theme="goodvibes"] .menu-item:hover,
[data-theme="goodvibes"] .submenu-item:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.12);
}
[data-theme="goodvibes"] button:focus-visible,
[data-theme="goodvibes"] .btn:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35);
  outline-offset: 2px;
}
[data-theme="goodvibes"] button[disabled],
[data-theme="goodvibes"] .btn[disabled] { opacity: 0.7; }

[data-theme="goodvibes"] .btn.btn-primary,
[data-theme="goodvibes"] button.btn.btn-primary { color: #000000 !important; }

[data-theme="goodvibes"] .upgrade-button { color: #000000 !important; }

[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button {
  background: #FFC84C !important;
  border-color: #FFC84C !important;
  color: #000000 !important;
}
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:hover,
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:focus,
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:active {
  background: #FDA471 !important;
  border-color: #FDA471 !important;
  color: #000000 !important;
}


/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME - COMPLETE IMPLEMENTATION

   Character: Soft, calm, emotional, modern, high-quality
   Aesthetic: Purple space gradient + glassmorphism + bubble overlays
   Philosophy: Readability > Effects, One Design Two Densities

   Coverage: ALL 35+ UI Components, ALL States, ALL Breakpoints
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   SECTION 1: CSS CUSTOM PROPERTIES (TOKENS SYSTEM)
   All Purple-Bubbles styles MUST use these tokens exclusively
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] {
  /* ─────── COLORS - Accent ─────── */
  --pb-accent: #A78BFA;           /* Soft Purple - Primary */
  --pb-accent-soft: #C4B5FD;      /* Light Purple - Hover/Highlight */
  --pb-accent-strong: #8B5CF6;    /* Deep Purple - Active */
  --pb-accent-dim: #7C3AED;       /* Darker Purple - Pressed */

  /* ─────── COLORS - Background Gradient ─────── */
  --pb-bg-dark: #1d0e33;          /* Deep Purple Space */
  --pb-bg-mid: #1d0e33;           /* Panel Background */
  --pb-bg-light: #2a1545;         /* Lighter Purple */

  /* ─────── COLORS - Surface (Glassmorphism) ─────── */
  --pb-surface: rgba(167, 139, 250, 0.12);
  --pb-surface-soft: rgba(196, 181, 253, 0.08);
  --pb-surface-strong: rgba(139, 92, 246, 0.18);
  --pb-surface-hover: rgba(167, 139, 250, 0.22);
  --pb-surface-active: rgba(139, 92, 246, 0.28);

  /* ─────── COLORS - Border ─────── */
  --pb-border-soft: rgba(196, 181, 253, 0.20);
  --pb-border-strong: rgba(167, 139, 250, 0.35);
  --pb-border-focus: rgba(167, 139, 250, 0.50);
  --pb-border-hover: rgba(196, 181, 253, 0.40);

  /* ─────── COLORS - Text ─────── */
  --pb-text: #F3F4F6;             /* Light Gray - Primary Text */
  --pb-text-dim: #D1D5DB;         /* Dimmed Gray - Secondary */
  --pb-text-muted: #9CA3AF;       /* Muted Gray - Tertiary */
  --pb-text-inverted: #1F2937;    /* Dark for light backgrounds */
  --pb-text-accent: #E9D5FF;      /* Purple-tinted white */

  /* ─────── COLORS - State ─────── */
  --pb-success: #34D399;          /* Emerald Green */
  --pb-warning: #FBBF24;          /* Amber */
  --pb-danger: #9054cc;           /* Purple tone for delete buttons */
  --pb-info: #60A5FA;             /* Blue */

  /* ─────── EFFECTS - Blur & Saturate (Desktop) ─────── */
  --pb-blur-sm: 8px;
  --pb-blur-md: 12px;
  --pb-blur-lg: 16px;
  --pb-blur-xl: 24px;
  --pb-saturate: 140%;

  /* ─────── EFFECTS - Shadows (Diffuse, Soft) ─────── */
  --pb-shadow-sm: 0 2px 8px rgba(30, 27, 75, 0.15),
                  0 1px 3px rgba(0, 0, 0, 0.10);
  --pb-shadow-md: 0 4px 16px rgba(30, 27, 75, 0.25),
                  0 2px 8px rgba(0, 0, 0, 0.15);
  --pb-shadow-lg: 0 8px 32px rgba(30, 27, 75, 0.35),
                  0 4px 16px rgba(0, 0, 0, 0.20);
  --pb-shadow-xl: 0 12px 48px rgba(30, 27, 75, 0.45),
                  0 6px 24px rgba(0, 0, 0, 0.25);

  /* ─────── EFFECTS - Glow (Subtle, Not Neon) ─────── */
  --pb-glow-soft: 0 0 12px rgba(167, 139, 250, 0.15),
                  0 0 6px rgba(196, 181, 253, 0.10);
  --pb-glow-medium: 0 0 20px rgba(167, 139, 250, 0.25),
                    0 0 10px rgba(196, 181, 253, 0.15);
  --pb-glow-strong: 0 0 30px rgba(167, 139, 250, 0.35),
                    0 0 15px rgba(196, 181, 253, 0.20);

  /* ─────── EFFECTS - Focus Ring ─────── */
  --pb-focus-ring: 0 0 0 3px rgba(167, 139, 250, 0.30);
  --pb-focus-ring-strong: 0 0 0 4px rgba(167, 139, 250, 0.40);

  /* ─────── SHAPE - Border Radius ─────── */
  --pb-radius-sm: 8px;
  --pb-radius-md: 12px;
  --pb-radius-lg: 16px;
  --pb-radius-xl: 20px;
  --pb-radius-2xl: 24px;
  --pb-radius-full: 9999px;

  /* ─────── SHAPE - Spacing Scale ─────── */
  --pb-space-xs: 0.25rem;  /* 4px */
  --pb-space-sm: 0.5rem;   /* 8px */
  --pb-space-md: 1rem;     /* 16px */
  --pb-space-lg: 1.5rem;   /* 24px */
  --pb-space-xl: 2rem;     /* 32px */
  --pb-space-2xl: 3rem;    /* 48px */

  /* ─────── MOTION - Transitions ─────── */
  --pb-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --pb-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --pb-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --pb-transition-bounce: 450ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════════════
   DENSITY PROFILE: MOBILE (Performance & Readability Focused)
   Reduced blur, glow, and radius values for mobile devices
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  [data-theme="purple-bubbles"] {
    --pb-blur-sm: 6px;
    --pb-blur-md: 8px;
    --pb-blur-lg: 10px;
    --pb-blur-xl: 14px;
    --pb-radius-sm: 6px;
    --pb-radius-md: 10px;
    --pb-radius-lg: 12px;
    --pb-radius-xl: 14px;
    --pb-radius-2xl: 16px;
    --pb-glow-soft: 0 0 8px rgba(167, 139, 250, 0.12);
    --pb-glow-medium: 0 0 14px rgba(167, 139, 250, 0.18);
    --pb-glow-strong: 0 0 20px rgba(167, 139, 250, 0.25);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 2: BACKGROUND & FOUNDATION
   Purple space gradient + decorative bubble overlay
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] body {
  background: linear-gradient(
    135deg,
    var(--pb-bg-dark) 0%,
    var(--pb-bg-mid) 50%,
    var(--pb-bg-light) 100%
  );
  background-attachment: fixed;
  color: var(--pb-text);
  position: relative;
  overflow-x: hidden;
}

/* Decorative Bubble Overlay - Subtle, Non-Intrusive */
[data-theme="purple-bubbles"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(/assets/PurpleBubblesBackground-CExjrOOh.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: soft-light;
}

/* Ensure all content above bubble overlay */
[data-theme="purple-bubbles"] #root,
[data-theme="purple-bubbles"] .app-container {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 3: NAVIGATION & LAYOUT
   MobileHeader, HamburgerMenu, TabNavigation
   ═══════════════════════════════════════════════════════════════════ */

/* ─────── 3.1) Header + Navbar - ohne Transparenz für klares Hintergrundbild ─────── */
[data-theme="purple-bubbles"] .header-content,
[data-theme="purple-bubbles"] .tab-navigation {
  background: transparent !important;
  background-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Mobile Header spezifisch - mit Hintergrundbild */
[data-theme="purple-bubbles"] .mobile-header {
  position: relative;
  background: url(/assets/PurpleBubblesBackground-CExjrOOh.png) center center / cover no-repeat !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Dezente Bubble-Deko im Header - komplett deaktiviert für sauberes Hintergrundbild */
[data-theme="purple-bubbles"] .mobile-header::before {
  content: none !important;
  display: none !important;
}

/* Header Content - transparent (erbt Glass von parent) */
[data-theme="purple-bubbles"] .header-content {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  z-index: 1;
}

/* App-Name - Haupttitel */
[data-theme="purple-bubbles"] .brand-title {
  color: #F6EEFF !important;
  text-shadow: 0 0 12px rgba(182, 109, 255, 0.22);
  font-weight: 600;
}

/* Subtitle - Secondary Text */
[data-theme="purple-bubbles"] .brand-subtitle {
  color: rgba(246, 238, 255, 0.72) !important;
}

/* ─────── 3.2) Hamburger Menu Button ─────── */
[data-theme="purple-bubbles"] .hamburger-button {
  background: rgba(28, 14, 46, 0.40);
  border: 1px solid rgba(182, 109, 255, 0.25);
  border-radius: 12px;
  transition: all var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .hamburger-button:hover {
  background: rgba(28, 14, 46, 0.55);
  border-color: rgba(182, 109, 255, 0.40);
  box-shadow: none;
}

[data-theme="purple-bubbles"] .hamburger-button:active {
  background: rgba(28, 14, 46, 0.70);
  transform: scale(0.95);
}

[data-theme="purple-bubbles"] .hamburger-button span {
  background: #C89BFF;
  box-shadow: none;
}

/* Header Icons - Default Purple */
[data-theme="purple-bubbles"] .header-left .menu-icon,
[data-theme="purple-bubbles"] .avatar-icon {
  color: #C89BFF !important;
}

/* Header Icons - Hover (Desktop) */
[data-theme="purple-bubbles"] .header-left .menu-icon:hover,
[data-theme="purple-bubbles"] .avatar-icon:hover {
  color: #E2CFFF !important;
  filter: drop-shadow(0 0 10px rgba(182, 109, 255, 0.30));
}

[data-theme="purple-bubbles"] .logo-image {
  filter: drop-shadow(0 0 8px rgba(182, 109, 255, 0.25));
}

[data-theme="purple-bubbles"] .avatar-circle {
  background: rgba(28, 14, 46, 0.40);
  border: 1px solid rgba(182, 109, 255, 0.25);
}

[data-theme="purple-bubbles"] .avatar-circle:hover {
  background: rgba(28, 14, 46, 0.55);
  border-color: rgba(182, 109, 255, 0.40);
  filter: drop-shadow(0 0 10px rgba(182, 109, 255, 0.30));
}

/* Hamburger Button Bars */
[data-theme="purple-bubbles"] .hamburger-button span {
  background: #C89BFF !important;
}

[data-theme="purple-bubbles"] .hamburger-button:hover span {
  background: #E2CFFF !important;
}

/* Mobile: Kein Blur für klares Hintergrundbild */
@media (max-width: 480px) {
  [data-theme="purple-bubbles"] .header-content,
  [data-theme="purple-bubbles"] .tab-navigation {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  [data-theme="purple-bubbles"] .mobile-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none !important;
    border: none !important;
  }

  [data-theme="purple-bubbles"] .mobile-header::before {
    content: none !important;
    display: none !important;
  }

  [data-theme="purple-bubbles"] .hamburger-button:hover {
    box-shadow: none;
  }

  /* Mobile: Kein Text-Shadow */
  [data-theme="purple-bubbles"] .brand-title {
    text-shadow: none;
  }
}

/* ─────── 3.3) Hamburger Menu Sidebar ─────── */
[data-theme="purple-bubbles"] .hamburger-menu {
  background: #1d0e33;
  backdrop-filter: blur(var(--pb-blur-lg));
  -webkit-backdrop-filter: blur(var(--pb-blur-lg));
  border-left: 1px solid var(--pb-border-soft);
  box-shadow: var(--pb-shadow-xl), var(--pb-glow-medium);
}

[data-theme="purple-bubbles"] .menu-header {
  background: #1d0e33;
  border-bottom: 1px solid var(--pb-border-soft);
  padding: var(--pb-space-lg);
}

[data-theme="purple-bubbles"] .user-name {
  color: var(--pb-text-accent);
  font-weight: 600;
}

[data-theme="purple-bubbles"] .user-email {
  color: var(--pb-text-dim);
}

[data-theme="purple-bubbles"] .status-indicator {
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .status-indicator.online {
  background: var(--pb-success);
}

[data-theme="purple-bubbles"] .status-indicator.offline {
  background: var(--pb-text-muted);
}

[data-theme="purple-bubbles"] .premium-indicator {
  background: linear-gradient(90deg, var(--pb-accent), var(--pb-accent-strong));
  color: white;
  padding: var(--pb-space-xs) var(--pb-space-sm);
  border-radius: var(--pb-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: var(--pb-glow-soft);
}

/* ─────── 3.4) Menu Items ─────── */
[data-theme="purple-bubbles"] .menu-item,
[data-theme="purple-bubbles"] .submenu-item {
  background: transparent;
  border: 1px solid transparent;
  color: var(--pb-text-dim);
  transition: all var(--pb-transition-base);
  border-radius: var(--pb-radius-sm);
}

[data-theme="purple-bubbles"] .menu-item:hover,
[data-theme="purple-bubbles"] .submenu-item:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-soft);
  color: var(--pb-text);
  box-shadow: var(--pb-glow-soft);
  /* Removed transform to prevent flicker on menu close */
}

[data-theme="purple-bubbles"] .menu-item:active,
[data-theme="purple-bubbles"] .submenu-item:active {
  background: var(--pb-surface-active);
}

[data-theme="purple-bubbles"] .menu-item.disabled,
[data-theme="purple-bubbles"] .submenu-item.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  color: var(--pb-text-muted);
}

[data-theme="purple-bubbles"] .menu-item.disabled:hover {
  background: transparent;
  border-color: transparent;
  transform: none;
}

[data-theme="purple-bubbles"] .menu-icon {
  color: var(--pb-accent-soft);
  filter: drop-shadow(0 0 4px rgba(167, 139, 250, 0.25));
}

[data-theme="purple-bubbles"] .menu-item:hover .menu-icon {
  color: var(--pb-accent);
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.35));
}

/* ─────── 3.5) Submenu (Expanded State) ─────── */
[data-theme="purple-bubbles"] .submenu {
  background: var(--pb-surface-soft);
  border-left: 2px solid var(--pb-accent);
  border-radius: var(--pb-radius-sm);
  margin-top: var(--pb-space-xs);
  padding: var(--pb-space-xs);
}

[data-theme="purple-bubbles"] .menu-item.expanded {
  background: var(--pb-surface);
  border-color: var(--pb-border-soft);
}

[data-theme="purple-bubbles"] .expand-icon {
  color: var(--pb-accent-soft);
  transition: transform var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .menu-item.expanded .expand-icon {
  transform: rotate(90deg);
  color: var(--pb-accent);
}

/* ─────── 3.6) Tab Navigation ─────── */
[data-theme="purple-bubbles"] .tab-navigation {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 1px solid var(--pb-border-soft);
  border-bottom: 1px solid var(--pb-border-soft);
  box-shadow: var(--pb-shadow-sm);
}

[data-theme="purple-bubbles"] .tab-button {
  color: var(--pb-text-dim);
  border: 1px solid transparent;
  transition: all var(--pb-transition-base);
  border-radius: var(--pb-radius-sm);
}

[data-theme="purple-bubbles"] .tab-button:hover {
  background: var(--pb-surface-hover);
  color: var(--pb-text);
  border-color: var(--pb-border-soft);
}

[data-theme="purple-bubbles"] .tab-button.active {
  background: var(--pb-accent);
  color: white;
  border-color: var(--pb-accent);
  box-shadow: var(--pb-glow-medium);
}

[data-theme="purple-bubbles"] .tab-icon {
  color: currentColor;
  filter: drop-shadow(0 0 4px rgba(167, 139, 250, 0.20));
}

[data-theme="purple-bubbles"] .tab-button.active .tab-icon {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.40));
}

/* ─────── 3.7) Language Selector ─────── */
[data-theme="purple-bubbles"] .language-combobox {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  color: var(--pb-text);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-sm) var(--pb-space-md);
  transition: all var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .language-combobox:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .language-combobox:focus {
  outline: none;
  border-color: var(--pb-accent);
  box-shadow: var(--pb-focus-ring);
}

[data-theme="purple-bubbles"] .language-combobox option {
  background: var(--pb-bg-mid);
  color: var(--pb-text);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 4: BOOKMARKS
   BookmarkList, BookmarkItem, CompactBookmarkItem, Search/Filter
   ═══════════════════════════════════════════════════════════════════ */

/* ─────── 4.1) Main Content Area ─────── */
[data-theme="purple-bubbles"] .app-main {
  background: var(--pb-surface);
  backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-lg));
  -webkit-backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-lg));
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-lg);
  box-shadow: var(--pb-shadow-lg);
}

[data-theme="purple-bubbles"] .app-footer {
  background: var(--pb-surface-soft);
  border-top: 1px solid var(--pb-border-soft);
  color: var(--pb-text-dim);
}

/* ─────── 4.2) Search & Filters ─────── */
[data-theme="purple-bubbles"] .search-filters-container {
  background: var(--pb-surface-soft);
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
  margin-bottom: var(--pb-space-md);
}

[data-theme="purple-bubbles"] .search-bar {
  background: var(--pb-surface);
  border: 2px solid var(--pb-border-soft);
  color: var(--pb-text);
  border-radius: 8px;
  padding: 12px 16px;
  transition: all var(--pb-transition-base);
  font-size: 1rem;
  width: 100%;
}

[data-theme="purple-bubbles"] .search-bar::placeholder {
  color: var(--pb-text-muted);
}

[data-theme="purple-bubbles"] .search-bar:hover {
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .search-bar:focus {
  outline: none;
  border-color: var(--pb-accent);
  box-shadow: var(--pb-focus-ring);
  background: var(--pb-surface-hover);
}

/* ─────── 4.3) Filter Chips ─────── */
[data-theme="purple-bubbles"] .filter-chip {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  color: var(--pb-text-dim);
  border-radius: var(--pb-radius-full);
  padding: var(--pb-space-xs) var(--pb-space-md);
  transition: all var(--pb-transition-base);
  font-size: 0.875rem;
}

[data-theme="purple-bubbles"] .filter-chip:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
  color: var(--pb-text);
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .filter-chip.active {
  background: var(--pb-accent);
  border-color: var(--pb-accent);
  color: white;
  box-shadow: var(--pb-glow-medium);
}

/* ─────── 4.4) Bookmark Item (Compact) ─────── */
[data-theme="purple-bubbles"] .compact-bookmark-item {
  background: var(--pb-surface);
  backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-sm));
  -webkit-backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-sm));
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-md);
  transition: all var(--pb-transition-base);
  box-shadow: var(--pb-shadow-sm);
}

[data-theme="purple-bubbles"] .compact-bookmark-item:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-shadow-md), var(--pb-glow-soft);
  transform: translateY(-2px);
}

[data-theme="purple-bubbles"] .compact-bookmark-item.selected {
  background: var(--pb-surface-active);
  border-color: var(--pb-accent);
  box-shadow: var(--pb-glow-medium);
}

[data-theme="purple-bubbles"] .bookmark-title {
  color: var(--pb-text);
  font-weight: 600;
}

[data-theme="purple-bubbles"] .bookmark-url {
  color: var(--pb-accent-soft);
  font-size: 0.875rem;
}

[data-theme="purple-bubbles"] .bookmark-url:hover {
  color: var(--pb-accent);
  text-decoration: underline;
}

[data-theme="purple-bubbles"] .bookmark-description {
  color: var(--pb-text-dim);
  font-size: 0.875rem;
  line-height: 1.5;
}

[data-theme="purple-bubbles"] .bookmark-category {
  background: var(--pb-surface-strong);
  border: 1px solid var(--pb-border-soft);
  color: #b66dfe;
  border-radius: var(--pb-radius-sm);
  padding: var(--pb-space-xs) var(--pb-space-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ─────── 4.5) Star Rating ─────── */
[data-theme="purple-bubbles"] .star-rating {
  display: flex;
  gap: var(--pb-space-xs);
}

[data-theme="purple-bubbles"] .star {
  color: var(--pb-text-muted);
  transition: all var(--pb-transition-fast);
  cursor: pointer;
}

[data-theme="purple-bubbles"] .star:hover,
[data-theme="purple-bubbles"] .star.filled {
  color: var(--pb-accent);
  filter: drop-shadow(0 0 4px rgba(167, 139, 250, 0.40));
}

/* ─────── 4.6) Bookmark Actions ─────── */
[data-theme="purple-bubbles"] .action-button {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  color: var(--pb-text-dim);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-sm) var(--pb-space-md);
  transition: all var(--pb-transition-base);
  min-height: 44px; /* Touch Target */
}

[data-theme="purple-bubbles"] .action-button:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
  color: var(--pb-text);
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .action-button:active {
  background: var(--pb-surface-active);
  transform: scale(0.95);
}

[data-theme="purple-bubbles"] .action-button:focus-visible {
  outline: none;
  box-shadow: var(--pb-focus-ring);
}

/* ─────── 4.7) Multi-Select Checkbox ─────── */
[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"],
[data-theme="purple-bubbles"] input[aria-label="selectBookmark"][type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--pb-border-strong);
  border-radius: var(--pb-radius-sm);
  background: var(--pb-surface);
  cursor: pointer;
  transition: all var(--pb-transition-base);
  position: relative;
}

[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]:hover {
  border-color: var(--pb-accent);
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]:checked {
  background: var(--pb-accent);
  border-color: var(--pb-accent);
}

[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]:checked::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: var(--pb-focus-ring);
}

/* ─────── 4.8) Pagination ─────── */
[data-theme="purple-bubbles"] .pagination {
  display: flex;
  gap: var(--pb-space-sm);
  justify-content: center;
  margin-top: var(--pb-space-lg);
}

[data-theme="purple-bubbles"] .pagination-btn,
[data-theme="purple-bubbles"] .pagination-number {
  background: rgba(40, 20, 60, 0.45) !important;
  border: 1px solid rgba(182, 109, 255, 0.35) !important;
  color: #F6EEFF !important;
  border-radius: 14px !important;
  padding: var(--pb-space-sm) var(--pb-space-md);
  transition: all var(--pb-transition-base);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="purple-bubbles"] .pagination-btn:hover:not([disabled]),
[data-theme="purple-bubbles"] .pagination-number:hover:not(.active) {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.45) !important;
  color: #F6EEFF !important;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
}

[data-theme="purple-bubbles"] .pagination-number.active {
  background: rgba(182, 109, 255, 0.65) !important;
  border-color: rgba(182, 109, 255, 0.50) !important;
  color: #0B0614 !important;
  box-shadow: 0 0 16px rgba(182, 109, 255, 0.40) !important;
}

[data-theme="purple-bubbles"] .pagination-btn[disabled] {
  opacity: 0.45 !important;
  cursor: not-allowed;
  background: rgba(40, 20, 60, 0.25) !important;
  border-color: rgba(182, 109, 255, 0.15) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 5: BUTTONS & FORMS
   Primary, Secondary, Danger, Input, Select, Textarea
   ═══════════════════════════════════════════════════════════════════ */

/* ─────── 5.1) Primary Button ─────── */
[data-theme="purple-bubbles"] .btn-primary,
[data-theme="purple-bubbles"] button.btn-primary {
  background: rgba(182, 109, 255, 0.75) !important;
  border: 2px solid rgba(182, 109, 255, 0.35) !important;
  color: #0B0614 !important;
  border-radius: 14px !important;
  padding: var(--pb-space-sm) var(--pb-space-lg);
  font-weight: 600;
  transition: all var(--pb-transition-base);
  box-shadow: 0 0 18px rgba(182, 109, 255, 0.35) !important;
  min-height: 44px;
}

[data-theme="purple-bubbles"] .btn-primary:hover {
  background: rgba(200, 160, 255, 0.9) !important;
  border-color: rgba(200, 160, 255, 0.45) !important;
  box-shadow: 0 0 24px rgba(182, 109, 255, 0.55) !important;
  transform: translateY(-1px);
}

[data-theme="purple-bubbles"] .btn-primary:active {
  background: rgba(182, 109, 255, 0.85) !important;
  border-color: rgba(182, 109, 255, 0.50) !important;
  transform: translateY(0);
}

[data-theme="purple-bubbles"] .btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(182, 109, 255, 0.40) !important;
}

[data-theme="purple-bubbles"] .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(40, 20, 60, 0.25) !important;
  border-color: rgba(182, 109, 255, 0.15) !important;
  color: rgba(246, 238, 255, 0.45) !important;
  box-shadow: none !important;
}

/* ─────── 5.2) Secondary Button ─────── */
[data-theme="purple-bubbles"] .btn-secondary,
[data-theme="purple-bubbles"] button.btn-secondary {
  background: rgba(40, 20, 60, 0.45) !important;
  border: 1px solid rgba(182, 109, 255, 0.35) !important;
  color: #F6EEFF !important;
  border-radius: 14px !important;
  padding: var(--pb-space-sm) var(--pb-space-lg);
  transition: all var(--pb-transition-base);
  min-height: 44px;
}

[data-theme="purple-bubbles"] .btn-secondary:hover {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.45) !important;
  color: #F6EEFF !important;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
}

[data-theme="purple-bubbles"] .btn-secondary:active {
  background: rgba(182, 109, 255, 0.30) !important;
}

[data-theme="purple-bubbles"] .btn-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(182, 109, 255, 0.35) !important;
}

/* ─────── 5.3) Danger Button ─────── */
[data-theme="purple-bubbles"] .btn-danger,
[data-theme="purple-bubbles"] button.btn-danger {
  background: var(--pb-danger);
  border: 2px solid var(--pb-danger);
  color: white;
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-sm) var(--pb-space-lg);
  font-weight: 600;
  transition: all var(--pb-transition-base);
  box-shadow: var(--pb-shadow-sm), 0 0 12px rgba(144, 84, 204, 0.35);
  min-height: 44px;
}

[data-theme="purple-bubbles"] .btn-danger:hover {
  background: #7a3fb8;
  border-color: #7a3fb8;
  box-shadow: var(--pb-shadow-md), 0 0 20px rgba(144, 84, 204, 0.45);
  transform: translateY(-1px);
}

[data-theme="purple-bubbles"] .btn-danger:active {
  background: #6a35a0;
  border-color: #6a35a0;
  transform: translateY(0);
}

/* ─────── 5.4) FAB Add Button ─────── */
[data-theme="purple-bubbles"] .fab-add-button {
  background: rgba(182, 109, 255, 0.85) !important;
  border: none;
  color: #0B0614 !important;
  box-shadow: 0 0 20px rgba(182, 109, 255, 0.45) !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  transition: all var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .fab-add-button:hover {
  background: rgba(200, 160, 255, 0.95) !important;
  box-shadow: 0 0 28px rgba(182, 109, 255, 0.60) !important;
  transform: translateY(-50%) scale(1.08);
}

[data-theme="purple-bubbles"] .fab-add-button:active {
  transform: scale(0.95);
}

/* ─────── 5.5) Input Fields ─────── */
[data-theme="purple-bubbles"] input[type="text"],
[data-theme="purple-bubbles"] input[type="email"],
[data-theme="purple-bubbles"] input[type="url"],
[data-theme="purple-bubbles"] input[type="password"],
[data-theme="purple-bubbles"] input[type="number"],
[data-theme="purple-bubbles"] input[type="search"] {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  color: var(--pb-text);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-sm) var(--pb-space-md);
  transition: all var(--pb-transition-base);
  font-size: 16px; /* iOS Zoom Prevention */
  min-height: 44px;
}

/* Search Input - Match recipe search style */
[data-theme="purple-bubbles"] .search-input {
  padding: 12px 16px 12px 40px !important;
  font-size: 1rem;
  width: 100%;
  border: 2px solid var(--pb-border-soft);
  border-radius: 8px;
}

[data-theme="purple-bubbles"] input::placeholder {
  color: var(--pb-text-muted);
}

[data-theme="purple-bubbles"] input:hover {
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] input:focus {
  outline: none;
  border-color: var(--pb-accent);
  box-shadow: var(--pb-focus-ring);
  background: var(--pb-surface-hover);
}

[data-theme="purple-bubbles"] input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--pb-surface-soft);
  color: var(--pb-text-muted);
}

/* ─────── 5.6) Select Dropdowns ─────── */
[data-theme="purple-bubbles"] select {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  color: var(--pb-text);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-sm) var(--pb-space-md);
  transition: all var(--pb-transition-base);
  min-height: 44px;
}

[data-theme="purple-bubbles"] select:hover {
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] select:focus {
  outline: none;
  border-color: var(--pb-accent);
  box-shadow: var(--pb-focus-ring);
}

[data-theme="purple-bubbles"] select option {
  background: var(--pb-bg-mid);
  color: var(--pb-text);
}

/* ─────── 5.7) Textarea ─────── */
[data-theme="purple-bubbles"] textarea {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  color: var(--pb-text);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
  transition: all var(--pb-transition-base);
  font-size: 16px;
  resize: vertical;
  min-height: 100px;
}

[data-theme="purple-bubbles"] textarea::placeholder {
  color: var(--pb-text-muted);
}

[data-theme="purple-bubbles"] textarea:hover {
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] textarea:focus {
  outline: none;
  border-color: var(--pb-accent);
  box-shadow: var(--pb-focus-ring);
  background: var(--pb-surface-hover);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 6: DYNAMIC PANELS
   Import, Export, Categories, Settings, Themes, Privacy, Support
   ═══════════════════════════════════════════════════════════════════ */

/* ─────── 6.1) Dynamic Panel Container ─────── */
[data-theme="purple-bubbles"] .dynamic-panel {
  background: #1d0e33;
  backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-lg));
  -webkit-backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-lg));
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-xl);
  box-shadow: var(--pb-shadow-xl), var(--pb-glow-medium);
  overflow: hidden;
}

[data-theme="purple-bubbles"] .panel-header {
  background: #1d0e33;
  border-bottom: 1px solid var(--pb-border-soft);
  padding: var(--pb-space-lg);
}

[data-theme="purple-bubbles"] .panel-header h2,
[data-theme="purple-bubbles"] .panel-header h3 {
  color: var(--pb-text-accent);
  margin: 0;
  text-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .panel-content {
  padding: var(--pb-space-lg);
  background: transparent;
}

[data-theme="purple-bubbles"] .panel-actions {
  display: flex;
  gap: var(--pb-space-md);
  justify-content: flex-end;
  padding: var(--pb-space-lg);
  border-top: 1px solid var(--pb-border-soft);
  background: var(--pb-surface-soft);
}

[data-theme="purple-bubbles"] .close-btn {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  color: var(--pb-text-dim);
  width: 40px;
  height: 40px;
  border-radius: var(--pb-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .close-btn:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-accent);
  color: var(--pb-text);
  box-shadow: var(--pb-glow-soft);
}

/* ─────── 6.2) Bookmark Form (Dynamic Panel) ─────── */
[data-theme="purple-bubbles"] .bookmark-form-container {
  background: transparent;
}

[data-theme="purple-bubbles"] .form-group {
  margin-bottom: var(--pb-space-lg);
}

[data-theme="purple-bubbles"] .form-group label {
  display: block;
  color: var(--pb-text);
  font-weight: 600;
  margin-bottom: var(--pb-space-sm);
}

[data-theme="purple-bubbles"] .form-error {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid var(--pb-danger);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
  color: var(--pb-danger);
  margin-bottom: var(--pb-space-md);
}

/* ─────── 6.3) Import/Export Dialog ─────── */
[data-theme="purple-bubbles"] .export-stats,
[data-theme="purple-bubbles"] .export-preview {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
  margin-bottom: var(--pb-space-md);
}

[data-theme="purple-bubbles"] .stat-label {
  color: var(--pb-text-dim);
  font-size: 0.875rem;
}

[data-theme="purple-bubbles"] .stat-value {
  color: var(--pb-accent-soft);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ─────── 6.4) Category Management ─────── */
[data-theme="purple-bubbles"] .category-item {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
  margin-bottom: var(--pb-space-sm);
  transition: all var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .category-item:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-glow-soft);
  transform: translateX(4px);
}

[data-theme="purple-bubbles"] .category-color {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--pb-border-soft);
  box-shadow: var(--pb-shadow-sm);
}

[data-theme="purple-bubbles"] .category-count {
  background: var(--pb-accent);
  color: white;
  border-radius: var(--pb-radius-full);
  padding: var(--pb-space-xs) var(--pb-space-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ─────── 6.5) Settings Panel ─────── */
[data-theme="purple-bubbles"] .settings-section {
  margin-bottom: var(--pb-space-xl);
}

[data-theme="purple-bubbles"] .settings-section h3 {
  color: var(--pb-text-accent);
  margin-bottom: var(--pb-space-md);
  font-size: 1.25rem;
}

[data-theme="purple-bubbles"] .setting-item {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
  margin-bottom: var(--pb-space-sm);
}

/* ─────── 6.6) Theme Modal ─────── */
[data-theme="purple-bubbles"] .theme-option {
  background: var(--pb-surface);
  border: 2px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
  cursor: pointer;
  transition: all var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .theme-option:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-glow-soft);
  transform: scale(1.02);
}

[data-theme="purple-bubbles"] .theme-option.active {
  background: var(--pb-surface-active);
  border-color: var(--pb-accent);
  box-shadow: var(--pb-glow-medium);
}

[data-theme="purple-bubbles"] .theme-preview {
  width: 100%;
  border-radius: var(--pb-radius-sm);
  overflow: hidden;
  margin-bottom: var(--pb-space-sm);
  box-shadow: var(--pb-shadow-sm);
}

/* ─────── Power Theme: Theme Modal ─────── */
[data-theme="power"] .theme-option {
  background: var(--power-surface) !important;
  border: 2px solid var(--power-border-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  box-shadow: 0 0 18px rgba(72, 232, 119, 0.08) !important;
  transition: all 0.3s ease;
}

[data-theme="power"] .theme-option:hover {
  background: var(--power-surface-strong) !important;
  border-color: var(--power-accent) !important;
  box-shadow: 0 0 24px rgba(72, 232, 119, 0.20) !important;
  transform: scale(1.02);
}

[data-theme="power"] .theme-option.active {
  background: var(--power-surface-strong) !important;
  border-color: var(--power-accent) !important;
  box-shadow: 0 0 0 3px rgba(72, 232, 119, 0.25), 0 0 32px rgba(72, 232, 119, 0.30) !important;
}

/* ─────── 6.7) Support Panel (AI Support CTA) ─────── */
[data-theme="purple-bubbles"] .ai-support-cta-card {
  background: linear-gradient(
    135deg,
    var(--pb-surface-strong),
    var(--pb-surface-hover)
  );
  border: 2px solid var(--pb-accent);
  border-radius: var(--pb-radius-xl);
  padding: var(--pb-space-xl);
  box-shadow: var(--pb-shadow-lg), var(--pb-glow-strong);
  transition: all var(--pb-transition-slow);
}

[data-theme="purple-bubbles"] .ai-support-cta-card:hover {
  box-shadow: var(--pb-shadow-xl), var(--pb-glow-strong);
  transform: translateY(-4px);
}

[data-theme="purple-bubbles"] .cta-card-icon {
  font-size: 3rem;
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.50));
  animation: subtleFloat 3s ease-in-out infinite;
}

@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

[data-theme="purple-bubbles"] .cta-card-title {
  color: var(--pb-accent-soft);
  text-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .cta-card-description {
  color: var(--pb-text-dim);
  line-height: 1.6;
}

[data-theme="purple-bubbles"] .support-cta-btn {
  background: var(--pb-accent);
  border: 2px solid var(--pb-accent);
  color: white;
  text-decoration: none;
  box-shadow: var(--pb-shadow-md), var(--pb-glow-medium);
}

[data-theme="purple-bubbles"] .support-cta-btn:hover {
  background: var(--pb-accent-soft);
  border-color: var(--pb-accent-soft);
  box-shadow: var(--pb-shadow-lg), var(--pb-glow-strong);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 7: RECIPE PANELS (Full-Screen Overlays)
   RecipesList, ShoppingList, RecipeArchive
   ═══════════════════════════════════════════════════════════════════ */

/* ─────── 7.1) Recipe Panel Wrapper ─────── */
[data-theme="purple-bubbles"] .recipe-panel,
[data-theme="purple-bubbles"] .shopping-list-panel {
  background: #1d0e33;
  backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-lg));
  -webkit-backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-lg));
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-xl);
  box-shadow: var(--pb-shadow-xl), var(--pb-glow-medium);
}

/* ─────── 7.2) Shopping List ─────── */
[data-theme="purple-bubbles"] .shopping-list-header {
  background: linear-gradient(
    135deg,
    var(--pb-bg-mid),
    var(--pb-bg-light)
  );
  border-bottom: 1px solid var(--pb-border-soft);
  padding: var(--pb-space-lg);
}

[data-theme="purple-bubbles"] .shopping-list-header h2 {
  color: var(--pb-text-accent);
  text-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .shopping-list-filters {
  display: flex;
  gap: var(--pb-space-sm);
  margin-bottom: var(--pb-space-md);
}

[data-theme="purple-bubbles"] .filter-btn {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  color: var(--pb-text-dim);
  border-radius: var(--pb-radius-full);
  padding: var(--pb-space-sm) var(--pb-space-md);
  transition: all var(--pb-transition-base);
  min-height: 40px;
}

[data-theme="purple-bubbles"] .filter-btn:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
  color: var(--pb-text);
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .filter-btn.active {
  background: var(--pb-accent);
  border-color: var(--pb-accent);
  color: white;
  box-shadow: var(--pb-glow-medium);
}

[data-theme="purple-bubbles"] .list-item {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
  margin-bottom: var(--pb-space-sm);
  cursor: pointer;
  transition: all var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .list-item:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-glow-soft);
  transform: translateX(4px);
}

[data-theme="purple-bubbles"] .list-item.active {
  background: var(--pb-surface-active);
  border-color: var(--pb-accent);
  box-shadow: var(--pb-glow-medium);
}

[data-theme="purple-bubbles"] .list-item-row {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
  margin-bottom: var(--pb-space-sm);
  transition: all var(--pb-transition-base);
  min-height: 56px;
}

[data-theme="purple-bubbles"] .list-item-row:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
}

[data-theme="purple-bubbles"] .list-item-row.checked {
  opacity: 0.6;
  background: var(--pb-surface-soft);
}

[data-theme="purple-bubbles"] .list-item-row.checked .item-name,
[data-theme="purple-bubbles"] .list-item-row.checked .item-quantity {
  text-decoration: line-through;
  text-decoration-color: var(--pb-accent-soft);
  text-decoration-thickness: 2px;
  color: var(--pb-text-muted);
}

[data-theme="purple-bubbles"] .checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--pb-accent);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all var(--pb-transition-base);
  position: relative;
  display: inline-grid;
  place-content: center;
}

[data-theme="purple-bubbles"] .checkbox-label input[type="checkbox"]::before {
  content: "✓";
  font-size: 16px;
  font-weight: bold;
  color: white;
  transform: scale(0);
  transition: transform 150ms cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1;
}

[data-theme="purple-bubbles"] .checkbox-label input[type="checkbox"]:checked {
  background: var(--pb-accent);
  border-color: var(--pb-accent);
  box-shadow: var(--pb-glow-medium);
}

[data-theme="purple-bubbles"] .checkbox-label input[type="checkbox"]:checked::before {
  transform: scale(1);
}

[data-theme="purple-bubbles"] .checkbox-label input[type="checkbox"]:hover {
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .checkbox-label input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: var(--pb-focus-ring);
}

[data-theme="purple-bubbles"] .progress-bar {
  height: 4px;
  background: var(--pb-surface);
  border-radius: var(--pb-radius-full);
  overflow: hidden;
}

[data-theme="purple-bubbles"] .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pb-accent), var(--pb-accent-soft));
  transition: width var(--pb-transition-slow);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.40);
}

/* ─────── 7.3) Recipe Archive ─────── */
[data-theme="purple-bubbles"] .archive-item {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
  margin-bottom: var(--pb-space-sm);
  transition: all var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .archive-item:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .archive-badge {
  background: var(--pb-info);
  color: white;
  border-radius: var(--pb-radius-sm);
  padding: var(--pb-space-xs) var(--pb-space-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 8: PREMIUM FEATURES
   Analytics, Reminders, Upgrade Modal
   ═══════════════════════════════════════════════════════════════════ */

/* ─────── 8.1) Analytics Dashboard ─────── */
[data-theme="purple-bubbles"] .analytics-card {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-lg);
  padding: var(--pb-space-lg);
  box-shadow: var(--pb-shadow-md);
  transition: all var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .analytics-card:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-shadow-lg), var(--pb-glow-soft);
  transform: translateY(-2px);
}

[data-theme="purple-bubbles"] .analytics-card h3 {
  color: var(--pb-text-accent);
  margin-bottom: var(--pb-space-md);
}

[data-theme="purple-bubbles"] .stat-number {
  color: var(--pb-accent-soft);
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .chart-container {
  background: var(--pb-surface-soft);
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
}

/* ─────── 8.2) Reminders Tab ─────── */
[data-theme="purple-bubbles"] .reminder-item {
  background: var(--pb-surface);
  border: 1px solid var(--pb-border-soft);
  border-left: 4px solid var(--pb-accent);
  border-radius: var(--pb-radius-md);
  padding: var(--pb-space-md);
  margin-bottom: var(--pb-space-sm);
  transition: all var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .reminder-item:hover {
  background: var(--pb-surface-hover);
  border-color: var(--pb-border-strong);
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .reminder-date {
  color: var(--pb-accent-soft);
  font-weight: 600;
}

/* ─────── 8.3) Upgrade Modal ─────── */
[data-theme="purple-bubbles"] .upgrade-modal {
  background: linear-gradient(
    180deg,
    rgba(49, 46, 129, 0.98) 0%,
    rgba(30, 27, 75, 0.98) 100%
  );
  backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-xl));
  -webkit-backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-xl));
  border: 2px solid var(--pb-accent);
  border-radius: var(--pb-radius-2xl);
  box-shadow: var(--pb-shadow-xl), var(--pb-glow-strong);
  padding: var(--pb-space-2xl);
  max-width: 500px;
}

[data-theme="purple-bubbles"] .upgrade-button {
  background: linear-gradient(135deg, var(--pb-accent), var(--pb-accent-strong));
  border: none;
  color: white;
  border-radius: var(--pb-radius-lg);
  padding: var(--pb-space-md) var(--pb-space-xl);
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--pb-shadow-lg), var(--pb-glow-strong);
  transition: all var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .upgrade-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--pb-shadow-xl), var(--pb-glow-strong);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 9: DIALOGS & MODALS
   Data Sync, Voice Control
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .modal-overlay {
  background: rgba(30, 27, 75, 0.75);
  backdrop-filter: blur(var(--pb-blur-md));
  -webkit-backdrop-filter: blur(var(--pb-blur-md));
}

[data-theme="purple-bubbles"] .modal-content {
  background: #1d0e33;
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-xl);
  box-shadow: var(--pb-shadow-xl), var(--pb-glow-medium);
}

[data-theme="purple-bubbles"] .dialog-header {
  background: #1d0e33;
  border-bottom: 1px solid var(--pb-border-soft);
  padding: var(--pb-space-lg);
}

[data-theme="purple-bubbles"] .dialog-header h2 {
  color: var(--pb-text-accent);
  text-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .dialog-content {
  padding: var(--pb-space-lg);
}

[data-theme="purple-bubbles"] .dialog-actions {
  display: flex;
  gap: var(--pb-space-md);
  justify-content: flex-end;
  padding: var(--pb-space-lg);
  border-top: 1px solid var(--pb-border-soft);
  background: var(--pb-surface-soft);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 10: AUTHENTICATION
   AuthForm, ForgotPassword, ResetPassword
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .auth-container {
  background: #1d0e33;
  backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-lg));
  -webkit-backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur-lg));
  border: 1px solid var(--pb-border-soft);
  border-radius: var(--pb-radius-xl);
  box-shadow: var(--pb-shadow-xl), var(--pb-glow-medium);
  padding: var(--pb-space-2xl);
  max-width: 450px;
}

[data-theme="purple-bubbles"] .auth-header {
  text-align: center;
  margin-bottom: var(--pb-space-xl);
}

[data-theme="purple-bubbles"] .auth-header h1 {
  color: var(--pb-text-accent);
  text-shadow: var(--pb-glow-soft);
  margin-bottom: var(--pb-space-sm);
}

[data-theme="purple-bubbles"] .auth-header p {
  color: var(--pb-text-dim);
}

[data-theme="purple-bubbles"] .auth-link {
  color: var(--pb-accent-soft);
  text-decoration: none;
  transition: color var(--pb-transition-base);
}

[data-theme="purple-bubbles"] .auth-link:hover {
  color: var(--pb-accent);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 11: RESPONSIVE BREAKPOINTS
   360px (Small Mobile), 480px (Primary Mobile), 768px (Tablet)
   ═══════════════════════════════════════════════════════════════════ */

/* ─────── 11.1) Small Mobile (≤360px) ─────── */
@media (max-width: 360px) {
  [data-theme="purple-bubbles"] {
    --pb-space-md: 0.75rem;
    --pb-space-lg: 1.25rem;
    --pb-space-xl: 1.5rem;
  }

  [data-theme="purple-bubbles"] .mobile-header {
    padding: var(--pb-space-sm);
  }

  [data-theme="purple-bubbles"] .btn-primary,
  [data-theme="purple-bubbles"] .btn-secondary,
  [data-theme="purple-bubbles"] .btn-danger {
    padding: var(--pb-space-sm) var(--pb-space-md);
    font-size: 0.875rem;
  }

  /* Reduzierte Shadows auf Mobile */
  [data-theme="purple-bubbles"] .btn-primary {
    box-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
  }

  [data-theme="purple-bubbles"] .btn-primary:hover {
    box-shadow: 0 0 16px rgba(182, 109, 255, 0.35) !important;
  }

  [data-theme="purple-bubbles"] .btn-secondary:hover {
    box-shadow: 0 0 8px rgba(182, 109, 255, 0.18) !important;
  }

  [data-theme="purple-bubbles"] .fab-add-button {
    width: 48px;
    height: 48px;
    box-shadow: 0 0 14px rgba(182, 109, 255, 0.35) !important;
  }

  [data-theme="purple-bubbles"] .fab-add-button:hover {
    box-shadow: 0 0 18px rgba(182, 109, 255, 0.45) !important;
  }

  [data-theme="purple-bubbles"] .panel-header,
  [data-theme="purple-bubbles"] .panel-content {
    padding: var(--pb-space-md);
  }
}

/* ─────── 11.2) Primary Mobile (≤480px) ─────── */
@media (max-width: 480px) {
  [data-theme="purple-bubbles"] .tab-navigation {
    padding: var(--pb-space-xs);
  }

  [data-theme="purple-bubbles"] .tab-button {
    flex: 1;
    font-size: 0.75rem;
    padding: var(--pb-space-sm);
  }

  [data-theme="purple-bubbles"] .search-filters-container {
    flex-direction: column;
    gap: var(--pb-space-sm);
  }

  [data-theme="purple-bubbles"] .filter-chip {
    font-size: 0.75rem;
    padding: var(--pb-space-xs) var(--pb-space-sm);
  }

  [data-theme="purple-bubbles"] .compact-bookmark-item {
    padding: var(--pb-space-md);
  }

  [data-theme="purple-bubbles"] .bookmark-title {
    font-size: 0.95rem;
  }

  [data-theme="purple-bubbles"] .bookmark-url {
    font-size: 0.75rem;
  }

  [data-theme="purple-bubbles"] .pagination-btn,
  [data-theme="purple-bubbles"] .pagination-number {
    min-width: 40px;
    min-height: 40px;
    padding: var(--pb-space-xs);
  }

  /* Reduzierte Shadows für Pagination auf Mobile */
  [data-theme="purple-bubbles"] .pagination-btn:hover:not([disabled]),
  [data-theme="purple-bubbles"] .pagination-number:hover:not(.active) {
    box-shadow: 0 0 8px rgba(182, 109, 255, 0.18) !important;
  }

  [data-theme="purple-bubbles"] .pagination-number.active {
    box-shadow: 0 0 10px rgba(182, 109, 255, 0.30) !important;
  }

  [data-theme="purple-bubbles"] .shopping-lists-layout {
    grid-template-columns: 1fr;
  }

  [data-theme="purple-bubbles"] .lists-sidebar {
    max-height: 200px;
    overflow-y: auto;
  }

  [data-theme="purple-bubbles"] .dynamic-panel {
    border-radius: var(--pb-radius-md);
  }

  [data-theme="purple-bubbles"] .analytics-card {
    padding: var(--pb-space-md);
  }

  [data-theme="purple-bubbles"] .stat-number {
    font-size: 2rem;
  }
}

/* ─────── 11.3) Tablet (≤768px) ─────── */
@media (max-width: 768px) {
  [data-theme="purple-bubbles"] .hamburger-menu {
    width: 80%;
    max-width: 320px;
  }

  [data-theme="purple-bubbles"] .shopping-lists-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  [data-theme="purple-bubbles"] .lists-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--pb-border-soft);
  }

  [data-theme="purple-bubbles"] .panel-actions {
    flex-direction: column;
  }

  [data-theme="purple-bubbles"] .panel-actions button {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 12: LOADING & EMPTY STATES
   Spinners, Skeletons, Empty Placeholders
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .loading-spinner {
  border: 3px solid var(--pb-surface-strong);
  border-top-color: var(--pb-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

[data-theme="purple-bubbles"] .skeleton {
  background: linear-gradient(
    90deg,
    var(--pb-surface) 25%,
    var(--pb-surface-hover) 50%,
    var(--pb-surface) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--pb-radius-md);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

[data-theme="purple-bubbles"] .empty-state {
  text-align: center;
  padding: var(--pb-space-2xl);
  color: var(--pb-text-dim);
}

[data-theme="purple-bubbles"] .empty-state-icon {
  font-size: 4rem;
  opacity: 0.3;
  margin-bottom: var(--pb-space-md);
}

[data-theme="purple-bubbles"] .empty-state-message {
  font-size: 1.125rem;
  color: var(--pb-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION 13: UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] .text-accent {
  color: var(--pb-accent-soft);
}

[data-theme="purple-bubbles"] .text-muted {
  color: var(--pb-text-muted);
}

[data-theme="purple-bubbles"] .text-success {
  color: var(--pb-success);
}

[data-theme="purple-bubbles"] .text-warning {
  color: var(--pb-warning);
}

[data-theme="purple-bubbles"] .text-danger {
  color: var(--pb-danger);
}

[data-theme="purple-bubbles"] .bg-accent {
  background: var(--pb-accent);
}

[data-theme="purple-bubbles"] .bg-surface {
  background: var(--pb-surface);
}

[data-theme="purple-bubbles"] .border-accent {
  border-color: var(--pb-accent);
}

[data-theme="purple-bubbles"] .shadow-sm {
  box-shadow: var(--pb-shadow-sm);
}

[data-theme="purple-bubbles"] .shadow-md {
  box-shadow: var(--pb-shadow-md);
}

[data-theme="purple-bubbles"] .shadow-lg {
  box-shadow: var(--pb-shadow-lg);
}

[data-theme="purple-bubbles"] .glow-soft {
  box-shadow: var(--pb-glow-soft);
}

[data-theme="purple-bubbles"] .glow-medium {
  box-shadow: var(--pb-glow-medium);
}

[data-theme="purple-bubbles"] .glow-strong {
  box-shadow: var(--pb-glow-strong);
}

/* ═══════════════════════════════════════════════════════════════════
   END OF PURPLE-BUBBLES THEME

   ✅ COVERAGE COMPLETE:
   - All 35+ UI Components
   - All States (default/hover/active/focus/disabled/error/empty/selected)
   - All Breakpoints (360px/480px/768px/Desktop)
   - All Tokens via CSS Custom Properties
   - Mobile Density Profile
   - Readability & Accessibility Focused
   ═══════════════════════════════════════════════════════════════════ */

/* =========================================================
   5) POWER (Neon Matrix Glass)
   ========================================================= */

[data-theme="power"] body {
  background-color: #0b0f0d;
  background-image: url(/assets/PowerBackground1-B9IQeTai.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Theme vars (einmalig) */
[data-theme="power"] {
  --power-accent: #48E877;
  --power-glow: rgba(72, 232, 119, 0.35);
  --power-glow-soft: rgba(72, 232, 119, 0.18);

  --power-surface: rgba(6, 10, 8, 0.55);
  --power-surface-soft: rgba(6, 10, 8, 0.42);
  --power-surface-strong: rgba(6, 10, 8, 0.72);

  --power-border-soft: rgba(72, 232, 119, 0.18);

  --power-text: #CFFFD9;
  --power-text-dim: rgba(207, 255, 217, 0.72);

  --power-blur: 10px;
  --power-saturate: 160%;
}

/* Header / Navbar (Glass) */
[data-theme="power"] .mobile-header,
[data-theme="power"] .header-content,
[data-theme="power"] .tab-navigation {
  background: var(--power-surface-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 18px rgba(72, 232, 119, 0.10) !important;
}

/* Brand */
[data-theme="power"] .brand-title {
  color: var(--power-text) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.18);
}
[data-theme="power"] .brand-subtitle { color: var(--power-text-dim) !important; }

/* Hamburger icon */
[data-theme="power"] .hamburger-button span {
  background: var(--power-accent) !important;
  box-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

/* Search */
[data-theme="power"] .search-filters-container {
  background: var(--power-surface-soft) !important;
  border: 1px solid var(--power-border-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
}
[data-theme="power"] .search-filters-container input,
[data-theme="power"] .search-filters-container textarea,
[data-theme="power"] .search-filters-container .search-input {
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--power-text) !important;
  border: 1px solid var(--power-border-soft) !important;
}
[data-theme="power"] .search-filters-container input::placeholder,
[data-theme="power"] .search-filters-container .search-input::placeholder {
  color: rgba(207, 255, 217, 0.55) !important;
}

/* Main panels */
[data-theme="power"] .tab-container,
[data-theme="power"] .app-main,
[data-theme="power"] .dynamic-panel,
[data-theme="power"] .panel-header,
[data-theme="power"] .panel-content,
[data-theme="power"] .compact-bookmark-item,
[data-theme="power"] .bookmark-form-container,
[data-theme="power"] .export-stats,
[data-theme="power"] .export-preview,
[data-theme="power"] .panel-actions {
  background: var(--power-surface) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 22px rgba(0,0,0,0.35) !important;
  border-radius: var(--glass-radius);
}
[data-theme="power"] .tab-container { border-top: none !important; }
[data-theme="power"] .app-main,
[data-theme="power"] .tab-container,
[data-theme="power"] .dynamic-panel,
[data-theme="power"] .panel-content { color: var(--power-text) !important; }

/* Links */
[data-theme="power"] .bookmark-url,
[data-theme="power"] .app a { color: var(--power-accent) !important; }

/* Buttons (Neon) */
[data-theme="power"] .btn-primary,
[data-theme="power"] button.btn.btn-primary,
[data-theme="power"] .btn.btn-primary {
  background: rgba(8, 12, 10, 0.55) !important;
  border-color: var(--power-accent) !important;
  color: var(--power-accent) !important;
  box-shadow: 0 0 0 1px rgba(72, 232, 119, 0.18), 0 8px 24px rgba(0,0,0,0.25) !important;
}
[data-theme="power"] .btn-primary:hover,
[data-theme="power"] button.btn.btn-primary:hover,
[data-theme="power"] .btn.btn-primary:hover {
  background: rgba(8, 12, 10, 0.72) !important;
  color: #CFFFD9 !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 18px var(--power-glow) !important;
}

[data-theme="power"] button,
[data-theme="power"] .btn,
[data-theme="power"] .btn-secondary,
[data-theme="power"] .menu-item,
[data-theme="power"] .submenu-item,
[data-theme="power"] .action-button {
  color: var(--power-accent) !important;
  border-color: var(--power-accent) !important;
  background: rgba(8, 12, 10, 0.25);
}
[data-theme="power"] button:hover,
[data-theme="power"] .btn:hover,
[data-theme="power"] .menu-item:hover,
[data-theme="power"] .submenu-item:hover {
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 14px var(--power-glow) !important;
}
[data-theme="power"] button:focus-visible,
[data-theme="power"] .btn:focus-visible {
  outline: 3px solid rgba(72, 232, 119, 0.45) !important;
  outline-offset: 2px;
}

/* FAB */
[data-theme="power"] .fab-add-button {
  background: rgba(8, 12, 10, 0.55) !important;
  border: 1px solid var(--power-accent) !important;
  color: var(--power-accent) !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 22px var(--power-glow) !important;
}
[data-theme="power"] .fab-add-button:hover {
  background: rgba(8, 12, 10, 0.72) !important;
  box-shadow: 0 0 0 4px var(--power-glow-soft), 0 0 30px var(--power-glow) !important;
}

/* Pagination */
[data-theme="power"] .pagination-number,
[data-theme="power"] .pagination-btn {
  color: var(--power-accent) !important;
  border-color: var(--power-accent) !important;
}
[data-theme="power"] .pagination-number.active,
[data-theme="power"] .pagination-number.active:hover,
[data-theme="power"] .pagination-number.active:focus {
  background: rgba(8, 12, 10, 0.55) !important;
  border-color: var(--power-accent) !important;
  color: #CFFFD9 !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 18px var(--power-glow) !important;
}

/* Checkbox accents */
[data-theme="power"] .bookmark-select input[type="checkbox"],
[data-theme="power"] input[aria-label="selectBookmark"][type="checkbox"] {
  border-color: var(--power-accent) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]::before,
[data-theme="power"] input[aria-label="selectBookmark"][type="checkbox"]::before {
  background: var(--power-accent) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px var(--power-glow-soft) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(72, 232, 119, 0.45) !important;
  outline-offset: 2px;
}

/* Tab icon color */
[data-theme="power"] .tab-navigation .tab-icon,
[data-theme="power"] .tab-navigation .tab-icon i,
[data-theme="power"] .tab-navigation .tab-button.active .tab-icon,
[data-theme="power"] .tab-navigation .tab-button.active .tab-icon i,
[data-theme="power"] .tab-navigation .tab-button:hover .tab-icon,
[data-theme="power"] .tab-navigation .tab-button:hover .tab-icon i {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

/* Footer */
[data-theme="power"] .app-footer {
  background: var(--power-surface-strong) !important;
  border-top: 1px solid var(--power-border-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  box-shadow: 0 -10px 30px rgba(0,0,0,0.35) !important;
}
[data-theme="power"] .app-footer p,
[data-theme="power"] .app-footer .footer-info,
[data-theme="power"] .pagination-info {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
  font-weight: 500;
}

/* Form labels */
[data-theme="power"] .form-group label,
[data-theme="power"] .panel-content label,
[data-theme="power"] .category-section label {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
  font-weight: 500;
}

/* Form helper text */
[data-theme="power"] .rating-helper-text,
[data-theme="power"] .form-group span {
  color: var(--power-text-dim) !important;
}

/* Form input fields */
[data-theme="power"] .form-group input,
[data-theme="power"] .form-group textarea,
[data-theme="power"] .form-group select,
[data-theme="power"] .category-select,
[data-theme="power"] .new-category-input {
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--power-text) !important;
  border: 1px solid var(--power-border-soft) !important;
}

[data-theme="power"] .form-group input::placeholder,
[data-theme="power"] .form-group textarea::placeholder,
[data-theme="power"] .new-category-input::placeholder {
  color: rgba(207, 255, 217, 0.55) !important;
}

[data-theme="power"] .form-group input:focus,
[data-theme="power"] .form-group textarea:focus,
[data-theme="power"] .form-group select:focus,
[data-theme="power"] .category-select:focus,
[data-theme="power"] .new-category-input:focus {
  border-color: var(--power-accent) !important;
  box-shadow: 0 0 0 2px var(--power-glow-soft) !important;
}

/* Hamburger menu look */
[data-theme="power"] .hamburger-menu {
  background: var(--power-surface) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.45), 0 0 18px rgba(72, 232, 119, 0.12) !important;
  color: var(--power-text) !important;
}
[data-theme="power"] .hamburger-menu .menu-header {
  background: var(--power-surface-soft) !important;
  border-bottom: 1px solid var(--power-border-soft) !important;
  color: var(--power-text) !important;
}
[data-theme="power"] .hamburger-menu .menu-item,
[data-theme="power"] .hamburger-menu .submenu-item {
  background: transparent !important;
  color: var(--power-accent) !important;
}
[data-theme="power"] .hamburger-menu .menu-item:hover,
[data-theme="power"] .hamburger-menu .submenu-item:hover {
  background: rgba(72, 232, 119, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(72, 232, 119, 0.25);
}

/* Bookmark category pill */
[data-theme="power"] .bookmark-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 10, 8, 0.45) !important;
  border: 1px solid var(--power-accent) !important;
  color: var(--power-accent) !important;
  font-size: 0.75rem;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(72, 232, 119, 0.25);
}

/* Language combobox */
[data-theme="power"] .language-combobox {
  width: 100%;
  padding: 10px 14px;
  background: rgba(6, 10, 8, 0.55) !important;
  border: 1px solid var(--power-accent) !important;
  border-radius: 12px;
  color: var(--power-accent) !important;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  text-shadow: 0 0 8px rgba(72, 232, 119, 0.25);
  box-shadow: 0 0 0 1px rgba(72, 232, 119, 0.15), 0 0 18px rgba(72, 232, 119, 0.18);

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
          linear-gradient(45deg, transparent 50%, var(--power-accent) 50%),
          linear-gradient(135deg, var(--power-accent) 50%, transparent 50%);
  background-position:
          calc(100% - 18px) 50%,
          calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
[data-theme="power"] .language-combobox:hover {
  box-shadow: 0 0 0 2px rgba(72, 232, 119, 0.35), 0 0 26px rgba(72, 232, 119, 0.45);
}
[data-theme="power"] .language-combobox:focus-visible {
  box-shadow: 0 0 0 3px rgba(72, 232, 119, 0.55), 0 0 32px rgba(72, 232, 119, 0.55);
}
[data-theme="power"] .language-combobox option {
  background: #050807;
  color: #CFFFD9;
}


/* =========================================================
   6) GLOBAL LAYERING FIX (MUSS ANS ENDE!)
   - wichtig wegen DOM: hamburger-menu liegt im header
   ========================================================= */

/* Header muss als Stack-Context ÜBER der Tab-Navigation liegen */
.mobile-header {
  position: relative !important;
  z-index: 1000 !important;
}

/* Tab-Navigation darunter (aber über Content) */
.tab-navigation,
.header-content {
  position: relative !important;
  z-index: 900 !important;
}

/* Content darunter */
.tab-container,
.app-main {
  position: relative !important;
  z-index: 10 !important;
}

.app-footer {
  position: relative !important;
  z-index: 20 !important;
}

/* Overlay + Drawer immer über allem */
.menu-overlay,
.hamburger-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
}

.hamburger-menu {
  position: fixed !important;
  z-index: 2147483647 !important;
  top: 0 !important;
  left: 0 !important;
  visibility: hidden !important;
  transform: translateX(-100%) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s !important;
}
.hamburger-menu.open {
  visibility: visible !important;
  transform: translateX(0) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s !important;
}
/* =========================================================
   THEMES (data-theme on <html> or an ancestor)
   Themes: blue-galaxy, goodvibes, power, purple-bubbles
   ========================================================= */


/* =========================================================
   0) GLOBAL BASICS
   ========================================================= */

:root {
  --glass-radius: 12px;
  --glass-blur: 6px;
  --glass-saturate: 140%;
}

/* =========================================================
   1) GLOBAL LOGO SIZING (use GoodVibes size for ALL themes)
   ========================================================= */

.header-logo {
  height: 132px !important;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 128px !important;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .header-logo { height: 120px !important; }
  .logo-image  { height: 116px !important; }
}

@media (min-width: 768px) {
  .header-logo { height: 140px !important; }
  .logo-image  { height: 136px !important; }
}


/* =========================================================
   2) BLUE GALAXY
   ========================================================= */

html[data-theme="blue-galaxy"],
/* =========================================================
   BLUE GALAXY THEME - Space Glass Design
   ========================================================= */

/* Design Tokens */
body[data-theme="blue-galaxy"],
[data-theme="blue-galaxy"] body {
  /* Background */
  --bgx-bg0: #050814;
  --bgx-bg1: #07112a;

  /* Glass Surfaces */
  --bgx-surface: rgba(10, 18, 40, 0.62);
  --bgx-surface-strong: rgba(10, 18, 40, 0.78);
  --bgx-surface-soft: rgba(18, 28, 56, 0.46);

  /* Borders */
  --bgx-border-soft: rgba(120, 170, 255, 0.18);
  --bgx-border: rgba(120, 170, 255, 0.26);
  --bgx-border-strong: rgba(120, 170, 255, 0.34);

  /* Text */
  --bgx-text: #EAF2FF;
  --bgx-text-dim: rgba(234, 242, 255, 0.72);
  --bgx-placeholder: rgba(234, 242, 255, 0.45);
  --bgx-link: #8DB9FF;

  /* Accents */
  --bgx-accent0: #7FB6FF;
  --bgx-accent1: #4CA9FF;
  --bgx-glow: rgba(127, 182, 255, 0.28);
  --bgx-glow-strong: rgba(127, 182, 255, 0.42);

  /* Effects */
  --bgx-blur: 14px;
  --bgx-saturate: 150%;

  /* Border Radius */
  --bgx-radius-card: 18px;
  --bgx-radius-control: 14px;

  /* Background Image */
  background-color: var(--bgx-bg0);
  background-image: url(/assets/BlueGalaxyBackground-Bqqj7RaO.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* ─── Header + Navigation ─── */
body[data-theme="blue-galaxy"] .mobile-header,
[data-theme="blue-galaxy"] .mobile-header {
  background-image: url(/assets/BlueGalaxyBackground-Bqqj7RaO.png) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  backdrop-filter: blur(12px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  box-shadow:
    0 8px 28px rgba(0,0,0,0.35),
    0 0 26px rgba(127, 182, 255, 0.22) !important;
}

/* Optional overlay for better readability */
body[data-theme="blue-galaxy"] .mobile-header::before,
[data-theme="blue-galaxy"] .mobile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(127, 182, 255, 0.12),
    rgba(10, 18, 40, 0.65)
  );
  pointer-events: none;
  z-index: 0;
}

/* Ensure header content is above overlay */
body[data-theme="blue-galaxy"] .mobile-header > *,
[data-theme="blue-galaxy"] .mobile-header > * {
  position: relative;
  z-index: 1;
}

body[data-theme="blue-galaxy"] .header-content,
[data-theme="blue-galaxy"] .header-content {
  background: transparent !important;
  border: none !important;
}

body[data-theme="blue-galaxy"] .brand-title,
[data-theme="blue-galaxy"] .brand-title {
  color: var(--bgx-text) !important;
  text-shadow: 0 0 12px rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .brand-subtitle,
[data-theme="blue-galaxy"] .brand-subtitle {
  color: var(--bgx-text-dim) !important;
}

body[data-theme="blue-galaxy"] .hamburger-button span,
[data-theme="blue-galaxy"] .hamburger-button span {
  background: var(--bgx-accent0) !important;
}

body[data-theme="blue-galaxy"] .hamburger-button:hover,
[data-theme="blue-galaxy"] .hamburger-button:hover {
  background: rgba(127, 182, 255, 0.12) !important;
}

/* Tab Navigation */
body[data-theme="blue-galaxy"] .tab-navigation,
[data-theme="blue-galaxy"] .tab-navigation {
  background: var(--bgx-surface-soft) !important;
  backdrop-filter: blur(10px) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(10px) saturate(var(--bgx-saturate)) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
}

body[data-theme="blue-galaxy"] .tab-item,
[data-theme="blue-galaxy"] .tab-item {
  color: var(--bgx-text-dim) !important;
}

body[data-theme="blue-galaxy"] .tab-item.active,
[data-theme="blue-galaxy"] .tab-item.active {
  color: var(--bgx-accent0) !important;
  border-bottom-color: var(--bgx-accent0) !important;
  text-shadow: 0 0 10px var(--bgx-glow);
}

body[data-theme="blue-galaxy"] .tab-item:hover,
[data-theme="blue-galaxy"] .tab-item:hover {
  color: var(--bgx-text) !important;
  background: rgba(127, 182, 255, 0.08) !important;
}

/* ─── Hamburger Menu ─── */
body[data-theme="blue-galaxy"] .menu-overlay,
[data-theme="blue-galaxy"] .menu-overlay {
  background: rgba(6, 10, 24, 0.55) !important;
  backdrop-filter: blur(6px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(130%) !important;
}

body[data-theme="blue-galaxy"] .hamburger-menu,
[data-theme="blue-galaxy"] .hamburger-menu {
  background: var(--bgx-surface-strong) !important;
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  border: none !important;
  box-shadow:
    0 0 30px rgba(127, 182, 255, 0.22),
    inset 0 0 0 1px rgba(127, 182, 255, 0.14),
    4px 0 40px rgba(5, 8, 20, 0.70) !important;
}

body[data-theme="blue-galaxy"] .menu-header,
[data-theme="blue-galaxy"] .menu-header {
  background: transparent !important;
  border-bottom: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .close-menu-btn,
[data-theme="blue-galaxy"] .close-menu-btn {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border) !important;
  color: var(--bgx-text) !important;
  border-radius: 12px !important;
}

body[data-theme="blue-galaxy"] .close-menu-btn:hover,
[data-theme="blue-galaxy"] .close-menu-btn:hover {
  background: rgba(127, 182, 255, 0.18) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .menu-item,
[data-theme="blue-galaxy"] .menu-item,
body[data-theme="blue-galaxy"] .menu-item > button,
[data-theme="blue-galaxy"] .menu-item > button,
body[data-theme="blue-galaxy"] .menu-item > a,
[data-theme="blue-galaxy"] .menu-item > a {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
  border-radius: 14px !important;
}

body[data-theme="blue-galaxy"] .menu-item:hover,
[data-theme="blue-galaxy"] .menu-item:hover,
body[data-theme="blue-galaxy"] .menu-item > button:hover,
[data-theme="blue-galaxy"] .menu-item > button:hover,
body[data-theme="blue-galaxy"] .menu-item > a:hover,
[data-theme="blue-galaxy"] .menu-item > a:hover {
  background: rgba(127, 182, 255, 0.16) !important;
  border-color: var(--bgx-border) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .menu-item.disabled,
[data-theme="blue-galaxy"] .menu-item.disabled,
body[data-theme="blue-galaxy"] .menu-item > button:disabled,
[data-theme="blue-galaxy"] .menu-item > button:disabled {
  opacity: 0.45 !important;
  filter: saturate(60%) !important;
  background: rgba(18, 28, 56, 0.28) !important;
  border-color: rgba(120, 170, 255, 0.10) !important;
}

body[data-theme="blue-galaxy"] .menu-item-icon,
[data-theme="blue-galaxy"] .menu-item-icon {
  color: var(--bgx-accent0) !important;
}

body[data-theme="blue-galaxy"] .submenu-item,
[data-theme="blue-galaxy"] .submenu-item,
body[data-theme="blue-galaxy"] .submenu-item > button,
[data-theme="blue-galaxy"] .submenu-item > button {
  background: rgba(18, 28, 56, 0.35) !important;
  border: 1px solid rgba(120, 170, 255, 0.15) !important;
  color: var(--bgx-text-dim) !important;
  border-radius: 12px !important;
}

body[data-theme="blue-galaxy"] .submenu-item:hover,
[data-theme="blue-galaxy"] .submenu-item:hover,
body[data-theme="blue-galaxy"] .submenu-item > button:hover,
[data-theme="blue-galaxy"] .submenu-item > button:hover {
  background: rgba(127, 182, 255, 0.12) !important;
  border-color: rgba(120, 170, 255, 0.25) !important;
  color: var(--bgx-text) !important;
}

/* ─── Buttons ─── */
body[data-theme="blue-galaxy"] .btn-primary,
[data-theme="blue-galaxy"] .btn-primary,
body[data-theme="blue-galaxy"] button.btn-primary,
[data-theme="blue-galaxy"] button.btn-primary {
  background: rgba(127, 182, 255, 0.70) !important;
  border: 2px solid var(--bgx-border) !important;
  color: var(--bgx-bg0) !important;
  font-weight: 600 !important;
  box-shadow: 0 0 18px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .btn-primary:hover,
[data-theme="blue-galaxy"] .btn-primary:hover,
body[data-theme="blue-galaxy"] button.btn-primary:hover,
[data-theme="blue-galaxy"] button.btn-primary:hover {
  background: rgba(127, 182, 255, 0.85) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 24px var(--bgx-glow-strong) !important;
  transform: translateY(-1px);
}

body[data-theme="blue-galaxy"] .btn-secondary,
[data-theme="blue-galaxy"] .btn-secondary,
body[data-theme="blue-galaxy"] button.btn-secondary,
[data-theme="blue-galaxy"] button.btn-secondary {
  background: transparent !important;
  border: 2px solid var(--bgx-border) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .btn-secondary:hover,
[data-theme="blue-galaxy"] .btn-secondary:hover,
body[data-theme="blue-galaxy"] button.btn-secondary:hover,
[data-theme="blue-galaxy"] button.btn-secondary:hover {
  background: rgba(127, 182, 255, 0.12) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

/* FAB */
body[data-theme="blue-galaxy"] .fab-add-button,
[data-theme="blue-galaxy"] .fab-add-button {
  background: rgba(127, 182, 255, 0.75) !important;
  box-shadow: 0 4px 20px var(--bgx-glow-strong) !important;
  color: var(--bgx-bg0) !important;
}

body[data-theme="blue-galaxy"] .fab-add-button:hover,
[data-theme="blue-galaxy"] .fab-add-button:hover {
  background: rgba(127, 182, 255, 0.90) !important;
  box-shadow: 0 6px 28px var(--bgx-glow-strong), 0 0 40px var(--bgx-glow) !important;
  transform: translateY(-50%) scale(1.05);
}

/* ─── Pagination ─── */
body[data-theme="blue-galaxy"] .pagination-button.active,
[data-theme="blue-galaxy"] .pagination-button.active {
  background: rgba(127, 182, 255, 0.70) !important;
  border-color: var(--bgx-border-strong) !important;
  color: var(--bgx-bg0) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .pagination-button,
[data-theme="blue-galaxy"] .pagination-button {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .pagination-button:hover:not(.active),
[data-theme="blue-galaxy"] .pagination-button:hover:not(.active) {
  background: rgba(127, 182, 255, 0.14) !important;
  border-color: var(--bgx-border) !important;
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.18) !important;
}

/* ─── Checkbox ─── */
body[data-theme="blue-galaxy"] input[type="checkbox"]:checked,
[data-theme="blue-galaxy"] input[type="checkbox"]:checked {
  background: rgba(127, 182, 255, 0.85) !important;
  border-color: var(--bgx-accent0) !important;
  box-shadow: 0 0 12px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] input[type="checkbox"],
[data-theme="blue-galaxy"] input[type="checkbox"] {
  border-color: var(--bgx-border) !important;
}

/* ─── Shell Surfaces ─── */
body[data-theme="blue-galaxy"] .app-main,
[data-theme="blue-galaxy"] .app-main,
body[data-theme="blue-galaxy"] .app-footer,
[data-theme="blue-galaxy"] .app-footer {
  background: var(--bgx-surface) !important;
  -webkit-backdrop-filter: saturate(var(--bgx-saturate)) blur(var(--bgx-blur));
  backdrop-filter: saturate(var(--bgx-saturate)) blur(var(--bgx-blur));
  border: 1px solid var(--bgx-border-soft) !important;
  border-radius: var(--glass-radius);
  box-shadow: 0 0 30px rgba(127, 182, 255, 0.15) !important;
}

body[data-theme="blue-galaxy"] .dynamic-panel,
[data-theme="blue-galaxy"] .dynamic-panel {
  background: var(--bgx-surface-strong) !important;
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  border: 1px solid var(--bgx-border) !important;
  box-shadow: 0 0 35px rgba(127, 182, 255, 0.20) !important;
}

/* ─── Links & Text ─── */
body[data-theme="blue-galaxy"] a,
[data-theme="blue-galaxy"] a,
body[data-theme="blue-galaxy"] .bookmark-url,
[data-theme="blue-galaxy"] .bookmark-url {
  color: var(--bgx-link) !important;
}

body[data-theme="blue-galaxy"] a:hover,
[data-theme="blue-galaxy"] a:hover {
  color: var(--bgx-accent0) !important;
  text-shadow: 0 0 8px rgba(127, 182, 255, 0.20);
}


/* =========================================================
   3) GOODVIBES
   Palette: #FFC84C, #FC8797, #FDA471, #6196EB
   ========================================================= */

[data-theme="goodvibes"] body {
  background-color: #FFF6DC;
  background-image: url(/assets/GoodVipesBackground-DtdFpG0l.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Header */
[data-theme="goodvibes"] .mobile-header {
  background: linear-gradient(90deg, #FFF4D6, #E9F6FB);
  --header-fg: #000000;
}
[data-theme="goodvibes"] .hamburger-button span { background: #000000 !important; }
[data-theme="goodvibes"] .brand-title,
[data-theme="goodvibes"] .brand-subtitle { color: #000000 !important; }

/* Accents */
[data-theme="goodvibes"] .fab-add-button {
  background: #FFC84C;
  box-shadow: 0 4px 12px rgba(255, 200, 76, 0.45);
}
[data-theme="goodvibes"] .fab-add-button:hover {
  background: #FDA471;
  box-shadow: 0 6px 22px rgba(253, 164, 113, 0.55);
}

[data-theme="goodvibes"] .btn-primary {
  background: #FFC84C;
  border-color: #FFC84C;
  color: #000000;
}
[data-theme="goodvibes"] .btn-primary:hover {
  background: #FDA471;
  border-color: #FDA471;
  color: #000000;
}

/* Secondary hover ring */
[data-theme="goodvibes"] .btn-secondary:hover,
[data-theme="goodvibes"] .filter-chip:hover,
[data-theme="goodvibes"] .icon-button:hover {
  box-shadow: 0 0 0 3px rgba(252, 135, 151, 0.18);
}

/* Glass surfaces */
[data-theme="goodvibes"] .header-content,
[data-theme="goodvibes"] .search-filters-container,
[data-theme="goodvibes"] .tab-navigation,
[data-theme="goodvibes"] .tab-container,
[data-theme="goodvibes"] .app-main,
[data-theme="goodvibes"] .app-footer,
[data-theme="goodvibes"] .compact-bookmark-item,
[data-theme="goodvibes"] .bookmark-form-container,
[data-theme="goodvibes"] .dynamic-panel,
[data-theme="goodvibes"] .panel-header,
[data-theme="goodvibes"] .panel-content,
[data-theme="goodvibes"] .export-stats,
[data-theme="goodvibes"] .export-preview,
[data-theme="goodvibes"] .panel-actions {
  background: rgba(255, 255, 255, 0.30) !important;
  -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  border-radius: var(--glass-radius);
}

[data-theme="goodvibes"] .tab-container { border-top: none !important; }

[data-theme="goodvibes"] .bookmark-url,
[data-theme="goodvibes"] .app a { color: #6196EB; }

/* Pagination */
[data-theme="goodvibes"] .pagination-number,
[data-theme="goodvibes"] .pagination-btn {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] .pagination-number.active,
[data-theme="goodvibes"] .pagination-number.active:hover,
[data-theme="goodvibes"] .pagination-number.active:focus {
  background: #FFC84C !important;
  border-color: #FFC84C !important;
  color: #19295b !important;
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18);
}
[data-theme="goodvibes"] .pagination-btn[disabled] { opacity: 0.7; }

/* Checkbox accents */
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"],
[data-theme="goodvibes"] input[aria-label="selectBookmark"][type="checkbox"] {
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]::before,
[data-theme="goodvibes"] input[aria-label="selectBookmark"][type="checkbox"]::before {
  background: #FFC84C !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18) !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35) !important;
  outline-offset: 2px;
}

/* Tab icon color */
[data-theme="goodvibes"] .tab-navigation .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-icon i,
[data-theme="goodvibes"] .tab-navigation .tab-button.active .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-button.active .tab-icon i,
[data-theme="goodvibes"] .tab-navigation .tab-button:hover .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-button:hover .tab-icon i {
  color: #FFC84C !important;
}

/* Hamburger menu */
[data-theme="goodvibes"] .hamburger-menu {
  background: #FEFCF9 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
[data-theme="goodvibes"] .hamburger-menu .menu-header {
  background-image: url(/assets/GoodVipesBackground-DtdFpG0l.png) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: #000000;
}

/* Buttons */
[data-theme="goodvibes"] button,
[data-theme="goodvibes"] .btn,
[data-theme="goodvibes"] .btn-secondary,
[data-theme="goodvibes"] .menu-item,
[data-theme="goodvibes"] .submenu-item,
[data-theme="goodvibes"] .action-button {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] button:hover,
[data-theme="goodvibes"] .btn:hover,
[data-theme="goodvibes"] .menu-item:hover,
[data-theme="goodvibes"] .submenu-item:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.12);
}
[data-theme="goodvibes"] button:focus-visible,
[data-theme="goodvibes"] .btn:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35);
  outline-offset: 2px;
}
[data-theme="goodvibes"] button[disabled],
[data-theme="goodvibes"] .btn[disabled] { opacity: 0.7; }

[data-theme="goodvibes"] .btn.btn-primary,
[data-theme="goodvibes"] button.btn.btn-primary { color: #000000 !important; }

[data-theme="goodvibes"] .upgrade-button { color: #000000 !important; }

[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button {
  background: #FFC84C !important;
  border-color: #FFC84C !important;
  color: #000000 !important;
}
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:hover,
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:focus,
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:active {
  background: #FDA471 !important;
  border-color: #FDA471 !important;
  color: #000000 !important;
}


/* =========================================================
   4) PURPLE-BUBBLES - Space Background
   ========================================================= */

[data-theme="purple-bubbles"] body {
  background-color: #0d0a1a;
  background-image: url(/assets/PurpleBubblesBackground-CExjrOOh.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Header - Purple Glass (siehe SECTION 3 für vollständige Styles) */
/* Styles werden in SECTION 3: NAVIGATION & LAYOUT definiert */

/* Accents */
[data-theme="purple-bubbles"] .fab-add-button {
  background: #FFC84C;
  box-shadow: 0 4px 12px rgba(255, 200, 76, 0.45);
}
[data-theme="purple-bubbles"] .fab-add-button:hover {
  background: #FDA471;
  box-shadow: 0 6px 22px rgba(253, 164, 113, 0.55);
}

[data-theme="purple-bubbles"] .btn-primary {
  background: #FFC84C;
  border-color: #FFC84C;
  color: #000000;
}
[data-theme="purple-bubbles"] .btn-primary:hover {
  background: #FDA471;
  border-color: #FDA471;
  color: #000000;
}

/* Secondary hover ring */
[data-theme="purple-bubbles"] .btn-secondary:hover,
[data-theme="purple-bubbles"] .filter-chip:hover,
[data-theme="purple-bubbles"] .icon-button:hover {
  box-shadow: 0 0 0 3px rgba(252, 135, 151, 0.18);
}

/* Glass surfaces */
[data-theme="purple-bubbles"] .header-content,
[data-theme="purple-bubbles"] .search-filters-container,
[data-theme="purple-bubbles"] .tab-navigation,
[data-theme="purple-bubbles"] .tab-container,
[data-theme="purple-bubbles"] .app-main,
[data-theme="purple-bubbles"] .app-footer,
[data-theme="purple-bubbles"] .compact-bookmark-item,
[data-theme="purple-bubbles"] .bookmark-form-container,
[data-theme="purple-bubbles"] .dynamic-panel,
[data-theme="purple-bubbles"] .panel-header,
[data-theme="purple-bubbles"] .panel-content,
[data-theme="purple-bubbles"] .export-stats,
[data-theme="purple-bubbles"] .export-preview,
[data-theme="purple-bubbles"] .panel-actions {
  background: rgba(255, 255, 255, 0.30) !important;
  -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  border-radius: var(--glass-radius);
}

[data-theme="purple-bubbles"] .tab-container { border-top: none !important; }

[data-theme="purple-bubbles"] .bookmark-url,
[data-theme="purple-bubbles"] .app a { color: #6196EB; }

/* Pagination */
[data-theme="purple-bubbles"] .pagination-number,
[data-theme="purple-bubbles"] .pagination-btn {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="purple-bubbles"] .pagination-number.active,
[data-theme="purple-bubbles"] .pagination-number.active:hover,
[data-theme="purple-bubbles"] .pagination-number.active:focus {
  background: #FFC84C !important;
  border-color: #FFC84C !important;
  color: #19295b !important;
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18);
}
[data-theme="purple-bubbles"] .pagination-btn[disabled] { opacity: 0.7; }

/* Checkbox accents */
[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"],
[data-theme="purple-bubbles"] input[aria-label="selectBookmark"][type="checkbox"] {
  border-color: #FFC84C !important;
}
[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]::before,
[data-theme="purple-bubbles"] input[aria-label="selectBookmark"][type="checkbox"]::before {
  background: #FFC84C !important;
}
[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18) !important;
}
[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35) !important;
  outline-offset: 2px;
}

/* Tab icon color */
[data-theme="purple-bubbles"] .tab-navigation .tab-icon,
[data-theme="purple-bubbles"] .tab-navigation .tab-icon i,
[data-theme="purple-bubbles"] .tab-navigation .tab-button.active .tab-icon,
[data-theme="purple-bubbles"] .tab-navigation .tab-button.active .tab-icon i,
[data-theme="purple-bubbles"] .tab-navigation .tab-button:hover .tab-icon,
[data-theme="purple-bubbles"] .tab-navigation .tab-button:hover .tab-icon i {
  color: #FFC84C !important;
}

/* Hamburger menu */
[data-theme="purple-bubbles"] .hamburger-menu {
  background: #FEFCF9 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
[data-theme="purple-bubbles"] .hamburger-menu .menu-header {
  background-image: url(/assets/PurpleBubblesBackground-CExjrOOh.png) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: #000000;
}

/* Buttons */
[data-theme="purple-bubbles"] button,
[data-theme="purple-bubbles"] .btn,
[data-theme="purple-bubbles"] .btn-secondary,
[data-theme="purple-bubbles"] .menu-item,
[data-theme="purple-bubbles"] .submenu-item,
[data-theme="purple-bubbles"] .action-button {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="purple-bubbles"] button:hover,
[data-theme="purple-bubbles"] .btn:hover,
[data-theme="purple-bubbles"] .menu-item:hover,
[data-theme="purple-bubbles"] .submenu-item:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.12);
}
[data-theme="purple-bubbles"] button:focus-visible,
[data-theme="purple-bubbles"] .btn:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35);
  outline-offset: 2px;
}
[data-theme="purple-bubbles"] button[disabled],
[data-theme="purple-bubbles"] .btn[disabled] { opacity: 0.7; }

[data-theme="purple-bubbles"] .btn.btn-primary,
[data-theme="purple-bubbles"] button.btn.btn-primary { color: #000000 !important; }

[data-theme="purple-bubbles"] .upgrade-button { color: #000000 !important; }

[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button {
  background: #9054cc !important;
  border-color: #9054cc !important;
  color: #ffffff !important;
}
[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button:hover,
[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button:focus,
[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button:active {
  background: #7a3fb8 !important;
  border-color: #7a3fb8 !important;
  color: #ffffff !important;
}


/* =========================================================
   5) POWER (Neon Matrix Glass)
   ========================================================= */

[data-theme="power"] body {
  background-color: #0b0f0d;
  background-image: url(/assets/PowerBackground1-B9IQeTai.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Theme vars (einmalig) */
[data-theme="power"] {
  --power-accent: #48E877;
  --power-glow: rgba(72, 232, 119, 0.35);
  --power-glow-soft: rgba(72, 232, 119, 0.18);

  --power-surface: rgba(6, 10, 8, 0.55);
  --power-surface-soft: rgba(6, 10, 8, 0.42);
  --power-surface-strong: rgba(6, 10, 8, 0.72);

  --power-border-soft: rgba(72, 232, 119, 0.18);

  --power-text: #CFFFD9;
  --power-text-dim: rgba(207, 255, 217, 0.72);

  --power-blur: 10px;
  --power-saturate: 160%;
}

/* Header / Navbar (Glass) */
[data-theme="power"] .mobile-header,
[data-theme="power"] .header-content,
[data-theme="power"] .tab-navigation {
  background: var(--power-surface-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 18px rgba(72, 232, 119, 0.10) !important;
}

/* Brand */
[data-theme="power"] .brand-title {
  color: var(--power-text) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.18);
}
[data-theme="power"] .brand-subtitle { color: var(--power-text-dim) !important; }

/* Hamburger icon */
[data-theme="power"] .hamburger-button span {
  background: var(--power-accent) !important;
  box-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

/* Search */
[data-theme="power"] .search-filters-container {
  background: var(--power-surface-soft) !important;
  border: 1px solid var(--power-border-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
}
[data-theme="power"] .search-filters-container input,
[data-theme="power"] .search-filters-container textarea,
[data-theme="power"] .search-filters-container .search-input {
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--power-text) !important;
  border: 1px solid var(--power-border-soft) !important;
}
[data-theme="power"] .search-filters-container input::placeholder,
[data-theme="power"] .search-filters-container .search-input::placeholder {
  color: rgba(207, 255, 217, 0.55) !important;
}

/* Main panels */
[data-theme="power"] .tab-container,
[data-theme="power"] .app-main,
[data-theme="power"] .dynamic-panel,
[data-theme="power"] .panel-header,
[data-theme="power"] .panel-content,
[data-theme="power"] .compact-bookmark-item,
[data-theme="power"] .bookmark-form-container,
[data-theme="power"] .export-stats,
[data-theme="power"] .export-preview,
[data-theme="power"] .panel-actions {
  background: var(--power-surface) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 22px rgba(0,0,0,0.35) !important;
  border-radius: var(--glass-radius);
}
[data-theme="power"] .tab-container { border-top: none !important; }
[data-theme="power"] .app-main,
[data-theme="power"] .tab-container,
[data-theme="power"] .dynamic-panel,
[data-theme="power"] .panel-content { color: var(--power-text) !important; }

/* Links */
[data-theme="power"] .bookmark-url,
[data-theme="power"] .app a { color: var(--power-accent) !important; }

/* Buttons (Neon) */
[data-theme="power"] .btn-primary,
[data-theme="power"] button.btn.btn-primary,
[data-theme="power"] .btn.btn-primary {
  background: rgba(8, 12, 10, 0.55) !important;
  border-color: var(--power-accent) !important;
  color: var(--power-accent) !important;
  box-shadow: 0 0 0 1px rgba(72, 232, 119, 0.18), 0 8px 24px rgba(0,0,0,0.25) !important;
}
[data-theme="power"] .btn-primary:hover,
[data-theme="power"] button.btn.btn-primary:hover,
[data-theme="power"] .btn.btn-primary:hover {
  background: rgba(8, 12, 10, 0.72) !important;
  color: #CFFFD9 !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 18px var(--power-glow) !important;
}

[data-theme="power"] button,
[data-theme="power"] .btn,
[data-theme="power"] .btn-secondary,
[data-theme="power"] .menu-item,
[data-theme="power"] .submenu-item,
[data-theme="power"] .action-button {
  color: var(--power-accent) !important;
  border-color: var(--power-accent) !important;
  background: rgba(8, 12, 10, 0.25);
}
[data-theme="power"] button:hover,
[data-theme="power"] .btn:hover,
[data-theme="power"] .menu-item:hover,
[data-theme="power"] .submenu-item:hover {
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 14px var(--power-glow) !important;
}
[data-theme="power"] button:focus-visible,
[data-theme="power"] .btn:focus-visible {
  outline: 3px solid rgba(72, 232, 119, 0.45) !important;
  outline-offset: 2px;
}

/* FAB */
[data-theme="power"] .fab-add-button {
  background: rgba(8, 12, 10, 0.55) !important;
  border: 1px solid var(--power-accent) !important;
  color: var(--power-accent) !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 22px var(--power-glow) !important;
}
[data-theme="power"] .fab-add-button:hover {
  background: rgba(8, 12, 10, 0.72) !important;
  box-shadow: 0 0 0 4px var(--power-glow-soft), 0 0 30px var(--power-glow) !important;
}

/* Pagination */
[data-theme="power"] .pagination-number,
[data-theme="power"] .pagination-btn {
  color: var(--power-accent) !important;
  border-color: var(--power-accent) !important;
}
[data-theme="power"] .pagination-number.active,
[data-theme="power"] .pagination-number.active:hover,
[data-theme="power"] .pagination-number.active:focus {
  background: rgba(8, 12, 10, 0.55) !important;
  border-color: var(--power-accent) !important;
  color: #CFFFD9 !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 18px var(--power-glow) !important;
}

/* Checkbox accents */
[data-theme="power"] .bookmark-select input[type="checkbox"],
[data-theme="power"] input[aria-label="selectBookmark"][type="checkbox"] {
  border-color: var(--power-accent) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]::before,
[data-theme="power"] input[aria-label="selectBookmark"][type="checkbox"]::before {
  background: var(--power-accent) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px var(--power-glow-soft) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(72, 232, 119, 0.45) !important;
  outline-offset: 2px;
}

/* Tab icon color */
[data-theme="power"] .tab-navigation .tab-icon,
[data-theme="power"] .tab-navigation .tab-icon i,
[data-theme="power"] .tab-navigation .tab-button.active .tab-icon,
[data-theme="power"] .tab-navigation .tab-button.active .tab-icon i,
[data-theme="power"] .tab-navigation .tab-button:hover .tab-icon,
[data-theme="power"] .tab-navigation .tab-button:hover .tab-icon i {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

/* Footer */
[data-theme="power"] .app-footer {
  background: var(--power-surface-strong) !important;
  border-top: 1px solid var(--power-border-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  box-shadow: 0 -10px 30px rgba(0,0,0,0.35) !important;
}
[data-theme="power"] .app-footer p,
[data-theme="power"] .app-footer .footer-info,
[data-theme="power"] .pagination-info {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
  font-weight: 500;
}

/* Form labels */
[data-theme="power"] .form-group label,
[data-theme="power"] .panel-content label,
[data-theme="power"] .category-section label {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
  font-weight: 500;
}

/* Form helper text */
[data-theme="power"] .rating-helper-text,
[data-theme="power"] .form-group span {
  color: var(--power-text-dim) !important;
}

/* Form input fields */
[data-theme="power"] .form-group input,
[data-theme="power"] .form-group textarea,
[data-theme="power"] .form-group select,
[data-theme="power"] .category-select,
[data-theme="power"] .new-category-input {
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--power-text) !important;
  border: 1px solid var(--power-border-soft) !important;
}

[data-theme="power"] .form-group input::placeholder,
[data-theme="power"] .form-group textarea::placeholder,
[data-theme="power"] .new-category-input::placeholder {
  color: rgba(207, 255, 217, 0.55) !important;
}

[data-theme="power"] .form-group input:focus,
[data-theme="power"] .form-group textarea:focus,
[data-theme="power"] .form-group select:focus,
[data-theme="power"] .category-select:focus,
[data-theme="power"] .new-category-input:focus {
  border-color: var(--power-accent) !important;
  box-shadow: 0 0 0 2px var(--power-glow-soft) !important;
}

/* Hamburger menu look */
[data-theme="power"] .hamburger-menu {
  background: var(--power-surface) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.45), 0 0 18px rgba(72, 232, 119, 0.12) !important;
  color: var(--power-text) !important;
}
[data-theme="power"] .hamburger-menu .menu-header {
  background: var(--power-surface-soft) !important;
  border-bottom: 1px solid var(--power-border-soft) !important;
  color: var(--power-text) !important;
}
[data-theme="power"] .hamburger-menu .menu-item,
[data-theme="power"] .hamburger-menu .submenu-item {
  background: transparent !important;
  color: var(--power-accent) !important;
}
[data-theme="power"] .hamburger-menu .menu-item:hover,
[data-theme="power"] .hamburger-menu .submenu-item:hover {
  background: rgba(72, 232, 119, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(72, 232, 119, 0.25);
}

/* Bookmark category pill */
[data-theme="power"] .bookmark-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 10, 8, 0.45) !important;
  border: 1px solid var(--power-accent) !important;
  color: var(--power-accent) !important;
  font-size: 0.75rem;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(72, 232, 119, 0.25);
}

/* Language combobox */
[data-theme="power"] .language-combobox {
  width: 100%;
  padding: 10px 14px;
  background: rgba(6, 10, 8, 0.55) !important;
  border: 1px solid var(--power-accent) !important;
  border-radius: 12px;
  color: var(--power-accent) !important;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  text-shadow: 0 0 8px rgba(72, 232, 119, 0.25);
  box-shadow: 0 0 0 1px rgba(72, 232, 119, 0.15), 0 0 18px rgba(72, 232, 119, 0.18);

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
          linear-gradient(45deg, transparent 50%, var(--power-accent) 50%),
          linear-gradient(135deg, var(--power-accent) 50%, transparent 50%);
  background-position:
          calc(100% - 18px) 50%,
          calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
[data-theme="power"] .language-combobox:hover {
  box-shadow: 0 0 0 2px rgba(72, 232, 119, 0.35), 0 0 26px rgba(72, 232, 119, 0.45);
}
[data-theme="power"] .language-combobox:focus-visible {
  box-shadow: 0 0 0 3px rgba(72, 232, 119, 0.55), 0 0 32px rgba(72, 232, 119, 0.55);
}
[data-theme="power"] .language-combobox option {
  background: #050807;
  color: #CFFFD9;
}


/* =========================================================
   6) GLOBAL LAYERING FIX (MUSS ANS ENDE!)
   - wichtig wegen DOM: hamburger-menu liegt im header
   ========================================================= */

/* Header muss als Stack-Context ÜBER der Tab-Navigation liegen */
.mobile-header {
  position: relative !important;
  z-index: 1000 !important;
}

/* Tab-Navigation darunter (aber über Content) */
.tab-navigation,
.header-content {
  position: relative !important;
  z-index: 900 !important;
}

/* Content darunter */
.tab-container,
.app-main {
  position: relative !important;
  z-index: 10 !important;
}

.app-footer {
  position: relative !important;
  z-index: 20 !important;
}

/* Overlay + Drawer immer über allem */
.menu-overlay,
.hamburger-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
}

.hamburger-menu {
  position: fixed !important;
  z-index: 2147483647 !important;
  top: 0 !important;
  left: 0 !important;
  visibility: hidden !important;
  transform: translateX(-100%) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s !important;
}
.hamburger-menu.open {
  visibility: visible !important;
  transform: translateX(0) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s !important;
}
/* =========================================================
   THEMES (data-theme on <html> or an ancestor)
   Themes: blue-galaxy, goodvibes, power, purple-bubbles
   ========================================================= */


/* =========================================================
   0) GLOBAL BASICS
   ========================================================= */

:root {
  --glass-radius: 12px;
  --glass-blur: 6px;
  --glass-saturate: 140%;
}

/* =========================================================
   1) GLOBAL LOGO SIZING (use GoodVibes size for ALL themes)
   ========================================================= */

.header-logo {
  height: 132px !important;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 128px !important;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .header-logo { height: 120px !important; }
  .logo-image  { height: 116px !important; }
}

@media (min-width: 768px) {
  .header-logo { height: 140px !important; }
  .logo-image  { height: 136px !important; }
}


/* =========================================================
   2) BLUE GALAXY
   ========================================================= */

html[data-theme="blue-galaxy"],
/* =========================================================
   BLUE GALAXY THEME - Space Glass Design
   ========================================================= */

/* Design Tokens */
body[data-theme="blue-galaxy"],
[data-theme="blue-galaxy"] body {
  /* Background */
  --bgx-bg0: #050814;
  --bgx-bg1: #07112a;

  /* Glass Surfaces */
  --bgx-surface: rgba(10, 18, 40, 0.62);
  --bgx-surface-strong: rgba(10, 18, 40, 0.78);
  --bgx-surface-soft: rgba(18, 28, 56, 0.46);

  /* Borders */
  --bgx-border-soft: rgba(120, 170, 255, 0.18);
  --bgx-border: rgba(120, 170, 255, 0.26);
  --bgx-border-strong: rgba(120, 170, 255, 0.34);

  /* Text */
  --bgx-text: #EAF2FF;
  --bgx-text-dim: rgba(234, 242, 255, 0.72);
  --bgx-placeholder: rgba(234, 242, 255, 0.45);
  --bgx-link: #8DB9FF;

  /* Accents */
  --bgx-accent0: #7FB6FF;
  --bgx-accent1: #4CA9FF;
  --bgx-glow: rgba(127, 182, 255, 0.28);
  --bgx-glow-strong: rgba(127, 182, 255, 0.42);

  /* Effects */
  --bgx-blur: 14px;
  --bgx-saturate: 150%;

  /* Border Radius */
  --bgx-radius-card: 18px;
  --bgx-radius-control: 14px;

  /* Background Image */
  background-color: var(--bgx-bg0);
  background-image: url(/assets/BlueGalaxyBackground-Bqqj7RaO.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* ─── Header + Navigation ─── */
body[data-theme="blue-galaxy"] .mobile-header,
[data-theme="blue-galaxy"] .mobile-header {
  background-image: url(/assets/BlueGalaxyBackground-Bqqj7RaO.png) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  backdrop-filter: blur(12px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  box-shadow:
    0 8px 28px rgba(0,0,0,0.35),
    0 0 26px rgba(127, 182, 255, 0.22) !important;
}

/* Optional overlay for better readability */
body[data-theme="blue-galaxy"] .mobile-header::before,
[data-theme="blue-galaxy"] .mobile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(127, 182, 255, 0.12),
    rgba(10, 18, 40, 0.65)
  );
  pointer-events: none;
  z-index: 0;
}

/* Ensure header content is above overlay */
body[data-theme="blue-galaxy"] .mobile-header > *,
[data-theme="blue-galaxy"] .mobile-header > * {
  position: relative;
  z-index: 1;
}

body[data-theme="blue-galaxy"] .header-content,
[data-theme="blue-galaxy"] .header-content {
  background: transparent !important;
  border: none !important;
}

body[data-theme="blue-galaxy"] .brand-title,
[data-theme="blue-galaxy"] .brand-title {
  color: var(--bgx-text) !important;
  text-shadow: 0 0 12px rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .brand-subtitle,
[data-theme="blue-galaxy"] .brand-subtitle {
  color: var(--bgx-text-dim) !important;
}

body[data-theme="blue-galaxy"] .hamburger-button span,
[data-theme="blue-galaxy"] .hamburger-button span {
  background: var(--bgx-accent0) !important;
}

body[data-theme="blue-galaxy"] .hamburger-button:hover,
[data-theme="blue-galaxy"] .hamburger-button:hover {
  background: rgba(127, 182, 255, 0.12) !important;
}

/* Tab Navigation */
body[data-theme="blue-galaxy"] .tab-navigation,
[data-theme="blue-galaxy"] .tab-navigation {
  background: var(--bgx-surface-soft) !important;
  backdrop-filter: blur(10px) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(10px) saturate(var(--bgx-saturate)) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
}

body[data-theme="blue-galaxy"] .tab-item,
[data-theme="blue-galaxy"] .tab-item {
  color: var(--bgx-text-dim) !important;
}

body[data-theme="blue-galaxy"] .tab-item.active,
[data-theme="blue-galaxy"] .tab-item.active {
  color: var(--bgx-accent0) !important;
  border-bottom-color: var(--bgx-accent0) !important;
  text-shadow: 0 0 10px var(--bgx-glow);
}

body[data-theme="blue-galaxy"] .tab-item:hover,
[data-theme="blue-galaxy"] .tab-item:hover {
  color: var(--bgx-text) !important;
  background: rgba(127, 182, 255, 0.08) !important;
}

/* ─── Hamburger Menu ─── */
body[data-theme="blue-galaxy"] .menu-overlay,
[data-theme="blue-galaxy"] .menu-overlay {
  background: rgba(6, 10, 24, 0.55) !important;
  backdrop-filter: blur(6px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(130%) !important;
}

body[data-theme="blue-galaxy"] .hamburger-menu,
[data-theme="blue-galaxy"] .hamburger-menu {
  background: var(--bgx-surface-strong) !important;
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  border: none !important;
  box-shadow:
    0 0 30px rgba(127, 182, 255, 0.22),
    inset 0 0 0 1px rgba(127, 182, 255, 0.14),
    4px 0 40px rgba(5, 8, 20, 0.70) !important;
}

body[data-theme="blue-galaxy"] .menu-header,
[data-theme="blue-galaxy"] .menu-header {
  background: transparent !important;
  border-bottom: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .close-menu-btn,
[data-theme="blue-galaxy"] .close-menu-btn {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border) !important;
  color: var(--bgx-text) !important;
  border-radius: 12px !important;
}

body[data-theme="blue-galaxy"] .close-menu-btn:hover,
[data-theme="blue-galaxy"] .close-menu-btn:hover {
  background: rgba(127, 182, 255, 0.18) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .menu-item,
[data-theme="blue-galaxy"] .menu-item,
body[data-theme="blue-galaxy"] .menu-item > button,
[data-theme="blue-galaxy"] .menu-item > button,
body[data-theme="blue-galaxy"] .menu-item > a,
[data-theme="blue-galaxy"] .menu-item > a {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
  border-radius: 14px !important;
}

body[data-theme="blue-galaxy"] .menu-item:hover,
[data-theme="blue-galaxy"] .menu-item:hover,
body[data-theme="blue-galaxy"] .menu-item > button:hover,
[data-theme="blue-galaxy"] .menu-item > button:hover,
body[data-theme="blue-galaxy"] .menu-item > a:hover,
[data-theme="blue-galaxy"] .menu-item > a:hover {
  background: rgba(127, 182, 255, 0.16) !important;
  border-color: var(--bgx-border) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .menu-item.disabled,
[data-theme="blue-galaxy"] .menu-item.disabled,
body[data-theme="blue-galaxy"] .menu-item > button:disabled,
[data-theme="blue-galaxy"] .menu-item > button:disabled {
  opacity: 0.45 !important;
  filter: saturate(60%) !important;
  background: rgba(18, 28, 56, 0.28) !important;
  border-color: rgba(120, 170, 255, 0.10) !important;
}

body[data-theme="blue-galaxy"] .menu-item-icon,
[data-theme="blue-galaxy"] .menu-item-icon {
  color: var(--bgx-accent0) !important;
}

body[data-theme="blue-galaxy"] .submenu-item,
[data-theme="blue-galaxy"] .submenu-item,
body[data-theme="blue-galaxy"] .submenu-item > button,
[data-theme="blue-galaxy"] .submenu-item > button {
  background: rgba(18, 28, 56, 0.35) !important;
  border: 1px solid rgba(120, 170, 255, 0.15) !important;
  color: var(--bgx-text-dim) !important;
  border-radius: 12px !important;
}

body[data-theme="blue-galaxy"] .submenu-item:hover,
[data-theme="blue-galaxy"] .submenu-item:hover,
body[data-theme="blue-galaxy"] .submenu-item > button:hover,
[data-theme="blue-galaxy"] .submenu-item > button:hover {
  background: rgba(127, 182, 255, 0.12) !important;
  border-color: rgba(120, 170, 255, 0.25) !important;
  color: var(--bgx-text) !important;
}

/* ─── Buttons ─── */
body[data-theme="blue-galaxy"] .btn-primary,
[data-theme="blue-galaxy"] .btn-primary,
body[data-theme="blue-galaxy"] button.btn-primary,
[data-theme="blue-galaxy"] button.btn-primary {
  background: rgba(127, 182, 255, 0.70) !important;
  border: 2px solid var(--bgx-border) !important;
  color: var(--bgx-bg0) !important;
  font-weight: 600 !important;
  box-shadow: 0 0 18px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .btn-primary:hover,
[data-theme="blue-galaxy"] .btn-primary:hover,
body[data-theme="blue-galaxy"] button.btn-primary:hover,
[data-theme="blue-galaxy"] button.btn-primary:hover {
  background: rgba(127, 182, 255, 0.85) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 24px var(--bgx-glow-strong) !important;
  transform: translateY(-1px);
}

body[data-theme="blue-galaxy"] .btn-secondary,
[data-theme="blue-galaxy"] .btn-secondary,
body[data-theme="blue-galaxy"] button.btn-secondary,
[data-theme="blue-galaxy"] button.btn-secondary {
  background: transparent !important;
  border: 2px solid var(--bgx-border) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .btn-secondary:hover,
[data-theme="blue-galaxy"] .btn-secondary:hover,
body[data-theme="blue-galaxy"] button.btn-secondary:hover,
[data-theme="blue-galaxy"] button.btn-secondary:hover {
  background: rgba(127, 182, 255, 0.12) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

/* FAB */
body[data-theme="blue-galaxy"] .fab-add-button,
[data-theme="blue-galaxy"] .fab-add-button {
  background: rgba(127, 182, 255, 0.75) !important;
  box-shadow: 0 4px 20px var(--bgx-glow-strong) !important;
  color: var(--bgx-bg0) !important;
}

body[data-theme="blue-galaxy"] .fab-add-button:hover,
[data-theme="blue-galaxy"] .fab-add-button:hover {
  background: rgba(127, 182, 255, 0.90) !important;
  box-shadow: 0 6px 28px var(--bgx-glow-strong), 0 0 40px var(--bgx-glow) !important;
  transform: translateY(-50%) scale(1.05);
}

/* ─── Pagination ─── */
body[data-theme="blue-galaxy"] .pagination-button.active,
[data-theme="blue-galaxy"] .pagination-button.active {
  background: rgba(127, 182, 255, 0.70) !important;
  border-color: var(--bgx-border-strong) !important;
  color: var(--bgx-bg0) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .pagination-button,
[data-theme="blue-galaxy"] .pagination-button {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .pagination-button:hover:not(.active),
[data-theme="blue-galaxy"] .pagination-button:hover:not(.active) {
  background: rgba(127, 182, 255, 0.14) !important;
  border-color: var(--bgx-border) !important;
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.18) !important;
}

/* ─── Checkbox ─── */
body[data-theme="blue-galaxy"] input[type="checkbox"]:checked,
[data-theme="blue-galaxy"] input[type="checkbox"]:checked {
  background: rgba(127, 182, 255, 0.85) !important;
  border-color: var(--bgx-accent0) !important;
  box-shadow: 0 0 12px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] input[type="checkbox"],
[data-theme="blue-galaxy"] input[type="checkbox"] {
  border-color: var(--bgx-border) !important;
}

/* ─── Shell Surfaces ─── */
body[data-theme="blue-galaxy"] .app-main,
[data-theme="blue-galaxy"] .app-main,
body[data-theme="blue-galaxy"] .app-footer,
[data-theme="blue-galaxy"] .app-footer {
  background: var(--bgx-surface) !important;
  -webkit-backdrop-filter: saturate(var(--bgx-saturate)) blur(var(--bgx-blur));
  backdrop-filter: saturate(var(--bgx-saturate)) blur(var(--bgx-blur));
  border: 1px solid var(--bgx-border-soft) !important;
  border-radius: var(--glass-radius);
  box-shadow: 0 0 30px rgba(127, 182, 255, 0.15) !important;
}

body[data-theme="blue-galaxy"] .dynamic-panel,
[data-theme="blue-galaxy"] .dynamic-panel {
  background: var(--bgx-surface-strong) !important;
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  border: 1px solid var(--bgx-border) !important;
  box-shadow: 0 0 35px rgba(127, 182, 255, 0.20) !important;
}

/* ─── Links & Text ─── */
body[data-theme="blue-galaxy"] a,
[data-theme="blue-galaxy"] a,
body[data-theme="blue-galaxy"] .bookmark-url,
[data-theme="blue-galaxy"] .bookmark-url {
  color: var(--bgx-link) !important;
}

body[data-theme="blue-galaxy"] a:hover,
[data-theme="blue-galaxy"] a:hover {
  color: var(--bgx-accent0) !important;
  text-shadow: 0 0 8px rgba(127, 182, 255, 0.20);
}


/* =========================================================
   3) GOODVIBES
   Palette: #FFC84C, #FC8797, #FDA471, #6196EB
   ========================================================= */

[data-theme="goodvibes"] body {
  background-color: #FFF6DC;
  background-image: url(/assets/GoodVipesBackground-DtdFpG0l.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Header */
[data-theme="goodvibes"] .mobile-header {
  background: linear-gradient(90deg, #FFF4D6, #E9F6FB);
  --header-fg: #000000;
}
[data-theme="goodvibes"] .hamburger-button span { background: #000000 !important; }
[data-theme="goodvibes"] .brand-title,
[data-theme="goodvibes"] .brand-subtitle { color: #000000 !important; }

/* Accents */
[data-theme="goodvibes"] .fab-add-button {
  background: #FFC84C;
  box-shadow: 0 4px 12px rgba(255, 200, 76, 0.45);
}
[data-theme="goodvibes"] .fab-add-button:hover {
  background: #FDA471;
  box-shadow: 0 6px 22px rgba(253, 164, 113, 0.55);
}

[data-theme="goodvibes"] .btn-primary {
  background: #FFC84C;
  border-color: #FFC84C;
  color: #000000;
}
[data-theme="goodvibes"] .btn-primary:hover {
  background: #FDA471;
  border-color: #FDA471;
  color: #000000;
}

/* Secondary hover ring */
[data-theme="goodvibes"] .btn-secondary:hover,
[data-theme="goodvibes"] .filter-chip:hover,
[data-theme="goodvibes"] .icon-button:hover {
  box-shadow: 0 0 0 3px rgba(252, 135, 151, 0.18);
}

/* Glass surfaces */
[data-theme="goodvibes"] .header-content,
[data-theme="goodvibes"] .search-filters-container,
[data-theme="goodvibes"] .tab-navigation,
[data-theme="goodvibes"] .tab-container,
[data-theme="goodvibes"] .app-main,
[data-theme="goodvibes"] .app-footer,
[data-theme="goodvibes"] .compact-bookmark-item,
[data-theme="goodvibes"] .bookmark-form-container,
[data-theme="goodvibes"] .dynamic-panel,
[data-theme="goodvibes"] .panel-header,
[data-theme="goodvibes"] .panel-content,
[data-theme="goodvibes"] .export-stats,
[data-theme="goodvibes"] .export-preview,
[data-theme="goodvibes"] .panel-actions {
  background: rgba(255, 255, 255, 0.30) !important;
  -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  border-radius: var(--glass-radius);
}

[data-theme="goodvibes"] .tab-container { border-top: none !important; }

[data-theme="goodvibes"] .bookmark-url,
[data-theme="goodvibes"] .app a { color: #6196EB; }

/* Pagination */
[data-theme="goodvibes"] .pagination-number,
[data-theme="goodvibes"] .pagination-btn {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] .pagination-number.active,
[data-theme="goodvibes"] .pagination-number.active:hover,
[data-theme="goodvibes"] .pagination-number.active:focus {
  background: #FFC84C !important;
  border-color: #FFC84C !important;
  color: #19295b !important;
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18);
}
[data-theme="goodvibes"] .pagination-btn[disabled] { opacity: 0.7; }

/* Checkbox accents */
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"],
[data-theme="goodvibes"] input[aria-label="selectBookmark"][type="checkbox"] {
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]::before,
[data-theme="goodvibes"] input[aria-label="selectBookmark"][type="checkbox"]::before {
  background: #FFC84C !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18) !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35) !important;
  outline-offset: 2px;
}

/* Tab icon color */
[data-theme="goodvibes"] .tab-navigation .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-icon i,
[data-theme="goodvibes"] .tab-navigation .tab-button.active .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-button.active .tab-icon i,
[data-theme="goodvibes"] .tab-navigation .tab-button:hover .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-button:hover .tab-icon i {
  color: #FFC84C !important;
}

/* Hamburger menu */
[data-theme="goodvibes"] .hamburger-menu {
  background: #FEFCF9 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
[data-theme="goodvibes"] .hamburger-menu .menu-header {
  background-image: url(/assets/GoodVipesBackground-DtdFpG0l.png) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: #000000;
}

/* Buttons */
[data-theme="goodvibes"] button,
[data-theme="goodvibes"] .btn,
[data-theme="goodvibes"] .btn-secondary,
[data-theme="goodvibes"] .menu-item,
[data-theme="goodvibes"] .submenu-item,
[data-theme="goodvibes"] .action-button {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] button:hover,
[data-theme="goodvibes"] .btn:hover,
[data-theme="goodvibes"] .menu-item:hover,
[data-theme="goodvibes"] .submenu-item:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.12);
}
[data-theme="goodvibes"] button:focus-visible,
[data-theme="goodvibes"] .btn:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35);
  outline-offset: 2px;
}
[data-theme="goodvibes"] button[disabled],
[data-theme="goodvibes"] .btn[disabled] { opacity: 0.7; }

[data-theme="goodvibes"] .btn.btn-primary,
[data-theme="goodvibes"] button.btn.btn-primary { color: #000000 !important; }

[data-theme="goodvibes"] .upgrade-button { color: #000000 !important; }

[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button {
  background: #FFC84C !important;
  border-color: #FFC84C !important;
  color: #000000 !important;
}
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:hover,
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:focus,
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:active {
  background: #FDA471 !important;
  border-color: #FDA471 !important;
  color: #000000 !important;
}


/* =========================================================
   4) PURPLE-BUBBLES - Space Background
   ========================================================= */

[data-theme="purple-bubbles"] body {
  background-color: #0d0a1a;
  background-image: url(/assets/PurpleBubblesBackground-CExjrOOh.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Header - Purple Glass (siehe SECTION 3 für vollständige Styles) */
/* Styles werden in SECTION 3: NAVIGATION & LAYOUT definiert */

/* Accents */
[data-theme="purple-bubbles"] .fab-add-button {
  background: #FFC84C;
  box-shadow: 0 4px 12px rgba(255, 200, 76, 0.45);
}
[data-theme="purple-bubbles"] .fab-add-button:hover {
  background: #FDA471;
  box-shadow: 0 6px 22px rgba(253, 164, 113, 0.55);
}

[data-theme="purple-bubbles"] .btn-primary {
  background: #FFC84C;
  border-color: #FFC84C;
  color: #000000;
}
[data-theme="purple-bubbles"] .btn-primary:hover {
  background: #FDA471;
  border-color: #FDA471;
  color: #000000;
}

/* Secondary hover ring */
[data-theme="purple-bubbles"] .btn-secondary:hover,
[data-theme="purple-bubbles"] .filter-chip:hover,
[data-theme="purple-bubbles"] .icon-button:hover {
  box-shadow: 0 0 0 3px rgba(252, 135, 151, 0.18);
}

/* Glass surfaces */
[data-theme="purple-bubbles"] .header-content,
[data-theme="purple-bubbles"] .search-filters-container,
[data-theme="purple-bubbles"] .tab-navigation,
[data-theme="purple-bubbles"] .tab-container,
[data-theme="purple-bubbles"] .app-main,
[data-theme="purple-bubbles"] .app-footer,
[data-theme="purple-bubbles"] .compact-bookmark-item,
[data-theme="purple-bubbles"] .bookmark-form-container,
[data-theme="purple-bubbles"] .dynamic-panel,
[data-theme="purple-bubbles"] .panel-header,
[data-theme="purple-bubbles"] .panel-content,
[data-theme="purple-bubbles"] .export-stats,
[data-theme="purple-bubbles"] .export-preview,
[data-theme="purple-bubbles"] .panel-actions {
  background: rgba(255, 255, 255, 0.30) !important;
  -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  border-radius: var(--glass-radius);
}

[data-theme="purple-bubbles"] .tab-container { border-top: none !important; }

[data-theme="purple-bubbles"] .bookmark-url,
[data-theme="purple-bubbles"] .app a { color: #6196EB; }

/* Pagination */
[data-theme="purple-bubbles"] .pagination-number,
[data-theme="purple-bubbles"] .pagination-btn {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="purple-bubbles"] .pagination-number.active,
[data-theme="purple-bubbles"] .pagination-number.active:hover,
[data-theme="purple-bubbles"] .pagination-number.active:focus {
  background: #FFC84C !important;
  border-color: #FFC84C !important;
  color: #19295b !important;
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18);
}
[data-theme="purple-bubbles"] .pagination-btn[disabled] { opacity: 0.7; }

/* Checkbox accents */
[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"],
[data-theme="purple-bubbles"] input[aria-label="selectBookmark"][type="checkbox"] {
  border-color: #FFC84C !important;
}
[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]::before,
[data-theme="purple-bubbles"] input[aria-label="selectBookmark"][type="checkbox"]::before {
  background: #FFC84C !important;
}
[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18) !important;
}
[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35) !important;
  outline-offset: 2px;
}

/* Tab icon color */
[data-theme="purple-bubbles"] .tab-navigation .tab-icon,
[data-theme="purple-bubbles"] .tab-navigation .tab-icon i,
[data-theme="purple-bubbles"] .tab-navigation .tab-button.active .tab-icon,
[data-theme="purple-bubbles"] .tab-navigation .tab-button.active .tab-icon i,
[data-theme="purple-bubbles"] .tab-navigation .tab-button:hover .tab-icon,
[data-theme="purple-bubbles"] .tab-navigation .tab-button:hover .tab-icon i {
  color: #FFC84C !important;
}

/* Hamburger menu */
[data-theme="purple-bubbles"] .hamburger-menu {
  background: #FEFCF9 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
[data-theme="purple-bubbles"] .hamburger-menu .menu-header {
  background-image: url(/assets/PurpleBubblesBackground-CExjrOOh.png) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: #000000;
}

/* Buttons */
[data-theme="purple-bubbles"] button,
[data-theme="purple-bubbles"] .btn,
[data-theme="purple-bubbles"] .btn-secondary,
[data-theme="purple-bubbles"] .menu-item,
[data-theme="purple-bubbles"] .submenu-item,
[data-theme="purple-bubbles"] .action-button {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="purple-bubbles"] button:hover,
[data-theme="purple-bubbles"] .btn:hover,
[data-theme="purple-bubbles"] .menu-item:hover,
[data-theme="purple-bubbles"] .submenu-item:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.12);
}
[data-theme="purple-bubbles"] button:focus-visible,
[data-theme="purple-bubbles"] .btn:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35);
  outline-offset: 2px;
}
[data-theme="purple-bubbles"] button[disabled],
[data-theme="purple-bubbles"] .btn[disabled] { opacity: 0.7; }

[data-theme="purple-bubbles"] .btn.btn-primary,
[data-theme="purple-bubbles"] button.btn.btn-primary { color: #000000 !important; }

[data-theme="purple-bubbles"] .upgrade-button { color: #000000 !important; }

[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button {
  background: #9054cc !important;
  border-color: #9054cc !important;
  color: #ffffff !important;
}
[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button:hover,
[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button:focus,
[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button:active {
  background: #7a3fb8 !important;
  border-color: #7a3fb8 !important;
  color: #ffffff !important;
}


/* =========================================================
   5) POWER (Neon Matrix Glass)
   ========================================================= */

[data-theme="power"] body {
  background-color: #0b0f0d;
  background-image: url(/assets/PowerBackground1-B9IQeTai.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Theme vars (einmalig) */
[data-theme="power"] {
  --power-accent: #48E877;
  --power-glow: rgba(72, 232, 119, 0.35);
  --power-glow-soft: rgba(72, 232, 119, 0.18);

  --power-surface: rgba(6, 10, 8, 0.55);
  --power-surface-soft: rgba(6, 10, 8, 0.42);
  --power-surface-strong: rgba(6, 10, 8, 0.72);

  --power-border-soft: rgba(72, 232, 119, 0.18);

  --power-text: #CFFFD9;
  --power-text-dim: rgba(207, 255, 217, 0.72);

  --power-blur: 10px;
  --power-saturate: 160%;
}

/* Header / Navbar (Glass) */
[data-theme="power"] .mobile-header,
[data-theme="power"] .header-content,
[data-theme="power"] .tab-navigation {
  background: var(--power-surface-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 18px rgba(72, 232, 119, 0.10) !important;
}

/* Brand */
[data-theme="power"] .brand-title {
  color: var(--power-text) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.18);
}
[data-theme="power"] .brand-subtitle { color: var(--power-text-dim) !important; }

/* Hamburger icon */
[data-theme="power"] .hamburger-button span {
  background: var(--power-accent) !important;
  box-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

/* Search */
[data-theme="power"] .search-filters-container {
  background: var(--power-surface-soft) !important;
  border: 1px solid var(--power-border-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
}
[data-theme="power"] .search-filters-container input,
[data-theme="power"] .search-filters-container textarea,
[data-theme="power"] .search-filters-container .search-input {
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--power-text) !important;
  border: 1px solid var(--power-border-soft) !important;
}
[data-theme="power"] .search-filters-container input::placeholder,
[data-theme="power"] .search-filters-container .search-input::placeholder {
  color: rgba(207, 255, 217, 0.55) !important;
}

/* Main panels */
[data-theme="power"] .tab-container,
[data-theme="power"] .app-main,
[data-theme="power"] .dynamic-panel,
[data-theme="power"] .panel-header,
[data-theme="power"] .panel-content,
[data-theme="power"] .compact-bookmark-item,
[data-theme="power"] .bookmark-form-container,
[data-theme="power"] .export-stats,
[data-theme="power"] .export-preview,
[data-theme="power"] .panel-actions {
  background: var(--power-surface) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 22px rgba(0,0,0,0.35) !important;
  border-radius: var(--glass-radius);
}
[data-theme="power"] .tab-container { border-top: none !important; }
[data-theme="power"] .app-main,
[data-theme="power"] .tab-container,
[data-theme="power"] .dynamic-panel,
[data-theme="power"] .panel-content { color: var(--power-text) !important; }

/* Links */
[data-theme="power"] .bookmark-url,
[data-theme="power"] .app a { color: var(--power-accent) !important; }

/* Buttons (Neon) */
[data-theme="power"] .btn-primary,
[data-theme="power"] button.btn.btn-primary,
[data-theme="power"] .btn.btn-primary {
  background: rgba(8, 12, 10, 0.55) !important;
  border-color: var(--power-accent) !important;
  color: var(--power-accent) !important;
  box-shadow: 0 0 0 1px rgba(72, 232, 119, 0.18), 0 8px 24px rgba(0,0,0,0.25) !important;
}
[data-theme="power"] .btn-primary:hover,
[data-theme="power"] button.btn.btn-primary:hover,
[data-theme="power"] .btn.btn-primary:hover {
  background: rgba(8, 12, 10, 0.72) !important;
  color: #CFFFD9 !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 18px var(--power-glow) !important;
}

[data-theme="power"] button,
[data-theme="power"] .btn,
[data-theme="power"] .btn-secondary,
[data-theme="power"] .menu-item,
[data-theme="power"] .submenu-item,
[data-theme="power"] .action-button {
  color: var(--power-accent) !important;
  border-color: var(--power-accent) !important;
  background: rgba(8, 12, 10, 0.25);
}
[data-theme="power"] button:hover,
[data-theme="power"] .btn:hover,
[data-theme="power"] .menu-item:hover,
[data-theme="power"] .submenu-item:hover {
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 14px var(--power-glow) !important;
}
[data-theme="power"] button:focus-visible,
[data-theme="power"] .btn:focus-visible {
  outline: 3px solid rgba(72, 232, 119, 0.45) !important;
  outline-offset: 2px;
}

/* FAB */
[data-theme="power"] .fab-add-button {
  background: rgba(8, 12, 10, 0.55) !important;
  border: 1px solid var(--power-accent) !important;
  color: var(--power-accent) !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 22px var(--power-glow) !important;
}
[data-theme="power"] .fab-add-button:hover {
  background: rgba(8, 12, 10, 0.72) !important;
  box-shadow: 0 0 0 4px var(--power-glow-soft), 0 0 30px var(--power-glow) !important;
}

/* Pagination */
[data-theme="power"] .pagination-number,
[data-theme="power"] .pagination-btn {
  color: var(--power-accent) !important;
  border-color: var(--power-accent) !important;
}
[data-theme="power"] .pagination-number.active,
[data-theme="power"] .pagination-number.active:hover,
[data-theme="power"] .pagination-number.active:focus {
  background: rgba(8, 12, 10, 0.55) !important;
  border-color: var(--power-accent) !important;
  color: #CFFFD9 !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 18px var(--power-glow) !important;
}

/* Checkbox accents */
[data-theme="power"] .bookmark-select input[type="checkbox"],
[data-theme="power"] input[aria-label="selectBookmark"][type="checkbox"] {
  border-color: var(--power-accent) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]::before,
[data-theme="power"] input[aria-label="selectBookmark"][type="checkbox"]::before {
  background: var(--power-accent) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px var(--power-glow-soft) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(72, 232, 119, 0.45) !important;
  outline-offset: 2px;
}

/* Tab icon color */
[data-theme="power"] .tab-navigation .tab-icon,
[data-theme="power"] .tab-navigation .tab-icon i,
[data-theme="power"] .tab-navigation .tab-button.active .tab-icon,
[data-theme="power"] .tab-navigation .tab-button.active .tab-icon i,
[data-theme="power"] .tab-navigation .tab-button:hover .tab-icon,
[data-theme="power"] .tab-navigation .tab-button:hover .tab-icon i {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

/* Footer */
[data-theme="power"] .app-footer {
  background: var(--power-surface-strong) !important;
  border-top: 1px solid var(--power-border-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  box-shadow: 0 -10px 30px rgba(0,0,0,0.35) !important;
}
[data-theme="power"] .app-footer p,
[data-theme="power"] .app-footer .footer-info,
[data-theme="power"] .pagination-info {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
  font-weight: 500;
}

/* Form labels */
[data-theme="power"] .form-group label,
[data-theme="power"] .panel-content label,
[data-theme="power"] .category-section label {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
  font-weight: 500;
}

/* Form helper text */
[data-theme="power"] .rating-helper-text,
[data-theme="power"] .form-group span {
  color: var(--power-text-dim) !important;
}

/* Form input fields */
[data-theme="power"] .form-group input,
[data-theme="power"] .form-group textarea,
[data-theme="power"] .form-group select,
[data-theme="power"] .category-select,
[data-theme="power"] .new-category-input {
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--power-text) !important;
  border: 1px solid var(--power-border-soft) !important;
}

[data-theme="power"] .form-group input::placeholder,
[data-theme="power"] .form-group textarea::placeholder,
[data-theme="power"] .new-category-input::placeholder {
  color: rgba(207, 255, 217, 0.55) !important;
}

[data-theme="power"] .form-group input:focus,
[data-theme="power"] .form-group textarea:focus,
[data-theme="power"] .form-group select:focus,
[data-theme="power"] .category-select:focus,
[data-theme="power"] .new-category-input:focus {
  border-color: var(--power-accent) !important;
  box-shadow: 0 0 0 2px var(--power-glow-soft) !important;
}

/* Hamburger menu look */
[data-theme="power"] .hamburger-menu {
  background: var(--power-surface) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.45), 0 0 18px rgba(72, 232, 119, 0.12) !important;
  color: var(--power-text) !important;
}
[data-theme="power"] .hamburger-menu .menu-header {
  background: var(--power-surface-soft) !important;
  border-bottom: 1px solid var(--power-border-soft) !important;
  color: var(--power-text) !important;
}
[data-theme="power"] .hamburger-menu .menu-item,
[data-theme="power"] .hamburger-menu .submenu-item {
  background: transparent !important;
  color: var(--power-accent) !important;
}
[data-theme="power"] .hamburger-menu .menu-item:hover,
[data-theme="power"] .hamburger-menu .submenu-item:hover {
  background: rgba(72, 232, 119, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(72, 232, 119, 0.25);
}

/* Bookmark category pill */
[data-theme="power"] .bookmark-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 10, 8, 0.45) !important;
  border: 1px solid var(--power-accent) !important;
  color: var(--power-accent) !important;
  font-size: 0.75rem;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(72, 232, 119, 0.25);
}

/* Language combobox */
[data-theme="power"] .language-combobox {
  width: 100%;
  padding: 10px 14px;
  background: rgba(6, 10, 8, 0.55) !important;
  border: 1px solid var(--power-accent) !important;
  border-radius: 12px;
  color: var(--power-accent) !important;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  text-shadow: 0 0 8px rgba(72, 232, 119, 0.25);
  box-shadow: 0 0 0 1px rgba(72, 232, 119, 0.15), 0 0 18px rgba(72, 232, 119, 0.18);

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
          linear-gradient(45deg, transparent 50%, var(--power-accent) 50%),
          linear-gradient(135deg, var(--power-accent) 50%, transparent 50%);
  background-position:
          calc(100% - 18px) 50%,
          calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
[data-theme="power"] .language-combobox:hover {
  box-shadow: 0 0 0 2px rgba(72, 232, 119, 0.35), 0 0 26px rgba(72, 232, 119, 0.45);
}
[data-theme="power"] .language-combobox:focus-visible {
  box-shadow: 0 0 0 3px rgba(72, 232, 119, 0.55), 0 0 32px rgba(72, 232, 119, 0.55);
}
[data-theme="power"] .language-combobox option {
  background: #050807;
  color: #CFFFD9;
}


/* =========================================================
   6) GLOBAL LAYERING FIX (MUSS ANS ENDE!)
   - wichtig wegen DOM: hamburger-menu liegt im header
   ========================================================= */

/* Header muss als Stack-Context ÜBER der Tab-Navigation liegen */
.mobile-header {
  position: relative !important;
  z-index: 1000 !important;
}

/* Tab-Navigation darunter (aber über Content) */
.tab-navigation,
.header-content {
  position: relative !important;
  z-index: 900 !important;
}

/* Content darunter */
.tab-container,
.app-main {
  position: relative !important;
  z-index: 10 !important;
}

.app-footer {
  position: relative !important;
  z-index: 20 !important;
}

/* Overlay + Drawer immer über allem */
.menu-overlay,
.hamburger-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
}

.hamburger-menu {
  position: fixed !important;
  z-index: 2147483647 !important;
  top: 0 !important;
  left: 0 !important;
  visibility: hidden !important;
  transform: translateX(-100%) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s !important;
}
.hamburger-menu.open {
  visibility: visible !important;
  transform: translateX(0) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s !important;
}
/* =========================================================
   THEMES (data-theme on <html> or an ancestor)
   Themes: blue-galaxy, goodvibes, power, purple-bubbles
   ========================================================= */


/* =========================================================
   0) GLOBAL BASICS
   ========================================================= */

:root {
  --glass-radius: 12px;
  --glass-blur: 6px;
  --glass-saturate: 140%;
}

/* =========================================================
   1) GLOBAL LOGO SIZING (use GoodVibes size for ALL themes)
   ========================================================= */

.header-logo {
  height: 132px !important;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 128px !important;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .header-logo { height: 120px !important; }
  .logo-image  { height: 116px !important; }
}

@media (min-width: 768px) {
  .header-logo { height: 140px !important; }
  .logo-image  { height: 136px !important; }
}


/* =========================================================
   2) BLUE GALAXY
   ========================================================= */

html[data-theme="blue-galaxy"],
/* =========================================================
   BLUE GALAXY THEME - Space Glass Design
   ========================================================= */

/* Design Tokens */
body[data-theme="blue-galaxy"],
[data-theme="blue-galaxy"] body {
  /* Background */
  --bgx-bg0: #050814;
  --bgx-bg1: #07112a;

  /* Glass Surfaces */
  --bgx-surface: rgba(10, 18, 40, 0.62);
  --bgx-surface-strong: rgba(10, 18, 40, 0.78);
  --bgx-surface-soft: rgba(18, 28, 56, 0.46);

  /* Borders */
  --bgx-border-soft: rgba(120, 170, 255, 0.18);
  --bgx-border: rgba(120, 170, 255, 0.26);
  --bgx-border-strong: rgba(120, 170, 255, 0.34);

  /* Text */
  --bgx-text: #EAF2FF;
  --bgx-text-dim: rgba(234, 242, 255, 0.72);
  --bgx-placeholder: rgba(234, 242, 255, 0.45);
  --bgx-link: #8DB9FF;

  /* Accents */
  --bgx-accent0: #7FB6FF;
  --bgx-accent1: #4CA9FF;
  --bgx-glow: rgba(127, 182, 255, 0.28);
  --bgx-glow-strong: rgba(127, 182, 255, 0.42);

  /* Effects */
  --bgx-blur: 14px;
  --bgx-saturate: 150%;

  /* Border Radius */
  --bgx-radius-card: 18px;
  --bgx-radius-control: 14px;

  /* Background Image */
  background-color: var(--bgx-bg0);
  background-image: url(/assets/BlueGalaxyBackground-Bqqj7RaO.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* ─── Header + Navigation ─── */
body[data-theme="blue-galaxy"] .mobile-header,
[data-theme="blue-galaxy"] .mobile-header {
  background-image: url(/assets/BlueGalaxyBackground-Bqqj7RaO.png) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  backdrop-filter: blur(12px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  box-shadow:
    0 8px 28px rgba(0,0,0,0.35),
    0 0 26px rgba(127, 182, 255, 0.22) !important;
}

/* Optional overlay for better readability */
body[data-theme="blue-galaxy"] .mobile-header::before,
[data-theme="blue-galaxy"] .mobile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(127, 182, 255, 0.12),
    rgba(10, 18, 40, 0.65)
  );
  pointer-events: none;
  z-index: 0;
}

/* Ensure header content is above overlay */
body[data-theme="blue-galaxy"] .mobile-header > *,
[data-theme="blue-galaxy"] .mobile-header > * {
  position: relative;
  z-index: 1;
}

body[data-theme="blue-galaxy"] .header-content,
[data-theme="blue-galaxy"] .header-content {
  background: transparent !important;
  border: none !important;
}

body[data-theme="blue-galaxy"] .brand-title,
[data-theme="blue-galaxy"] .brand-title {
  color: var(--bgx-text) !important;
  text-shadow: 0 0 12px rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] .brand-subtitle,
[data-theme="blue-galaxy"] .brand-subtitle {
  color: var(--bgx-text-dim) !important;
}

body[data-theme="blue-galaxy"] .hamburger-button span,
[data-theme="blue-galaxy"] .hamburger-button span {
  background: var(--bgx-accent0) !important;
}

body[data-theme="blue-galaxy"] .hamburger-button:hover,
[data-theme="blue-galaxy"] .hamburger-button:hover {
  background: rgba(127, 182, 255, 0.12) !important;
}

/* Tab Navigation */
body[data-theme="blue-galaxy"] .tab-navigation,
[data-theme="blue-galaxy"] .tab-navigation {
  background: var(--bgx-surface-soft) !important;
  backdrop-filter: blur(10px) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(10px) saturate(var(--bgx-saturate)) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
}

body[data-theme="blue-galaxy"] .tab-item,
[data-theme="blue-galaxy"] .tab-item {
  color: var(--bgx-text-dim) !important;
}

body[data-theme="blue-galaxy"] .tab-item.active,
[data-theme="blue-galaxy"] .tab-item.active {
  color: var(--bgx-accent0) !important;
  border-bottom-color: var(--bgx-accent0) !important;
  text-shadow: 0 0 10px var(--bgx-glow);
}

body[data-theme="blue-galaxy"] .tab-item:hover,
[data-theme="blue-galaxy"] .tab-item:hover {
  color: var(--bgx-text) !important;
  background: rgba(127, 182, 255, 0.08) !important;
}

/* ─── Hamburger Menu ─── */
body[data-theme="blue-galaxy"] .menu-overlay,
[data-theme="blue-galaxy"] .menu-overlay {
  background: rgba(6, 10, 24, 0.55) !important;
  backdrop-filter: blur(6px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(130%) !important;
}

body[data-theme="blue-galaxy"] .hamburger-menu,
[data-theme="blue-galaxy"] .hamburger-menu {
  background: var(--bgx-surface-strong) !important;
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  border: none !important;
  box-shadow:
    0 0 30px rgba(127, 182, 255, 0.22),
    inset 0 0 0 1px rgba(127, 182, 255, 0.14),
    4px 0 40px rgba(5, 8, 20, 0.70) !important;
}

body[data-theme="blue-galaxy"] .menu-header,
[data-theme="blue-galaxy"] .menu-header {
  background: transparent !important;
  border-bottom: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .close-menu-btn,
[data-theme="blue-galaxy"] .close-menu-btn {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border) !important;
  color: var(--bgx-text) !important;
  border-radius: 12px !important;
}

body[data-theme="blue-galaxy"] .close-menu-btn:hover,
[data-theme="blue-galaxy"] .close-menu-btn:hover {
  background: rgba(127, 182, 255, 0.18) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .menu-item,
[data-theme="blue-galaxy"] .menu-item,
body[data-theme="blue-galaxy"] .menu-item > button,
[data-theme="blue-galaxy"] .menu-item > button,
body[data-theme="blue-galaxy"] .menu-item > a,
[data-theme="blue-galaxy"] .menu-item > a {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
  border-radius: 14px !important;
}

body[data-theme="blue-galaxy"] .menu-item:hover,
[data-theme="blue-galaxy"] .menu-item:hover,
body[data-theme="blue-galaxy"] .menu-item > button:hover,
[data-theme="blue-galaxy"] .menu-item > button:hover,
body[data-theme="blue-galaxy"] .menu-item > a:hover,
[data-theme="blue-galaxy"] .menu-item > a:hover {
  background: rgba(127, 182, 255, 0.16) !important;
  border-color: var(--bgx-border) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .menu-item.disabled,
[data-theme="blue-galaxy"] .menu-item.disabled,
body[data-theme="blue-galaxy"] .menu-item > button:disabled,
[data-theme="blue-galaxy"] .menu-item > button:disabled {
  opacity: 0.45 !important;
  filter: saturate(60%) !important;
  background: rgba(18, 28, 56, 0.28) !important;
  border-color: rgba(120, 170, 255, 0.10) !important;
}

body[data-theme="blue-galaxy"] .menu-item-icon,
[data-theme="blue-galaxy"] .menu-item-icon {
  color: var(--bgx-accent0) !important;
}

body[data-theme="blue-galaxy"] .submenu-item,
[data-theme="blue-galaxy"] .submenu-item,
body[data-theme="blue-galaxy"] .submenu-item > button,
[data-theme="blue-galaxy"] .submenu-item > button {
  background: rgba(18, 28, 56, 0.35) !important;
  border: 1px solid rgba(120, 170, 255, 0.15) !important;
  color: var(--bgx-text-dim) !important;
  border-radius: 12px !important;
}

body[data-theme="blue-galaxy"] .submenu-item:hover,
[data-theme="blue-galaxy"] .submenu-item:hover,
body[data-theme="blue-galaxy"] .submenu-item > button:hover,
[data-theme="blue-galaxy"] .submenu-item > button:hover {
  background: rgba(127, 182, 255, 0.12) !important;
  border-color: rgba(120, 170, 255, 0.25) !important;
  color: var(--bgx-text) !important;
}

/* ─── Buttons ─── */
body[data-theme="blue-galaxy"] .btn-primary,
[data-theme="blue-galaxy"] .btn-primary,
body[data-theme="blue-galaxy"] button.btn-primary,
[data-theme="blue-galaxy"] button.btn-primary {
  background: rgba(127, 182, 255, 0.70) !important;
  border: 2px solid var(--bgx-border) !important;
  color: var(--bgx-bg0) !important;
  font-weight: 600 !important;
  box-shadow: 0 0 18px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .btn-primary:hover,
[data-theme="blue-galaxy"] .btn-primary:hover,
body[data-theme="blue-galaxy"] button.btn-primary:hover,
[data-theme="blue-galaxy"] button.btn-primary:hover {
  background: rgba(127, 182, 255, 0.85) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 24px var(--bgx-glow-strong) !important;
  transform: translateY(-1px);
}

body[data-theme="blue-galaxy"] .btn-secondary,
[data-theme="blue-galaxy"] .btn-secondary,
body[data-theme="blue-galaxy"] button.btn-secondary,
[data-theme="blue-galaxy"] button.btn-secondary {
  background: transparent !important;
  border: 2px solid var(--bgx-border) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .btn-secondary:hover,
[data-theme="blue-galaxy"] .btn-secondary:hover,
body[data-theme="blue-galaxy"] button.btn-secondary:hover,
[data-theme="blue-galaxy"] button.btn-secondary:hover {
  background: rgba(127, 182, 255, 0.12) !important;
  border-color: var(--bgx-border-strong) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

/* FAB */
body[data-theme="blue-galaxy"] .fab-add-button,
[data-theme="blue-galaxy"] .fab-add-button {
  background: rgba(127, 182, 255, 0.75) !important;
  box-shadow: 0 4px 20px var(--bgx-glow-strong) !important;
  color: var(--bgx-bg0) !important;
}

body[data-theme="blue-galaxy"] .fab-add-button:hover,
[data-theme="blue-galaxy"] .fab-add-button:hover {
  background: rgba(127, 182, 255, 0.90) !important;
  box-shadow: 0 6px 28px var(--bgx-glow-strong), 0 0 40px var(--bgx-glow) !important;
  transform: translateY(-50%) scale(1.05);
}

/* ─── Pagination ─── */
body[data-theme="blue-galaxy"] .pagination-button.active,
[data-theme="blue-galaxy"] .pagination-button.active {
  background: rgba(127, 182, 255, 0.70) !important;
  border-color: var(--bgx-border-strong) !important;
  color: var(--bgx-bg0) !important;
  box-shadow: 0 0 16px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] .pagination-button,
[data-theme="blue-galaxy"] .pagination-button {
  background: var(--bgx-surface-soft) !important;
  border: 1px solid var(--bgx-border-soft) !important;
  color: var(--bgx-text) !important;
}

body[data-theme="blue-galaxy"] .pagination-button:hover:not(.active),
[data-theme="blue-galaxy"] .pagination-button:hover:not(.active) {
  background: rgba(127, 182, 255, 0.14) !important;
  border-color: var(--bgx-border) !important;
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.18) !important;
}

/* ─── Checkbox ─── */
body[data-theme="blue-galaxy"] input[type="checkbox"]:checked,
[data-theme="blue-galaxy"] input[type="checkbox"]:checked {
  background: rgba(127, 182, 255, 0.85) !important;
  border-color: var(--bgx-accent0) !important;
  box-shadow: 0 0 12px var(--bgx-glow) !important;
}

body[data-theme="blue-galaxy"] input[type="checkbox"],
[data-theme="blue-galaxy"] input[type="checkbox"] {
  border-color: var(--bgx-border) !important;
}

/* ─── Shell Surfaces ─── */
body[data-theme="blue-galaxy"] .app-main,
[data-theme="blue-galaxy"] .app-main,
body[data-theme="blue-galaxy"] .app-footer,
[data-theme="blue-galaxy"] .app-footer {
  background: var(--bgx-surface) !important;
  -webkit-backdrop-filter: saturate(var(--bgx-saturate)) blur(var(--bgx-blur));
  backdrop-filter: saturate(var(--bgx-saturate)) blur(var(--bgx-blur));
  border: 1px solid var(--bgx-border-soft) !important;
  border-radius: var(--glass-radius);
  box-shadow: 0 0 30px rgba(127, 182, 255, 0.15) !important;
}

body[data-theme="blue-galaxy"] .dynamic-panel,
[data-theme="blue-galaxy"] .dynamic-panel {
  background: var(--bgx-surface-strong) !important;
  backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--bgx-blur)) saturate(var(--bgx-saturate)) !important;
  border: 1px solid var(--bgx-border) !important;
  box-shadow: 0 0 35px rgba(127, 182, 255, 0.20) !important;
}

/* ─── Links & Text ─── */
body[data-theme="blue-galaxy"] a,
[data-theme="blue-galaxy"] a,
body[data-theme="blue-galaxy"] .bookmark-url,
[data-theme="blue-galaxy"] .bookmark-url {
  color: var(--bgx-link) !important;
}

body[data-theme="blue-galaxy"] a:hover,
[data-theme="blue-galaxy"] a:hover {
  color: var(--bgx-accent0) !important;
  text-shadow: 0 0 8px rgba(127, 182, 255, 0.20);
}


/* =========================================================
   3) GOODVIBES
   Palette: #FFC84C, #FC8797, #FDA471, #6196EB
   ========================================================= */

[data-theme="goodvibes"] body {
  background-color: #FFF6DC;
  background-image: url(/assets/GoodVipesBackground-DtdFpG0l.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Header */
[data-theme="goodvibes"] .mobile-header {
  background: linear-gradient(90deg, #FFF4D6, #E9F6FB);
  --header-fg: #000000;
}
[data-theme="goodvibes"] .hamburger-button span { background: #000000 !important; }
[data-theme="goodvibes"] .brand-title,
[data-theme="goodvibes"] .brand-subtitle { color: #000000 !important; }

/* Accents */
[data-theme="goodvibes"] .fab-add-button {
  background: #FFC84C;
  box-shadow: 0 4px 12px rgba(255, 200, 76, 0.45);
}
[data-theme="goodvibes"] .fab-add-button:hover {
  background: #FDA471;
  box-shadow: 0 6px 22px rgba(253, 164, 113, 0.55);
}

[data-theme="goodvibes"] .btn-primary {
  background: #FFC84C;
  border-color: #FFC84C;
  color: #000000;
}
[data-theme="goodvibes"] .btn-primary:hover {
  background: #FDA471;
  border-color: #FDA471;
  color: #000000;
}

/* Secondary hover ring */
[data-theme="goodvibes"] .btn-secondary:hover,
[data-theme="goodvibes"] .filter-chip:hover,
[data-theme="goodvibes"] .icon-button:hover {
  box-shadow: 0 0 0 3px rgba(252, 135, 151, 0.18);
}

/* Glass surfaces */
[data-theme="goodvibes"] .header-content,
[data-theme="goodvibes"] .search-filters-container,
[data-theme="goodvibes"] .tab-navigation,
[data-theme="goodvibes"] .tab-container,
[data-theme="goodvibes"] .app-main,
[data-theme="goodvibes"] .app-footer,
[data-theme="goodvibes"] .compact-bookmark-item,
[data-theme="goodvibes"] .bookmark-form-container,
[data-theme="goodvibes"] .dynamic-panel,
[data-theme="goodvibes"] .panel-header,
[data-theme="goodvibes"] .panel-content,
[data-theme="goodvibes"] .export-stats,
[data-theme="goodvibes"] .export-preview,
[data-theme="goodvibes"] .panel-actions {
  background: rgba(255, 255, 255, 0.30) !important;
  -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
  border-radius: var(--glass-radius);
}

[data-theme="goodvibes"] .tab-container { border-top: none !important; }

[data-theme="goodvibes"] .bookmark-url,
[data-theme="goodvibes"] .app a { color: #6196EB; }

/* Pagination */
[data-theme="goodvibes"] .pagination-number,
[data-theme="goodvibes"] .pagination-btn {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] .pagination-number.active,
[data-theme="goodvibes"] .pagination-number.active:hover,
[data-theme="goodvibes"] .pagination-number.active:focus {
  background: #FFC84C !important;
  border-color: #FFC84C !important;
  color: #19295b !important;
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18);
}
[data-theme="goodvibes"] .pagination-btn[disabled] { opacity: 0.7; }

/* Checkbox accents */
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"],
[data-theme="goodvibes"] input[aria-label="selectBookmark"][type="checkbox"] {
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]::before,
[data-theme="goodvibes"] input[aria-label="selectBookmark"][type="checkbox"]::before {
  background: #FFC84C !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.18) !important;
}
[data-theme="goodvibes"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35) !important;
  outline-offset: 2px;
}

/* Tab icon color */
[data-theme="goodvibes"] .tab-navigation .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-icon i,
[data-theme="goodvibes"] .tab-navigation .tab-button.active .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-button.active .tab-icon i,
[data-theme="goodvibes"] .tab-navigation .tab-button:hover .tab-icon,
[data-theme="goodvibes"] .tab-navigation .tab-button:hover .tab-icon i {
  color: #FFC84C !important;
}

/* Hamburger menu */
[data-theme="goodvibes"] .hamburger-menu {
  background: #FEFCF9 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
[data-theme="goodvibes"] .hamburger-menu .menu-header {
  background-image: url(/assets/GoodVipesBackground-DtdFpG0l.png) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: #000000;
}

/* Buttons */
[data-theme="goodvibes"] button,
[data-theme="goodvibes"] .btn,
[data-theme="goodvibes"] .btn-secondary,
[data-theme="goodvibes"] .menu-item,
[data-theme="goodvibes"] .submenu-item,
[data-theme="goodvibes"] .action-button {
  color: #FFC84C !important;
  border-color: #FFC84C !important;
}
[data-theme="goodvibes"] button:hover,
[data-theme="goodvibes"] .btn:hover,
[data-theme="goodvibes"] .menu-item:hover,
[data-theme="goodvibes"] .submenu-item:hover {
  box-shadow: 0 0 0 3px rgba(255, 200, 76, 0.12);
}
[data-theme="goodvibes"] button:focus-visible,
[data-theme="goodvibes"] .btn:focus-visible {
  outline: 3px solid rgba(255, 200, 76, 0.35);
  outline-offset: 2px;
}
[data-theme="goodvibes"] button[disabled],
[data-theme="goodvibes"] .btn[disabled] { opacity: 0.7; }

[data-theme="goodvibes"] .btn.btn-primary,
[data-theme="goodvibes"] button.btn.btn-primary { color: #000000 !important; }

[data-theme="goodvibes"] .upgrade-button { color: #000000 !important; }

[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button {
  background: #FFC84C !important;
  border-color: #FFC84C !important;
  color: #000000 !important;
}
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:hover,
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:focus,
[data-theme="goodvibes"] .btn.btn-danger.delete-bookmark-button:active {
  background: #FDA471 !important;
  border-color: #FDA471 !important;
  color: #000000 !important;
}


/* =========================================================
   4) PURPLE-BUBBLES - Space Background (FIXED)
   ========================================================= */

/* IMPORTANT:
   Wenn data-theme am <body> hängt:
   NICHT: [data-theme="purple-bubbles"] body
   SONDERN: body[data-theme="purple-bubbles"]
*/
body[data-theme="purple-bubbles"] {
  background-color: #0d0a1a;
  background-image: url(/assets/PurpleBubblesBackground-CExjrOOh.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* ---------------------------------------------------------
   Purple-Bubbles Tokens (minimal, aber verbindlich)
   --------------------------------------------------------- */
body[data-theme="purple-bubbles"] {
  --pb-accent: #B66DFF;
  --pb-accent-soft: rgba(182, 109, 255, 0.22);
  --pb-accent-strong: rgba(182, 109, 255, 0.35);

  --pb-surface: rgba(28, 14, 46, 0.55);
  --pb-surface-soft: rgba(40, 20, 60, 0.45);
  --pb-surface-strong: rgba(28, 14, 46, 0.78);

  --pb-border-soft: rgba(182, 109, 255, 0.22);
  --pb-border-strong: rgba(182, 109, 255, 0.35);

  --pb-text: #F6EEFF;
  --pb-text-dim: rgba(246, 238, 255, 0.72);
  --pb-link: #A7C7FF;

  --pb-blur: 12px;
  --pb-saturate: 150%;
}

/* ---------------------------------------------------------
   Global Glass Surfaces (FIX: nicht weiß, sondern Purple-Glass)
   --------------------------------------------------------- */
body[data-theme="purple-bubbles"] .header-content,
body[data-theme="purple-bubbles"] .search-filters-container,
body[data-theme="purple-bubbles"] .tab-navigation,
body[data-theme="purple-bubbles"] .tab-container,
body[data-theme="purple-bubbles"] .app-main,
body[data-theme="purple-bubbles"] .app-footer,
body[data-theme="purple-bubbles"] .compact-bookmark-item,
body[data-theme="purple-bubbles"] .bookmark-form-container,
body[data-theme="purple-bubbles"] .dynamic-panel,
body[data-theme="purple-bubbles"] .panel-header,
body[data-theme="purple-bubbles"] .panel-content,
body[data-theme="purple-bubbles"] .export-stats,
body[data-theme="purple-bubbles"] .export-preview,
body[data-theme="purple-bubbles"] .panel-actions {
  background: var(--pb-surface) !important;
  -webkit-backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur));
  backdrop-filter: saturate(var(--pb-saturate)) blur(var(--pb-blur));
  border-radius: var(--glass-radius);
  border: 1px solid var(--pb-border-soft);
}

/* Links */
body[data-theme="purple-bubbles"] .bookmark-url,
body[data-theme="purple-bubbles"] .app a {
  color: var(--pb-link);
}

/* ---------------------------------------------------------
   REMOVE old yellow/orange accents (critical)
   --------------------------------------------------------- */
/* FAB */
body[data-theme="purple-bubbles"] .fab-add-button {
  background: rgba(182, 109, 255, 0.85) !important;
  color: #0B0614 !important;
  box-shadow: 0 0 18px rgba(182, 109, 255, 0.35) !important;
}
body[data-theme="purple-bubbles"] .fab-add-button:hover {
  background: rgba(200, 160, 255, 0.92) !important;
  box-shadow: 0 0 24px rgba(182, 109, 255, 0.55) !important;
  transform: translateY(-50%) scale(1.08);
}

/* Primary Buttons */
body[data-theme="purple-bubbles"] .btn-primary,
body[data-theme="purple-bubbles"] .btn.btn-primary,
body[data-theme="purple-bubbles"] button.btn.btn-primary {
  background: rgba(182, 109, 255, 0.75) !important;
  border-color: rgba(182, 109, 255, 0.35) !important;
  color: #0B0614 !important;
}
body[data-theme="purple-bubbles"] .btn-primary:hover,
body[data-theme="purple-bubbles"] .btn.btn-primary:hover,
body[data-theme="purple-bubbles"] button.btn.btn-primary:hover {
  background: rgba(200, 160, 255, 0.9) !important;
  border-color: rgba(182, 109, 255, 0.45) !important;
  color: #0B0614 !important;
}

/* Secondary hover ring (purple, not yellow) */
body[data-theme="purple-bubbles"] .btn-secondary:hover,
body[data-theme="purple-bubbles"] .filter-chip:hover,
body[data-theme="purple-bubbles"] .icon-button:hover {
  box-shadow: 0 0 0 3px rgba(182, 109, 255, 0.18) !important;
}

/* Pagination (purple) */
body[data-theme="purple-bubbles"] .pagination-number,
body[data-theme="purple-bubbles"] .pagination-btn {
  color: var(--pb-text) !important;
  border-color: var(--pb-border-soft) !important;
  background: rgba(40, 20, 60, 0.35) !important;
}
body[data-theme="purple-bubbles"] .pagination-number.active,
body[data-theme="purple-bubbles"] .pagination-number.active:hover,
body[data-theme="purple-bubbles"] .pagination-number.active:focus {
  background: rgba(182, 109, 255, 0.65) !important;
  border-color: rgba(182, 109, 255, 0.45) !important;
  color: #0B0614 !important;
  box-shadow: 0 0 0 3px rgba(182, 109, 255, 0.18) !important;
}
body[data-theme="purple-bubbles"] .pagination-btn[disabled] { opacity: 0.7; }

/* Checkbox (purple) */
body[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"],
body[data-theme="purple-bubbles"] input[aria-label="selectBookmark"][type="checkbox"] {
  border-color: rgba(182, 109, 255, 0.55) !important;
}
body[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]::before,
body[data-theme="purple-bubbles"] input[aria-label="selectBookmark"][type="checkbox"]::before {
  background: rgba(182, 109, 255, 0.85) !important;
}
body[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px rgba(182, 109, 255, 0.18) !important;
}
body[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(182, 109, 255, 0.35) !important;
  outline-offset: 2px;
}

/* Tab icon color (purple, not yellow) */
body[data-theme="purple-bubbles"] .tab-navigation .tab-icon,
body[data-theme="purple-bubbles"] .tab-navigation .tab-icon i,
body[data-theme="purple-bubbles"] .tab-navigation .tab-button.active .tab-icon,
body[data-theme="purple-bubbles"] .tab-navigation .tab-button.active .tab-icon i,
body[data-theme="purple-bubbles"] .tab-navigation .tab-button:hover .tab-icon,
body[data-theme="purple-bubbles"] .tab-navigation .tab-button:hover .tab-icon i {
  color: #C89BFF !important;
}

/* ---------------------------------------------------------
   Hamburger menu (CRITICAL FIX)
   - Remove white background & restore glass
   --------------------------------------------------------- */
body[data-theme="purple-bubbles"] .hamburger-menu {
  background: rgba(28, 14, 46, 0.82) !important;
  -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
  backdrop-filter: blur(14px) saturate(150%) !important;
  border: none !important;
  box-shadow:
          0 0 30px rgba(182, 109, 255, 0.25),
          inset 0 0 0 1px rgba(182, 109, 255, 0.18),
          4px 0 40px rgba(28, 14, 46, 0.70) !important;
}

body[data-theme="purple-bubbles"] .hamburger-menu .menu-header {
  background: transparent !important; /* IMPORTANT: no background image here */
  color: var(--pb-text) !important;
  border-bottom: 1px solid rgba(182, 109, 255, 0.18) !important;
}

/* ---------------------------------------------------------
   Global Buttons/Items: remove old yellow styling
   (keep minimal to avoid side effects)
   --------------------------------------------------------- */
body[data-theme="purple-bubbles"] button,
body[data-theme="purple-bubbles"] .btn,
body[data-theme="purple-bubbles"] .btn-secondary,
body[data-theme="purple-bubbles"] .menu-item,
body[data-theme="purple-bubbles"] .submenu-item,
body[data-theme="purple-bubbles"] .action-button {
  color: var(--pb-text) !important;
  border-color: var(--pb-border-soft) !important;
}

body[data-theme="purple-bubbles"] button:hover,
body[data-theme="purple-bubbles"] .btn:hover,
body[data-theme="purple-bubbles"] .menu-item:hover,
body[data-theme="purple-bubbles"] .submenu-item:hover {
  box-shadow: 0 0 0 3px rgba(182, 109, 255, 0.12) !important;
}

body[data-theme="purple-bubbles"] button:focus-visible,
body[data-theme="purple-bubbles"] .btn:focus-visible {
  outline: 3px solid rgba(182, 109, 255, 0.35) !important;
  outline-offset: 2px;
}

/* Danger button with purple tone */
body[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button {
  background: #9054cc !important;
  border-color: #9054cc !important;
  color: #ffffff !important;
}
body[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button:hover,
body[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button:focus,
body[data-theme="purple-bubbles"] .btn.btn-danger.delete-bookmark-button:active {
  background: #7a3fb8 !important;
  border-color: #7a3fb8 !important;
  color: #ffffff !important;
}

/* =========================================================
   5) POWER (Neon Matrix Glass)
   ========================================================= */

[data-theme="power"] body {
  background-color: #0b0f0d;
  background-image: url(/assets/PowerBackground1-B9IQeTai.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Theme vars (einmalig) */
[data-theme="power"] {
  --power-accent: #48E877;
  --power-glow: rgba(72, 232, 119, 0.35);
  --power-glow-soft: rgba(72, 232, 119, 0.18);

  --power-surface: rgba(6, 10, 8, 0.55);
  --power-surface-soft: rgba(6, 10, 8, 0.42);
  --power-surface-strong: rgba(6, 10, 8, 0.72);

  --power-border-soft: rgba(72, 232, 119, 0.18);

  --power-text: #CFFFD9;
  --power-text-dim: rgba(207, 255, 217, 0.72);

  --power-blur: 10px;
  --power-saturate: 160%;
}

/* Header / Navbar (Glass) */
[data-theme="power"] .mobile-header,
[data-theme="power"] .header-content,
[data-theme="power"] .tab-navigation {
  background: var(--power-surface-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 18px rgba(72, 232, 119, 0.10) !important;
}

/* Brand */
[data-theme="power"] .brand-title {
  color: var(--power-text) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.18);
}
[data-theme="power"] .brand-subtitle { color: var(--power-text-dim) !important; }

/* Hamburger icon */
[data-theme="power"] .hamburger-button span {
  background: var(--power-accent) !important;
  box-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

/* Search */
[data-theme="power"] .search-filters-container {
  background: var(--power-surface-soft) !important;
  border: 1px solid var(--power-border-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
}
[data-theme="power"] .search-filters-container input,
[data-theme="power"] .search-filters-container textarea,
[data-theme="power"] .search-filters-container .search-input {
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--power-text) !important;
  border: 1px solid var(--power-border-soft) !important;
}
[data-theme="power"] .search-filters-container input::placeholder,
[data-theme="power"] .search-filters-container .search-input::placeholder {
  color: rgba(207, 255, 217, 0.55) !important;
}

/* Main panels */
[data-theme="power"] .tab-container,
[data-theme="power"] .app-main,
[data-theme="power"] .dynamic-panel,
[data-theme="power"] .panel-header,
[data-theme="power"] .panel-content,
[data-theme="power"] .compact-bookmark-item,
[data-theme="power"] .bookmark-form-container,
[data-theme="power"] .export-stats,
[data-theme="power"] .export-preview,
[data-theme="power"] .panel-actions {
  background: var(--power-surface) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 22px rgba(0,0,0,0.35) !important;
  border-radius: var(--glass-radius);
}
[data-theme="power"] .tab-container { border-top: none !important; }
[data-theme="power"] .app-main,
[data-theme="power"] .tab-container,
[data-theme="power"] .dynamic-panel,
[data-theme="power"] .panel-content { color: var(--power-text) !important; }

/* Links */
[data-theme="power"] .bookmark-url,
[data-theme="power"] .app a { color: var(--power-accent) !important; }

/* Buttons (Neon) */
[data-theme="power"] .btn-primary,
[data-theme="power"] button.btn.btn-primary,
[data-theme="power"] .btn.btn-primary {
  background: rgba(8, 12, 10, 0.55) !important;
  border-color: var(--power-accent) !important;
  color: var(--power-accent) !important;
  box-shadow: 0 0 0 1px rgba(72, 232, 119, 0.18), 0 8px 24px rgba(0,0,0,0.25) !important;
}
[data-theme="power"] .btn-primary:hover,
[data-theme="power"] button.btn.btn-primary:hover,
[data-theme="power"] .btn.btn-primary:hover {
  background: rgba(8, 12, 10, 0.72) !important;
  color: #CFFFD9 !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 18px var(--power-glow) !important;
}

[data-theme="power"] button,
[data-theme="power"] .btn,
[data-theme="power"] .btn-secondary,
[data-theme="power"] .menu-item,
[data-theme="power"] .submenu-item,
[data-theme="power"] .action-button {
  color: var(--power-accent) !important;
  border-color: var(--power-accent) !important;
  background: rgba(8, 12, 10, 0.25);
}
[data-theme="power"] button:hover,
[data-theme="power"] .btn:hover,
[data-theme="power"] .menu-item:hover,
[data-theme="power"] .submenu-item:hover {
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 14px var(--power-glow) !important;
}
[data-theme="power"] button:focus-visible,
[data-theme="power"] .btn:focus-visible {
  outline: 3px solid rgba(72, 232, 119, 0.45) !important;
  outline-offset: 2px;
}

/* FAB */
[data-theme="power"] .fab-add-button {
  background: rgba(8, 12, 10, 0.55) !important;
  border: 1px solid var(--power-accent) !important;
  color: var(--power-accent) !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 22px var(--power-glow) !important;
}
[data-theme="power"] .fab-add-button:hover {
  background: rgba(8, 12, 10, 0.72) !important;
  box-shadow: 0 0 0 4px var(--power-glow-soft), 0 0 30px var(--power-glow) !important;
}

/* Pagination */
[data-theme="power"] .pagination-number,
[data-theme="power"] .pagination-btn {
  color: var(--power-accent) !important;
  border-color: var(--power-accent) !important;
}
[data-theme="power"] .pagination-number.active,
[data-theme="power"] .pagination-number.active:hover,
[data-theme="power"] .pagination-number.active:focus {
  background: rgba(8, 12, 10, 0.55) !important;
  border-color: var(--power-accent) !important;
  color: #CFFFD9 !important;
  box-shadow: 0 0 0 3px var(--power-glow-soft), 0 0 18px var(--power-glow) !important;
}

/* Checkbox accents */
[data-theme="power"] .bookmark-select input[type="checkbox"],
[data-theme="power"] input[aria-label="selectBookmark"][type="checkbox"] {
  border-color: var(--power-accent) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]::before,
[data-theme="power"] input[aria-label="selectBookmark"][type="checkbox"]::before {
  background: var(--power-accent) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px var(--power-glow-soft) !important;
}
[data-theme="power"] .bookmark-select input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(72, 232, 119, 0.45) !important;
  outline-offset: 2px;
}

/* Tab icon color */
[data-theme="power"] .tab-navigation .tab-icon,
[data-theme="power"] .tab-navigation .tab-icon i,
[data-theme="power"] .tab-navigation .tab-button.active .tab-icon,
[data-theme="power"] .tab-navigation .tab-button.active .tab-icon i,
[data-theme="power"] .tab-navigation .tab-button:hover .tab-icon,
[data-theme="power"] .tab-navigation .tab-button:hover .tab-icon i {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
}

/* Footer */
[data-theme="power"] .app-footer {
  background: var(--power-surface-strong) !important;
  border-top: 1px solid var(--power-border-soft) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  box-shadow: 0 -10px 30px rgba(0,0,0,0.35) !important;
}
[data-theme="power"] .app-footer p,
[data-theme="power"] .app-footer .footer-info,
[data-theme="power"] .pagination-info {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
  font-weight: 500;
}

/* Form labels */
[data-theme="power"] .form-group label,
[data-theme="power"] .panel-content label,
[data-theme="power"] .category-section label {
  color: var(--power-accent) !important;
  text-shadow: 0 0 10px rgba(72, 232, 119, 0.25);
  font-weight: 500;
}

/* Form helper text */
[data-theme="power"] .rating-helper-text,
[data-theme="power"] .form-group span {
  color: var(--power-text-dim) !important;
}

/* Form input fields */
[data-theme="power"] .form-group input,
[data-theme="power"] .form-group textarea,
[data-theme="power"] .form-group select,
[data-theme="power"] .category-select,
[data-theme="power"] .new-category-input {
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--power-text) !important;
  border: 1px solid var(--power-border-soft) !important;
}

[data-theme="power"] .form-group input::placeholder,
[data-theme="power"] .form-group textarea::placeholder,
[data-theme="power"] .new-category-input::placeholder {
  color: rgba(207, 255, 217, 0.55) !important;
}

[data-theme="power"] .form-group input:focus,
[data-theme="power"] .form-group textarea:focus,
[data-theme="power"] .form-group select:focus,
[data-theme="power"] .category-select:focus,
[data-theme="power"] .new-category-input:focus {
  border-color: var(--power-accent) !important;
  box-shadow: 0 0 0 2px var(--power-glow-soft) !important;
}

/* Hamburger menu look */
[data-theme="power"] .hamburger-menu {
  background: var(--power-surface) !important;
  -webkit-backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  backdrop-filter: saturate(var(--power-saturate)) blur(var(--power-blur));
  border: 1px solid var(--power-border-soft) !important;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.45), 0 0 18px rgba(72, 232, 119, 0.12) !important;
  color: var(--power-text) !important;
}
[data-theme="power"] .hamburger-menu .menu-header {
  background: var(--power-surface-soft) !important;
  border-bottom: 1px solid var(--power-border-soft) !important;
  color: var(--power-text) !important;
}
[data-theme="power"] .hamburger-menu .menu-item,
[data-theme="power"] .hamburger-menu .submenu-item {
  background: transparent !important;
  color: var(--power-accent) !important;
}
[data-theme="power"] .hamburger-menu .menu-item:hover,
[data-theme="power"] .hamburger-menu .submenu-item:hover {
  background: rgba(72, 232, 119, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(72, 232, 119, 0.25);
}

/* Bookmark category pill */
[data-theme="power"] .bookmark-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 10, 8, 0.45) !important;
  border: 1px solid var(--power-accent) !important;
  color: var(--power-accent) !important;
  font-size: 0.75rem;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(72, 232, 119, 0.25);
}

/* Language combobox */
[data-theme="power"] .language-combobox {
  width: 100%;
  padding: 10px 14px;
  background: rgba(6, 10, 8, 0.55) !important;
  border: 1px solid var(--power-accent) !important;
  border-radius: 12px;
  color: var(--power-accent) !important;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  text-shadow: 0 0 8px rgba(72, 232, 119, 0.25);
  box-shadow: 0 0 0 1px rgba(72, 232, 119, 0.15), 0 0 18px rgba(72, 232, 119, 0.18);

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
          linear-gradient(45deg, transparent 50%, var(--power-accent) 50%),
          linear-gradient(135deg, var(--power-accent) 50%, transparent 50%);
  background-position:
          calc(100% - 18px) 50%,
          calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
[data-theme="power"] .language-combobox:hover {
  box-shadow: 0 0 0 2px rgba(72, 232, 119, 0.35), 0 0 26px rgba(72, 232, 119, 0.45);
}
[data-theme="power"] .language-combobox:focus-visible {
  box-shadow: 0 0 0 3px rgba(72, 232, 119, 0.55), 0 0 32px rgba(72, 232, 119, 0.55);
}
[data-theme="power"] .language-combobox option {
  background: #050807;
  color: #CFFFD9;
}


/* =========================================================
   6) GLOBAL LAYERING FIX (MUSS ANS ENDE!)
   - wichtig wegen DOM: hamburger-menu liegt im header
   ========================================================= */

/* Header muss als Stack-Context ÜBER der Tab-Navigation liegen */
.mobile-header {
  position: relative !important;
  z-index: 1000 !important;
}

/* Tab-Navigation darunter (aber über Content) */
.tab-navigation,
.header-content {
  position: relative !important;
  z-index: 900 !important;
}

/* Content darunter */
.tab-container,
.app-main {
  position: relative !important;
  z-index: 10 !important;
}

.app-footer {
  position: relative !important;
  z-index: 20 !important;
}

/* Overlay + Drawer immer über allem */
.menu-overlay,
.hamburger-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
}

.hamburger-menu {
  position: fixed !important;
  z-index: 2147483647 !important;
  top: 0 !important;
  left: 0 !important;
  visibility: hidden !important;
  transform: translateX(-100%) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s !important;
}
.hamburger-menu.open {
  visibility: visible !important;
  transform: translateX(0) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s !important;
}


/* =========================================================
   POWER – Hamburger readability fix (PUT AT VERY END)
   ========================================================= */

[data-theme="power"] .hamburger-overlay,
[data-theme="power"] .menu-overlay {
  background: rgba(0, 0, 0, 0.68) !important;   /* dim the matrix behind */
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
}

/* Drawer itself: less transparency (more opaque) */
[data-theme="power"] .hamburger-menu {
  background: rgba(6, 10, 8, 0.90) !important;  /* was ~0.55 -> now readable */
  -webkit-backdrop-filter: saturate(160%) blur(10px) !important;
  backdrop-filter: saturate(160%) blur(10px) !important;

  border: 1px solid rgba(72, 232, 119, 0.25) !important;
  box-shadow:
          0 0 0 1px rgba(72, 232, 119, 0.10),
          0 20px 60px rgba(0,0,0,0.65) !important;

  color: #E9FFEF !important;
}

/* Header area inside drawer */
[data-theme="power"] .hamburger-menu .menu-header {
  background: rgba(6, 10, 8, 0.92) !important;
  border-bottom: 1px solid rgba(72, 232, 119, 0.18) !important;
  color: #E9FFEF !important;
}

/* Menu items: give them a darker chip so text stays readable */
[data-theme="power"] .hamburger-menu .menu-item,
[data-theme="power"] .hamburger-menu .submenu-item,
[data-theme="power"] .hamburger-menu button,
[data-theme="power"] .hamburger-menu a {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(72, 232, 119, 0.18) !important;
  color: #E9FFEF !important;                 /* readable text */
  text-shadow: none !important;
}

/* Icons + accents */
[data-theme="power"] .hamburger-menu .menu-item i,
[data-theme="power"] .hamburger-menu .menu-item svg,
[data-theme="power"] .hamburger-menu .submenu-item i,
[data-theme="power"] .hamburger-menu .submenu-item svg {
  color: var(--power-accent) !important;
  filter: drop-shadow(0 0 6px rgba(72, 232, 119, 0.25));
}

/* Hover */
[data-theme="power"] .hamburger-menu .menu-item:hover,
[data-theme="power"] .hamburger-menu .submenu-item:hover {
  background: rgba(72, 232, 119, 0.10) !important;
  border-color: rgba(72, 232, 119, 0.35) !important;
}

/* Active */
[data-theme="power"] .hamburger-menu .menu-item.active,
[data-theme="power"] .hamburger-menu .submenu-item.active {
  background: rgba(72, 232, 119, 0.16) !important;
  border-color: rgba(72, 232, 119, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(72, 232, 119, 0.12) !important;
}

/* =========================================================
   GLOBAL – HAMBURGER MUST WIN (kills stacking-context traps)
   ========================================================= */


/* Try to catch common close button class names */
[data-theme="power"] .hamburger-menu .close-button,
[data-theme="power"] .hamburger-menu .menu-close,
[data-theme="power"] .hamburger-menu .hamburger-close,
[data-theme="power"] .hamburger-menu .drawer-close,
[data-theme="power"] .hamburger-menu button[aria-label="Close"],
[data-theme="power"] .hamburger-menu button[aria-label="Schließen"],
[data-theme="power"] .hamburger-menu button[title="Close"],
[data-theme="power"] .hamburger-menu button[title="Schließen"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  position: absolute !important;
  top: 10px !important;
  right: 10px !important;

  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;

  z-index: 2147483647 !important;

  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(72, 232, 119, 0.35) !important;
  color: var(--power-accent) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure the X icon itself is visible (SVG or icon font) */
[data-theme="power"] .hamburger-menu .close-button svg,
[data-theme="power"] .hamburger-menu .menu-close svg,
[data-theme="power"] .hamburger-menu .hamburger-close svg,
[data-theme="power"] .hamburger-menu .drawer-close svg,
[data-theme="power"] .hamburger-menu button[aria-label="Close"] svg,
[data-theme="power"] .hamburger-menu button[aria-label="Schließen"] svg {
  width: 20px !important;
  height: 20px !important;
  stroke: var(--power-accent) !important;
  fill: none !important;
  opacity: 1 !important;
}

/* Some icon libs use <path fill=""> instead of stroke */
[data-theme="power"] .hamburger-menu .close-button svg path,
[data-theme="power"] .hamburger-menu .menu-close svg path,
[data-theme="power"] .hamburger-menu .hamburger-close svg path,
[data-theme="power"] .hamburger-menu .drawer-close svg path {
  stroke: var(--power-accent) !important;
  fill: var(--power-accent) !important;
}

//* Hover feedback */
[data-theme="power"] .hamburger-menu .close-button:hover,
[data-theme="power"] .hamburger-menu .menu-close:hover,
[data-theme="power"] .hamburger-menu .hamburger-close:hover,
[data-theme="power"] .hamburger-menu .drawer-close:hover,
[data-theme="power"] .hamburger-menu button[aria-label="Close"]:hover,
[data-theme="power"] .hamburger-menu button[aria-label="Schließen"]:hover {
  background: rgba(72, 232, 119, 0.12) !important;
  border-color: rgba(72, 232, 119, 0.55) !important;
}
/* =========================================================
   PURPLE BUBBLES – UNIFIED WIDTH (Header = Panel = Navbar)
   ========================================================= */

/* Remove app-main padding/border - Power Panel takes full width */
[data-theme="purple-bubbles"] .app-main {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Power Panel, Dynamic Panel, Quick Shopping List - full width with glass effect */
[data-theme="purple-bubbles"] .power-panel.bookmarks-power-panel,
[data-theme="purple-bubbles"] .dynamic-panel,
[data-theme="purple-bubbles"] .quick-shopping-list-panel {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;

  /* Glassmorphism effect */
  background: rgba(29, 14, 51, 0.75) !important;
  backdrop-filter: blur(12px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(150%) !important;

  /* Border with glow */
  border: 1px solid rgba(182, 109, 255, 0.3) !important;
  border-radius: 16px !important;

  /* Subtle shadow */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 16px rgba(182, 109, 255, 0.1) !important;
}

/* Unified search section inside panels - same style as quick-list-add-section */
[data-theme="purple-bubbles"] .power-panel .unified-search-section,
[data-theme="purple-bubbles"] .dynamic-panel .unified-search-section {
  background: rgba(29, 14, 51, 0.7) !important;
  backdrop-filter: blur(8px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(140%) !important;
  border: 2px solid rgba(182, 109, 255, 0.6) !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  margin: 16px !important;
  margin-bottom: 0 !important;
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.35), 0 0 24px rgba(182, 109, 255, 0.15) !important;
}

[data-theme="purple-bubbles"] .power-panel .unified-search-section:focus-within,
[data-theme="purple-bubbles"] .dynamic-panel .unified-search-section:focus-within {
  border-color: rgba(182, 109, 255, 0.85) !important;
  box-shadow: 0 0 16px rgba(182, 109, 255, 0.5), 0 0 32px rgba(182, 109, 255, 0.25) !important;
}

/* Quick list header - no extra margin inside panels */
[data-theme="purple-bubbles"] .power-panel .quick-list-header,
[data-theme="purple-bubbles"] .dynamic-panel .quick-list-header {
  margin: 0 !important;
  border-radius: 0 !important;
}

/* Desktop: All elements same max-width as header, centered */
@media (min-width: 769px) {
  [data-theme="purple-bubbles"] .app-main,
  [data-theme="purple-bubbles"] .power-panel.bookmarks-power-panel,
  [data-theme="purple-bubbles"] .dynamic-panel,
  [data-theme="purple-bubbles"] .quick-shopping-list-panel,
  [data-theme="purple-bubbles"] .tab-navigation {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }
}

/* =========================================================
   PURPLE BUBBLES – BOTTOM NAVIGATION (Mobile Native App Style)
   ========================================================= */

@media (max-width: 768px) {
  /* Bottom Navigation - Fixed at bottom */
  [data-theme="purple-bubbles"] .tab-navigation {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    z-index: 1000 !important;
    
    background: linear-gradient(180deg, 
      rgba(29, 14, 51, 0.92) 0%, 
      rgba(29, 14, 51, 0.98) 100%
    ) !important;
    backdrop-filter: saturate(150%) blur(16px) !important;
    -webkit-backdrop-filter: saturate(150%) blur(16px) !important;
    
    border-radius: 14px 14px 0 0 !important;
    border-top: 1px solid rgba(182, 109, 255, 0.25) !important;
    border-bottom: none !important;
    
    box-shadow: 
      0 -8px 32px rgba(0, 0, 0, 0.4),
      0 -2px 8px rgba(182, 109, 255, 0.15) !important;
    
    padding-bottom: 8px !important;
    margin: 0 !important;
  }

  [data-theme="purple-bubbles"] .tab-container {
    padding: 4px 12px !important;
    padding-bottom: 12px !important;
    justify-content: space-around !important;
    gap: 4px !important;
  }

  [data-theme="purple-bubbles"] .tab-button {
    flex: 1 !important;
    min-height: 36px !important;
    padding: 4px 8px !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: none !important;
  }

  [data-theme="purple-bubbles"] .tab-button:hover {
    background: rgba(182, 109, 255, 0.12) !important;
  }

  [data-theme="purple-bubbles"] .tab-button.active {
    background: rgba(182, 109, 255, 0.18) !important;
    box-shadow: 0 0 12px rgba(182, 109, 255, 0.25) !important;
  }

  /* Active indicator at top */
  [data-theme="purple-bubbles"] .tab-button.active::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 28px !important;
    height: 3px !important;
    background: #b66dfe !important;
    border-radius: 0 0 3px 3px !important;
    box-shadow: 0 0 8px #b66dfe !important;
  }

  [data-theme="purple-bubbles"] .tab-icon {
    font-size: 1.1rem !important;
    margin-bottom: 2px !important;
  }

  [data-theme="purple-bubbles"] .tab-label {
    font-size: 0.6rem !important;
    font-weight: 500 !important;
  }

  /* FAB Position for Mobile */
  [data-theme="purple-bubbles"] .fab-add-button {
    bottom: calc(105px + env(safe-area-inset-bottom, 16px)) !important;
    right: 16px !important;
    top: auto !important;
    transform: none !important;

    background: rgba(182, 109, 255, 0.85) !important;
    box-shadow: 0 4px 20px rgba(182, 109, 255, 0.4) !important;
  }

  [data-theme="purple-bubbles"] .fab-add-button:hover {
    background: rgba(200, 155, 255, 0.95) !important;
    box-shadow: 0 6px 28px rgba(182, 109, 255, 0.55) !important;
    transform: scale(1.05) !important;
  }

  /* Hide secondary FABs on mobile */
  [data-theme="purple-bubbles"] .fab-edit-button,
  [data-theme="purple-bubbles"] .fab-share-button {
    display: none !important;
  }
}

/* =========================================================
   PURPLE BUBBLES – CARD STYLES (Native App Look)
   ========================================================= */

[data-theme="purple-bubbles"] {
  --card-bg: rgba(29, 14, 51, 0.75);
  --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  --card-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 12px rgba(182, 109, 255, 0.15);
  --card-border: rgba(182, 109, 255, 0.18);
  --card-border-hover: rgba(182, 109, 255, 0.35);
  --text-primary: #F3F4F6;
  --text-secondary: #C4B5FD;
  --accent-color: #b66dfe;
  --category-bg: rgba(182, 109, 255, 0.15);
  --category-color: #b66dfe;
}

[data-theme="purple-bubbles"] .compact-bookmark-item {
  background: rgba(29, 14, 51, 0.75) !important;
  border: 1px solid rgba(182, 109, 255, 0.18) !important;
  border-radius: 16px !important;
  backdrop-filter: saturate(150%) blur(12px) !important;
  -webkit-backdrop-filter: saturate(150%) blur(12px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="purple-bubbles"] .compact-bookmark-item:hover {
  border-color: rgba(182, 109, 255, 0.35) !important;
  box-shadow: 
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(182, 109, 255, 0.15) !important;
}

[data-theme="purple-bubbles"] .bookmark-title {
  color: #F3F4F6 !important;
  font-size: 1rem !important;
}

[data-theme="purple-bubbles"] .bookmark-url {
  color: #b66dfe !important;
}

[data-theme="purple-bubbles"] .bookmark-category {
  background: rgba(182, 109, 255, 0.15) !important;
  color: #b66dfe !important;
}

/* Checkbox styling */
[data-theme="purple-bubbles"] .bookmark-select {
  padding: 12px !important;
}

[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  border: 2px solid rgba(182, 109, 255, 0.4) !important;
  border-radius: 6px !important;
  background: rgba(29, 14, 51, 0.5) !important;
}

[data-theme="purple-bubbles"] .bookmark-select input[type="checkbox"]:checked {
  background: #b66dfe !important;
  border-color: #b66dfe !important;
}

/* =========================================================
   PURPLE BUBBLES – APP BAR (Native Header)
   ========================================================= */

[data-theme="purple-bubbles"] .mobile-header.app-bar {
  background: linear-gradient(180deg, 
    rgba(29, 14, 51, 0.95) 0%, 
    rgba(29, 14, 51, 0.85) 100%
  ) !important;
  backdrop-filter: saturate(150%) blur(12px) !important;
  -webkit-backdrop-filter: saturate(150%) blur(12px) !important;
  border-bottom: 1px solid rgba(182, 109, 255, 0.15) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="purple-bubbles"] .app-bar-title {
  color: #F3F4F6 !important;
  font-weight: 600 !important;
  text-shadow: 0 0 8px rgba(182, 109, 255, 0.3) !important;
}

[data-theme="purple-bubbles"] .header-logo-compact {
  opacity: 0.9;
}

/* Hamburger button styling for right side */
[data-theme="purple-bubbles"] .header-right .hamburger-button {
  background: rgba(182, 109, 255, 0.12) !important;
  border: 1px solid rgba(182, 109, 255, 0.25) !important;
  border-radius: 10px !important;
  padding: 8px !important;
}

[data-theme="purple-bubbles"] .header-right .hamburger-button:hover {
  background: rgba(182, 109, 255, 0.22) !important;
  border-color: rgba(182, 109, 255, 0.4) !important;
}

[data-theme="purple-bubbles"] .header-right .hamburger-button span {
  background: #C89BFF !important;
}

/* =========================================================
   PURPLE BUBBLES – MOBILE SEARCH IN HEADLINE
   ========================================================= */

@media (max-width: 768px) {
  [data-theme="purple-bubbles"] .power-headline {
    padding: 0 !important;
    margin-bottom: 16px !important;
    border-bottom: none !important;
  }

  [data-theme="purple-bubbles"] .mobile-search-container {
    width: 100%;
  }

  [data-theme="purple-bubbles"] .mobile-search-container .search-input-wrapper {
    background: rgba(29, 14, 51, 0.7) !important;
    border: 2px solid rgba(182, 109, 255, 0.6) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 0 12px rgba(182, 109, 255, 0.35), 0 0 24px rgba(182, 109, 255, 0.15) !important;
  }

  [data-theme="purple-bubbles"] .mobile-search-container .search-input-wrapper:focus-within {
    border-color: rgba(182, 109, 255, 0.85) !important;
    box-shadow: 0 0 16px rgba(182, 109, 255, 0.5), 0 0 32px rgba(182, 109, 255, 0.25) !important;
  }

  [data-theme="purple-bubbles"] .mobile-search-container .search-input {
    background: transparent !important;
    border: none !important;
    color: #F3F4F6 !important;
    font-size: 16px !important;
    height: 48px !important;
    padding: 0 16px 0 44px !important;
  }

  [data-theme="purple-bubbles"] .mobile-search-container .search-input::placeholder {
    color: rgba(196, 181, 253, 0.6) !important;
  }

  [data-theme="purple-bubbles"] .mobile-search-container .search-icon {
    left: 14px !important;
    color: #b66dfe !important;
  }

  [data-theme="purple-bubbles"] .mobile-search-container .clear-search {
    right: 12px !important;
    color: #b66dfe !important;
    background: rgba(182, 109, 255, 0.15) !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
  }
}

/* =========================================================
   SHARE MODAL & SHARE MENU - THEME STYLES
   ========================================================= */

/* ─────── PURPLE BUBBLES ─────── */
[data-theme="purple-bubbles"] .share-modal,
[data-theme="purple-bubbles"] .share-menu {
  background: rgba(29, 14, 51, 0.95) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1px solid rgba(182, 109, 255, 0.25) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(182, 109, 255, 0.2) !important;
}

[data-theme="purple-bubbles"] .share-modal-header {
  border-bottom-color: rgba(182, 109, 255, 0.2) !important;
}

[data-theme="purple-bubbles"] .share-modal-header h2,
[data-theme="purple-bubbles"] .share-modal-header .close-button {
  color: #F3F4F6 !important;
}

[data-theme="purple-bubbles"] .share-modal-tabs {
  border-bottom-color: rgba(182, 109, 255, 0.2) !important;
}

[data-theme="purple-bubbles"] .tab-button {
  color: rgba(243, 244, 246, 0.7) !important;
  border-bottom-color: transparent !important;
}

[data-theme="purple-bubbles"] .tab-button:hover {
  background: rgba(182, 109, 255, 0.15) !important;
}

[data-theme="purple-bubbles"] .tab-button.active {
  color: #C89BFF !important;
  border-bottom-color: #C89BFF !important;
}

[data-theme="purple-bubbles"] .share-modal-content,
[data-theme="purple-bubbles"] .share-description,
[data-theme="purple-bubbles"] .share-info,
[data-theme="purple-bubbles"] .info-message,
[data-theme="purple-bubbles"] .empty-message {
  color: rgba(243, 244, 246, 0.8) !important;
}

[data-theme="purple-bubbles"] .share-link-input {
  background: rgba(40, 20, 60, 0.6) !important;
  border-color: rgba(182, 109, 255, 0.25) !important;
  color: #F3F4F6 !important;
}

[data-theme="purple-bubbles"] .share-item,
[data-theme="purple-bubbles"] .collaborator-item {
  background: rgba(40, 20, 60, 0.5) !important;
  border: 1px solid rgba(182, 109, 255, 0.15) !important;
}

[data-theme="purple-bubbles"] .share-token,
[data-theme="purple-bubbles"] .collaborator-name {
  color: #F3F4F6 !important;
}

[data-theme="purple-bubbles"] .share-uses,
[data-theme="purple-bubbles"] .collaborator-email {
  color: rgba(200, 155, 255, 0.7) !important;
}

[data-theme="purple-bubbles"] .create-share-button,
[data-theme="purple-bubbles"] .copy-button {
  background: linear-gradient(135deg, #8B5CF6, #A78BFA) !important;
  border: none !important;
}

[data-theme="purple-bubbles"] .create-share-button:hover,
[data-theme="purple-bubbles"] .copy-button:hover {
  background: linear-gradient(135deg, #7C3AED, #8B5CF6) !important;
}

[data-theme="purple-bubbles"] .native-share-button {
  background: rgba(40, 20, 60, 0.5) !important;
  border-color: rgba(182, 109, 255, 0.25) !important;
  color: #F3F4F6 !important;
}

[data-theme="purple-bubbles"] .share-option {
  color: #F3F4F6 !important;
}

[data-theme="purple-bubbles"] .share-option:hover {
  background: rgba(182, 109, 255, 0.2) !important;
}

[data-theme="purple-bubbles"] .active-shares-section {
  border-top-color: rgba(182, 109, 255, 0.2) !important;
}

[data-theme="purple-bubbles"] .active-shares-section h3 {
  color: rgba(200, 155, 255, 0.85) !important;
}

/* =========================================================
   UNIFIED SEARCH SECTION - Consistent across all views
   (Lesezeichen, Rezepte, Einkaufszettel)
   ========================================================= */

/* Base unified search section style */
[data-theme="purple-bubbles"] .unified-search-section {
  background: rgba(29, 14, 51, 0.7);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 2px solid rgba(182, 109, 255, 0.6);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 16px;
  margin-bottom: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.35), 0 0 24px rgba(182, 109, 255, 0.15);
  flex-shrink: 0;
}

/* Element ordering: Input first, then clear button, then search icon on right */
[data-theme="purple-bubbles"] .unified-search-section .unified-search-input {
  order: 1 !important;
  flex: 1;
}

[data-theme="purple-bubbles"] .unified-search-section .clear-search {
  order: 2 !important;
}

[data-theme="purple-bubbles"] .unified-search-section .search-icon {
  order: 3 !important;
  flex-shrink: 0;
}

[data-theme="purple-bubbles"] .unified-search-section:focus-within {
  border-color: rgba(182, 109, 255, 0.85);
  box-shadow: 0 0 16px rgba(182, 109, 255, 0.5), 0 0 32px rgba(182, 109, 255, 0.25);
}

[data-theme="purple-bubbles"] .unified-search-section .search-icon {
  position: static !important;
  left: auto !important;
  color: rgba(196, 181, 253, 0.6);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Input style - identical to quick-list-input */
[data-theme="purple-bubbles"] .unified-search-section .unified-search-input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  color: #F3F4F6 !important;
  font-size: 16px !important;
  padding: 12px 0 !important;
  outline: none !important;
  min-width: 0 !important;
  box-shadow: none !important;
}

[data-theme="purple-bubbles"] .unified-search-section .unified-search-input::placeholder {
  color: rgba(196, 181, 253, 0.5) !important;
}

[data-theme="purple-bubbles"] .unified-search-section .unified-search-input:focus {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  outline: none !important;
}

[data-theme="purple-bubbles"] .unified-search-section .clear-search {
  background: transparent;
  border: none;
  color: rgba(196, 181, 253, 0.6);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
}

[data-theme="purple-bubbles"] .unified-search-section .clear-search:hover {
  background: rgba(167, 139, 250, 0.15);
  color: #C4B5FD;
}

/* Hide old search elements for purple-bubbles - use unified style instead */
[data-theme="purple-bubbles"] .mobile-search-container.mobile-only,
[data-theme="purple-bubbles"] .power-headline,
[data-theme="purple-bubbles"] .search-filters-container.desktop-only,
[data-theme="purple-bubbles"] .recipes-search,
[data-theme="purple-bubbles"] .panel-header {
  display: none !important;
}

/* Show unified-search-section only for purple-bubbles */
.unified-search-section {
  display: none;
}

[data-theme="purple-bubbles"] .unified-search-section {
  display: flex !important;
}

/* Desktop adjustments */
@media (min-width: 768px) {
  [data-theme="purple-bubbles"] .unified-search-section {
    margin: 20px 24px;
    margin-bottom: 0;
    padding: 14px 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SEARCH ADD BUTTON - Like QuickShoppingList Plus Button
   ═══════════════════════════════════════════════════════════════════ */

/* Base styles for search-add-btn (hidden by default) */
.search-add-btn {
  display: none;
}

/* Purple Bubbles: Show and style the search-add-btn */
[data-theme="purple-bubbles"] .search-add-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8B5CF6, #A78BFA);
  color: #1F2937;
  border: none;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  transition: all 0.2s ease;
  order: 10; /* Always last in flex container */
}

[data-theme="purple-bubbles"] .search-add-btn:hover {
  background: linear-gradient(135deg, #A78BFA, #C4B5FD);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.5);
  transform: scale(1.05);
}

[data-theme="purple-bubbles"] .search-add-btn:active {
  transform: scale(0.95);
}

/* Hide search-icon when plus button is shown */
[data-theme="purple-bubbles"] .search-with-add .search-icon {
  display: none !important;
}

/* BookmarkList specific styles for purple-bubbles */
[data-theme="purple-bubbles"] .search-box.search-with-add {
  display: flex !important;
  align-items: center;
  gap: 10px;
  background: rgba(29, 14, 51, 0.7);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 2px solid rgba(182, 109, 255, 0.6);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.35), 0 0 24px rgba(182, 109, 255, 0.15);
}

[data-theme="purple-bubbles"] .search-box.search-with-add:focus-within {
  border-color: rgba(182, 109, 255, 0.85);
  box-shadow: 0 0 16px rgba(182, 109, 255, 0.5), 0 0 32px rgba(182, 109, 255, 0.25);
}

[data-theme="purple-bubbles"] .search-box.search-with-add .search-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  color: #F3F4F6 !important;
  font-size: 16px !important;
  padding: 12px 0 !important;
  outline: none !important;
  min-width: 0 !important;
  box-shadow: none !important;
}

[data-theme="purple-bubbles"] .search-box.search-with-add .search-input::placeholder {
  color: rgba(196, 181, 253, 0.5) !important;
}

[data-theme="purple-bubbles"] .search-box.search-with-add .search-input:focus {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  outline: none !important;
}

/* ─────── POWER (Neon Matrix) ─────── */
[data-theme="power"] .share-modal,
[data-theme="power"] .share-menu {
  background: rgba(6, 10, 8, 0.95) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  border: 1px solid rgba(72, 232, 119, 0.25) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(72, 232, 119, 0.15) !important;
}

[data-theme="power"] .share-modal-header {
  border-bottom-color: rgba(72, 232, 119, 0.2) !important;
}

[data-theme="power"] .share-modal-header h2,
[data-theme="power"] .share-modal-header .close-button {
  color: #CFFFD9 !important;
}

[data-theme="power"] .share-modal-tabs {
  border-bottom-color: rgba(72, 232, 119, 0.2) !important;
}

[data-theme="power"] .tab-button {
  color: rgba(207, 255, 217, 0.7) !important;
  border-bottom-color: transparent !important;
}

[data-theme="power"] .tab-button:hover {
  background: rgba(72, 232, 119, 0.1) !important;
}

[data-theme="power"] .tab-button.active {
  color: #48E877 !important;
  border-bottom-color: #48E877 !important;
}

[data-theme="power"] .share-modal-content,
[data-theme="power"] .share-description,
[data-theme="power"] .share-info,
[data-theme="power"] .info-message,
[data-theme="power"] .empty-message {
  color: rgba(207, 255, 217, 0.8) !important;
}

[data-theme="power"] .share-link-input {
  background: rgba(6, 10, 8, 0.7) !important;
  border-color: rgba(72, 232, 119, 0.25) !important;
  color: #CFFFD9 !important;
}

[data-theme="power"] .share-item,
[data-theme="power"] .collaborator-item {
  background: rgba(6, 10, 8, 0.6) !important;
  border: 1px solid rgba(72, 232, 119, 0.15) !important;
}

[data-theme="power"] .share-token,
[data-theme="power"] .collaborator-name {
  color: #CFFFD9 !important;
}

[data-theme="power"] .share-uses,
[data-theme="power"] .collaborator-email {
  color: rgba(72, 232, 119, 0.7) !important;
}

[data-theme="power"] .create-share-button,
[data-theme="power"] .copy-button {
  background: linear-gradient(135deg, #2D8B4E, #48E877) !important;
  border: none !important;
  color: #050807 !important;
}

[data-theme="power"] .create-share-button:hover,
[data-theme="power"] .copy-button:hover {
  background: linear-gradient(135deg, #48E877, #6EF295) !important;
}

[data-theme="power"] .native-share-button {
  background: rgba(6, 10, 8, 0.6) !important;
  border-color: rgba(72, 232, 119, 0.25) !important;
  color: #CFFFD9 !important;
}

[data-theme="power"] .share-option {
  color: #CFFFD9 !important;
}

[data-theme="power"] .share-option:hover {
  background: rgba(72, 232, 119, 0.15) !important;
}

[data-theme="power"] .active-shares-section {
  border-top-color: rgba(72, 232, 119, 0.2) !important;
}

[data-theme="power"] .active-shares-section h3 {
  color: rgba(72, 232, 119, 0.85) !important;
}

/* ─────── BLUE GALAXY ─────── */
[data-theme="blue-galaxy"] .share-modal,
[data-theme="blue-galaxy"] .share-menu {
  background: rgba(7, 17, 42, 0.95) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1px solid rgba(99, 179, 237, 0.25) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 179, 237, 0.15) !important;
}

[data-theme="blue-galaxy"] .share-modal-header {
  border-bottom-color: rgba(99, 179, 237, 0.2) !important;
}

[data-theme="blue-galaxy"] .share-modal-header h2,
[data-theme="blue-galaxy"] .share-modal-header .close-button {
  color: #EAF2FF !important;
}

[data-theme="blue-galaxy"] .share-modal-tabs {
  border-bottom-color: rgba(99, 179, 237, 0.2) !important;
}

[data-theme="blue-galaxy"] .tab-button {
  color: rgba(234, 242, 255, 0.7) !important;
  border-bottom-color: transparent !important;
}

[data-theme="blue-galaxy"] .tab-button:hover {
  background: rgba(99, 179, 237, 0.15) !important;
}

[data-theme="blue-galaxy"] .tab-button.active {
  color: #63B3ED !important;
  border-bottom-color: #63B3ED !important;
}

[data-theme="blue-galaxy"] .share-modal-content,
[data-theme="blue-galaxy"] .share-description,
[data-theme="blue-galaxy"] .share-info,
[data-theme="blue-galaxy"] .info-message,
[data-theme="blue-galaxy"] .empty-message {
  color: rgba(234, 242, 255, 0.8) !important;
}

[data-theme="blue-galaxy"] .share-link-input {
  background: rgba(10, 18, 40, 0.7) !important;
  border-color: rgba(99, 179, 237, 0.25) !important;
  color: #EAF2FF !important;
}

[data-theme="blue-galaxy"] .share-item,
[data-theme="blue-galaxy"] .collaborator-item {
  background: rgba(10, 18, 40, 0.6) !important;
  border: 1px solid rgba(99, 179, 237, 0.15) !important;
}

[data-theme="blue-galaxy"] .share-token,
[data-theme="blue-galaxy"] .collaborator-name {
  color: #EAF2FF !important;
}

[data-theme="blue-galaxy"] .share-uses,
[data-theme="blue-galaxy"] .collaborator-email {
  color: rgba(99, 179, 237, 0.7) !important;
}

[data-theme="blue-galaxy"] .create-share-button,
[data-theme="blue-galaxy"] .copy-button {
  background: linear-gradient(135deg, #3182CE, #63B3ED) !important;
  border: none !important;
}

[data-theme="blue-galaxy"] .create-share-button:hover,
[data-theme="blue-galaxy"] .copy-button:hover {
  background: linear-gradient(135deg, #2B6CB0, #3182CE) !important;
}

[data-theme="blue-galaxy"] .native-share-button {
  background: rgba(10, 18, 40, 0.6) !important;
  border-color: rgba(99, 179, 237, 0.25) !important;
  color: #EAF2FF !important;
}

[data-theme="blue-galaxy"] .share-option {
  color: #EAF2FF !important;
}

[data-theme="blue-galaxy"] .share-option:hover {
  background: rgba(99, 179, 237, 0.2) !important;
}

[data-theme="blue-galaxy"] .active-shares-section {
  border-top-color: rgba(99, 179, 237, 0.2) !important;
}

[data-theme="blue-galaxy"] .active-shares-section h3 {
  color: rgba(99, 179, 237, 0.85) !important;
}

/* ─────── GOODVIBES ─────── */
[data-theme="goodvibes"] .share-modal,
[data-theme="goodvibes"] .share-menu {
  background: #FEFCF9 !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="goodvibes"] .share-modal-header {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="goodvibes"] .share-modal-header h2 {
  color: #1a1a1a !important;
}

[data-theme="goodvibes"] .share-modal-header .close-button {
  color: #666666 !important;
}

[data-theme="goodvibes"] .share-modal-tabs {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="goodvibes"] .tab-button {
  color: #666666 !important;
  border-bottom-color: transparent !important;
}

[data-theme="goodvibes"] .tab-button:hover {
  background: rgba(97, 150, 235, 0.1) !important;
}

[data-theme="goodvibes"] .tab-button.active {
  color: #6196EB !important;
  border-bottom-color: #6196EB !important;
}

[data-theme="goodvibes"] .share-modal-content,
[data-theme="goodvibes"] .share-description,
[data-theme="goodvibes"] .share-info,
[data-theme="goodvibes"] .info-message,
[data-theme="goodvibes"] .empty-message {
  color: #444444 !important;
}

[data-theme="goodvibes"] .share-link-input {
  background: #F5F3EF !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #1a1a1a !important;
}

[data-theme="goodvibes"] .share-item,
[data-theme="goodvibes"] .collaborator-item {
  background: #F5F3EF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="goodvibes"] .share-token,
[data-theme="goodvibes"] .collaborator-name {
  color: #1a1a1a !important;
}

[data-theme="goodvibes"] .share-uses,
[data-theme="goodvibes"] .collaborator-email {
  color: #888888 !important;
}

[data-theme="goodvibes"] .create-share-button,
[data-theme="goodvibes"] .copy-button {
  background: linear-gradient(135deg, #6196EB, #7BA8F0) !important;
  border: none !important;
}

[data-theme="goodvibes"] .create-share-button:hover,
[data-theme="goodvibes"] .copy-button:hover {
  background: linear-gradient(135deg, #4A7FD8, #6196EB) !important;
}

[data-theme="goodvibes"] .native-share-button {
  background: #F5F3EF !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #1a1a1a !important;
}

[data-theme="goodvibes"] .share-option {
  color: #1a1a1a !important;
}

[data-theme="goodvibes"] .share-option:hover {
  background: rgba(97, 150, 235, 0.12) !important;
}

[data-theme="goodvibes"] .active-shares-section {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="goodvibes"] .active-shares-section h3 {
  color: #666666 !important;
}

/* =========================================================
   BLUE GALAXY – BOTTOM NAVIGATION (Mobile Native App Style)
   ========================================================= */

@media (max-width: 768px) {
  /* Bottom Navigation - Fixed at bottom */
  [data-theme="blue-galaxy"] .tab-navigation {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    z-index: 1000 !important;

    background: linear-gradient(180deg,
      rgba(26, 26, 46, 0.92) 0%,
      rgba(26, 26, 46, 0.98) 100%
    ) !important;
    backdrop-filter: saturate(150%) blur(16px) !important;
    -webkit-backdrop-filter: saturate(150%) blur(16px) !important;

    border-radius: 14px 14px 0 0 !important;
    border-top: 1px solid rgba(74, 127, 216, 0.25) !important;
    border-bottom: none !important;

    box-shadow:
      0 -8px 32px rgba(0, 0, 0, 0.4),
      0 -2px 8px rgba(74, 127, 216, 0.15) !important;

    padding-bottom: 8px !important;
    margin: 0 !important;
  }

  [data-theme="blue-galaxy"] .tab-container {
    padding: 4px 12px !important;
    padding-bottom: 12px !important;
    justify-content: space-around !important;
    gap: 4px !important;
  }

  [data-theme="blue-galaxy"] .tab-button {
    flex: 1 !important;
    min-height: 36px !important;
    padding: 4px 8px !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: none !important;
  }

  [data-theme="blue-galaxy"] .tab-button:hover {
    background: rgba(74, 127, 216, 0.12) !important;
  }

  [data-theme="blue-galaxy"] .tab-button.active {
    background: rgba(74, 127, 216, 0.18) !important;
    box-shadow: 0 0 12px rgba(74, 127, 216, 0.25) !important;
  }

  /* Active indicator at top */
  [data-theme="blue-galaxy"] .tab-button.active::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 28px !important;
    height: 3px !important;
    background: #4A7FD8 !important;
    border-radius: 0 0 3px 3px !important;
    box-shadow: 0 0 8px #4A7FD8 !important;
  }

  [data-theme="blue-galaxy"] .tab-icon {
    font-size: 1.1rem !important;
    margin-bottom: 2px !important;
  }

  [data-theme="blue-galaxy"] .tab-label {
    font-size: 0.6rem !important;
    font-weight: 500 !important;
  }

  /* FAB Position for Mobile */
  [data-theme="blue-galaxy"] .fab-add-button {
    bottom: calc(105px + env(safe-area-inset-bottom, 16px)) !important;
    right: 16px !important;
    top: auto !important;
    transform: none !important;
  }

  /* Hide secondary FABs on mobile */
  [data-theme="blue-galaxy"] .fab-edit-button,
  [data-theme="blue-galaxy"] .fab-share-button {
    display: none !important;
  }
}

/* =========================================================
   GOOD VIBES – BOTTOM NAVIGATION (Mobile Native App Style)
   ========================================================= */

@media (max-width: 768px) {
  /* Bottom Navigation - Fixed at bottom */
  [data-theme="goodvibes"] .tab-navigation {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    z-index: 1000 !important;

    background: linear-gradient(180deg,
      rgba(245, 243, 239, 0.95) 0%,
      rgba(245, 243, 239, 0.98) 100%
    ) !important;
    backdrop-filter: saturate(150%) blur(16px) !important;
    -webkit-backdrop-filter: saturate(150%) blur(16px) !important;

    border-radius: 14px 14px 0 0 !important;
    border-top: 1px solid rgba(97, 150, 235, 0.25) !important;
    border-bottom: none !important;

    box-shadow:
      0 -8px 32px rgba(0, 0, 0, 0.1),
      0 -2px 8px rgba(97, 150, 235, 0.1) !important;

    padding-bottom: 8px !important;
    margin: 0 !important;
  }

  [data-theme="goodvibes"] .tab-container {
    padding: 4px 12px !important;
    padding-bottom: 12px !important;
    justify-content: space-around !important;
    gap: 4px !important;
  }

  [data-theme="goodvibes"] .tab-button {
    flex: 1 !important;
    min-height: 36px !important;
    padding: 4px 8px !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: none !important;
    color: #1a1a1a !important;
  }

  [data-theme="goodvibes"] .tab-button:hover {
    background: rgba(97, 150, 235, 0.12) !important;
  }

  [data-theme="goodvibes"] .tab-button.active {
    background: rgba(97, 150, 235, 0.18) !important;
    box-shadow: 0 0 12px rgba(97, 150, 235, 0.2) !important;
  }

  /* Active indicator at top */
  [data-theme="goodvibes"] .tab-button.active::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 28px !important;
    height: 3px !important;
    background: #6196EB !important;
    border-radius: 0 0 3px 3px !important;
    box-shadow: 0 0 8px rgba(97, 150, 235, 0.5) !important;
  }

  [data-theme="goodvibes"] .tab-icon {
    font-size: 1.1rem !important;
    margin-bottom: 2px !important;
    color: #1a1a1a !important;
  }

  [data-theme="goodvibes"] .tab-label {
    font-size: 0.6rem !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
  }

  /* FAB Position for Mobile */
  [data-theme="goodvibes"] .fab-add-button {
    bottom: calc(105px + env(safe-area-inset-bottom, 16px)) !important;
    right: 16px !important;
    top: auto !important;
    transform: none !important;
  }

  /* Hide secondary FABs on mobile */
  [data-theme="goodvibes"] .fab-edit-button,
  [data-theme="goodvibes"] .fab-share-button {
    display: none !important;
  }
}

/* =========================================================
   POWER – BOTTOM NAVIGATION (Mobile Native App Style)
   ========================================================= */

@media (max-width: 768px) {
  /* Bottom Navigation - Fixed at bottom */
  [data-theme="power"] .tab-navigation {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    z-index: 1000 !important;

    background: linear-gradient(180deg,
      rgba(18, 18, 24, 0.95) 0%,
      rgba(18, 18, 24, 0.98) 100%
    ) !important;
    backdrop-filter: saturate(150%) blur(16px) !important;
    -webkit-backdrop-filter: saturate(150%) blur(16px) !important;

    border-radius: 14px 14px 0 0 !important;
    border-top: 1px solid rgba(99, 102, 241, 0.25) !important;
    border-bottom: none !important;

    box-shadow:
      0 -8px 32px rgba(0, 0, 0, 0.5),
      0 -2px 8px rgba(99, 102, 241, 0.15) !important;

    padding-bottom: 8px !important;
    margin: 0 !important;
  }

  [data-theme="power"] .tab-container {
    padding: 4px 12px !important;
    padding-bottom: 12px !important;
    justify-content: space-around !important;
    gap: 4px !important;
  }

  [data-theme="power"] .tab-button {
    flex: 1 !important;
    min-height: 36px !important;
    padding: 4px 8px !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: none !important;
  }

  [data-theme="power"] .tab-button:hover {
    background: rgba(99, 102, 241, 0.12) !important;
  }

  [data-theme="power"] .tab-button.active {
    background: rgba(99, 102, 241, 0.18) !important;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.25) !important;
  }

  /* Active indicator at top */
  [data-theme="power"] .tab-button.active::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 28px !important;
    height: 3px !important;
    background: #6366f1 !important;
    border-radius: 0 0 3px 3px !important;
    box-shadow: 0 0 8px #6366f1 !important;
  }

  [data-theme="power"] .tab-icon {
    font-size: 1.1rem !important;
    margin-bottom: 2px !important;
  }

  [data-theme="power"] .tab-label {
    font-size: 0.6rem !important;
    font-weight: 500 !important;
  }

  /* FAB Position for Mobile */
  [data-theme="power"] .fab-add-button {
    bottom: calc(105px + env(safe-area-inset-bottom, 16px)) !important;
    right: 16px !important;
    top: auto !important;
    transform: none !important;
  }

  /* Hide secondary FABs on mobile */
  [data-theme="power"] .fab-edit-button,
  [data-theme="power"] .fab-share-button {
    display: none !important;
  }
}
/* Power Green / Matrix Neon Theme for Reminders */

/* Theme Variables */
:root {
  /* Backgrounds */
  --pg-bg0: #05070b;
  --pg-bg1: #07110a;
  --pg-surface0: #0b1210;
  --pg-surface1: #0e1a14;

  /* Borders */
  --pg-border: #1b3d2a;
  --pg-borderSoft: rgba(34, 197, 94, 0.18);

  /* Text */
  --pg-text: #e9fff1;
  --pg-textMuted: #9ad8ad;

  /* Neon Green Accents */
  --pg-g0: #1aff6a;
  --pg-g1: #22c55e;
  --pg-g2: #00ff88;

  /* Status Colors */
  --pg-warn: #f97316;
  --pg-danger: #ef4444;

  /* Shadows & Glows */
  --pg-shadowGlow: 0 0 14px rgba(34,197,94,.35);
  --pg-shadowGlowStrong: 0 0 22px rgba(26,255,106,.45);
  --pg-shadowCard: 0 10px 30px rgba(0,0,0,.55);

  /* Radius */
  --pg-radiusCard: 18px;
  --pg-radiusControl: 14px;
}

/* Page Background with Gradient + Particle Effect */
._page_1sokl_39 {
  padding: 24px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(600px 400px at 80% 80%, rgba(26,255,106,.12), transparent 50%),
    linear-gradient(180deg, var(--pg-bg0), var(--pg-bg1));
  position: relative;
  overflow: hidden;
}

/* Subtle Matrix Particle Overlay */
._page_1sokl_39::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(34,197,94,0.03) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(34,197,94,0.02) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  background-position: 0 0, 40px 40px;
  opacity: 0.08;
  pointer-events: none;
  animation: _matrixDrift_1sokl_1 60s linear infinite;
}

@keyframes _matrixDrift_1sokl_1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50px); }
}

/* Topbar - Hidden but keep structure */
._topbar_1sokl_76 {
  display: none;
}

/* Main Reminders Card/Panel */
._mainCard_1sokl_81 {
  background: linear-gradient(180deg, rgba(8,16,12,.92), rgba(6,10,8,.92));
  border: 1px solid var(--pg-borderSoft);
  border-radius: var(--pg-radiusCard);
  box-shadow: var(--pg-shadowCard), var(--pg-shadowGlow);
  padding: 32px;
  position: relative;
  backdrop-filter: blur(8px);
  margin-top: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Inner Highlight at Top */
._mainCard_1sokl_81::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  border-radius: var(--pg-radiusCard) var(--pg-radiusCard) 0 0;
}

/* Card Header (Power Headline) */
._cardHeader_1sokl_110 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

._cardTitleWrap_1sokl_119 {
  display: flex;
  align-items: center;
  gap: 12px;
}

._cardIcon_1sokl_125 {
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(26,255,106,0.4));
}

._cardTitle_1sokl_119 {
  margin: 0;
  color: var(--pg-g0);
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(26,255,106,0.35);
  letter-spacing: -0.5px;
}

._beta_1sokl_139 {
  background: rgba(34,197,94,0.12);
  color: var(--pg-g1);
  border: 1px solid var(--pg-borderSoft);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px rgba(34,197,94,0.2);
}

/* Premium Pill/Badge */
._premiumBadge_1sokl_153 {
  background: linear-gradient(135deg, var(--pg-g0), var(--pg-g1));
  color: #000;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--pg-shadowGlow), 0 0 20px rgba(26,255,106,0.25);
  border: 1px solid rgba(0,255,136,0.3);
}

/* Error Banner */
._errorBanner_1sokl_167 {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  ._page_1sokl_39 {
    padding: 16px 12px;
  }

  ._mainCard_1sokl_81 {
    padding: 20px;
  }

  ._cardTitle_1sokl_119 {
    font-size: 24px;
  }

  ._cardHeader_1sokl_110 {
    margin-bottom: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

/* Purple-Bubbles: Gleicher Hintergrund wie Lesezeichenverwaltung */
[data-theme="purple-bubbles"] ._page_1sokl_39 {
  background: transparent;
}

[data-theme="purple-bubbles"] ._page_1sokl_39::before {
  display: none;
}

/* Main Card: Gleiches Design wie bookmark-list-container */
[data-theme="purple-bubbles"] ._mainCard_1sokl_81 {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  margin-top: 0;
}

/* Card Header: Gleiches Design wie bookmark-headline */
[data-theme="purple-bubbles"] ._cardHeader_1sokl_110 {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.20);
}

[data-theme="purple-bubbles"] ._cardIcon_1sokl_125 {
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.50));
}

[data-theme="purple-bubbles"] ._cardTitle_1sokl_119 {
  color: #C4B5FD;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
  font-size: 28px;
}

[data-theme="purple-bubbles"] ._beta_1sokl_139 {
  background: rgba(139, 92, 246, 0.18);
  color: #A78BFA;
  border: 1px solid rgba(167, 139, 250, 0.30);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

[data-theme="purple-bubbles"] ._premiumBadge_1sokl_153 {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
  color: white;
  border: 1px solid rgba(196, 181, 253, 0.40);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.35), 0 4px 16px rgba(139, 92, 246, 0.25);
}

[data-theme="purple-bubbles"] ._errorBanner_1sokl_167 {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.30);
  color: #FCA5A5;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (SPACE GLASS)
   Reminders Tab with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════ */

/* Page Background - Blue Cosmic Gradient */
body[data-theme="blue-galaxy"] ._page_1sokl_39 {
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(127, 182, 255, 0.18), transparent 60%),
    radial-gradient(600px 400px at 80% 80%, rgba(120, 170, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #050814, #07112a);
}

/* Blue Particle Overlay */
body[data-theme="blue-galaxy"] ._page_1sokl_39::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(127, 182, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(120, 170, 255, 0.02) 1px, transparent 1px);
}

/* Main Card - Space Glass */
body[data-theme="blue-galaxy"] ._mainCard_1sokl_81 {
  background: linear-gradient(180deg, rgba(10,18,40,0.82), rgba(10,18,40,0.62));
  border: 1px solid rgba(120, 170, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0,0,0,0.55), 0 0 26px rgba(127,182,255,0.18);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

/* Card Icon */
body[data-theme="blue-galaxy"] ._cardIcon_1sokl_125 {
  filter: drop-shadow(0 0 8px rgba(127, 182, 255, 0.45));
}

/* Card Title */
body[data-theme="blue-galaxy"] ._cardTitle_1sokl_119 {
  color: #7FB6FF;
  text-shadow: 0 0 18px rgba(127, 182, 255, 0.35);
}

/* Beta Badge */
body[data-theme="blue-galaxy"] ._beta_1sokl_139 {
  background: rgba(127, 182, 255, 0.15);
  color: #7FB6FF;
  border: 1px solid rgba(120, 170, 255, 0.22);
  box-shadow: 0 0 8px rgba(127, 182, 255, 0.20);
}

/* Premium Badge */
body[data-theme="blue-galaxy"] ._premiumBadge_1sokl_153 {
  background: linear-gradient(135deg, #7FB6FF, #4CA9FF);
  color: #081024;
  border: 1px solid rgba(127, 182, 255, 0.35);
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.35), 0 0 20px rgba(127, 182, 255, 0.25);
}

/* Error Banner */
body[data-theme="blue-galaxy"] ._errorBanner_1sokl_167 {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.30);
  color: #fca5a5;
}

/* Mobile Optimization */
@media (max-width: 480px) {
  body[data-theme="blue-galaxy"] ._mainCard_1sokl_81 {
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */
/* Reminders Filters - Power Green Tech Controls */

._bar_3d83o_3 {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

._group_3d83o_11 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}

._groupGrow_3d83o_18 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 240px;
}

._label_3d83o_26 {
  color: rgba(154,216,173,.75);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tech-Style Select */
._select_3d83o_35 {
  padding: 12px 16px;
  border: 1px solid rgba(34,197,94,0.30);
  background: rgba(14,26,20,.92);
  border-radius: 14px;
  color: #e9fff1;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 rgba(34,197,94,0);
  outline: none;
}

._select_3d83o_35:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 12px rgba(34,197,94,0.25);
}

._select_3d83o_35:focus {
  border-color: #1aff6a;
  box-shadow: 0 0 22px rgba(26,255,106,.45);
}

._select_3d83o_35 option {
  background: #0b1210;
  color: #e9fff1;
}

/* Search Wrapper */
._searchWrap_3d83o_65 {
  position: relative;
  display: flex;
  align-items: center;
}

._searchWrap_3d83o_65 i {
  position: absolute;
  left: 16px;
  color: #22c55e;
  font-size: 14px;
  pointer-events: none;
}

/* Tech-Style Search Input */
._input_3d83o_80 {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid rgba(34,197,94,0.30);
  background: rgba(14,26,20,.92);
  border-radius: 14px;
  color: #e9fff1;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

._input_3d83o_80::placeholder {
  color: rgba(154,216,173,0.65);
}

._input_3d83o_80:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 12px rgba(34,197,94,0.25);
}

._input_3d83o_80:focus {
  border-color: #1aff6a;
  box-shadow: 0 0 22px rgba(26,255,106,.45);
}

/* Responsive */
@media (max-width: 768px) {
  ._bar_3d83o_3 {
    flex-direction: column;
    gap: 12px;
  }

  ._group_3d83o_11,
  ._groupGrow_3d83o_18 {
    width: 100%;
    min-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   Gleiches Design wie BookmarkList.css (.search-input, .sort-box select)
   ═══════════════════════════════════════════════════════════════════ */

body[data-theme="purple-bubbles"] ._label_3d83o_26 {
  color: #C4B5FD;
}

body[data-theme="purple-bubbles"] ._select_3d83o_35 {
  border: 1px solid rgba(196, 181, 253, 0.30);
  background: #1d0e37;
  color: #F3F4F6;
}

body[data-theme="purple-bubbles"] ._select_3d83o_35:hover {
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

body[data-theme="purple-bubbles"] ._select_3d83o_35:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

body[data-theme="purple-bubbles"] ._select_3d83o_35 option {
  background: rgba(30, 27, 75, 0.95);
  color: #F3F4F6;
}

body[data-theme="purple-bubbles"] ._searchWrap_3d83o_65 i {
  color: #A78BFA;
}

body[data-theme="purple-bubbles"] ._input_3d83o_80 {
  border: 1px solid rgba(196, 181, 253, 0.30);
  background: #1d0e37;
  color: #F3F4F6;
}

body[data-theme="purple-bubbles"] ._input_3d83o_80::placeholder {
  color: rgba(196, 181, 253, 0.65);
}

body[data-theme="purple-bubbles"] ._input_3d83o_80:hover {
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

body[data-theme="purple-bubbles"] ._input_3d83o_80:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.40);
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (SPACE GLASS)
   Filters with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════ */

/* Label */
body[data-theme="blue-galaxy"] ._label_3d83o_26 {
  color: rgba(234, 242, 255, 0.75);
}

/* Select Control - Space Glass */
body[data-theme="blue-galaxy"] ._select_3d83o_35 {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: #EAF2FF;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] ._select_3d83o_35:hover {
  border-color: rgba(120, 170, 255, 0.35);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.20);
}

body[data-theme="blue-galaxy"] ._select_3d83o_35:focus {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 22px rgba(127, 182, 255, 0.35);
}

body[data-theme="blue-galaxy"] ._select_3d83o_35 option {
  background: rgba(10, 18, 40, 0.98);
  color: #EAF2FF;
}

/* Search Icon - Blue */
body[data-theme="blue-galaxy"] ._searchWrap_3d83o_65 i {
  color: #7FB6FF;
}

/* Search Input - Space Glass */
body[data-theme="blue-galaxy"] ._input_3d83o_80 {
  background: rgba(18, 28, 56, 0.55);
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: #EAF2FF;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] ._input_3d83o_80::placeholder {
  color: rgba(234, 242, 255, 0.45);
}

body[data-theme="blue-galaxy"] ._input_3d83o_80:hover {
  border-color: rgba(120, 170, 255, 0.35);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.20);
}

body[data-theme="blue-galaxy"] ._input_3d83o_80:focus {
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 22px rgba(127, 182, 255, 0.35);
}

/* ═══════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */
/* Reminder List - Power Green */

._list_lgkyp_3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: 1rem;
}

/* Skeleton Card with Shimmer */
._skeletonCard_lgkyp_17 {
  height: 110px;
  border-radius: 18px;
  background: linear-gradient(
    90deg,
    rgba(34,197,94,0.08) 0%,
    rgba(34,197,94,0.15) 50%,
    rgba(34,197,94,0.08) 100%
  );
  background-size: 200% 100%;
  border: 1px solid rgba(34,197,94,0.20);
  box-shadow: 0 0 8px rgba(34,197,94,.15);
  animation: _shimmer_lgkyp_1 1.5s infinite;
}

@keyframes _shimmer_lgkyp_1 {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Empty State */
._empty_lgkyp_38 {
  text-align: center;
  color: rgba(154,216,173,.65);
  padding: 48px 24px;
  font-size: 15px;
}

/* CTA Button in Empty State */
._cta_lgkyp_46 {
  background: linear-gradient(135deg, #1aff6a, #22c55e);
  border: none;
  border-radius: 14px;
  padding: 12px 20px;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(34,197,94,.35);
  transition: all 0.2s ease;
  margin-top: 16px;
}

._cta_lgkyp_46:hover {
  box-shadow: 0 0 22px rgba(26,255,106,.45);
  transform: translateY(-1px);
}

._cta_lgkyp_46:active {
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   Gleiches Design wie Lesezeichenverwaltung
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="purple-bubbles"] ._skeletonCard_lgkyp_17 {
  background: linear-gradient(
    90deg,
    rgba(139, 92, 246, 0.08) 0%,
    rgba(139, 92, 246, 0.15) 50%,
    rgba(139, 92, 246, 0.08) 100%
  );
  border: 1px solid rgba(196, 181, 253, 0.20);
  border-radius: 16px;
  box-shadow: none;
}

[data-theme="purple-bubbles"] ._empty_lgkyp_38 {
  color: rgba(196, 181, 253, 0.65);
}

[data-theme="purple-bubbles"] ._cta_lgkyp_46 {
  background: rgba(40, 20, 60, 0.45);
  border: 1px solid rgba(182, 109, 255, 0.35);
  border-radius: 14px;
  color: #F6EEFF;
  box-shadow: none;
}

[data-theme="purple-bubbles"] ._cta_lgkyp_46:hover {
  background: rgba(182, 109, 255, 0.22);
  border-color: rgba(182, 109, 255, 0.45);
  box-shadow: 0 0 12px rgba(182, 109, 255, 0.25);
  transform: none;
}

[data-theme="purple-bubbles"] ._cta_lgkyp_46:active {
  background: rgba(182, 109, 255, 0.30);
  transform: none;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (SPACE GLASS)
   Reminder List with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════ */

/* Skeleton Card - Blue Shimmer */
body[data-theme="blue-galaxy"] ._skeletonCard_lgkyp_17 {
  background: linear-gradient(
    90deg,
    rgba(127, 182, 255, 0.08) 0%,
    rgba(127, 182, 255, 0.15) 50%,
    rgba(127, 182, 255, 0.08) 100%
  );
  background-size: 200% 100%;
  border: 1px solid rgba(120, 170, 255, 0.20);
  box-shadow: 0 0 8px rgba(127, 182, 255, 0.15);
  animation: _shimmer_lgkyp_1 1.5s infinite;
}

/* Empty State */
body[data-theme="blue-galaxy"] ._empty_lgkyp_38 {
  color: rgba(234, 242, 255, 0.65);
}

/* CTA Button - Blue Gradient */
body[data-theme="blue-galaxy"] ._cta_lgkyp_46 {
  background: linear-gradient(135deg, #7FB6FF, #4CA9FF);
  color: #081024;
  border: none;
  box-shadow: 0 0 14px rgba(127, 182, 255, 0.35);
}

body[data-theme="blue-galaxy"] ._cta_lgkyp_46:hover {
  box-shadow: 0 0 22px rgba(127, 182, 255, 0.45);
  transform: translateY(-1px);
}

body[data-theme="blue-galaxy"] ._cta_lgkyp_46:active {
  background: linear-gradient(135deg, #4CA9FF, #3B95E0);
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */
/* Reminder Card - Power Green Card Style */

._card_kmz1s_3 {
  background: linear-gradient(180deg, rgba(14,26,20,.92), rgba(10,18,16,.92));
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(34,197,94,.20);
  transition: all 0.3s ease;
  position: relative;
}

._card_kmz1s_3:hover {
  box-shadow: 0 0 16px rgba(34,197,94,.30);
  border-color: rgba(34,197,94,0.35);
}

._inactive_kmz1s_18 {
  opacity: 0.5;
  filter: grayscale(0.3);
}

/* Card Header */
._header_kmz1s_24 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

/* Left Side: Icon + Title + Meta */
._left_kmz1s_32 {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

/* Icon Container with Neon Green */
._icon_kmz1s_40 {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.30);
  box-shadow: 0 0 8px rgba(34,197,94,0.15);
  font-size: 22px;
  flex-shrink: 0;
}

._titleWrap_kmz1s_54 {
  flex: 1;
}

._title_kmz1s_54 {
  margin: 0 0 8px;
  color: #e9fff1;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

/* Meta Pills */
._meta_kmz1s_67 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(154,216,173,.75);
  font-size: 12px;
}

._pill_kmz1s_76 {
  background: rgba(10,18,16,.85);
  border: 1px solid rgba(34,197,94,0.35);
  border-radius: 12px;
  padding: 5px 12px;
  font-size: 12px;
  color: rgba(154,216,173,.85);
  font-weight: 500;
}

._tag_kmz1s_86 {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.35);
  border-radius: 12px;
  padding: 5px 12px;
  font-size: 12px;
  color: #22c55e;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

._tagCount_kmz1s_99 {
  background: rgba(10,18,16,.85);
  border-radius: 10px;
  padding: 2px 8px;
  border: 1px solid rgba(34,197,94,0.25);
  color: rgba(154,216,173,.75);
  font-size: 11px;
}

._dot_kmz1s_108 {
  opacity: 0.4;
  padding: 0 2px;
}

/* Right Side: Next Time + Status + Menu */
._right_kmz1s_114 {
  display: flex;
  align-items: center;
  gap: 16px;
}

._nextWrap_kmz1s_120 {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

._nextLabel_kmz1s_128 {
  display: block;
  color: rgba(154,216,173,.65);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

._nextTime_kmz1s_137 {
  font-weight: 700;
  font-size: 16px;
  color: #e9fff1;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Status Dot with Neon Glow */
._nextTime_kmz1s_137::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1aff6a;
  box-shadow: 0 0 8px rgba(26,255,106,.55), 0 0 12px rgba(26,255,106,.35);
  animation: _statusPulse_kmz1s_1 2s ease-in-out infinite;
}

@keyframes _statusPulse_kmz1s_1 {
  0%, 100% {
    box-shadow: 0 0 8px rgba(26,255,106,.55), 0 0 12px rgba(26,255,106,.35);
  }
  50% {
    box-shadow: 0 0 12px rgba(26,255,106,.70), 0 0 18px rgba(26,255,106,.50);
  }
}

._snoozed_kmz1s_166 {
  margin-left: 8px;
  font-size: 11px;
  color: #f97316;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Menu */
._menu_kmz1s_176 {
  position: relative;
}

._menuBtn_kmz1s_180 {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(34,197,94,0.30);
  background: rgba(14,26,20,.92);
  box-shadow: 0 0 6px rgba(34,197,94,0.15);
  color: #22c55e;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

._menuBtn_kmz1s_180:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 12px rgba(34,197,94,0.25);
}

._menuList_kmz1s_199 {
  position: absolute;
  right: 0;
  top: 42px;
  background: linear-gradient(180deg, rgba(14,26,20,.95), rgba(10,18,16,.95));
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 18px rgba(34,197,94,0.25);
  padding: 6px;
  list-style: none;
  margin: 0;
  min-width: 160px;
  z-index: 10;
  backdrop-filter: blur(8px);
}

._menuList_kmz1s_199 li {
  margin: 0;
}

._menuList_kmz1s_199 button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  color: #e9fff1;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

._menuList_kmz1s_199 button:hover {
  background: rgba(34,197,94,0.12);
  color: #1aff6a;
}

._menuList_kmz1s_199 button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════════
   BOOKMARK INFO BOX - For bookmark-linked reminders
   ═══════════════════════════════════════════════════════════════════ */

._bookmarkBox_kmz1s_246 {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(10, 18, 16, 0.75);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

._bookmarkInfo_kmz1s_258 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

._bookmarkTitle_kmz1s_266 {
  font-size: 14px;
  font-weight: 500;
  color: #e9fff1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._bookmarkUrl_kmz1s_275 {
  font-size: 12px;
  color: rgba(154, 216, 173, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._openBtn_kmz1s_283 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 10px;
  color: #22c55e;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

._openBtn_kmz1s_283:hover:not(:disabled) {
  background: rgba(34, 197, 94, 0.25);
  border-color: #1aff6a;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.25);
}

._openBtn_kmz1s_283:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

._openBtn_kmz1s_283 svg {
  font-size: 12px;
}

/* Responsive Bookmark Box */
@media (max-width: 480px) {
  ._bookmarkBox_kmz1s_246 {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  ._openBtn_kmz1s_283 {
    justify-content: center;
    width: 100%;
  }
}

/* Quick Snooze Buttons */
._quickSnooze_kmz1s_329 {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(34,197,94,0.15);
  display: flex;
  gap: 10px;
}

._snoozeBtn_kmz1s_337 {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(34,197,94,0.35);
  border-radius: 12px;
  padding: 10px 14px;
  color: #22c55e;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 rgba(34,197,94,0);
}

._snoozeBtn_kmz1s_337:hover {
  background: rgba(34,197,94,0.12);
  border-color: #1aff6a;
  box-shadow: 0 0 12px rgba(34,197,94,0.25);
}

._snoozeBtn_kmz1s_337:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  ._header_kmz1s_24 {
    flex-direction: column;
    gap: 16px;
  }

  ._right_kmz1s_114 {
    width: 100%;
    justify-content: space-between;
  }

  ._nextWrap_kmz1s_120 {
    text-align: left;
    align-items: flex-start;
  }

  ._nextTime_kmz1s_137 {
    font-size: 15px;
  }

  ._icon_kmz1s_40 {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  ._title_kmz1s_54 {
    font-size: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PURPLE-BUBBLES THEME OVERRIDES
   Gleiches Design wie CompactBookmarkItem
   ═══════════════════════════════════════════════════════════════════ */

/* Card: Gleiches Design wie bookmark-card-modern */
[data-theme="purple-bubbles"] ._card_kmz1s_3 {
  background: rgba(30, 20, 50, 0.75);
  border: 1px solid rgba(196, 181, 253, 0.20);
  border-radius: 16px;
  box-shadow: none;
  backdrop-filter: none;
}

[data-theme="purple-bubbles"] ._card_kmz1s_3:hover {
  background: rgba(40, 30, 60, 0.85);
  border-color: rgba(196, 181, 253, 0.35);
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.20);
}

/* Icon: Lila Styling */
[data-theme="purple-bubbles"] ._icon_kmz1s_40 {
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: none;
}

/* Title: Gleiches Design wie bookmark-title-modern */
[data-theme="purple-bubbles"] ._title_kmz1s_54 {
  color: #F3F4F6;
}

/* Meta Pills: Gleiches Design wie bookmark-category-badge */
[data-theme="purple-bubbles"] ._pill_kmz1s_76 {
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: rgba(196, 181, 253, 0.95);
}

[data-theme="purple-bubbles"] ._tag_kmz1s_86 {
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: rgba(196, 181, 253, 0.95);
}

[data-theme="purple-bubbles"] ._tagCount_kmz1s_99 {
  background: rgba(30, 20, 50, 0.75);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: rgba(196, 181, 253, 0.85);
}

[data-theme="purple-bubbles"] ._meta_kmz1s_67 {
  color: rgba(196, 181, 253, 0.85);
}

[data-theme="purple-bubbles"] ._nextLabel_kmz1s_128 {
  color: rgba(196, 181, 253, 0.75);
}

[data-theme="purple-bubbles"] ._nextTime_kmz1s_137 {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] ._nextTime_kmz1s_137::before {
  background: #A78BFA;
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.50);
}

@keyframes _purplePulse_kmz1s_1 {
  0%, 100% {
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.50);
  }
  50% {
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.70);
  }
}

[data-theme="purple-bubbles"] ._nextTime_kmz1s_137::before {
  animation: _purplePulse_kmz1s_1 2s ease-in-out infinite;
}

/* Menu Button: Gleiches Design wie bookmark-overflow-btn */
[data-theme="purple-bubbles"] ._menuBtn_kmz1s_180 {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(196, 181, 253, 0.75);
  box-shadow: none;
}

[data-theme="purple-bubbles"] ._menuBtn_kmz1s_180:hover {
  background: rgba(139, 92, 246, 0.20);
  color: #C4B5FD;
  border-color: transparent;
  box-shadow: none;
}

/* Menu List: Gleiches Design wie bookmark-overflow-menu */
[data-theme="purple-bubbles"] ._menuList_kmz1s_199 {
  background: rgba(40, 25, 70, 0.95);
  border: 1px solid rgba(196, 181, 253, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="purple-bubbles"] ._menuList_kmz1s_199 button {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] ._menuList_kmz1s_199 button:hover {
  background: rgba(139, 92, 246, 0.20);
  color: #C4B5FD;
}

/* Quick Snooze */
[data-theme="purple-bubbles"] ._quickSnooze_kmz1s_329 {
  border-top: 1px solid rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] ._snoozeBtn_kmz1s_337 {
  background: transparent;
  border: 1px solid rgba(196, 181, 253, 0.30);
  color: rgba(196, 181, 253, 0.85);
}

[data-theme="purple-bubbles"] ._snoozeBtn_kmz1s_337:hover {
  background: rgba(139, 92, 246, 0.20);
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: none;
}

/* Bookmark Box - Purple Bubbles */
[data-theme="purple-bubbles"] ._bookmarkBox_kmz1s_246 {
  background: rgba(20, 15, 35, 0.60);
  border: 1px solid rgba(196, 181, 253, 0.20);
}

[data-theme="purple-bubbles"] ._bookmarkTitle_kmz1s_266 {
  color: #F3F4F6;
}

[data-theme="purple-bubbles"] ._bookmarkUrl_kmz1s_275 {
  color: rgba(196, 181, 253, 0.85);
}

[data-theme="purple-bubbles"] ._openBtn_kmz1s_283 {
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: rgba(196, 181, 253, 0.95);
}

[data-theme="purple-bubbles"] ._openBtn_kmz1s_283:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.35);
  border-color: rgba(196, 181, 253, 0.50);
  box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════════
   BLUE-GALAXY THEME OVERRIDES (SPACE GLASS)
   Reminder Card with Cyan/Blue Accents (NO GREEN)
   ═══════════════════════════════════════════════════════════════════ */

/* Card Container - Space Glass */
body[data-theme="blue-galaxy"] ._card_kmz1s_3 {
  background: linear-gradient(180deg, rgba(18, 28, 56, 0.70), rgba(10, 18, 40, 0.70));
  border: 1px solid rgba(120, 170, 255, 0.22);
  box-shadow: 0 0 10px rgba(127, 182, 255, 0.18);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] ._card_kmz1s_3:hover {
  box-shadow: 0 0 16px rgba(127, 182, 255, 0.28);
  border-color: rgba(120, 170, 255, 0.35);
}

/* Icon Container - Blue */
body[data-theme="blue-galaxy"] ._icon_kmz1s_40 {
  background: rgba(127, 182, 255, 0.18);
  border: 1px solid rgba(120, 170, 255, 0.28);
  box-shadow: 0 0 8px rgba(127, 182, 255, 0.15);
}

/* Title */
body[data-theme="blue-galaxy"] ._title_kmz1s_54 {
  color: #EAF2FF;
}

/* Meta Pills */
body[data-theme="blue-galaxy"] ._meta_kmz1s_67 {
  color: rgba(234, 242, 255, 0.75);
}

body[data-theme="blue-galaxy"] ._pill_kmz1s_76 {
  background: rgba(10, 18, 40, 0.85);
  border: 1px solid rgba(120, 170, 255, 0.28);
  color: rgba(234, 242, 255, 0.85);
}

/* Tag with Blue Accent */
body[data-theme="blue-galaxy"] ._tag_kmz1s_86 {
  background: rgba(127, 182, 255, 0.15);
  border: 1px solid rgba(120, 170, 255, 0.28);
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] ._tagCount_kmz1s_99 {
  background: rgba(10, 18, 40, 0.85);
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: rgba(234, 242, 255, 0.75);
}

/* Next Time Section */
body[data-theme="blue-galaxy"] ._nextLabel_kmz1s_128 {
  color: rgba(234, 242, 255, 0.65);
}

body[data-theme="blue-galaxy"] ._nextTime_kmz1s_137 {
  color: #EAF2FF;
}

/* Blue Status Pulse Dot */
body[data-theme="blue-galaxy"] ._nextTime_kmz1s_137::before {
  background: #7FB6FF;
  box-shadow: 0 0 8px rgba(127, 182, 255, 0.55), 0 0 12px rgba(127, 182, 255, 0.35);
  animation: _blueStatusPulse_kmz1s_1 2s ease-in-out infinite;
}

@keyframes _blueStatusPulse_kmz1s_1 {
  0%, 100% {
    box-shadow: 0 0 8px rgba(127, 182, 255, 0.55), 0 0 12px rgba(127, 182, 255, 0.35);
  }
  50% {
    box-shadow: 0 0 12px rgba(127, 182, 255, 0.70), 0 0 18px rgba(127, 182, 255, 0.50);
  }
}

body[data-theme="blue-galaxy"] ._snoozed_kmz1s_166 {
  color: #f97316;
}

/* Menu Button */
body[data-theme="blue-galaxy"] ._menuBtn_kmz1s_180 {
  background: rgba(18, 28, 56, 0.75);
  border: 1px solid rgba(120, 170, 255, 0.22);
  color: #7FB6FF;
  box-shadow: 0 0 6px rgba(127, 182, 255, 0.15);
}

body[data-theme="blue-galaxy"] ._menuBtn_kmz1s_180:hover {
  border-color: rgba(120, 170, 255, 0.35);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.25);
}

/* Menu List Dropdown */
body[data-theme="blue-galaxy"] ._menuList_kmz1s_199 {
  background: linear-gradient(180deg, rgba(10, 18, 40, 0.95), rgba(10, 18, 40, 0.95));
  border: 1px solid rgba(120, 170, 255, 0.28);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 18px rgba(127, 182, 255, 0.25);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

body[data-theme="blue-galaxy"] ._menuList_kmz1s_199 button {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] ._menuList_kmz1s_199 button:hover {
  background: rgba(127, 182, 255, 0.12);
  color: #7FB6FF;
}

/* Quick Snooze */
body[data-theme="blue-galaxy"] ._quickSnooze_kmz1s_329 {
  border-top: 1px solid rgba(120, 170, 255, 0.15);
}

body[data-theme="blue-galaxy"] ._snoozeBtn_kmz1s_337 {
  background: transparent;
  border: 1px solid rgba(120, 170, 255, 0.28);
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] ._snoozeBtn_kmz1s_337:hover {
  background: rgba(127, 182, 255, 0.12);
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.25);
}

body[data-theme="blue-galaxy"] ._snoozeBtn_kmz1s_337:disabled {
  opacity: 0.4;
}

/* Bookmark Box - Blue Galaxy */
body[data-theme="blue-galaxy"] ._bookmarkBox_kmz1s_246 {
  background: rgba(18, 28, 56, 0.60);
  border: 1px solid rgba(120, 170, 255, 0.22);
}

body[data-theme="blue-galaxy"] ._bookmarkTitle_kmz1s_266 {
  color: #EAF2FF;
}

body[data-theme="blue-galaxy"] ._bookmarkUrl_kmz1s_275 {
  color: rgba(234, 242, 255, 0.70);
}

body[data-theme="blue-galaxy"] ._openBtn_kmz1s_283 {
  background: rgba(127, 182, 255, 0.15);
  border: 1px solid rgba(120, 170, 255, 0.28);
  color: #7FB6FF;
}

body[data-theme="blue-galaxy"] ._openBtn_kmz1s_283:hover:not(:disabled) {
  background: rgba(127, 182, 255, 0.25);
  border-color: rgba(127, 182, 255, 0.45);
  box-shadow: 0 0 12px rgba(127, 182, 255, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════
   END OF BLUE-GALAXY THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */
/* =========================================================
   DESIGN TOKENS - Centralized Design System
   =========================================================

   Diese Datei enthält alle Design-Tokens für konsistentes
   Responsive Design über alle Breakpoints hinweg.
   ========================================================= */

:root {
  /* ─────────────────────────────────────────────────────────
     BREAKPOINTS (für Referenz in JS/Docs - CSS nutzt @media)
     ───────────────────────────────────────────────────────── */
  --bp-xs: 360px;    /* Sehr kleine Phones (Galaxy S8) */
  --bp-sm: 480px;    /* Standard Phones */
  --bp-md: 768px;    /* Tablets */
  --bp-lg: 1024px;   /* Desktop / iPad Pro */
  --bp-xl: 1368px;   /* Large Desktop / Surface */

  /* ─────────────────────────────────────────────────────────
     SPACING SCALE (8px base)
     ───────────────────────────────────────────────────────── */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;

  /* ─────────────────────────────────────────────────────────
     CONTAINER WIDTHS
     ───────────────────────────────────────────────────────── */
  --container-xs: 100%;           /* Mobile: Full width */
  --container-sm: 100%;           /* Phone: Full width */
  --container-md: 720px;          /* Tablet: Centered */
  --container-lg: 960px;          /* Desktop: Centered */
  --container-xl: 1140px;         /* Large: Centered */
  --container-max: 1200px;        /* Maximum width */

  /* ─────────────────────────────────────────────────────────
     CONTAINER PADDING (responsive via custom properties)
     ───────────────────────────────────────────────────────── */
  --container-padding-xs: 8px;
  --container-padding-sm: 12px;
  --container-padding-md: 16px;
  --container-padding-lg: 24px;
  --container-padding-xl: 32px;

  /* Current container padding (overwritten by media queries) */
  --container-padding: var(--container-padding-sm);

  /* ─────────────────────────────────────────────────────────
     BORDER RADIUS
     ───────────────────────────────────────────────────────── */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* Component-specific radius */
  --radius-card: var(--radius-lg);
  --radius-button: var(--radius-md);
  --radius-input: var(--radius-lg);
  --radius-modal: var(--radius-xl);

  /* ─────────────────────────────────────────────────────────
     SHADOWS
     ───────────────────────────────────────────────────────── */
  --shadow-none: none;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.20);
  --shadow-2xl: 0 16px 48px rgba(0, 0, 0, 0.25);

  /* Elevation shadows (for cards, modals, etc.) */
  --shadow-card: var(--shadow-md);
  --shadow-card-hover: var(--shadow-lg);
  --shadow-dropdown: var(--shadow-lg);
  --shadow-modal: var(--shadow-xl);
  --shadow-fab: 0 4px 16px rgba(70, 178, 228, 0.4);

  /* ─────────────────────────────────────────────────────────
     TYPOGRAPHY SCALE
     ───────────────────────────────────────────────────────── */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */

  /* ─────────────────────────────────────────────────────────
     Z-INDEX SCALE
     ───────────────────────────────────────────────────────── */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 500;
  --z-modal-backdrop: 900;
  --z-modal: 1000;
  --z-popover: 1100;
  --z-toast: 1200;

  /* ─────────────────────────────────────────────────────────
     SAFE AREAS (iOS)
     ───────────────────────────────────────────────────────── */
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);

  /* ─────────────────────────────────────────────────────────
     BOTTOM NAV & FAB POSITIONING
     ───────────────────────────────────────────────────────── */
  --bottom-nav-height: 56px;
  --fab-size: 56px;
  --fab-offset-bottom: calc(var(--bottom-nav-height) + var(--space-4) + var(--safe-area-bottom));

  /* ─────────────────────────────────────────────────────────
     TOUCH TARGETS (Accessibility)
     ───────────────────────────────────────────────────────── */
  --touch-target-min: 44px;
  --touch-target-comfortable: 48px;

  /* ─────────────────────────────────────────────────────────
     TRANSITIONS
     ───────────────────────────────────────────────────────── */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================
   RESPONSIVE TOKEN OVERRIDES
   ========================================================= */

/* XS: Very small phones (344-360px) */
@media (max-width: 400px) {
  :root {
    --container-padding: var(--container-padding-xs);
    --radius-card: var(--radius-md);
    --space-card-gap: var(--space-2);
  }
}

/* SM: Standard phones (390-430px) */
@media (min-width: 401px) and (max-width: 767px) {
  :root {
    --container-padding: var(--container-padding-sm);
    --radius-card: var(--radius-lg);
    --space-card-gap: var(--space-3);
  }
}

/* MD: Tablets (768-820px) */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --container-padding: var(--container-padding-md);
    --radius-card: var(--radius-lg);
    --space-card-gap: var(--space-4);
  }
}

/* LG: Desktop / iPad Pro (1024-1368px) */
@media (min-width: 1024px) {
  :root {
    --container-padding: var(--container-padding-lg);
    --radius-card: var(--radius-xl);
    --space-card-gap: var(--space-5);
    --fab-size: 64px;
    --bottom-nav-height: 0px; /* Nav is top on desktop */
  }
}

/* XL: Large Desktop (1368px+) */
@media (min-width: 1368px) {
  :root {
    --container-padding: var(--container-padding-xl);
  }
}

/* =========================================================
   GLOBAL RESETS & BOX-SIZING
   ========================================================= */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* =========================================================
   PAGE CONTAINER UTILITY CLASS
   ========================================================= */

.page-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Full-width variant (for mobile) */
.page-container--full {
  max-width: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Centered content within container */
.page-container--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================================================
   RESPONSIVE VISIBILITY UTILITIES
   ========================================================= */

/* Hide on mobile (< 768px) */
.hide-mobile {
  display: none !important;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: initial !important;
  }

  .hide-desktop {
    display: none !important;
  }
}

/* Show only on specific breakpoints */
.show-xs-only { display: none !important; }
.show-sm-only { display: none !important; }
.show-md-only { display: none !important; }
.show-lg-only { display: none !important; }

@media (max-width: 400px) {
  .show-xs-only { display: initial !important; }
}

@media (min-width: 401px) and (max-width: 767px) {
  .show-sm-only { display: initial !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .show-md-only { display: initial !important; }
}

@media (min-width: 1024px) {
  .show-lg-only { display: initial !important; }
}

/* =========================================================
   TEXT OVERFLOW UTILITIES
   ========================================================= */

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
