@charset "UTF-8";
/*
 |--------------------------------------------------------------------------
 | Pantalla de acceso
 |--------------------------------------------------------------------------
 |
 | Misma paleta que la Sucursal Webmusica (colores del logo): naranja
 | principal con morado, verde y ámbar como acentos. Va después de style.css.
 |
 */
:root {
  --wm-naranja: #f4470f;
  --wm-naranja-osc: #cf3808;
  --wm-naranja-clara: #ff7a45;
  --wm-morado: #9b26b0;
  --wm-verde: #8cc63f;
  --wm-ambar: #ffc20e;
  --wm-texto: #3f4254;
  --wm-texto-suave: #858796;
  --wm-borde: #e9ecf3;
}

body.acceso {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--wm-texto);
  background: radial-gradient(circle at 12% 18%, rgba(155, 38, 176, 0.1) 0, transparent 38%), radial-gradient(circle at 88% 82%, rgba(255, 194, 14, 0.14) 0, transparent 40%), #f7f7fb;
}

.tarjeta-acceso {
  width: 100%;
  max-width: 920px;
  display: flex;
  background: #fff;
  border: 1px solid var(--wm-borde);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1.25rem 3rem rgba(58, 59, 69, 0.12);
  -webkit-animation: aparecer 0.45s cubic-bezier(0.4, 0, 0.2, 1);
          animation: aparecer 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

@-webkit-keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* ── Panel de marca ──────────────────────────────────────────────────── */
.panel-marca {
  position: relative;
  flex: 0 0 44%;
  padding: 3rem 2.5rem;
  color: #fff;
  background: linear-gradient(150deg, var(--wm-naranja-clara) 0%, var(--wm-naranja) 45%, var(--wm-naranja-osc) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Triángulos decorativos, como el ícono del logo */
.panel-marca::before,
.panel-marca::after {
  content: "";
  position: absolute;
  border-radius: 2.5rem;
  transform: rotate(30deg);
  opacity: 0.16;
}

.panel-marca::before {
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: -70px;
  background: var(--wm-ambar);
}

.panel-marca::after {
  width: 180px;
  height: 180px;
  left: -70px;
  top: -60px;
  background: var(--wm-morado);
}

.panel-marca > * {
  position: relative;
  z-index: 1;
}

.panel-marca .icono-marca {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: #fff;
  padding: 6px;
  -o-object-fit: contain;
     object-fit: contain;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
}

.panel-marca h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 1.75rem 0 0.75rem;
}

.panel-marca p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.92;
  margin: 0;
}

.lista-marca {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
}

.lista-marca li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.lista-marca i {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

.pie-marca {
  font-size: 0.78rem;
  opacity: 0.8;
  margin-top: 2rem;
}

/* ── Formulario ──────────────────────────────────────────────────────── */
.panel-form {
  flex: 1;
  padding: 3rem 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logotipo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  text-decoration: none;
}

.logotipo img.icono {
  width: 52px;
  height: 52px;
  -o-object-fit: contain;
     object-fit: contain;
}

.logotipo img.completo {
  max-width: 240px;
  height: auto;
}

.logotipo .texto {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.logotipo .l-w {
  color: var(--wm-morado);
}

.logotipo .l-e {
  color: #b43ac4;
}

.logotipo .l-b {
  color: var(--wm-ambar);
}

.logotipo .l-musica {
  color: var(--wm-naranja);
  margin-left: 0.35rem;
}

.panel-form h1 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #2f3142;
  text-align: center;
  margin: 0 0 0.35rem;
}

.panel-form .bajada {
  text-align: center;
  color: var(--wm-texto-suave);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.campo {
  margin-bottom: 1.1rem;
}

.campo label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5a5c69;
  margin-bottom: 0.35rem;
}

.control {
  position: relative;
}

.control > i.fas {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #b7b9cc;
  font-size: 0.9rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.control input {
  width: 100%;
  height: 3rem;
  padding: 0 3rem 0 2.75rem;
  border: 1px solid #dfe1ea;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: #2f3142;
  background: #fbfbfd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.control input:focus {
  outline: none;
  border-color: var(--wm-naranja);
  background: #fff;
  box-shadow: 0 0 0 0.2rem rgba(244, 71, 15, 0.14);
}

.control input:focus + i.fas,
.control:focus-within > i.fas {
  color: var(--wm-naranja);
}

.control input.is-invalid {
  border-color: #e74a3b;
}

.ver-clave {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #9a9cab;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
}

.ver-clave:hover,
.ver-clave:focus {
  color: var(--wm-naranja);
  outline: none;
}

.error-campo {
  display: block;
  color: #e74a3b;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.opciones-acceso {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.25rem 0 1.5rem;
  font-size: 0.85rem;
}

.opciones-acceso .custom-control-input:checked ~ .custom-control-label::before {
  border-color: var(--wm-naranja);
  background-color: var(--wm-naranja);
}

.opciones-acceso .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(244, 71, 15, 0.2);
}

.btn-acceso {
  width: 100%;
  height: 3rem;
  border: 0;
  border-radius: 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--wm-naranja-clara) 0%, var(--wm-naranja) 55%, var(--wm-naranja-osc) 100%);
  box-shadow: 0 0.5rem 1.25rem rgba(244, 71, 15, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-acceso:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.75rem 1.5rem rgba(244, 71, 15, 0.34);
}

.btn-acceso:active {
  transform: none;
  filter: brightness(0.95);
}

.btn-acceso:disabled {
  opacity: 0.75;
  transform: none;
}

.ayuda-acceso {
  text-align: center;
  color: var(--wm-texto-suave);
  font-size: 0.82rem;
  margin-top: 1.5rem;
}

.ayuda-acceso a {
  color: var(--wm-naranja);
  font-weight: 700;
}

.ayuda-acceso.legales {
  margin-top: 0.5rem;
  font-size: 0.76rem;
}

.ayuda-acceso.legales a {
  color: var(--wm-texto-suave);
  font-weight: 600;
}

.ayuda-acceso.legales a:hover {
  color: var(--wm-naranja);
}

/* ── Pantallas chicas ────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  body.acceso {
    padding: 1rem;
    align-items: flex-start;
  }

  .tarjeta-acceso {
    flex-direction: column;
    border-radius: 1rem;
  }

  .panel-marca {
    display: none;
  }

  .panel-form {
    padding: 2rem 1.5rem 1.75rem;
  }

  .logotipo .texto {
    font-size: 1.55rem;
  }
}
