.favorites-action-card {
  background: var(--panel, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  height: 100%;
  position: relative;
}

[data-bs-theme="light"] .favorites-action-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 255, 0.88));
  border-color: rgba(140, 162, 210, 0.35);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}

.favorites-action-card .btn {
  border-radius: 10px;
}

.favorites-action-card .favorites-price {
  font-weight: 600;
}

.favorites-action-card .favorites-feedback,
.favorites-action-card .favorites-error {
  font-size: 0.9rem;
}

.favorites-access-strip {
  padding: 8px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.favorites-loading-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(8, 12, 24, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  z-index: 5;
  color: #fff;
}

[data-bs-theme="light"] .favorites-loading-overlay {
  background: rgba(249, 251, 255, 0.88);
  color: #0b1220;
}

.favorites-loading-overlay .spinner-border {
  width: 3rem;
  height: 3rem;
}

.favorites-purchase .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.favorites-list-card {
  border-radius: 16px;
  background: var(--panel, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

[data-bs-theme="light"] .favorites-list-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(237, 243, 255, 0.9));
  border-color: rgba(140, 162, 210, 0.32);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
}

.favorites-list-card .favorites-share input {
  background: var(--panel, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  color: inherit;
}

[data-bs-theme="light"] .favorites-list-card .favorites-share input {
  background: linear-gradient(135deg, rgba(248, 250, 255, 0.96), rgba(233, 239, 255, 0.88));
  border-color: rgba(140, 162, 210, 0.4);
  color: #0b1220;
}

.favorites-share button {
  min-width: 42px;
}

.favorites-empty {
  background: var(--panel, rgba(255, 255, 255, 0.04));
  border: 1px dashed var(--border, rgba(255, 255, 255, 0.2));
  border-radius: 16px;
}

[data-bs-theme="light"] .favorites-empty {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 243, 255, 0.88));
  border-color: rgba(140, 162, 210, 0.38);
  color: #1d2a46;
}

.favorites-feedback {
  transition: opacity 0.2s ease;
}

.favorites-item-list .list-group-item {
  background: var(--panel, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  margin-bottom: 10px;
}

[data-bs-theme="light"] .favorites-item-list .list-group-item {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(236, 242, 255, 0.88));
  border-color: rgba(140, 162, 210, 0.32);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.favorites-item-list .list-group-item:last-child {
  margin-bottom: 0;
}

.favorites-item-list .favorites-drag-handle {
  cursor: grab;
  color: var(--muted, rgba(255, 255, 255, 0.6));
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
}

.favorites-item-list .favorites-drag-handle:active {
  cursor: grabbing;
}

.favorites-item-list .btn-outline-danger {
  border-radius: 10px;
}

.favorites-public-header .badge {
  border-radius: 999px;
}

.favorites-hero {
  background: radial-gradient(120% 120% at 0% 0%, rgba(109, 185, 255, 0.25), transparent 45%),
              radial-gradient(100% 100% at 80% 20%, rgba(255, 112, 181, 0.2), transparent 50%),
              linear-gradient(135deg, rgba(26, 36, 64, 0.95), rgba(18, 26, 47, 0.9));
  color: #f4f6fb;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(9, 14, 35, 0.35);
  position: relative;
}

[data-bs-theme="light"] .favorites-hero {
  background: radial-gradient(110% 120% at 0% 0%, rgba(118, 168, 255, 0.22), transparent 42%),
              radial-gradient(90% 110% at 90% 0%, rgba(255, 171, 215, 0.16), transparent 48%),
              linear-gradient(135deg, #ffffff, #f4f7ff);
  color: #0b1220;
  border: 1px solid rgba(140, 162, 210, 0.32);
}

.favorites-hero-glow,
.favorites-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.favorites-hero-glow {
  background: radial-gradient(30% 40% at 30% 20%, rgba(112, 221, 255, 0.25), transparent 60%),
              radial-gradient(40% 40% at 80% 0%, rgba(255, 215, 112, 0.2), transparent 55%);
  opacity: 0.8;
}

.favorites-hero-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0.35;
}

[data-bs-theme="light"] .favorites-hero-grid {
  background-image: linear-gradient(rgba(13, 34, 75, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 34, 75, 0.05) 1px, transparent 1px);
}

.favorites-hero-back {
  border-color: rgba(255, 255, 255, 0.35);
  color: inherit;
}

[data-bs-theme="light"] .favorites-hero-back {
  border-color: rgba(11, 18, 32, 0.2);
}

.favorites-hero-chip {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
}

[data-bs-theme="light"] .favorites-hero-chip {
  background: rgba(13, 18, 32, 0.06);
}

.favorites-hero-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ff9dbd;
}

[data-bs-theme="light"] .favorites-hero-icon {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.88));
  color: #d22f6e;
  box-shadow: 0 10px 30px rgba(210, 47, 110, 0.15);
}

.favorites-hero-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
}

[data-bs-theme="light"] .favorites-hero-pill {
  background: rgba(241, 246, 255, 0.9);
  border-color: rgba(140, 162, 210, 0.4);
  color: #0b1220;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.favorites-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.favorites-hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
}

[data-bs-theme="light"] .favorites-hero-stat {
  background: rgba(247, 250, 255, 0.9);
  border-color: rgba(140, 162, 210, 0.32);
}

.favorites-hero-actions .btn-light {
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.16);
}

[data-bs-theme="light"] .favorites-hero-actions .btn-light {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.favorites-hero-badge {
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
  border-radius: 12px;
}

[data-bs-theme="light"] .favorites-hero-badge {
  background: rgba(11, 18, 32, 0.04);
}

.favorites-quick-share {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px;
  color: inherit;
}

[data-bs-theme="light"] .favorites-quick-share {
  background: rgba(241, 246, 255, 0.95);
  border-color: rgba(140, 162, 210, 0.32);
  color: #0b1220;
}

.favorites-quick-share-locked {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.favorites-quick-share-locked i {
  font-size: 1.4rem;
}

@media (max-width: 767px) {
  .favorites-action-card {
    margin-top: 12px;
  }
}
