/* Registro del celular (/register): cada campo es una caja blanca con el nombre chiquito arriba y lo que escribís
   abajo, todo dentro de la misma caja. Fondo gris, opciones con borde azul al elegirlas, firma y foto en una tarjeta y
   botón redondeado. Solo aplica con html.ma-reg-cel (lo pone register.html en /register del celular; no en la PC, ni en
   cambio de datos, ni en register-spa). La parte de la firma no puede tener position: el lienzo calcula el trazo con su
   posición en la página. */
html.ma-reg-cel,html.ma-reg-cel.ma-route-register{background:#f3f4f7!important}
html.ma-reg-cel body.auth-register{background:#f3f4f7!important;font-family:"Barlow",Arial,sans-serif}
html.ma-reg-cel body.auth-register .headerTitle{font-weight:600!important}
html.ma-reg-cel body.auth-register .PhotoDNI_stickyContainer{background:#f3f4f7!important;padding-top:10px!important}
html.ma-reg-cel body.auth-register .Register2_container,html.ma-reg-cel body.auth-register .Register2_container.Register2_container_sticky{background:#f3f4f7!important;padding:0!important}
html.ma-reg-cel body.auth-register .authForm{padding:6px 16px 36px!important;margin:0!important}
html.ma-reg-cel body.auth-register .authForm input,html.ma-reg-cel body.auth-register .authForm select,html.ma-reg-cel body.auth-register .authForm button{font-family:"Barlow",Arial,sans-serif}
html.ma-reg-cel body.auth-register .registerForm_title{margin:14px 4px 16px!important;text-align:left!important;font-size:21px!important;font-weight:700!important;color:#1f2230!important;letter-spacing:-.1px}

/* Campos: caja blanca con el nombre arriba, adentro */
html.ma-reg-cel body.auth-register .form-fieldContainer{margin:0 0 10px!important;width:auto!important}
html.ma-reg-cel body.auth-register .textFormInput-field{box-sizing:border-box;height:auto!important;background:#fff!important;border:1px solid #dfe1e8!important;border-radius:12px!important;padding:8px 14px 6px!important;box-shadow:0 1px 2px rgba(20,24,46,.04)!important;transition:border-color .15s ease,box-shadow .15s ease}
html.ma-reg-cel body.auth-register .textFormInput-field:focus-within{border-color:#362fc1!important;box-shadow:0 0 0 3px rgba(54,47,193,.12)!important}
html.ma-reg-cel body.auth-register .textFormInput-field:has(.registerForm_inputInvalid){border-color:#d93025!important}
html.ma-reg-cel body.auth-register .textFormInput-field:has(.registerForm_inputValid){border-color:#8fcca3!important}
html.ma-reg-cel body.auth-register .registerForm_label{display:flex!important;flex-direction:column!important;height:auto!important}
html.ma-reg-cel body.auth-register .registerForm_labelSpan,html.ma-reg-cel body.auth-register .registerForm_labelAnim>.registerForm_labelSpan{position:static!important;height:auto!important;line-height:1.2!important;transform:none!important;margin:0!important;font-size:12.5px!important;font-weight:600!important;color:#7a7f91!important;white-space:nowrap}
html.ma-reg-cel body.auth-register .registerForm_input,html.ma-reg-cel body.auth-register .registerForm_labelAnim>.registerForm_input{box-sizing:border-box;height:28px!important;width:100%!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;font-size:17px!important;color:#1f2230!important;box-shadow:none!important;outline:none!important}
html.ma-reg-cel body.auth-register .registerForm_field_birth{box-sizing:border-box;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;height:auto!important;background:#fff!important;border:1px solid #dfe1e8!important;border-radius:12px!important;padding:8px 14px 6px!important;box-shadow:0 1px 2px rgba(20,24,46,.04)!important}
html.ma-reg-cel body.auth-register .registerForm_field_birth:focus-within{border-color:#362fc1!important;box-shadow:0 0 0 3px rgba(54,47,193,.12)!important}
html.ma-reg-cel body.auth-register .registerForm_birthTitle{margin:0!important}
html.ma-reg-cel body.auth-register .registerForm_birthTitle>span{font-size:12.5px!important;font-weight:600;color:#7a7f91!important;line-height:1.2}
html.ma-reg-cel body.auth-register .registerForm_field_birth>div:last-child{width:100%}
html.ma-reg-cel body.auth-register .registerForm_field_birth input[type=date]{box-sizing:border-box;width:100%!important;height:28px!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;font-size:17px!important;color:#1f2230!important;outline:none!important}

/* Tipo de DNI y sexo: cajas blancas para elegir, la elegida con borde azul y tilde */
html.ma-reg-cel body.auth-register .ma-dni-type-field,html.ma-reg-cel body.auth-register .authForm>.form-fieldContainer:has([name=sex]){display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 14px!important;padding:0!important;width:auto!important}
html.ma-reg-cel body.auth-register .ma-dni-type-title,html.ma-reg-cel body.auth-register .authForm>.form-fieldContainer:has([name=sex])>.registerForm_checkboxTitle{display:block;width:100%;margin:2px 4px 0!important;font-size:13px!important;font-weight:600!important;color:#7a7f91!important}
html.ma-reg-cel body.auth-register .ma-dni-type-option,html.ma-reg-cel body.auth-register .authForm>.form-fieldContainer:has([name=sex])>.registerForm_checkboxField{position:relative;flex:1 1 0;display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:48px;margin:0!important;padding:0 12px!important;border:1px solid #dfe1e8!important;border-radius:12px!important;background:#fff!important;color:#3b3f4f!important;font-size:16px!important;font-weight:500;box-shadow:0 1px 2px rgba(20,24,46,.04)!important;cursor:pointer}
html.ma-reg-cel body.auth-register .ma-dni-type-option input,html.ma-reg-cel body.auth-register .authForm>.form-fieldContainer:has([name=sex]) .registerForm_checkboxInput{position:absolute!important;inset:0;width:100%!important;height:100%!important;margin:0!important;opacity:0;cursor:pointer;z-index:1}
html.ma-reg-cel body.auth-register .ma-dni-type-option::before,html.ma-reg-cel body.auth-register .authForm>.form-fieldContainer:has([name=sex])>.registerForm_checkboxField::before{content:"";width:18px;height:18px;border-radius:50%;border:1.5px solid #b9bdcb;box-sizing:border-box;flex:none}
html.ma-reg-cel body.auth-register .ma-dni-type-option.is-active,html.ma-reg-cel body.auth-register .authForm>.form-fieldContainer:has([name=sex])>.registerForm_checkboxField:has(input:checked){border:1.5px solid #362fc1!important;background:#f5f4ff!important;color:#362fc1!important;font-weight:600}
html.ma-reg-cel body.auth-register .ma-dni-type-option.is-active::before,html.ma-reg-cel body.auth-register .authForm>.form-fieldContainer:has([name=sex])>.registerForm_checkboxField:has(input:checked)::before{border:5px solid #362fc1}
html.ma-reg-cel body.auth-register .ma-dni-type-option span,html.ma-reg-cel body.auth-register .registerForm_checkboxLabel{color:inherit!important;font-size:inherit!important;font-weight:inherit!important;margin:0!important}

/* Firma y foto en una tarjeta */
html.ma-reg-cel body.auth-register .authForm>.registerForm_signContainer{margin:8px 0 0!important;padding:18px 16px 16px!important;border:1px solid #e4e6ec;border-bottom:0;border-radius:14px 14px 0 0!important;box-shadow:none!important;background:#fff!important}
html.ma-reg-cel body.auth-register .repositionControls_title{margin:0 0 12px!important;font-size:16px!important;font-weight:700!important;color:#1f2230!important}
html.ma-reg-cel body.auth-register .registerForm_signContainer>canvas{background:#fafbfd!important;border:1.5px dashed #c6cad6!important;border-radius:12px!important;box-shadow:none!important}
html.ma-reg-cel body.auth-register .repositionControls_reset{margin:12px 0 0!important;padding:0 20px!important;height:36px!important;border:1px solid #dfe1e8!important;border-radius:999px!important;background:#fff!important;color:#362fc1!important;font-size:15px!important;font-weight:600!important;box-shadow:none!important}
html.ma-reg-cel body.auth-register .authForm>div:has(>.registerForm_fieldContainerPhoto){box-sizing:border-box;display:flex!important;flex-direction:column;align-items:center;margin:0 0 16px!important;padding:6px 16px 16px!important;background:#fff!important;border:1px solid #e4e6ec;border-top:1px dashed #e4e6ec;border-radius:0 0 14px 14px}
html.ma-reg-cel body.auth-register .authForm .registerForm_fieldContainerPhoto{margin:10px 0 30px!important}

/* Licencia y términos */
html.ma-reg-cel body.auth-register .authForm>.ma-lic,html.ma-reg-cel body.auth-register .authForm>.ma-priv{margin:0 0 16px!important;border:1px solid #e4e6ec!important;border-radius:14px!important;box-shadow:none!important;background:#fff!important}
html.ma-reg-cel body.auth-register .ma-phone-hint{margin:6px 4px 4px!important;font-size:13px!important;color:#6f7487!important}

/* Botón */
html.ma-reg-cel body.auth-register .custom-button-container{margin:8px 0 0!important;padding:0!important;width:100%!important}
html.ma-reg-cel body.auth-register .custom-button.custom-button--bottom-warning{width:100%!important;height:52px!important;margin:0!important;padding:0 24px!important;border-radius:999px!important;background:#362fc1!important;font-size:17px!important;font-weight:600!important;text-transform:none!important;box-shadow:0 6px 16px rgba(54,47,193,.22)!important}
html.ma-reg-cel body.auth-register .custom-button.custom-button--bottom-warning:disabled{background:#b4b1e6!important;box-shadow:none!important}

/* La pantalla del registro queda quieta: la barra azul y el DNI arriba, y solo el formulario se desplaza, dentro de su
   propia caja. Antes se desplazaba toda la página: el DNI se metía debajo de la barra y, con el teclado abierto, el ajuste
   del teclado devolvía la página a su lugar en cada movimiento (en iPhone todo saltaba al intentar desplazarse).
   Arriba no se puede arrastrar para arriba o abajo (solo de costado, para pasar del DNI a la licencia), así el iPhone no corre
   la pantalla; abajo, al llegar al final del formulario el arrastre no sigue hacia la página. */
html.ma-reg-cel,html.ma-reg-cel body.auth-register{height:100%!important;min-height:0!important;overflow:hidden!important;overscroll-behavior:none!important}
html.ma-reg-cel body.auth-register #root,html.ma-reg-cel body.auth-register .masterContainer,html.ma-reg-cel body.auth-register .masterContainer>div{height:100%!important;min-height:0!important}
html.ma-reg-cel body.auth-register #root,html.ma-reg-cel body.auth-register .masterContainer{overflow:hidden!important}
html.ma-reg-cel body.auth-register div:has(>.Register2_headerDNIContainer){display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important}
html.ma-reg-cel body.auth-register .Register2_headerDNIContainer{flex:none!important;position:relative!important;z-index:20!important;touch-action:pan-x}
html.ma-reg-cel body.auth-register .PhotoDNI_stickyContainer{padding-bottom:8px!important}
html.ma-reg-cel body.auth-register .PhotoDNI_stickyContainer.sticky{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;max-width:none!important;margin:0!important}
html.ma-reg-cel body.auth-register .Register2_container,html.ma-reg-cel body.auth-register .Register2_container.Register2_container_sticky{display:block!important;flex:1 1 auto!important;min-height:0!important;margin-top:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch}
html.ma-reg-cel body.auth-register .authForm{overflow:visible!important}

/* Registro en el celular: la barra azul de arriba igual a la de las secciones (por ejemplo Documentos), con la flecha y el
   título en el mismo lugar, tamaño y letra. iPhone: 38 px más la zona de arriba de la pantalla; Android: 56 px. */
html.ma-ios:not(.ma-reg-pc) body.auth-register .Header_container.Header_container--internal{box-sizing:border-box!important;height:calc(38px + env(safe-area-inset-top,0px))!important;min-height:0!important;padding:calc(5px + env(safe-area-inset-top,0px)) 13px 5px!important;gap:10px!important;align-items:center!important}
html.ma-ios:not(.ma-reg-pc) body.auth-register .Header_spacer{flex:0 0 calc(38px + env(safe-area-inset-top,0px))!important;height:calc(38px + env(safe-area-inset-top,0px))!important}
html.ma-ios:not(.ma-reg-pc) body.auth-register .Header_container--internal .backButton{flex:0 0 28px!important;width:28px!important;height:28px!important;margin:0!important}
html.ma-ios:not(.ma-reg-pc) body.auth-register .Header_container--internal .backButton svg{width:23px!important;height:23px!important}
html.ma-ios:not(.ma-reg-pc) body.auth-register .Header_container--internal .headerTitle--internal{font-size:17px!important;font-weight:700!important;line-height:28px!important;letter-spacing:normal!important}
html.ma-ios.ma-route-register:not(.ma-reg-pc){background-position:0 calc(38px + env(safe-area-inset-top,0px))!important}
html.ma-android:not(.ma-reg-pc) body.auth-register .Header_container.Header_container--internal{box-sizing:border-box!important;height:56px!important;min-height:56px!important;padding:0 12px 0 6px!important;gap:10px!important;align-items:center!important}
html.ma-android:not(.ma-reg-pc) body.auth-register .Header_spacer{flex:0 0 56px!important;height:56px!important}
html.ma-android:not(.ma-reg-pc) body.auth-register .Header_container--internal .backButton{flex:0 0 28px!important;width:28px!important;height:28px!important;margin:0 4px 0 0!important}
html.ma-android:not(.ma-reg-pc) body.auth-register .Header_container--internal .backButton svg{width:23px!important;height:15px!important}
html.ma-android:not(.ma-reg-pc) body.auth-register .Header_container--internal .headerTitle--internal{font-size:17.5px!important;font-weight:600!important;line-height:24px!important;letter-spacing:.1px!important}
html.ma-android.ma-route-register:not(.ma-reg-pc){background-position:0 56px!important}
/* En el celular no va la pantalla de carga ("Verificando sesión..." / "Cargando información...") al entrar. */
html.ma-reg-cel:not(.ma-reg-pc) .loading-screen{display:none!important}
