@import url('fonts.css');
/* Acceso de agencia: tarjeta compacta. Colores y logo vienen de Mi sitio (variables --al-* en <body>). */
.agency-login{--al-brand:#102c45;--al-head-ink:#fff;--al-link:#086da8;--al-cta:#bf3039;--al-cta-ink:#fff;--al-cta-hover:#a3222b;--al-ring:#bf3039;--ink:#102c45;--muted:#4b6071;--line:#cbd7e2;--soft:color-mix(in srgb,var(--al-brand) 7%,#f6f8fa);--ease:cubic-bezier(.16,1,.3,1);margin:0;min-height:100dvh;display:flex;flex-direction:column;background:var(--soft);color:var(--ink);font:400 16px/1.5 var(--font-ui,Roboto,"Segoe UI",Arial,sans-serif)}
.agency-login *{box-sizing:border-box}
.agency-login ::selection{background:color-mix(in srgb,var(--al-brand) 18%,#fff);color:var(--ink)}
.agency-login input{caret-color:var(--al-link)}
.agency-login :focus-visible{outline:3px solid color-mix(in srgb,var(--al-ring) 55%,transparent);outline-offset:3px}
.al-stage{flex:1;display:grid;place-items:center;padding:40px 16px 24px}
.al-card{width:min(440px,100%);background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 20px 50px -30px #102c4566}
.al-head{display:flex;justify-content:center;background:var(--al-brand);padding:20px 32px}
.al-brand{display:inline-flex;align-items:center;gap:12px;min-height:48px;max-width:100%;color:var(--al-head-ink);text-decoration:none;font:700 22px/1 var(--font-ui,Roboto,sans-serif);letter-spacing:-.03em}
.al-logo{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff;overflow:hidden;color:var(--al-brand);font:700 18px/1 var(--font-ui,Roboto,sans-serif);letter-spacing:0}
.al-logo img{display:block;width:44px;height:44px;object-fit:contain}
.al-name{min-width:0;overflow-wrap:anywhere;line-height:1.15}
.al-body{padding:32px 32px 24px}
.al-body h1{margin:0;text-align:center;font:400 32px/1.15 Georgia,"Times New Roman",serif;letter-spacing:-.02em;text-wrap:balance}
.al-intro{margin:10px 0 28px;text-align:center;color:var(--muted);line-height:1.6}
.al-body .field{margin-bottom:18px}
.al-body label{display:block;margin-bottom:8px;font-weight:600;font-size:14px}
.al-inp{position:relative}
.al-body input:not([type=hidden]){width:100%;min-height:52px;padding:0 14px;font:400 16px var(--font-ui,Roboto,sans-serif);color:var(--ink);background:#f8fafc;border:1px solid var(--line);border-radius:10px;transition:border-color .16s,background .16s,box-shadow .16s}
.al-body input::placeholder{color:#536577;opacity:1}
.al-body input:focus{outline:none;border-color:var(--al-link);background:#fff;box-shadow:0 0 0 3px color-mix(in srgb,var(--al-link) 22%,transparent)}
.al-inp input{padding-right:92px}
.al-body .split-show{position:absolute;right:4px;top:50%;transform:translateY(-50%);min-height:44px;padding:0 12px;border:0;background:none;font:600 14px var(--font-ui,Roboto,sans-serif);color:var(--al-link);cursor:pointer}
.al-row{display:flex;justify-content:flex-end;margin:-6px 0 18px}
.al-row a,.al-reg a{display:inline-flex;align-items:center;min-height:44px;color:var(--al-link);font-weight:600;font-size:14px;text-underline-offset:4px}
.al-cta{width:100%;text-decoration:none;min-height:54px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:10px;background:var(--al-cta);color:var(--al-cta-ink);font:600 16px var(--font-ui,Roboto,sans-serif);cursor:pointer;transition:background .16s,transform .16s var(--ease)}
.al-cta svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s var(--ease)}
@media(hover:hover) and (pointer:fine){.al-cta:hover{background:var(--al-cta-hover)}.al-cta:hover svg{transform:translateX(3px)}}
.al-cta:active{transform:scale(.985)}
.al-msg{margin:0 0 18px;padding:12px 14px;border-radius:10px;font-size:14px;line-height:1.5}
.al-msg[hidden]{display:none}
.al-msg.login-error{background:#fff0f1;border:1px solid #efc5c9;color:#8b2028}
.al-msg.login-status{background:#eef7ee;border:1px solid #b9dcbc;color:#1f5a27}
.al-or{display:flex;align-items:center;gap:12px;margin:20px 0 14px;font-size:13px;color:var(--muted)}
.al-or:before,.al-or:after{content:"";flex:1;height:1px;background:var(--line)}
.al-social{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-weight:600;text-decoration:none}
.al-social+.al-social{margin-top:10px}
.al-social svg{width:20px;height:20px;flex:none}
.al-social.apple{background:#000;border-color:#000;color:#fff}
.al-reg{margin:22px 0 0;padding-top:18px;border-top:1px solid #dce5ec;text-align:center;font-size:14px;color:var(--muted)}
.al-reg a{display:flex;justify-content:center}
.al-safe{display:flex;align-items:center;justify-content:center;gap:6px;margin:6px 0 0;font-size:12px;color:var(--muted)}
.al-safe svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.al-foot{display:flex;flex-direction:column;align-items:center;gap:4px;padding:20px 16px;font-size:12px;color:var(--muted);text-align:center}
.al-foot a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:500;color:var(--muted);text-decoration:none}
.al-foot a:hover{color:var(--al-link)}
@media(max-width:600px){.al-stage{padding:16px}.al-head{padding:16px 20px}.al-brand{font-size:19px}.al-body{padding:24px 20px 20px}.al-body h1{font-size:28px}}
@media(prefers-reduced-motion:reduce){.agency-login *{transition:none!important}}
.al-body .cf-turnstile{min-height:65px;margin:0 0 18px}
