/* GENERAL */
body {
    font-family: 'Segoe UI', sans-serif;
    background: #1e1e2f;
    color: #f0f0f0;
    margin: 0;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  /* TITULOS */
  h1 {
    margin-bottom: 30px;
    color: #4dd0e1;
    text-align: center;
  }
  
  h2, h3 {
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 15px;
  }
  
  /* TEXTAREA */
  #texto,
  .dialogo-input-area {
    width: 90%;
    max-width: 600px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    background-color: #f5f5f7;
    color: rgb(0, 0, 0);
    resize: vertical;
  }
  
  /* BOTONES */
  button {
    padding: 10px 20px;
    margin: 8px;
    background-color: #4dd0e1;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #1e1e2f;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  button:hover {
    background-color: #00acc1;
    transform: scale(1.03);
  }
  
  /* VOCES PREMIUM */
  button.premium-voice {
    background-color: #888;
    color: #222;
    cursor: not-allowed;
    opacity: 0.7;
  }
  
  button.premium-voice:hover {
    background-color: #888;
    transform: none;
  }
  
  /* INPUT EMAIL */
  #input-correo {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    width: 250px;
    background-color: #2c2c3c;
    color: white;
    margin-bottom: 10px;
  }
  
  /* AUDIO */
  #audio {
    margin-top: 20px;
    width: 100%;
    max-width: 400px;
  }
  
  /* LINKS */
  #link-descarga {
    margin-top: 10px;
    color: #4dd0e1;
    text-decoration: none;
    font-weight: bold;
  }
  
  #link-descarga:hover {
    text-decoration: underline;
  }
  
  /* DROPDOWN OPCIONES */
  .dropdown {
    margin-top: 20px;
    background-color: #2c2c3c;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
  }
  
  .dropdown p {
    margin: 0;
  }
  
  /* SECCIONES */
  #voice-section,
  #vroll-section,
  #main-menu,
  #login-section {
    width: 100%;
    max-width: 800px;
    background-color: #2b2b3c;
    padding: 25px;
    border-radius: 10px;
    margin: 0 auto 30px auto; /* 🔁 centrado horizontal + margen abajo */
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
  }
  
  
  /* LISTA DE AUDIOS */
  #lista-audios > div {
    background-color: #3b3b4d;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
  }
  
  #lista-audios audio {
    width: 100%;
    margin-top: 8px;
  }
  
  /* SCROLL EN LISTAS */
  #lista-audios,
  #dialogos-container,
  #resultado-prompts,
  #prompt-videos-container {
    max-height: 400px;
    overflow-y: auto;
  }
  .premium-voice {
    background-color: #444;         /* gris oscuro */
    cursor: not-allowed;
    opacity: 0.5;
    color: #ccc;
    position: relative;
  }
  
  .premium-voice::after {
    content: "🔒";
    position: absolute;
    right: 8px;
    top: 4px;
    font-size: 12px;
  }
  
  #lista-audios > div {
    background-color: #3b3b4d;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
  }
  .btn-descargar {
    display: inline-block;
    background-color: #28a745;       /* verde tipo "éxito" */
    color: white;
    padding: 10px 16px;
    margin: 8px 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-family: sans-serif;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .btn-descargar:hover {
    background-color: #218838;
    transform: scale(1.03);
  }
  
  .btn-descargar:active {
    transform: scale(0.97);
  }
  .btn-accion {
    background-color: #007bff;
    color: white;
    padding: 10px 16px;
    margin-right: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .btn-accion:hover {
    background-color: #0056b3;
    transform: scale(1.03);
  }
  
  .btn-accion:active {
    transform: scale(0.97);
  }
  
  .btn-volver {
    margin-top: 10px;
    background-color: #6c757d;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn-volver:hover {
    background-color: #5a6268;
  }
  .input-file {
    margin-top: 10px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
  }
  
  .input-text {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }
  
  .btn-accion {
    background-color: #007bff;
    color: white;
    padding: 10px 16px;
    margin: 8px 10px 0 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .btn-accion:hover {
    background-color: #0056b3;
    transform: scale(1.03);
  }
  
  .btn-volver {
    margin: 10px 0;
    background-color: #6c757d;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .btn-volver:hover {
    background-color: #5a6268;
  }
  