/* ═══════════════════════════════════════════════════════════════════════════
   CONFIG BOT NOTIFICATIONS v2 - ULTRA MODERN 2025 DESIGN
   ═══════════════════════════════════════════════════════════════════════════
   Features:
   - Neon glassmorphism with animated gradient borders
   - 3D transform effects with perspective
   - Animated SVG progress ring
   - Toggle switches with morphing animations
   - Particle burst effects
   - Spring physics animations
   - Responsive design
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes slide-down {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes bounce-in {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes toggle-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@keyframes ring-fill {
  from { stroke-dashoffset: 283; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 0.6; }
  100% { transform: scale(4); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BASE CONTAINER
   ═══════════════════════════════════════════════════════════════════════════ */

.config-bot-notifications-v2 {
  position: relative;
  animation: fadeIn 0.4s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════════════════════════════════════ */

.config-bot-notifications-v2 .notifications-skeleton {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.config-bot-notifications-v2 .skeleton-block {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.03) 25%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 12px;
}

.config-bot-notifications-v2 .skeleton-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.config-bot-notifications-v2 .skeleton-block.title {
  width: 280px;
  height: 60px;
}

.config-bot-notifications-v2 .skeleton-block.ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.config-bot-notifications-v2 .skeleton-controls {
  display: flex;
  gap: 16px;
}

.config-bot-notifications-v2 .skeleton-block.search {
  flex: 1;
  height: 48px;
}

.config-bot-notifications-v2 .skeleton-block.buttons {
  width: 300px;
  height: 48px;
}

.config-bot-notifications-v2 .skeleton-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.config-bot-notifications-v2 .skeleton-category {
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  padding: 20px;
}

.config-bot-notifications-v2 .skeleton-block.cat-header {
  height: 60px;
  margin-bottom: 16px;
}

.config-bot-notifications-v2 .skeleton-toggles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.config-bot-notifications-v2 .skeleton-block.toggle {
  height: 50px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DIRTY BANNER
   ═══════════════════════════════════════════════════════════════════════════ */

.config-bot-notifications-v2 .dirty-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  margin-bottom: 20px;
  animation: slide-down 0.3s ease;
  backdrop-filter: blur(10px);
}

.config-bot-notifications-v2 .dirty-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.config-bot-notifications-v2 .dirty-icon {
  font-size: 1.2rem;
  animation: float 2s ease-in-out infinite;
}

.config-bot-notifications-v2 .dirty-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fbbf24;
}

.config-bot-notifications-v2 .undo-btn {
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 8px;
  color: #fbbf24;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.config-bot-notifications-v2 .undo-btn:hover {
  background: rgba(245, 158, 11, 0.3);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER WITH PROGRESS RING
   ═══════════════════════════════════════════════════════════════════════════ */

.config-bot-notifications-v2 .notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  backdrop-filter: blur(20px);
}

.config-bot-notifications-v2 .header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.config-bot-notifications-v2 .header-icon-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.config-bot-notifications-v2 .header-icon {
  font-size: 1.8rem;
  animation: float 3s ease-in-out infinite;
}

.config-bot-notifications-v2 .header-pulse {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  animation: pulse-ring 2s ease-out infinite;
  z-index: -1;
}

.config-bot-notifications-v2 .header-text h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary, #fff);
  letter-spacing: -0.02em;
}

.config-bot-notifications-v2 .header-subtitle {
  margin: 4px 0 0 0;
  font-size: 0.9rem;
  color: var(--text-muted, #888);
}

/* Progress Ring */
.config-bot-notifications-v2 .progress-ring-container {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.config-bot-notifications-v2 .progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.config-bot-notifications-v2 .progress-ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.1);
  stroke-width: 8;
}

.config-bot-notifications-v2 .progress-ring-fill {
  fill: none;
  stroke: url(#progress-gradient);
  stroke: #667eea;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.5));
  animation: ring-fill 1s ease forwards;
}

.config-bot-notifications-v2 .progress-ring-text {
  position: absolute;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.config-bot-notifications-v2 .progress-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
}

.config-bot-notifications-v2 .progress-separator {
  font-size: 1rem;
  color: var(--text-muted, #888);
}

.config-bot-notifications-v2 .progress-total {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary, #aaa);
}

.config-bot-notifications-v2 .progress-label {
  position: absolute;
  bottom: 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #888);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MASTER CONTROLS
   ═══════════════════════════════════════════════════════════════════════════ */

.config-bot-notifications-v2 .master-controls {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* Search Container */
.config-bot-notifications-v2 .search-container {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.config-bot-notifications-v2 .search-icon-wrapper {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted, #888);
}

.config-bot-notifications-v2 .search-icon {
  width: 20px;
  height: 20px;
}

.config-bot-notifications-v2 .search-input {
  width: 100%;
  padding: 14px 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text-primary, #fff);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.config-bot-notifications-v2 .search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2), 0 4px 20px rgba(102, 126, 234, 0.15);
  background: rgba(255,255,255,0.05);
}

.config-bot-notifications-v2 .search-input::placeholder {
  color: var(--text-muted, #666);
}

.config-bot-notifications-v2 .search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  background: rgba(239, 68, 68, 0.2);
  border: none;
  border-radius: 8px;
  color: #ef4444;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.config-bot-notifications-v2 .search-clear svg {
  width: 14px;
  height: 14px;
}

.config-bot-notifications-v2 .search-clear:hover {
  background: rgba(239, 68, 68, 0.3);
  transform: translateY(-50%) scale(1.1);
}

/* Action Buttons */
.config-bot-notifications-v2 .action-buttons {
  display: flex;
  gap: 10px;
}

.config-bot-notifications-v2 .action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text-primary, #fff);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.config-bot-notifications-v2 .action-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.config-bot-notifications-v2 .action-btn:hover::before {
  width: 300px;
  height: 300px;
}

.config-bot-notifications-v2 .action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.config-bot-notifications-v2 .action-btn.enable-all:hover {
  border-color: #10b981;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.config-bot-notifications-v2 .action-btn.disable-all:hover {
  border-color: #ef4444;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.config-bot-notifications-v2 .action-btn.reset-defaults:hover {
  border-color: #667eea;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.config-bot-notifications-v2 .action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.config-bot-notifications-v2 .btn-icon {
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.config-bot-notifications-v2 .btn-text {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CATEGORY CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.config-bot-notifications-v2 .categories-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.config-bot-notifications-v2 .category-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.config-bot-notifications-v2 .category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: var(--category-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.config-bot-notifications-v2 .category-card:hover::before {
  opacity: 1;
}

.config-bot-notifications-v2 .category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 40px var(--category-glow, rgba(102, 126, 234, 0.1));
}

.config-bot-notifications-v2 .category-card.all-enabled {
  box-shadow: 0 0 30px var(--category-glow, rgba(102, 126, 234, 0.2));
}

.config-bot-notifications-v2 .category-card.all-enabled::before {
  opacity: 0.5;
}

/* Category Header */
.config-bot-notifications-v2 .category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.config-bot-notifications-v2 .category-header:hover {
  background: rgba(255,255,255,0.02);
}

.config-bot-notifications-v2 .category-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.config-bot-notifications-v2 .category-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.config-bot-notifications-v2 .category-card:hover .category-icon-wrapper {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.config-bot-notifications-v2 .category-icon {
  font-size: 1.5rem;
}

.config-bot-notifications-v2 .category-info {
  flex: 1;
}

.config-bot-notifications-v2 .category-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary, #fff);
}

.config-bot-notifications-v2 .category-description {
  margin: 4px 0 0 0;
  font-size: 0.85rem;
  color: var(--text-muted, #888);
}

/* Category Right Side */
.config-bot-notifications-v2 .category-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.config-bot-notifications-v2 .category-stats {
  display: flex;
  align-items: baseline;
  gap: 2px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.config-bot-notifications-v2 .stats-enabled {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary, #fff);
}

.config-bot-notifications-v2 .stats-separator {
  color: var(--text-muted, #888);
  margin: 0 2px;
}

.config-bot-notifications-v2 .stats-total {
  font-size: 0.9rem;
  color: var(--text-muted, #888);
}

/* Category Master Toggle */
.config-bot-notifications-v2 .category-master-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.config-bot-notifications-v2 .category-master-toggle .toggle-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
}

.config-bot-notifications-v2 .category-master-toggle .toggle-indicator svg {
  width: 18px;
  height: 18px;
  stroke: white;
}

.config-bot-notifications-v2 .category-master-toggle .partial-icon {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.config-bot-notifications-v2 .category-master-toggle.all {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.config-bot-notifications-v2 .category-master-toggle.partial {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.config-bot-notifications-v2 .category-master-toggle.none {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
}

.config-bot-notifications-v2 .category-master-toggle:hover {
  transform: scale(1.1);
}

/* Expand Button */
.config-bot-notifications-v2 .expand-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #888);
  transition: all 0.2s ease;
}

.config-bot-notifications-v2 .expand-btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary, #fff);
}

.config-bot-notifications-v2 .expand-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.config-bot-notifications-v2 .expand-icon.rotated {
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOGGLES CONTAINER (EXPANDABLE)
   ═══════════════════════════════════════════════════════════════════════════ */

.config-bot-notifications-v2 .toggles-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.config-bot-notifications-v2 .toggles-container.expanded {
  max-height: 1000px;
}

.config-bot-notifications-v2 .toggles-list {
  padding: 8px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Toggle Item */
.config-bot-notifications-v2 .toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.config-bot-notifications-v2 .toggle-item:hover {
  background: rgba(255,255,255,0.03);
}

.config-bot-notifications-v2 .toggle-item.active {
  background: rgba(16, 185, 129, 0.05);
}

.config-bot-notifications-v2 .toggle-item.animating {
  animation: toggle-bounce 0.4s ease;
}

.config-bot-notifications-v2 .toggle-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.config-bot-notifications-v2 .toggle-emoji {
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.config-bot-notifications-v2 .toggle-item.active .toggle-emoji {
  transform: scale(1.1);
}

.config-bot-notifications-v2 .toggle-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.config-bot-notifications-v2 .toggle-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary, #fff);
}

.config-bot-notifications-v2 .toggle-label mark {
  background: rgba(102, 126, 234, 0.3);
  color: inherit;
  padding: 0 4px;
  border-radius: 4px;
}

.config-bot-notifications-v2 .toggle-key {
  font-size: 0.75rem;
  color: var(--text-muted, #666);
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOGGLE SWITCH - ULTRA MODERN
   ═══════════════════════════════════════════════════════════════════════════ */

.config-bot-notifications-v2 .toggle-switch {
  position: relative;
  width: 56px;
  height: 32px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  padding: 0;
  background: transparent;
  overflow: visible;
}

.config-bot-notifications-v2 .toggle-switch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.config-bot-notifications-v2 .toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.config-bot-notifications-v2 .toggle-switch.active .toggle-track {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.config-bot-notifications-v2 .toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.config-bot-notifications-v2 .toggle-switch.active .toggle-thumb {
  left: calc(100% - 28px);
  background: white;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
}

.config-bot-notifications-v2 .thumb-icon {
  width: 14px;
  height: 14px;
  transition: all 0.2s ease;
}

.config-bot-notifications-v2 .thumb-icon.check {
  stroke: #10b981;
}

.config-bot-notifications-v2 .thumb-icon.cross {
  stroke: #888;
}

.config-bot-notifications-v2 .toggle-glow {
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.config-bot-notifications-v2 .toggle-switch.active .toggle-glow {
  opacity: 1;
  animation: glow-pulse 2s ease-in-out infinite;
}

.config-bot-notifications-v2 .toggle-switch:hover .toggle-thumb {
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NO RESULTS
   ═══════════════════════════════════════════════════════════════════════════ */

.config-bot-notifications-v2 .no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background: rgba(255,255,255,0.02);
  border-radius: 20px;
  border: 1px dashed rgba(255,255,255,0.1);
}

.config-bot-notifications-v2 .no-results-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
  animation: float 3s ease-in-out infinite;
}

.config-bot-notifications-v2 .no-results h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary, #fff);
}

.config-bot-notifications-v2 .no-results p {
  margin: 0 0 20px 0;
  color: var(--text-muted, #888);
}

.config-bot-notifications-v2 .clear-search-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.config-bot-notifications-v2 .clear-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .config-bot-notifications-v2 .notifications-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .config-bot-notifications-v2 .header-left {
    flex-direction: column;
    text-align: center;
  }

  .config-bot-notifications-v2 .master-controls {
    flex-direction: column;
  }

  .config-bot-notifications-v2 .action-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .config-bot-notifications-v2 .category-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .config-bot-notifications-v2 .category-right {
    width: 100%;
    justify-content: space-between;
  }

  .config-bot-notifications-v2 .toggle-item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .config-bot-notifications-v2 .toggle-switch {
    margin-left: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT MODE
   ═══════════════════════════════════════════════════════════════════════════ */

[data-theme="light"] .config-bot-notifications-v2 .notifications-header,
[data-theme="light"] .config-bot-notifications-v2 .category-card {
  background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.01));
  border-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .config-bot-notifications-v2 .search-input {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
  color: #1f2937;
}

[data-theme="light"] .config-bot-notifications-v2 .action-btn {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
  color: #1f2937;
}

[data-theme="light"] .config-bot-notifications-v2 .toggle-track {
  background: rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.15);
}

[data-theme="light"] .config-bot-notifications-v2 .toggle-item:hover {
  background: rgba(0,0,0,0.03);
}

[data-theme="light"] .config-bot-notifications-v2 .toggle-emoji {
  background: rgba(0,0,0,0.05);
}

[data-theme="light"] .config-bot-notifications-v2 .category-stats {
  background: rgba(0,0,0,0.05);
}

[data-theme="light"] .config-bot-notifications-v2 .dirty-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.05));
}

[data-theme="light"] .config-bot-notifications-v2 .skeleton-block {
  background: linear-gradient(90deg,
    rgba(0,0,0,0.03) 25%,
    rgba(0,0,0,0.06) 50%,
    rgba(0,0,0,0.03) 75%);
  background-size: 200% 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGACY SUPPORT - Old class name
   ═══════════════════════════════════════════════════════════════════════════ */

.config-bot-notifications:not(.config-bot-notifications-v2) {
  /* Keep old styles for backwards compatibility */
}
