/* ==========================================================================
   CSS-SKILL / THEMES.CSS
   Theme definitions (Dark Mode & Color Variables)
   ========================================================================== */

[data-theme="dark"] {
  /* Surfaces & Backgrounds */
  --background-color: #0B0F17;
  --background-color-rgb: 11, 15, 23;
  --header-background-color: #111827;
  --header-background-color-rgb: 17, 24, 39;
  --box-background-color: #151D2C;
  --box-background-color-rgb: 21, 29, 44;
  --box-border-color: #232F45;
  --box-border-color-rgb: 35, 47, 69;
  --surface-hover: #1B2639;
  --surface-active: #232F45;

  /* Typography Colors */
  --text-color: #F1F5F9;
  --text-color-rgb: 241, 245, 249;
  --text-muted: #94A3B8;
  --text-muted-rgb: 148, 163, 184;

  /* Inputs & Controls */
  --input-background-color: #111827;
  --input-border-color: #2B3A54;
  --input-disabled-background-color: #151D2C;
  --input-disabled-border-color: #232F45;

  /* Shadows */
  --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 10px 25px -15px rgba(0, 0, 0, 0.6);
  --box-shadow-hover: 0 4px 6px rgba(0, 0, 0, 0.5), 0 14px 28px -12px rgba(0, 0, 0, 0.7);
  --shadow-pop: 0 4px 12px rgba(0, 0, 0, 0.5), 0 20px 35px -10px rgba(0, 0, 0, 0.8);
  --focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.35);

  /* State Backgrounds in Dark Mode */
  --error-bg: #2C1518;
  --error-border: #7F1D1D;
  --success-bg: #0F291E;
  --success-border: #14532D;
  --warning-bg: #2D2010;
  --warning-border: #78350F;
  --info-bg: #102638;
  --info-border: #0C4A6E;
}

/* Smooth transition when switching themes */
body,
.site-header,
.downloader-card,
.platform-card,
.media-card,
.step-card,
.faq-item,
.input-group-wrapper {
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
