.mc-auth{--mc-navy:#172554;--mc-blue:#2563eb;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 24px;background:linear-gradient(135deg,#f5f8ff,#e8eefb);color:#172554;font-family:Roboto,Arial,sans-serif;}
.mc-auth *{box-sizing:border-box;}
.mc-auth-shell{position:relative;width:100%;max-width:1100px;min-height:730px;border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 24px 70px rgba(23,37,84,.14);}
.mc-auth-image{position:absolute;top:0;left:0;width:50%;height:100%;z-index:5;overflow:hidden;transform:translateX(0);transition:transform .9s cubic-bezier(.77,0,.18,1);}
.mc-auth-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .6s ease;}
.mc-image-email{opacity:1;}.mc-image-staff{opacity:0;}
.staff-active .mc-auth-image{transform:translateX(100%);}
.staff-active .mc-image-email{opacity:0;}.staff-active .mc-image-staff{opacity:1;}
.mc-image-caption{position:absolute;bottom:30px;left:30px;right:30px;padding:22px 24px;border:1px solid rgba(255,255,255,.7);border-radius:18px;background:rgba(255,255,255,.9);color:#172554;transition:opacity .4s ease,transform .6s ease;}
.mc-image-caption span{font-size:10px;font-weight:700;letter-spacing:2px;}.mc-image-caption h2{font-size:32px;line-height:1.15;margin:12px 0;}.mc-image-caption p{font-size:13px;line-height:1.6;margin:0;color:#475569;}
.mc-caption-staff{opacity:0;transform:translateX(-30px);}.staff-active .mc-caption-staff{opacity:1;transform:translateX(0);}.staff-active .mc-caption-email{opacity:0;transform:translateX(30px);}
.mc-auth-panel{position:absolute;top:0;width:50%;height:100%;padding:40px 46px;display:flex;align-items:center;justify-content:center;transition:transform .9s cubic-bezier(.77,0,.18,1),opacity .4s ease;}
.mc-form-content{width:100%;max-width:390px;}
.mc-panel-email{right:0;opacity:1;transform:translateX(0);z-index:2;transition-delay:.25s;}
.mc-panel-staff{left:0;opacity:0;transform:translateX(-40%);pointer-events:none;z-index:1;}
.staff-active .mc-panel-email{opacity:0;transform:translateX(40%);pointer-events:none;transition-delay:0s;}
.staff-active .mc-panel-staff{opacity:1;transform:translateX(0);pointer-events:auto;z-index:2;transition-delay:.25s;}
.mc-auth-logo{display:inline-block;margin-bottom:24px;}.mc-auth-logo img{width:125px;height:auto;}
.mc-eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#2563eb;margin:0 0 10px;}
.mc-auth h1{font-size:30px;font-weight:700;line-height:1.2;margin:0 0 10px;color:#172554;outline:none;}
.mc-auth-description{font-size:14px;line-height:1.6;color:#64748b;margin-bottom:24px;}
.mc-login-form fieldset{border:0;margin:0;padding:0;min-width:0;}
.mc-login-form label{font-size:13px;font-weight:600;color:#334155;display:block;margin:0 0 8px;}
.mc-field{display:flex;align-items:center;width:100%;height:46px;border:1px solid #dbe3ef;border-radius:10px;background:#f8fafc;margin-bottom:16px;overflow:hidden;}
.mc-field:focus-within{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb15;}
.mc-login-form label>i{color:#2563eb;margin-right:5px;}
.mc-field input{background:transparent;border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important;width:100%;min-width:0;height:100%;font-size:14px;line-height:20px;padding:0 14px;color:#172554;}
.mc-field input::placeholder{color:#94a3b8;}
.mc-password-toggle{display:flex;align-items:center;justify-content:center;align-self:stretch;flex:0 0 44px;border:0;background:transparent;color:#64748b;padding:0 14px;cursor:pointer;}
.mc-login-form .mc-remember{display:flex;align-items:center;gap:8px;font-weight:400;color:#64748b;margin:0 0 22px;}.mc-remember input{width:16px;height:16px;accent-color:#2563eb;}
.mc-auth .mc-submit{width:100%;border:0;border-radius:10px;background:linear-gradient(135deg,#172554,#2563eb);color:#fff;padding:14px 20px;font-size:14px;font-weight:600;display:flex;justify-content:center;gap:8px;align-items:center;cursor:pointer;transition:box-shadow .2s,filter .2s;}
.mc-auth .mc-submit:hover{filter:brightness(1.08);box-shadow:0 6px 16px #2563eb25;}
.mc-mode-switch{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:0;padding-top:0;font-size:12px;color:#64748b;}
.mc-mode-switch button{border:0;background:transparent;color:#2563eb;font:inherit;font-weight:700;padding:4px 0;cursor:pointer;}.mc-mode-switch button:hover{text-decoration:underline;}
.mc-auth button:focus-visible,.mc-auth a:focus-visible{outline:2px solid #2563eb;outline-offset:4px;}
.mc-auth-help{font-size:11px;color:#64748b;margin:22px 0 0;}.mc-auth-help i{margin-right:5px;}
.mc-auth-error,.mc-auth-notice{padding:10px 12px;border-radius:8px;font-size:12px;line-height:1.5;margin-bottom:16px;}.mc-auth-error{background:#fff1f2;color:#9f1239;}.mc-auth-error p{margin:0;}.mc-auth-notice{background:#eff6ff;color:#1d4ed8;}
.mc-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media(min-width:851px) and (max-width:1050px){.mc-auth-panel{padding:34px 30px;}.mc-auth h1{font-size:28px;}}
@media(max-width:850px){.mc-auth{padding:24px 16px;}.mc-auth-shell{max-width:520px;min-height:0;display:grid;border-radius:22px;}.mc-auth-image{display:none;}.mc-auth-panel{position:relative;grid-area:1/1;width:100%;height:auto;padding:32px 28px;transition:transform .35s ease,opacity .35s ease;}.mc-panel-staff{transform:translateX(-20px);}.staff-active .mc-panel-email{transform:translateX(20px);}.mc-auth-logo{margin-bottom:22px;}.mc-auth h1{font-size:28px;}}
@media(max-width:400px){.mc-auth{padding:16px 12px;}.mc-auth-panel{padding:28px 22px;}.mc-mode-switch{font-size:12px;}}
@media(prefers-reduced-motion:reduce){.mc-auth *, .mc-auth *::before,.mc-auth *::after{transition:none!important;animation:none!important;}}

.mc-auth .mc-welcome{font-size:26px;font-weight:700;line-height:1.3;color:#172554;margin:0 0 8px;text-align:center;}
.mc-auth-description{text-align:center;}
.mc-auth-logo{display:block;width:max-content;margin:0 auto -4px;line-height:0;}
.mc-auth h1{font-size:14px;margin-bottom:24px;text-align:center;overflow-wrap:break-word;}

.mc-caption-email,.mc-caption-staff{padding:16px 20px;}
.mc-caption-email h2,.mc-caption-staff h2{font-size:23px;line-height:1.25;margin:0 0 8px;}
.mc-caption-email p,.mc-caption-staff p{font-size:12px;line-height:1.5;}
.mc-auth-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:22px;padding-top:16px;border-top:1px solid #e2e8f0;color:#64748b;font-size:10px;}
.mc-auth-footer .mc-auth-help{margin:0;font-size:inherit;}
.mc-footer-links{display:flex;gap:8px;margin-left:auto;}
.mc-footer-links a{color:inherit;text-decoration:none;white-space:nowrap;}
.mc-footer-links a:hover{color:#2563eb;text-decoration:underline;}

.mc-auth .mc-panel-email h1{text-align:left;}
.mc-auth .mc-welcome{background:linear-gradient(135deg,#172554,#2563eb);background-clip:text;-webkit-background-clip:text;color:transparent;}
.mc-auth-divider{display:flex;align-items:center;gap:16px;margin:24px 0 20px;color:#64748b;font-size:12px;}
.mc-auth-divider::before,.mc-auth-divider::after{content:"";height:1px;flex:1;background:#e2e8f0;}
.mc-caption-email .mc-platform,.mc-caption-staff .mc-platform{margin-bottom:10px;font-size:13px;}

.mc-auth .mc-panel-staff h1{text-align:left;}

.mc-join-section{margin-top:22px;text-align:center;font-size:13px;color:#64748b;}
.mc-join-section p{margin:0 0 12px;}
.mc-join-section a{display:block;padding:12px 16px;border:1px solid #2563eb;border-radius:10px;color:#2563eb;text-decoration:none;font-weight:600;}
.mc-join-section a:hover{background:linear-gradient(135deg,#172554,#2563eb);color:#fff;}
.mc-join-section a i{margin-right:6px;}

/* Keep only the custom password visibility button in the dual-login forms. */
#mycosecAuth input[type="password"]::-ms-reveal{display:none;}

/* Used only by the Staff and Client remember/forgot-password row. */
.mc-auth .mc-login-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px;}
.mc-auth .mc-login-options .mc-remember{margin:0;}
.mc-auth .mc-login-options>a{color:var(--mc-blue);font-size:13px;white-space:nowrap;}
@media(max-width:360px){.mc-auth .mc-login-options{gap:8px;}.mc-auth .mc-login-options>a{font-size:12px;}}
