/* MerCris Enterprise Login ELITE R1 | Executive Pearl × Corporate Navy. Scope only to mcl-elite-login. */
:root{
  --mcl-navy:#102d54;--mcl-navy-2:#214d80;--mcl-blue:#1762ca;--mcl-gold:#e9bc63;
  --mcl-ink:#152943;--mcl-muted:#526981;--mcl-line:#d5e1f0;
  --mcl-page:#edf4fe;--mcl-white:#fff;--mcl-shadow:0 20px 54px rgba(25,64,112,.09);
}
body.mcl-elite-login{margin:0;min-height:100vh;min-height:100dvh;background:radial-gradient(circle at 93% 3%,#d7e8ff 0,transparent 38%),linear-gradient(145deg,#f8fbff,var(--mcl-page));color:var(--mcl-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.mcl-elite-login *, .mcl-elite-login *::before,.mcl-elite-login *::after{box-sizing:border-box}
.mcl-shell{width:min(1520px,100%);min-height:100vh;min-height:100dvh;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(24px,3.2vw,54px);align-items:center;padding:clamp(22px,3vw,48px)}
.mcl-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;min-height:min(815px,calc(100dvh - 60px));border-radius:34px;background:linear-gradient(135deg,#0d2b53,#1e548f);box-shadow:0 25px 52px rgba(16,48,91,.17);color:#fff}
.mcl-hero-photograph{position:absolute;z-index:-2;right:0;inset-block:0;width:54%;background-image:url('mercris-login-photo-r1.webp');background-repeat:no-repeat;background-position:50% 35%;background-size:cover;filter:saturate(.93);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 36%);mask-image:linear-gradient(to right,transparent 0%,#000 36%)}
.mcl-hero-shade{position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(circle at 82% 0%,rgba(152,208,255,.12),transparent 44%),linear-gradient(98deg,rgba(13,41,79,.25) 0%,rgba(15,49,92,.04) 62%,transparent 100%)}
.mcl-hero-shade::after{content:'';position:absolute;border:1px solid rgba(255,255,255,.12);width:460px;height:460px;border-radius:50%;right:-230px;top:-190px}
.mcl-hero-content{display:flex;flex-direction:column;justify-content:space-between;gap:50px;max-width:100%;width:100%;padding:clamp(26px,4.4vw,64px) clamp(24px,4.2vw,62px)}
.mcl-hero-brand,.mcl-access-brand{display:flex;align-items:center;gap:15px}
.mcl-hero-brand strong,.mcl-access-brand strong{display:block;font-size:clamp(22px,2.1vw,29px);letter-spacing:-.05em;line-height:1.14;font-weight:800}
.mcl-hero-brand small,.mcl-access-brand small{display:block;margin-top:5px;letter-spacing:.25em;font-weight:750;font-size:11px}
.mcl-emblem{display:grid;place-items:center;flex:none;width:64px;height:64px;border:1px solid rgba(255,255,255,.3);border-radius:18px;color:#fff;background:linear-gradient(140deg,#2d91ff,#114bc4 70%,#073d9d);box-shadow:0 8px 15px rgba(13,65,153,.18)}
.mcl-emblem svg{width:37px;height:37px}
.mcl-hero-message{max-width:390px;margin-top:auto}
.mcl-overline{display:flex;align-items:center;gap:12px;color:#ffe6ad;font-size:11px;font-weight:800;letter-spacing:.15em}
.mcl-overline i{height:3px;width:34px;background:var(--mcl-gold);border-radius:4px}
.mcl-hero h2{margin:28px 0 15px;color:#fff;font-size:clamp(35px,3.35vw,52px);font-weight:800;letter-spacing:-.055em;line-height:1.06}
.mcl-hero h2 span{color:#f4f8ff}
.mcl-hero-message>p{max-width:345px;margin:0;color:#e4efff;font-size:14px;line-height:1.65}
.mcl-feature-lines{display:grid;gap:16px;margin-top:35px;padding-top:24px;border-top:1px solid rgba(255,255,255,.28)}
.mcl-feature-line{display:flex;gap:14px;align-items:center}
.mcl-feature-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:14px;background:rgba(249,251,255,.13);border:1px solid rgba(255,255,255,.25);color:#ffe1a1}
.mcl-feature-icon svg{width:24px;height:24px}
.mcl-feature-line strong{display:block;color:#fff;font-size:14px;line-height:1.45;font-weight:750}
.mcl-feature-line small{display:block;max-width:245px;color:#dbe9ff;font-size:12px;line-height:1.45}
.mcl-access{width:100%;min-width:0;display:flex;align-items:center;justify-content:center}
.mcl-access-inner{width:100%;max-width:570px}
.mcl-access-brand{margin:0 0 28px 10px;color:#122f58}
.mcl-access-brand strong{font-size:30px}
.mcl-access-brand small{color:#25517e}
.mcl-welcome{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:22px 26px;margin-bottom:24px;color:#fff;border-radius:22px;background:linear-gradient(115deg,#0e2f5c,#2b67a5);box-shadow:0 15px 28px rgba(26,72,132,.13)}
.mcl-welcome-tag{color:#ffe4a7;display:block;font-size:10px;letter-spacing:.16em;font-weight:800}
.mcl-welcome p{font-size:clamp(18px,2vw,23px);font-weight:750;line-height:1.25;letter-spacing:-.04em;margin:8px 0 6px;color:#fff}
.mcl-welcome small{display:block;font-size:12px;line-height:1.55;color:#e3edff}
.mcl-welcome-icon{display:grid;place-items:center;flex:none;width:52px;height:52px;border-radius:14px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.1);color:#ffe7b4}
.mcl-welcome-icon svg{width:29px;height:29px}
.mcl-card{padding:clamp(25px,3vw,37px);background:rgba(255,255,255,.97);border:1px solid #cfdef1;border-radius:26px;box-shadow:var(--mcl-shadow)}
.mcl-card h1{font-size:clamp(26px,2.5vw,33px);line-height:1.18;letter-spacing:-.045em;margin:0 0 7px;color:var(--mcl-navy);font-weight:800}
.mcl-card-desc{color:var(--mcl-muted);font-size:13px;line-height:1.5;margin:0 0 24px}
.mcl-form{display:grid;gap:17px}
.mcl-field{min-width:0}
.mcl-field label{display:block;color:#244163;font-size:11px;font-weight:800;letter-spacing:.075em;text-transform:uppercase;margin:0 0 8px}
.mcl-input-wrap{position:relative;display:flex;align-items:center}
.mcl-input-icon{pointer-events:none;position:absolute;left:15px;color:#35587f;display:grid;place-items:center}
.mcl-input-icon svg,.mcl-password-toggle svg{width:20px;height:20px}
.mcl-field .mcl-input-wrap input{width:100%;height:52px;border-radius:13px;border:1px solid var(--mcl-line);background:#fff;color:var(--mcl-ink);font-family:inherit;font-weight:500;font-size:14px;line-height:1.3;padding:0 48px 0 48px;box-shadow:none;outline:0;transition:border-color .18s,box-shadow .18s}
.mcl-field .mcl-input-wrap input::placeholder{color:#667992;opacity:1}
.mcl-field .mcl-input-wrap input:focus{border-color:#2570d5;box-shadow:0 0 0 3px rgba(39,105,207,.13)}
.mcl-field .mcl-input-wrap input[aria-invalid="true"]{border-color:#ba3047}
.mcl-password-toggle{border:0;background:transparent;color:#2e4b70;position:absolute;right:7px;top:4px;bottom:4px;padding:0;width:41px;display:grid;place-items:center;cursor:pointer;border-radius:10px}
.mcl-password-toggle[hidden]{display:none!important}
.mcl-password-toggle .mcl-eye-closed{display:none}
.mcl-password-toggle[aria-pressed="true"] .mcl-eye-open{display:none}
.mcl-password-toggle[aria-pressed="true"] .mcl-eye-closed{display:block}
.mcl-remember{display:flex;align-items:center;gap:10px;color:#314a67;font-size:13px;font-weight:600;cursor:pointer;line-height:1.5}
.mcl-remember input{appearance:auto;accent-color:#185dc2;flex:none;width:17px;height:17px;margin:0}
.mcl-submit{width:100%;height:55px;display:flex;align-items:center;justify-content:center;gap:11px;border:0;border-radius:14px;color:#fff;font-family:inherit;font-weight:750;font-size:15px;line-height:1.2;background:linear-gradient(135deg,#1168da 0%,#103a83 100%);box-shadow:0 9px 20px rgba(12,73,161,.21);cursor:pointer;transition:filter .16s,transform .16s}
.mcl-submit:hover{filter:brightness(1.06)}
.mcl-submit:active{transform:translateY(1px)}
.mcl-submit svg{width:20px;height:20px}
.mcl-security{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:25px;padding:15px 14px;border-top:1px solid #e3eaf4;background:#f3f7fd;border-radius:13px;color:#4b6380;font-size:11px;line-height:1.5;text-align:center}
.mcl-security svg{width:17px;height:17px;flex:none;color:#078a57}
.mcl-error{border:1px solid #e5aab2;border-radius:11px;background:#fff2f3;color:#953044;padding:11px 13px;margin-bottom:17px;font-size:13px;line-height:1.45}
.mcl-elite-login :is(button,input,a):focus-visible{outline:3px solid #2875da;outline-offset:3px}
@supports (color:oklch(55% .19 252)){
  body.mcl-elite-login{--mcl-blue:oklch(56% .19 254);--mcl-page:oklch(96% .018 253);--mcl-ink:oklch(26% .038 254);--mcl-line:oklch(88% .021 256)}
}
@media (max-width:1190px){
 .mcl-shell{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:24px}
 .mcl-hero-content{padding:36px 30px}
 .mcl-hero-message{max-width:305px}
 .mcl-hero h2{font-size:38px}
 .mcl-hero-photograph{width:60%;opacity:.9}
 .mcl-access-brand{margin-bottom:20px}
 .mcl-card{padding:27px}
}
@media (max-width:850px){
 .mcl-shell{max-width:560px;display:flex;flex-direction:column;gap:0;padding:0;min-height:100dvh}
 .mcl-hero{width:100%;min-height:218px;height:218px;border-radius:0 0 28px 28px;box-shadow:none;flex:none;background:linear-gradient(110deg,#113663,#367ab8)}
 .mcl-hero-photograph{inset-block:0;right:0;left:auto;width:64%;background-position:50% 0%;background-size:cover;opacity:1;-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%);mask-image:linear-gradient(90deg,transparent,#000 30%)}
 .mcl-hero-shade{background:linear-gradient(0deg,rgba(13,50,104,.28),transparent 38%)}
 .mcl-hero-shade::after{display:none}
 .mcl-hero-content{padding:20px;justify-content:flex-start}
 .mcl-hero-brand{display:none}
 .mcl-hero-message{display:block;max-width:47%;margin:auto 0 14px}
 .mcl-hero-message .mcl-overline{font-size:8px;letter-spacing:.07em;line-height:1.4}.mcl-hero-message .mcl-overline i{display:none}
 .mcl-hero-message h2{font-size:clamp(22px,5.1vw,31px);margin:10px 0 0;line-height:1.08}.mcl-hero-message>p,.mcl-feature-lines{display:none}
 .mcl-access{padding:0 14px 18px;margin-top:-28px;position:relative;z-index:2;flex:1;align-items:flex-start}
 .mcl-access-inner{max-width:100%}
 .mcl-access-brand{justify-content:center;margin:0 0 16px;padding-top:20px}
 .mcl-access-brand .mcl-emblem{width:48px;height:48px;border-radius:13px}
 .mcl-access-brand .mcl-emblem svg{width:29px;height:29px}
 .mcl-access-brand strong{font-size:25px}
 .mcl-access-brand small{font-size:9px}
 .mcl-welcome{display:none}
 .mcl-card{padding:24px 22px 20px;border-radius:24px}
 .mcl-card h1{text-align:center;font-size:27px}
 .mcl-card-desc{text-align:center;margin-bottom:22px}
 .mcl-security{margin-top:20px}
}
@media(max-width:400px){
 .mcl-hero{height:190px;min-height:190px}
 .mcl-hero-photograph{background-position:50% 0%}.mcl-hero-message{max-width:44%}.mcl-hero-message h2{font-size:21px}
 .mcl-access{padding:0 10px 14px}
 .mcl-card{padding:21px 17px 18px;border-radius:21px}
 .mcl-field .mcl-input-wrap input{height:49px}
 .mcl-submit{height:51px}
 .mcl-card h1{font-size:25px}
}
@media(prefers-reduced-motion:reduce){.mcl-elite-login *{transition:none!important;animation:none!important}}
@media(forced-colors:active){.mcl-hero,.mcl-submit,.mcl-welcome{border:1px solid CanvasText}.mcl-elite-login :is(button,input):focus-visible{outline:3px solid Highlight}}
