.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS *//* =================================
   CSS PARA FORMULARIOS WPUM (LOGIN Y REGISTRO)
   Estilo coherente con el formulario de empleos
   ================================= */

/* Variables (usar las mismas del formulario anterior) */
:root {
  --primary-dark: #002B5B;
  --primary-blue: #0057D9;
  --light-gray: #F4F6F8;
  --white: #FFFFFF;
  --border-radius: 12px;
  --shadow: 0 4px 20px rgba(0, 43, 91, 0.1);
  --shadow-hover: 0 6px 30px rgba(0, 43, 91, 0.15);
}

/* Contenedor principal de los formularios WPUM */
.wpum-template {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header de la página */
.page-header {
  text-align: center;
  margin-bottom: 30px;
}

.page-header .entry-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-blue);
  display: inline-block;
}

/* Formularios */
.wpum-form {
  width: 100%;
}

.wpum-form form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Fieldsets */
.wpum-form fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Labels */
.wpum-form label {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 0;
}

/* Asterisco requerido */
.wpum-required {
  color: #e74c3c;
  font-weight: bold;
  margin-left: 4px;
}

/* Contenedores de campos */
.wpum-form .field {
  position: relative;
}

/* Inputs de texto, email y password */
.wpum-form .input-text,
.wpum-form .input-email {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e6ed;
  border-radius: 8px;
  font-size: 15px;
  color: var(--primary-dark);
  background: var(--white);
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.wpum-form .input-text:focus,
.wpum-form .input-email:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.1);
  background: var(--white);
}

/* Estados de validación */
.wpum-form .required-field .input-text:invalid,
.wpum-form .required-field .input-email:invalid {
  border-color: #e74c3c;
}

.wpum-form .required-field .input-text:valid,
.wpum-form .required-field .input-email:valid {
  border-color: #27ae60;
}

/* Campo honeypot (oculto) */
.fieldset-robo {
  display: none !important;
}

/* Checkbox fields */
.wpum-form .input-checkbox {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  accent-color: var(--primary-blue);
  cursor: pointer;
}

/* Label para remember me */
.fieldset-remember label {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.fieldset-remember label:hover {
  color: var(--primary-dark);
}

.fieldset-remember .field {
  margin-right: 8px;
}

/* Label para privacy policy */
.fieldset-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.fieldset-privacy .field {
  margin-top: 2px;
}

.fieldset-privacy .description {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.fieldset-privacy .description a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.fieldset-privacy .description a:hover {
  text-decoration: underline;
}

/* Botones de submit */
.wpum-form .button {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
  font-family: inherit;
}

.wpum-form .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(0, 87, 217, 0.3);
  background: linear-gradient(135deg, var(--primary-dark), #001a3d);
}

.wpum-form .button:active {
  transform: translateY(-1px);
}

/* Links de acciones */
.wpum-action-links {
  list-style: none;
  padding: 0;
  margin: 25px 0 0 0;
  text-align: center;
}

.wpum-action-links li {
  margin: 10px 0;
  font-size: 14px;
  color: #666;
}

.wpum-action-links a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.wpum-action-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Animaciones de entrada */
.wpum-template {
  animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación para los fieldsets */
.wpum-form fieldset {
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .wpum-template {
    max-width: 100%;
    margin: 10px;
    padding: 25px 20px;
  }
  
  .page-header .entry-title {
    font-size: 24px;
  }
  
  .wpum-form .input-text,
  .wpum-form .input-email {
    font-size: 16px; /* Evita zoom en iOS */
    padding: 12px 14px;
  }
  
  .wpum-form .button {
    padding: 14px 28px;
    font-size: 15px;
  }
  
  .wpum-form form {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .wpum-template {
    padding: 20px 15px;
  }
  
  .page-header .entry-title {
    font-size: 22px;
  }
  
  .wpum-form label {
    font-size: 15px;
  }
  
  .fieldset-privacy label {
    font-size: 13px;
  }
}

/* Estados de carga/procesamiento */
.wpum-form.processing {
  opacity: 0.7;
  pointer-events: none;
}

.wpum-form.processing .button {
  background: #ccc;
  transform: none;
}

/* Mensajes de error/éxito (si se agregan en el futuro) */
.wpum-notice {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}

.wpum-notice.error {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
}

.wpum-notice.success {
  background: #efe;
  border: 1px solid #cfc;
  color: #3c3;
}

/* Mejoras de accesibilidad */
.wpum-form label:focus-within {
  color: var(--primary-blue);
}

.wpum-form .input-text:focus,
.wpum-form .input-email:focus {
  position: relative;
  z-index: 1;
}

/* Focus visible para navegación por teclado */
.wpum-form .button:focus-visible {
  outline: 3px solid rgba(0, 87, 217, 0.5);
  outline-offset: 2px;
}

.wpum-action-links a:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Efecto de hover mejorado para campos */
.wpum-form .input-text:hover,
.wpum-form .input-email:hover {
  border-color: #c0d0e0;
}

/* Estilo para formularios anidados en contenedores específicos */
.site-main .wpum-template {
  margin-top: 0;
  margin-bottom: 30px;
}

/* Ajustes específicos para el contenedor principal */
.page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 60vh;
  padding: 20px 0;
}/* End custom CSS */