/* JH Technology Auth Modal · réplica adaptada del patrón estable de DC */
body.jht-auth-modal-open{overflow:hidden}.jht-auth-modal{position:fixed!important;inset:0!important;z-index:999999!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease;font-family:Arial,sans-serif}.jht-auth-modal.is-open{opacity:1;visibility:visible;pointer-events:auto}.jht-auth-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.66);backdrop-filter:blur(12px) saturate(120%);-webkit-backdrop-filter:blur(12px) saturate(120%)}
.jht-auth-modal-dialog{position:fixed!important;top:50%!important;left:50%!important;width:min(410px,calc(100vw - 28px))!important;max-height:calc(100dvh - 28px)!important;transform:translate(-50%,-48%) scale(.985);opacity:0;border-radius:20px;overflow:hidden;background:#fff;border:1px solid #dce5f1;box-shadow:0 24px 70px rgba(15,23,42,.22);transition:transform .28s cubic-bezier(.22,1,.36,1),opacity .2s ease}.jht-auth-modal-dialog[data-jht-auth-current-view="register"]{width:min(500px,calc(100vw - 28px))!important}.jht-auth-modal.is-open .jht-auth-modal-dialog{transform:translate(-50%,-50%) scale(1);opacity:1}.jht-auth-modal-grid{display:block;min-height:0;max-height:inherit}.jht-auth-modal-form-wrap{position:relative;padding:22px 22px 18px;background:#fff;overflow-y:auto;overscroll-behavior:contain;max-height:calc(100dvh - 28px);scrollbar-width:thin;scrollbar-color:#cbd8ea transparent}.jht-auth-modal-dialog[data-jht-auth-current-view="register"] .jht-auth-modal-form-wrap{padding:21px 22px 18px}
.jht-auth-modal-brand{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin:0 auto 9px;overflow:hidden}.jht-auth-modal-brand img{display:block;width:100%;height:100%;object-fit:contain}.jht-auth-modal-brand span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#eff6ff;color:#1756bc;font-size:19px;font-weight:800}.jht-auth-modal-header{text-align:center;margin-bottom:14px}.jht-auth-modal-header>span{display:none!important}.jht-auth-modal-header h3{margin:0;color:#0b172a;font-size:18px;line-height:1.12;letter-spacing:-.55px;font-weight:750}.jht-auth-modal-header p{margin:6px 0 0;color:#64748b;font-size:10.8px;line-height:1.4}
.jht-auth-modal-alert{margin:0 0 11px;padding:9px 11px;border-radius:11px;font-size:11px;font-weight:650;line-height:1.4}.jht-auth-modal-alert-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.jht-auth-modal-alert-error{background:#fff5f5;border:1px solid #fecaca;color:#991b1b}.jht-auth-modal-alert-warning{background:#fffbeb;border:1px solid #fde68a;color:#92400e}.jht-auth-modal-alert-info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.jht-auth-modal-view{display:none}.jht-auth-modal-view.is-active{display:block;animation:jhtAuthViewIn .18s ease both}@keyframes jhtAuthViewIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.jht-auth-google-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:0 10px;border:1px solid #dce5f1;border-radius:9px;background:#fff;color:#566174;font-size:10.5px;font-weight:650;box-shadow:none}.jht-auth-google-btn .jht-auth-google-icon{display:grid;place-items:center;width:27px;height:27px;flex:none;border:1px solid #e4e9f0;border-radius:50%;color:#ea4335;font-size:11px;font-weight:700}.jht-auth-google-btn strong{font:inherit}.jht-auth-google-btn em{margin-left:auto;padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#a0aec0;font-style:normal;font-size:9px;font-weight:700}.jht-auth-google-btn.is-disabled{cursor:not-allowed}
.jht-auth-modal-divider{display:flex;align-items:center;gap:10px;margin:10px 0;color:#94a3b8;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.02em}.jht-auth-modal-divider::before,.jht-auth-modal-divider::after{content:"";flex:1;height:1px;background:#e5ebf3}.jht-auth-modal-form{display:grid;gap:8px}.jht-auth-modal-form label{display:grid;gap:4px}.jht-auth-modal-form label>span{color:#17243a;font-size:10px;font-weight:650}.jht-auth-modal-form input[type="text"],.jht-auth-modal-form input[type="email"],.jht-auth-modal-form input[type="password"],.jht-auth-modal-form select,.jht-auth-modal-form textarea{box-sizing:border-box;width:100%;min-height:38px;padding:7px 10px;border-radius:9px;border:1px solid #cbd8e8;background:#fff;color:#142138;font-family:Arial,sans-serif;font-size:12.5px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.jht-auth-modal-form input:focus,.jht-auth-modal-form select:focus,.jht-auth-modal-form textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(37,99,235,.09)}
.jht-auth-modal-submit{min-height:38px;border:0;border-radius:9px;background:#2868e8;color:#fff;font-size:10.8px;font-weight:700;cursor:pointer;box-shadow:0 7px 18px rgba(37,99,235,.16);transition:background .16s ease,transform .16s ease}.jht-auth-modal-submit:hover{background:#1f5fd7;transform:translateY(-1px)}.jht-auth-modal-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10.5px}.jht-auth-modal-row a,.jht-auth-modal-footer a,.jht-auth-legal-check button{color:#2563eb;font-weight:650;text-decoration:none}.jht-auth-modal-row a:hover,.jht-auth-modal-footer a:hover,.jht-auth-legal-check button:hover{text-decoration:underline}.jht-auth-modal-check{display:flex!important;align-items:center!important;grid-template-columns:none!important;gap:7px!important}.jht-auth-modal-check input{width:14px!important;height:14px!important;min-height:0!important;margin:0!important}.jht-auth-modal-footer{text-align:center;margin:11px 0 0;color:#728096;font-size:10px}.jht-auth-modal-close{position:absolute;top:12px;right:12px;z-index:5;width:32px;height:32px;border-radius:10px;background:#fff;border:1px solid #dce5f1;cursor:pointer;transition:background .15s ease,border-color .15s ease}.jht-auth-modal-close:hover{background:#f8fafc;border-color:#c9d6e6}.jht-auth-modal-close span{position:absolute;top:15px;left:8px;width:14px;height:1.7px;border-radius:99px;background:#53647a}.jht-auth-modal-close span:first-child{transform:rotate(45deg)}.jht-auth-modal-close span:last-child{transform:rotate(-45deg)}
.jht-auth-legal-consents{display:grid;gap:5px;margin:1px 0 2px;padding:7px 8px;border:1px solid #e3eaf3;border-radius:9px;background:#f8fafc}.jht-auth-legal-check{display:flex!important;align-items:flex-start!important;grid-template-columns:none!important;gap:7px!important;cursor:pointer}.jht-auth-legal-check>input[type="checkbox"]{flex:0 0 auto;width:13px!important;height:13px!important;min-height:0!important;margin:1px 0 0;padding:0}.jht-auth-legal-check>span{display:block;color:#526176!important;font-size:9.5px!important;font-weight:500!important;line-height:1.35!important}.jht-auth-legal-check button{display:inline!important;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font:inherit!important;line-height:inherit!important;vertical-align:baseline!important;cursor:pointer!important}
.jht-password-field-wrap{position:relative;display:block}.jht-password-field-wrap input{padding-right:48px!important}.jht-password-toggle{position:absolute;top:50%;right:9px;width:34px;height:34px;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:transparent;color:#64748b;cursor:pointer}.jht-password-toggle:hover{background:#eff6ff;color:#2563eb}.jht-password-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.jht-password-toggle .jht-eye-off{display:none}.jht-password-toggle.is-visible .jht-eye{display:none}.jht-password-toggle.is-visible .jht-eye-off{display:block}
@media(max-width:600px){.jht-auth-modal-dialog,.jht-auth-modal-dialog[data-jht-auth-current-view="register"]{width:min(440px,calc(100vw - 18px))!important;max-height:calc(100dvh - 18px)!important;border-radius:17px}.jht-auth-modal-form-wrap,.jht-auth-modal-dialog[data-jht-auth-current-view="register"] .jht-auth-modal-form-wrap{padding:19px 15px 15px;max-height:calc(100dvh - 18px)}.jht-auth-modal-brand{width:42px;height:42px;margin-bottom:8px}.jht-auth-modal-header{margin-bottom:14px}.jht-auth-modal-header h3{font-size:18px}.jht-auth-modal-header p{font-size:10.8px}.jht-auth-modal-form{gap:8px}.jht-auth-modal-form input[type="text"],.jht-auth-modal-form input[type="email"],.jht-auth-modal-form input[type="password"],.jht-auth-modal-form select,.jht-auth-modal-form textarea{min-height:36px;font-size:12px}.jht-auth-modal-row{font-size:10px}.jht-auth-modal-close{top:9px;right:9px}.jht-auth-legal-consents{padding:6px 7px}.jht-auth-legal-check>span{font-size:9.2px!important}}@media(max-width:380px){.jht-auth-modal-brand{width:40px;height:40px}.jht-auth-modal-form-wrap,.jht-auth-modal-dialog[data-jht-auth-current-view="register"] .jht-auth-modal-form-wrap{padding:17px 13px 14px}}
