/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&display=swap'); */


/* ===== THEME OVERRIDES (negro #050707 / amarillo #D7FF58) ===== */
.yq-theme-dark{
  --yq-bg: #050707;
  --yq-panel: #050707;
  --yq-line: #050707;
  --yq-text: #f4f4f5;
  --yq-muted: #c7c7c7;
  --yq-accent: #D7FF58;
  --yq-accent-weak: rgba(215,255,88,.22);
  --yq-error: #eb1d24;
  --yq-error-weak: rgba(235,29,36,.20);
}

/* Lienzo */
.yq-theme-dark .yq-form{
  background: var(--yq-bg);
  color: var(--yq-text);
  box-shadow: 0 6px 28px rgba(0,0,0,.45);
  max-width: 400px;
  margin: auto;
}

/* Fieldsets y títulos */
.yq-theme-dark .yq-fieldset{
  background: transparent;
  border: 1px solid var(--yq-line);
  border-radius: 0;                 /* cuadrado */
  padding: 22px 20px 16px;
}
.yq-theme-dark .yq-legend{
  color: var(--yq-accent);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 16px;
}

/* Una sola columna */
.yq-theme-dark .yq-grid-2{
  display:grid;
  grid-template-columns: 1fr !important;
  gap: 18px;
}

/* Labels */
.yq-theme-dark .yq-form-group{ margin-bottom: 0; }
.yq-theme-dark .yq-form-group label{
  color: var(--yq-text);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

/* Inputs: cuadrados, borde 2px, padding amplio */
.yq-theme-dark input.yq-input,
.yq-theme-dark select.yq-input,
.yq-theme-dark textarea.yq-input{
  width: 100%;
  background: var(--yq-panel) !important;
  background-color: var(--yq-panel) !important;
  color: var(--yq-text);
  border: 2px solid var(--yq-accent);
  border-radius: 0 !important;             /* cuadrado */
  height: 40px;
  padding: 10px 10px 5px 10px;   
  font-size: 20px;
  font-family: serif;  
  font-weight: 600;                /* separa texto del borde */
  box-sizing: border-box;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.yq-theme-dark textarea.yq-input{ min-height: 120px; }

/* Placeholder/fecha */
.yq-theme-dark .yq-input::placeholder{ color:#9ca3af; opacity:1; }
.yq-theme-dark input[type="date"].yq-input::-webkit-calendar-picker-indicator{ filter: invert(1); }

/* Focus */
.yq-theme-dark .yq-input:focus{
  outline: 0;
  border-color: var(--yq-accent);
  box-shadow: 0 0 0 6px var(--yq-accent-weak);
}

/* Tarjetas de jugador */
.yq-theme-dark .yq-player-card{
  background: transparent;
  border: 1px solid var(--yq-line);
  border-radius: 0;                 /* cuadrado */
  padding: 20px;
}
.yq-theme-dark .yq-player-title{
  color: var(--yq-accent);
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 8px 0;
}
.yq-theme-dark .yq-badge{
  background: var(--yq-accent);
  color: #111;
  min-width: 30px; height: 30px;
  border-radius: 999px; /* el badge sí redondo */
  font-weight: 800; font-size: 13px;
}

/* Botón principal: cuadrado + borde 2px */
.yq-theme-dark .yq-form-actions{ margin-top: 28px; text-align: left; }
.yq-theme-dark .yq-button-primary {
    background: transparent;
    color: var(--yq-accent);
    border: 2px solid var(--yq-accent);
    border-radius: 0;
    padding: 9px 0px 3px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    width: 100%;
    font-size: 28px;
    font-family: "Univers LT Std Extra Blck", sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.7px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
    border-radius: 0 !important;
}
.yq-theme-dark .yq-button-primary:hover{
  background: var(--yq-accent);
  color: #111;
  box-shadow: 0 0 0 6px var(--yq-accent-weak);
}

/* Términos y mensajes */
.yq-theme-dark .yq-terms{ color: var(--yq-muted); }
.yq-theme-dark .yq-terms a{ color: var(--yq-accent); text-decoration: underline; }
.yq-theme-dark .notice p{
  background: #050707;
  border: 1px solid #1e3a1e;
  color: #b7f7b7;
}

/* Responsive */
@media (max-width: 860px){
  .yq-theme-dark .yq-legend{ font-size: 16px; }
  .yq-theme-dark .yq-input{ height: 50px; padding: 12px 14px; }
}

/* Hint opcional a la derecha (si usas data-hint) */
.yq-theme-dark .yq-form-group[data-hint]::after{
  content: attr(data-hint);
  float: right;
  margin-top: 6px;
  font-size: 14px;
  color: #ff4d4d;
}

/* Ocultamos labels y usamos placeholder */
.yq-form-group label{ display: none; }

/* Placeholder general */
.yq-theme-dark .yq-input::placeholder {
  color: #ffffff;
  opacity: 1;
  font-size: 16px;
  font-family: 'PP Eiko Medium', serif;
  font-weight: 700;
}


/* Placeholder para date (estilo interno de texto) */
.yq-theme-dark input[type="date"].yq-input {
  font-size: 16px;
  font-family: 'PP Eiko Medium', serif;
  font-weight: 700;
  color: #ffffff;
}

/* Icono del selector de fecha invertido */
.yq-theme-dark input[type="date"].yq-input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  font-family: 'PP Eiko Medium', serif;
}

/* Hint rojo a la derecha */
.yq-theme-dark .yq-form-group[data-hint]{
  position: relative;
}
.yq-theme-dark .yq-form-group[data-hint]::after{
  content: attr(data-hint);
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: red;
  font-size: 14px;
  pointer-events: none;
}

.yq-section-title{
      font-family: "Univers LT Std Extra Blck", sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.7px;
  font-weight: 700;         /* Extra Bold */
  color: #D7FF58;           /* amarillo de línea gráfica */
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 30px;
  line-height: 1.2;
  margin: 44px 0 18px;
  text-align: left !important;
}


/* Más aire entre campos */
.yq-stack{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;                /* antes 16/18 -> ahora más espacio vertical */
}

/* Inputs un poco más altos y con más padding interno */
.yq-theme-dark .yq-input{
  height: 56px;             /* +alto */
  padding: 16px 18px;       /* +espacio dentro */
}

/* Separación entre bloques de jugadores */
.yq-player{ margin: 34px 0 30px; }

/* Contenedor */
.yq-terms {
  color: #ffffff !important;
  font-size: 16px;
  font-family: 'PP Eiko Medium', serif;
  text-align: left !important;
  margin-bottom: 0;
  padding-bottom: 0;
}

.yq-terms a {
  color: #ffffff  !important;
  text-decoration: underline;
  font-weight: 700;
  font-family: 'PP Eiko Medium', serif;
  font-size: 16px;
  
}

.yq-terms input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: 3px solid #D7FF58;
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin-right: 8px;
  vertical-align: middle;
}

/* Estado marcado */
.yq-terms input[type="checkbox"]:checked {
  background-color: #D7FF58;
}

/* Icono de check al marcar */
.yq-terms input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: solid #050707;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Hover */
.yq-terms input[type="checkbox"]:hover {
  box-shadow: 0 0 0 3px rgba(215,255,88,0.3);
}

.yq-date-float{ position: relative; }

/* Label tipo placeholder */
.yq-float-label{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 16px;
  font-family: 'PP Eiko Medium', serif;
  font-weight: 700;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 1; /* asegúrate de que quede encima */
}

/* Ocultar label si hay foco O ya hay valor */
.yq-date-float.is-focused .yq-float-label,
.yq-date-float.has-value .yq-float-label{
  opacity: 0;
  transform: translateY(-50%) translateX(6px);
}

/* ---------- ARREGLO CROSS-BROWSER (incluye Safari) ---------- */
/* Cuando NO hay valor NI foco: oculta totalmente el texto del input */
.yq-date-float:not(.has-value):not(.is-focused) .yq-input{
  color: transparent;                /* Chrome/Firefox */
  -webkit-text-fill-color: transparent; /* Safari/Chromium WebKit */
  caret-color: transparent;          /* sin caret fantasma */
}

/* Safari a veces pinta partes del date: apágalas también */
.yq-date-float:not(.has-value):not(.is-focused) .yq-input::-webkit-datetime-edit,
.yq-date-float:not(.has-value):not(.is-focused) .yq-input::-webkit-datetime-edit-fields-wrapper,
.yq-date-float:not(.has-value):not(.is-focused) .yq-input::-webkit-datetime-edit-year-field,
.yq-date-float:not(.has-value):not(.is-focused) .yq-input::-webkit-datetime-edit-month-field,
.yq-date-float:not(.has-value):not(.is-focused) .yq-input::-webkit-datetime-edit-day-field,
.yq-date-float:not(.has-value):not(.is-focused) .yq-input::-webkit-datetime-edit-text{
  color: transparent;
  opacity: 0;
}

/* Cuando SÍ hay valor o foco: restaura colores normales */
.yq-date-float.is-focused .yq-input,
.yq-date-float.has-value .yq-input{
  color: #fff;
  -webkit-text-fill-color: #fff;
  caret-color: auto;
}

/* Mantén visible/clicable el icono del calendario */
.yq-date-float .yq-input::-webkit-calendar-picker-indicator{
  filter: invert(1);
  cursor: pointer;
  z-index: 2;
}

/* (Opcional) Evita estilos nativos raros en iOS */
.yq-input[type="date"]{
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.yq-alert{
  display:flex; align-items:center; gap:10px;
  margin-top:14px; padding:14px 16px;
  border:2px solid; border-radius:0;           /* cuadrada */
  background:#050707;                           /* acorde al theme */
  line-height:1.35; font-weight:700;
  font-size: 19px;
}
.yq-alert-success{
  border-color: var(--yq-accent);
  color: var(--yq-accent);
  box-shadow: 0 0 0 6px var(--yq-accent-weak);
  background: rgba(215,255,88,.06);
}
.yq-alert-error{
  border-color: var(--yq-error);
  color: var(--yq-error);
  box-shadow: 0 0 0 6px var(--yq-error-weak);
  background: rgba(235,29,36,.06);
}
.yq-alert-icon{ font-weight:900; }

.yq-date-float .yq-input.yq-invalid ~ .yq-float-label {
    transform: translateY(-85%);
}

.yq-doc-links{
  margin-top: 16px;
  text-align: center;
}
.yq-doc-link{
  display: inline-block;
  margin: 6px 8px;
  text-decoration: underline;
  color: #D6FF3E !important;           /* tu verde lima */
  font-family: 'PP Eiko Medium', serif;
  font-weight: 700;
  font-size: 10px;
  text-align: center !important;
}
.yq-doc-link:hover{
  opacity: .85;
  text-decoration: underline;
}

.label-terms{
  font-family: 'PP Eiko Medium', serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}


@media (max-width: 768px) {
  .yq-theme-dark .yq-form {
    padding: 0px;
    max-width: 300px;
  }
	
  .yq-theme-dark input.yq-input, .yq-theme-dark select.yq-input, .yq-theme-dark textarea.yq-input {
    width: 300px;
  }
	
	.yq-theme-dark .yq-button-primary {
    width: 300px;
		font-size: 18px;
  }
	
  .yq-section-title {
    font-size: 22px !important;
  }

}