body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(120deg, #fa71cd 0%, #c73e8d 50%, #662d91 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.26;
  background: url('https://chicasalafter.cluborixas.cl/diamond-upholstery.png');
  background-size: cover;
  background-repeat: repeat;
}

.container {
  max-width: 425px;
  margin: 1.1em auto 0 auto;
  background: rgba(255,255,255,0.19);
  border-radius: 24px;
  padding: 1.2em 5vw 0.9em 5vw;
  border: 2.5px solid;
  border-image: linear-gradient(120deg, #fa71cd 0%, #c73e8d 50%, #662d91 100%) 1;
  box-shadow: 0 8px 24px #0002, 0 1.5px 16px #c73e8d55;
  backdrop-filter: blur(9px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo-chicas {
  display: block;
  margin: 1.3em auto 0.4em auto;
  max-width: 110px;
  width: 40vw;
  filter: drop-shadow(0 2px 12px #fff6);
}

h1 {
  color: #fff;
  text-align: center;
  font-size: 2.7em;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0.12em 0 0.6em 0;
  background: linear-gradient(90deg, #fff 55%, #fa71cd 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 14px #fa71cd33;
  line-height: 1.08;
}

form {
  width: 100%;
}

label {
  display: block;
  margin-top: 0.33em;
  font-weight: 700;
  font-size: 1.09em;
  color: #fff;
  text-shadow: 0 2px 12px #662d9188;
}

select,
input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  margin-top: 0.14em;
  padding: 0.72em;
  border-radius: 13px;
  border: 2px solid #fa71cd;
  background: rgba(255,255,255,0.86);
  color: #c73e8d;
  font-size: 1.15em;
  margin-bottom: 0.34em;
  font-weight: 500;
  outline: none;
  transition: border 0.2s, background 0.2s, color 0.2s;
}

select:focus, input[type="text"]:focus {
  border-color: #662d91;
}

select:disabled, input:disabled {
  background: #f2c8e4 !important;
  color: #924572 !important;
  opacity: 1;
  cursor: not-allowed;
}

/* BOTÓN */
button {
  width: 100%;
  margin-top: 0.9em;
  background: linear-gradient(90deg, #c73e8d 30%, #fa71cd 100%);
  color: #fff;
  font-size: 1.16em;
  font-weight: 800;
  border: none;
  padding: 0.92em;
  border-radius: 2em;
  box-shadow: 0 2px 16px #c73e8d55;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
  text-shadow: 0 2px 8px #fa71cd44;
  letter-spacing: 0.01em;
}

button:disabled {
  background: #f6c5e0;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

#mensaje {
  text-align: center;
  margin: 1.1em auto 0.6em auto;
  color: #fff;
  min-height: 1.4em;
  font-size: 1.15em;
  font-weight: 400;
  padding: 0.7em 0.5em 0.3em 0.5em;
  border-radius: 19px;
  background: rgba(0,0,0,0.32);
  box-shadow: 0 2px 12px #c73e8d44;
  max-width: 98%;
  font-family: inherit;
  border: 1.3px solid #fff3;
  backdrop-filter: blur(2.5px);
}

#mensaje b {
  color: #fff !important;
  font-weight: 900 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 6px #c73e8d77, 0 0 3px #fff, 0 0 8px #fff5;
}
#mensaje .emoji {
  font-size: 1.32em;
  vertical-align: -0.08em;
}

#procesando {
  display: none;
  text-align: center;
  color: #fff;
  margin: 0.3em 0 0.1em 0;
  font-weight: 800;
  text-shadow: 0 2px 7px #c73e8d55;
}

.logo-orixas {
  display: block;
  margin: 1.3em auto 0.1em auto;
  max-width: 75px;
  width: 25vw;
  opacity: 1;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.by-suke {
  text-align: center;
  color: #fff;
  font-size: 0.96em;
  margin-bottom: 0.4em;
  font-family: monospace;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px #fa71cd55;
}

/* --- PANEL DJ estilos compactos --- */
.lista-canciones {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.lista-canciones li {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.42em;
  padding: 0.19em 0.39em 0.19em 0.39em;
  margin: 0.15em 0;
  border-radius: 9px;
  background: rgba(245,245,255,0.82);
  font-size: 0.97em;
  box-shadow: 0 0.5px 4px #c73e8d14;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.bloque-canciones, .lista-canciones {
  max-width: 100%;
  overflow-x: auto;
}

.nombre-dj {
  color: #b38cffdd;
  font-size: 1.05em;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 85px;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cancion-titulo {
  font-weight: 800;
  font-size: 1em;
  color: #662d91;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0.35em 0 0.18em;
}

/* Mueve la mesa a la derecha justo antes de los checkboxes */
.mesa-nombre {
  color: #c73e8d;
  font-weight: bold;
  font-size: 1em;
  flex-shrink: 0;
  min-width: 60px;
  text-align: right;
  margin-left: auto;
  margin-right: 0.3em;
  white-space: nowrap;
}

.checkblock {
  display: flex;
  align-items: center;
  gap: 0.12em;
  min-width: 0;
}

.lista-canciones label {
  display: flex;
  align-items: center;
  font-size: 1em;
  color: #c73e8d;
  font-weight: 700;
  margin: 0 0.13em;
  white-space: nowrap;
  background: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
  gap: 0.09em;
}

.lista-canciones input[type="checkbox"] {
  accent-color: #c73e8d;
  margin: 0 0.11em 0 0;
  width: 1.08em;
  height: 1.08em;
}

/* Si la canción está marcada como cantada */
.lista-canciones li.cantada {
  background: #f4d3f5;
  text-decoration: line-through;
  opacity: 0.7;
}

.dj-icon {
  font-size: 0.99em;
  margin-left: 0.04em;
  margin-right: 0.16em;
  letter-spacing: 0.01em;
}

@media (min-width: 850px) {
  .container {
    max-width: 920px;
    min-width: 720px;
    padding: 2.5em 3em 2em 3em;
    border-radius: 30px;
    box-shadow: 0 16px 40px #c73e8d44;
  }
  .bloque-canciones {
    padding: 2em 2.6em 1.3em 2.6em;
  }
  .lista-canciones li {
    font-size: 1.14em;
    padding: 0.58em 0.6em;
    gap: 1.05em;
  }
  .nombre-dj, .cancion-titulo, .mesa-nombre {
    font-size: 1.15em;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 1em 4vw 1em 4vw;
    margin-top: 0.1em;
  }
  .logo-chicas {
    max-width: 60vw;
    width: 75vw;
    margin-bottom: 0.17em;
    margin-top: 0.7em;
  }
  .logo-orixas {
    max-width: 32vw;
    width: 22vw;
  }
  h1 {
    font-size: 1.44em;
    margin-bottom: 0.25em;
    margin-top: 0;
  }
  label {
    font-size: 0.98em;
  }
  select, input[type="text"] { font-size: 1em; }
  .lista-canciones li {
    font-size: 0.97em;
    padding: 0.14em 0.07em;
    gap: 0.17em;
  }
  .nombre-dj, .mesa-nombre {
    font-size: 0.95em;
    min-width: 55px;
  }
}

/* -------- IMAGEN SOLO EN CANTANDO -------- */
.dj-img-preview {
  display: block;
  margin: 1.2em auto 1.2em auto;
  max-width: 1000px;
  max-height: 1000px;
  width: 100%;
  height: auto;
  border-radius: 32px;
  border: 3.5px solid #c73e8d44;
  box-shadow: 0 6px 40px #fa71cd33, 0 1px 16px #fff7;
  object-fit: cover;
  background: #fff8;
  transition: box-shadow 0.3s, border 0.3s;
}

/* Responsive: en pantallas pequeñas la imagen no debe romper el layout */
@media (max-width: 1100px) {
  .dj-img-preview {
    max-width: 90vw;
    max-height: 70vw;
    border-radius: 22px;
  }
}
@media (max-width: 600px) {
  .dj-img-preview {
    max-width: 96vw;
    max-height: 44vw;
    border-radius: 16px;
  }
}

/* Elimina clases antiguas de img-cantando (no son necesarias si usas esta clase para la imagen) */
#cantandoFoto {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 260px;   /* Opcional: espacio mínimo */
  margin-bottom: 0.5em;
}

.foto-dj {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 4px 18px #c73e8d55;
  background: #fff;
  border: 3px solid #e9c6f5;
}

