/* =========================================================
   ESTILOS DE FORMULARIOS DE EXTRACCIÓN (SARGABO TV)
   ========================================================= */

.extractor-panel {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

/* Banner de marca del servicio */
.extractor-banner-box {
  width: 100%;
  max-width: 250px;
  height: 165px;
  margin: 0 auto 24px auto;
  border-radius: 22px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.extractor-banner-box img {
  max-height: 140px;
  max-width: 95%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1.15);
}

/* Formulario */
.extractor-form {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.extractor-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #f1f5f9;
  text-align: center;
  letter-spacing: -0.2px;
}

.extractor-input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 9, 26, 0.85);
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
  text-align: center;
}

.extractor-input:focus {
  border-color: #00d2ff;
  background: rgba(18, 12, 36, 0.95);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
}

/* Botón de envío Disney */
.btn-submit-disney {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #0984e3 0%, #00cec9 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(9, 132, 227, 0.45);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-disney:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 206, 201, 0.55);
}

/* Caja de Resultados */
#box-resultado-disney {
  display: none;
  margin: 22px auto 0 auto;
  max-width: 440px;
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  background: rgba(16, 11, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

/* Loader animado con temática Disney cian */
#loader-disney {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #00d2ff;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.4);
}

.spinner-loader-disney {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(0, 210, 255, 0.25);
  border-radius: 50%;
  border-top-color: #00d2ff;
  animation: spinDisney 0.8s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes spinDisney {
  to { transform: rotate(360deg); }
}

/* Bloque del Código */
.disney-code-box {
  background: rgba(0, 210, 255, 0.06);
  border: 1.5px dashed rgba(0, 210, 255, 0.5);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

.disney-code-digits {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 10px;
  text-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
  margin-top: 4px;
}

.btn-copiar-disney {
  background: linear-gradient(135deg, #0984e3 0%, #00b4d8 100%);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 14px rgba(9, 132, 227, 0.4);
  font-family: inherit;
}

.btn-copiar-disney:hover {
  transform: translateY(-2px);
}

/* Tarjeta de error con alto contraste */
.error-card-disney {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.16) 0%, rgba(185, 28, 28, 0.08) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.45);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.error-title-disney {
  color: #fca5a5;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.error-desc-disney {
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

/* =========================================================
   ESTILOS ESPECÍFICOS PARA NETFLIX CÓDIGO
   ========================================================= */

/* Botón de envío Netflix */
.btn-submit-netflix {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #e50914 0%, #990000 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.45);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-netflix:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(229, 9, 20, 0.6);
}

/* Caja de Resultados Netflix */
#box-resultado-codigo {
  display: none;
  margin: 22px auto 0 auto;
  max-width: 440px;
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  background: rgba(16, 11, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

/* Loader animado rojo */
#loader-status {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ff4d5a;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  text-shadow: 0 0 10px rgba(255, 77, 90, 0.4);
}

.spinner-loader-netflix {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 77, 90, 0.25);
  border-radius: 50%;
  border-top-color: #ff4d5a;
  animation: spinNetflix 0.8s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes spinNetflix {
  to { transform: rotate(360deg); }
}

/* Contenedor del código de 4 dígitos */
.netflix-code-box {
  background: rgba(229, 9, 20, 0.06);
  border: 1.5px dashed rgba(229, 9, 20, 0.5);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

.netflix-code-digits {
  font-size: 46px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 14px;
  text-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
  margin-top: 4px;
}

.btn-copiar-netflix {
  background: linear-gradient(135deg, #e50914 0%, #b80710 100%);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
  font-family: inherit;
}

.btn-copiar-netflix:hover {
  transform: translateY(-2px);
}

/* =========================================================
   LOADER RESTABLECIMIENTO NETFLIX (DORADO/ÁMBAR)
   ========================================================= */
#loader-reset {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #f59e0b;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.spinner-loader-reset {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(245, 158, 11, 0.25);
  border-radius: 50%;
  border-top-color: #f59e0b;
  animation: spinReset 0.8s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes spinReset {
  to { transform: rotate(360deg); }
}

.btn-reset-link {
  width: 100%;
  background: linear-gradient(135deg, #e50914 0%, #b80710 100%);
  color: #ffffff;
  font-weight: 800;
  border: none;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  margin-bottom: 12px;
}

.btn-reset-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(229, 9, 20, 0.6);
}

.btn-copiar-link-reset {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-copiar-link-reset:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* ==========================================================================
   Módulo: Prime Video
   ========================================================================== */
.btn-submit-prime {
  background: linear-gradient(135deg, #00a8e1 0%, #007eb9 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 168, 225, 0.35);
  margin-top: 10px;
}

.btn-submit-prime:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 225, 0.55);
  filter: brightness(1.1);
}

.box-resultado-prime {
  display: none;
  margin-top: 20px;
}

.loader-prime-box {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #00a8e1;
  font-weight: 700;
  font-size: 14px;
  padding: 15px;
}

.prime-code-box {
  border: 1px dashed #00a8e1;
  border-radius: 12px;
  padding: 20px 24px;
  background: rgba(0, 168, 225, 0.05);
  width: 100%;
  max-width: 360px;
  margin: 12px auto;
  text-align: center;
}

.prime-code-digits {
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 8px;
  line-height: 1.1;
  margin: 10px 0 16px 0;
  font-family: monospace, monospace;
}

.btn-copiar-prime {
  background: #00a8e1;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13.5px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-copiar-prime:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.spinner-loader-prime {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 168, 225, 0.25);
  border-radius: 50%;
  border-top-color: #00a8e1;
  animation: spinPrime 0.75s linear infinite;
  display: inline-block;
}

@keyframes spinPrime {
  to { transform: rotate(360deg); }
}