/* Genda Login Pro 1.1.0 — estilos encapsulados exclusivamente en #genda-login-pro */
#genda-login-pro {
  --genda-blue: #1769e0;
  --genda-blue-hover: #1259c7;
  --genda-blue-dark: #0f4fb5;
  --genda-blue-deep: #0b347a;
  --genda-blue-light: #eaf2ff;
  --genda-blue-soft: #f5f8ff;
  --genda-text: #172033;
  --genda-muted: #667085;
  --genda-muted-light: #98a2b3;
  --genda-border: #e1e7ef;
  --genda-border-dark: #d0d7e2;
  --genda-background: #f7f9fc;
  --genda-white: #ffffff;

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: calc(100vh - 80px);
  font-family: inherit;
  color: var(--genda-text);
  background: var(--genda-background);
  overflow: hidden;
  overflow-x: clip;
  box-sizing: border-box;
}

#genda-login-pro,
#genda-login-pro *,
#genda-login-pro *::before,
#genda-login-pro *::after {
  box-sizing: border-box;
}

/* Estructura */
#genda-login-pro .genda-login-layout {
  width: 100%;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(500px, .92fr);
}

/* Panel de marca */
#genda-login-pro .genda-login-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 6vw, 108px);
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.15) 0, rgba(255,255,255,0) 29%),
    radial-gradient(circle at 86% 80%, rgba(97,164,255,.24) 0, rgba(97,164,255,0) 34%),
    linear-gradient(135deg, var(--genda-blue-deep) 0%, var(--genda-blue-dark) 46%, var(--genda-blue) 100%);
  overflow: hidden;
}

#genda-login-pro .genda-login-brand::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -170px;
  top: -160px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  pointer-events: none;
}

#genda-login-pro .genda-login-brand::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -165px;
  bottom: -195px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  pointer-events: none;
}

#genda-login-pro .genda-brand-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 690px;
}

#genda-login-pro .genda-brand-block {
  display: block;
  margin-bottom: 44px;
}

#genda-login-pro .genda-brand-name {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.025em;
}

#genda-login-pro .genda-brand-tagline {
  margin: 10px 0 0 45px;
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: .01em;
}

#genda-login-pro .genda-brand-symbol {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#genda-login-pro .genda-brand-symbol svg {
  width: 19px;
  height: 19px;
  display: block;
}

#genda-login-pro .genda-eyebrow {
  width: max-content;
  display: flex;
  align-items: center;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.10);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .09em;
}

#genda-login-pro .genda-brand-title {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 4.1vw, 58px);
  line-height: 1.045;
  font-weight: 800;
  letter-spacing: -.045em;
}

#genda-login-pro .genda-brand-description {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

#genda-login-pro .genda-benefits {
  display: grid;
  gap: 13px;
  margin-top: 36px;
}

#genda-login-pro .genda-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.95);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
}

#genda-login-pro .genda-benefit-icon {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  background: rgba(255,255,255,.12);
  color: #fff;
}

#genda-login-pro .genda-benefit-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

#genda-login-pro .genda-agency {
  margin-top: 54px;
  color: rgba(255,255,255,.61);
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 500;
}

/* Panel derecho */
#genda-login-pro .genda-login-access {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px clamp(34px, 5vw, 84px);
  background:
    radial-gradient(circle at 88% 12%, rgba(23,105,224,.07) 0, rgba(23,105,224,0) 31%),
    var(--genda-background);
}

#genda-login-pro .genda-login-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 535px;
  padding: 40px 40px 32px;
  border: 1px solid var(--genda-border);
  border-radius: 22px;
  background: rgba(255,255,255,.985);
  box-shadow: 0 20px 50px rgba(15,35,70,.08), 0 2px 6px rgba(15,35,70,.025);
}

#genda-login-pro .genda-card-mobile-logo {
  display: none;
}

#genda-login-pro .genda-card-header {
  margin-bottom: 26px;
  text-align: center;
}

#genda-login-pro .genda-card-title {
  margin: 0;
  color: var(--genda-text);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.035em;
}

#genda-login-pro .genda-card-subtitle {
  margin: 8px 0 0;
  color: var(--genda-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Ultimate Member: solo dentro de este login */
#genda-login-pro .genda-um-wrapper,
#genda-login-pro .genda-um-wrapper .um,
#genda-login-pro .genda-um-wrapper .um-form {
  width: 100% !important;
  max-width: none !important;
}

#genda-login-pro .genda-um-wrapper .um {
  margin: 0 !important;
  color: var(--genda-text) !important;
  font-family: inherit !important;
}

#genda-login-pro .genda-um-wrapper .um-form {
  font-family: inherit !important;
}

#genda-login-pro .genda-um-wrapper .um-field {
  margin-bottom: 17px !important;
}

#genda-login-pro .genda-um-wrapper .um-field-label {
  margin: 0 0 8px !important;
}

#genda-login-pro .genda-um-wrapper .um-field-label label {
  color: #344054 !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  font-weight: 650 !important;
}

#genda-login-pro .genda-um-wrapper input[type="text"],
#genda-login-pro .genda-um-wrapper input[type="email"],
#genda-login-pro .genda-um-wrapper input[type="password"],
#genda-login-pro .genda-um-wrapper input[type="tel"],
#genda-login-pro .genda-um-wrapper .um-form-field {
  width: 100% !important;
  min-height: 53px !important;
  padding: 0 15px !important;
  color: var(--genda-text) !important;
  background: #fff !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(15,35,70,.025) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: normal !important;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}

#genda-login-pro .genda-um-wrapper input::placeholder {
  color: var(--genda-muted-light) !important;
  opacity: 1;
}

#genda-login-pro .genda-um-wrapper input[type="text"]:focus,
#genda-login-pro .genda-um-wrapper input[type="email"]:focus,
#genda-login-pro .genda-um-wrapper input[type="password"]:focus,
#genda-login-pro .genda-um-wrapper input[type="tel"]:focus,
#genda-login-pro .genda-um-wrapper .um-form-field:focus {
  outline: none !important;
  border-color: var(--genda-blue) !important;
  box-shadow: 0 0 0 4px rgba(23,105,224,.10), 0 1px 2px rgba(15,35,70,.03) !important;
}

/* Ojo de contraseña */
#genda-login-pro .genda-um-wrapper .um-field-icon {
  color: #7f8b9d !important;
  transition: color .2s ease !important;
}

#genda-login-pro .genda-um-wrapper .um-field-icon:hover {
  color: var(--genda-blue) !important;
}

/* Checkbox */
#genda-login-pro .genda-um-wrapper .um-field-checkbox {
  margin: 2px 0 3px !important;
}

#genda-login-pro .genda-um-wrapper .um-field-checkbox-option {
  color: var(--genda-muted) !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
}

#genda-login-pro .genda-um-wrapper .um-field-checkbox-state i {
  color: var(--genda-blue) !important;
}

/* La fila de botones de UM queda a ancho completo */
#genda-login-pro .genda-um-wrapper .um-col-alt {
  margin-top: 5px !important;
}

/* Oculta solo el botón de registro automático de Ultimate Member */
#genda-login-pro .genda-um-wrapper .um-col-alt .um-right.um-half,
#genda-login-pro .genda-um-wrapper .um-col-alt .um-half:nth-of-type(2) {
  display: none !important;
}

/* El botón de login ocupa el 100% */
#genda-login-pro .genda-um-wrapper .um-col-alt .um-left.um-half,
#genda-login-pro .genda-um-wrapper .um-col-alt .um-half:first-of-type {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

#genda-login-pro .genda-um-wrapper input[type="submit"].um-button,
#genda-login-pro .genda-um-wrapper .um-col-alt .um-left .um-button {
  width: 100% !important;
  min-height: 54px !important;
  margin: 7px 0 0 !important;
  padding: 0 22px !important;
  color: #fff !important;
  background: var(--genda-blue) !important;
  border: 1px solid var(--genda-blue) !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 14px rgba(23,105,224,.20) !important;
  text-shadow: none !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease !important;
}

#genda-login-pro .genda-um-wrapper input[type="submit"].um-button:hover,
#genda-login-pro .genda-um-wrapper .um-col-alt .um-left .um-button:hover {
  color: #fff !important;
  background: var(--genda-blue-hover) !important;
  border-color: var(--genda-blue-hover) !important;
  box-shadow: 0 8px 18px rgba(23,105,224,.22) !important;
  transform: translateY(-1px);
}

#genda-login-pro .genda-um-wrapper input[type="submit"].um-button:focus-visible,
#genda-login-pro .genda-um-wrapper .um-col-alt .um-left .um-button:focus-visible {
  outline: 3px solid rgba(23,105,224,.22) !important;
  outline-offset: 2px !important;
}

/* Recuperación de contraseña */
#genda-login-pro .genda-um-wrapper .um-col-alt-b {
  padding-top: 15px !important;
  text-align: center !important;
}

#genda-login-pro .genda-um-wrapper .um-link-alt {
  color: var(--genda-blue-dark) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

#genda-login-pro .genda-um-wrapper .um-link-alt:hover {
  color: var(--genda-blue) !important;
  text-decoration: underline !important;
}

/* Enlaces genéricos del formulario */
#genda-login-pro .genda-um-wrapper a {
  color: var(--genda-blue-dark) !important;
  font-family: inherit !important;
  text-decoration: none !important;
}

#genda-login-pro .genda-um-wrapper a:hover {
  color: var(--genda-blue) !important;
}

/* Mensajes / errores */
#genda-login-pro .genda-um-wrapper .um-field-error {
  margin-top: 7px !important;
  padding: 9px 11px !important;
  color: #b42318 !important;
  background: #fef3f2 !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

#genda-login-pro .genda-um-wrapper .um-field-arrow {
  color: #fef3f2 !important;
}

#genda-login-pro .genda-um-wrapper .um-notice {
  border-radius: 10px !important;
  font-family: inherit !important;
  font-size: 13px !important;
}

/* Registro propio */
#genda-login-pro .genda-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 17px;
  color: var(--genda-muted-light);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 550;
  white-space: nowrap;
}

#genda-login-pro .genda-divider::before,
#genda-login-pro .genda-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e5eaf1;
}

#genda-login-pro .genda-register-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--genda-blue);
  background: #fff;
  border: 1px solid var(--genda-blue);
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

#genda-login-pro .genda-register-button:hover {
  color: var(--genda-blue-dark);
  background: var(--genda-blue-light);
  border-color: var(--genda-blue-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

#genda-login-pro .genda-register-button:focus-visible {
  outline: 3px solid rgba(23,105,224,.18);
  outline-offset: 2px;
}

#genda-login-pro .genda-free-text {
  margin: 9px 0 0;
  text-align: center;
  color: var(--genda-muted-light);
  font-size: 11.5px;
  line-height: 1.4;
}

/* Empleos */
#genda-login-pro .genda-jobs-area {
  margin-top: 23px;
  padding-top: 21px;
  border-top: 1px solid #eef1f5;
  text-align: center;
}

#genda-login-pro .genda-jobs-question {
  margin: 0 0 7px;
  color: var(--genda-muted-light);
  font-size: 12.5px;
  line-height: 1.4;
}

#genda-login-pro .genda-jobs-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--genda-blue);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

#genda-login-pro .genda-jobs-arrow {
  display: inline-block;
  transition: transform .2s ease;
}

#genda-login-pro .genda-jobs-link:hover {
  color: var(--genda-blue-dark);
  text-decoration: none;
}

#genda-login-pro .genda-jobs-link:hover .genda-jobs-arrow {
  transform: translateX(3px);
}

/* Acceso seguro */
#genda-login-pro .genda-secure {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--genda-muted-light);
  font-size: 11px;
  line-height: 1;
  font-weight: 550;
}

#genda-login-pro .genda-secure svg {
  width: 13px;
  height: 13px;
  display: block;
}

/* Tablet */
@media (max-width: 1100px) {
  #genda-login-pro .genda-login-layout {
    grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  }

  #genda-login-pro .genda-login-brand {
    padding: 54px 44px;
  }

  #genda-login-pro .genda-brand-title {
    font-size: 43px;
  }

  #genda-login-pro .genda-brand-tagline {
    margin-left: 0;
    max-width: 330px;
  }

  #genda-login-pro .genda-login-access {
    padding: 44px 32px;
  }

  #genda-login-pro .genda-login-card {
    padding: 37px 34px 30px;
  }
}

/* Móvil */
@media (max-width: 900px) {
  #genda-login-pro {
    min-height: auto;
    background: var(--genda-background);
  }

  #genda-login-pro .genda-login-layout {
    display: block;
    min-height: auto;
  }

  #genda-login-pro .genda-login-brand {
    min-height: auto;
    padding: 25px 20px 52px;
    text-align: center;
  }

  #genda-login-pro .genda-brand-content {
    max-width: 580px;
    margin: 0 auto;
  }

  #genda-login-pro .genda-brand-block {
    margin-bottom: 18px;
  }

  #genda-login-pro .genda-brand-name {
    margin: 0 auto;
  }

  #genda-login-pro .genda-brand-tagline {
    margin: 8px auto 0;
    font-size: 11.5px;
  }

  #genda-login-pro .genda-eyebrow {
    margin: 0 auto 13px;
  }

  #genda-login-pro .genda-brand-title {
    max-width: 520px;
    margin: 0 auto;
    font-size: clamp(29px, 7vw, 38px);
    line-height: 1.08;
  }

  #genda-login-pro .genda-brand-description,
  #genda-login-pro .genda-benefits,
  #genda-login-pro .genda-agency {
    display: none;
  }

  #genda-login-pro .genda-login-access {
    margin-top: -27px;
    padding: 0 18px 36px;
    background: transparent;
  }

  #genda-login-pro .genda-login-card {
    max-width: 570px;
    padding: 30px 25px 27px;
    border-radius: 19px;
    box-shadow: 0 14px 38px rgba(15,35,70,.11);
  }

  #genda-login-pro .genda-card-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  #genda-login-pro .genda-login-brand {
    padding: 21px 17px 47px;
  }

  #genda-login-pro .genda-brand-name {
    font-size: 18px;
  }

  #genda-login-pro .genda-brand-symbol {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  #genda-login-pro .genda-brand-tagline {
    max-width: 290px;
    font-size: 10.5px;
  }

  #genda-login-pro .genda-eyebrow {
    padding: 7px 10px;
    font-size: 10px;
  }

  #genda-login-pro .genda-brand-title {
    font-size: 29px;
  }

  #genda-login-pro .genda-login-access {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 28px;
  }

  #genda-login-pro .genda-login-card {
    padding: 26px 20px 24px;
    border-radius: 18px;
  }

  #genda-login-pro .genda-card-header {
    margin-bottom: 22px;
  }

  #genda-login-pro .genda-card-title {
    font-size: 26px;
  }

  #genda-login-pro .genda-card-subtitle {
    font-size: 14px;
  }

  #genda-login-pro .genda-divider {
    gap: 8px;
    white-space: normal;
    text-align: center;
    font-size: 11px;
  }

  #genda-login-pro .genda-um-wrapper input[type="text"],
  #genda-login-pro .genda-um-wrapper input[type="email"],
  #genda-login-pro .genda-um-wrapper input[type="password"],
  #genda-login-pro .genda-um-wrapper input[type="tel"],
  #genda-login-pro .genda-um-wrapper .um-form-field {
    min-height: 52px !important;
    font-size: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #genda-login-pro *,
  #genda-login-pro *::before,
  #genda-login-pro *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
