 :root {
      --bg-light: #f5f5f5;
      --text-light: #111;
      --title-light: #005fdd;
      --bg-dark: #0a192f;
      --text-dark: #e6f1ff;
      --title-dark: #64ffda;
      --accent: #64ffda;
    }
    body {
      font-family: Arial, sans-serif;
      background-color: var(--bg-dark);
      color: var(--text-dark);
      text-align: center;
      padding: 2rem;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    body.light-mode {
      background-color: var(--bg-light);
      color: var(--text-light);
    }
    input[type="text"] {
      width: 90%;
      max-width: 500px;
      padding: 10px;
      font-size: 16px;
      border-radius: 5px;
      border: 1px solid #444;
      background: #1e1e1e;
      color: #f4f4f4;
    }
    body.light-mode input[type="text"] {
      background: #fff;
      color: #111;
      border: 1px solid #ccc;
    }
    button, select {
      margin-top: 1rem;
      padding: 10px 20px;
      font-size: 16px;
      background: var(--accent);
      color: black;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    #qrcode {
      margin-top: 2rem;
    }
    #download-section {
      display: none;
      margin-top: 1rem;
    }
    .theme-toggle {
      position: absolute;
      top: 1rem;
      right: 1rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 34px;
    }
    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #9a86fd;
      border-radius: 34px;
      transition: 0.4s;
    }
    .slider::before {
      position: absolute;
      content: '';
      height: 26px;
      width: 26px;
      left: 4px;
      bottom: 4px;
      border-radius: 50%;
      background-color: #fff;
      transition: 0.4s;
    }
    input:checked + .slider {
      background-color: #ffdb70;
    }
    input:checked + .slider::before {
      transform: translateX(26px);
    }

    /* Cambio de colores vínculos políticas de privacidad README.mf */
    /* Estilos generales para los enlaces */
a {
  color: #005fdd;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Estilo para modo oscuro */
body:not(.light-mode) a {
  color: #64ffda; /* Gris claro verdoso (ya usado en tu tema oscuro) */
}
