
/* ATC account dialog: preserve Joomla form actions and Bootstrap dismissal. */
body #LoginForm.atc-account-modal {
 position:fixed !important; left:50% !important; right:auto !important;
 top:8vh !important; bottom:auto !important; transform:translateX(-50%) !important;
 width:520px !important; max-width:calc(100% - 32px) !important;
 height:auto !important; min-height:0 !important; margin:0 !important; padding:0 !important;
 box-sizing:border-box; border:1px solid #dce6ef !important; border-radius:16px !important;
 background:#fff; color:#103b60; box-shadow:0 20px 60px #102f5140 !important;
 overflow:hidden; font-family:Arial,Helvetica,sans-serif;
}
body #LoginForm.atc-account-modal .modal-header {
 display:grid !important; grid-template-columns:minmax(0,1fr) 40px !important; align-items:center !important; gap:16px !important;
 padding:18px 22px !important; margin:0 !important;
 background:#f6f9fc; border-bottom:1px solid #e3ebf2 !important;
}
body #LoginForm.atc-account-modal #myModalLabel { grid-column:1 !important; grid-row:1 !important; position:static !important; float:none !important; display:block !important; width:auto !important; padding:0 !important; margin:0 !important; transform:none !important; text-align:left !important; font-size:22px; font-weight:700; line-height:1.3; color:#103b60; }
body #LoginForm.atc-account-modal .close-lgform-button {
 grid-column:2 !important; grid-row:1 !important; justify-self:end !important; align-self:center !important; position:static !important; float:none !important; flex:0 0 40px; transform:none !important;
 width:40px !important; height:40px !important; min-height:40px;
 padding:0 !important; margin:0 !important; border:0 !important;
 border-radius:9px !important; background:#e8f0f6 !important; color:#103b60 !important;
 font:400 28px/40px Arial,sans-serif; opacity:1; cursor:pointer;
}
body #LoginForm.atc-account-modal .modal-body {
 min-height:0 !important; height:auto !important; max-height:calc(84vh - 80px) !important;
 max-height:calc(84dvh - 80px) !important; overflow-y:auto !important;
 padding:22px !important; box-sizing:border-box; color:#103b60;
}
body #LoginForm.atc-account-modal .modal-body .container-fluid,
body #LoginForm.atc-account-modal .modal-body .row-fluid,
body #LoginForm.atc-account-modal .moduletable,
body #LoginForm.atc-account-modal .module-content,
body #LoginForm.atc-account-modal .modal-dialog {
 position:static !important; float:none !important; width:100% !important; max-width:none !important;
 height:auto !important; min-height:0 !important; margin:0 !important; padding:0 !important;
 box-sizing:border-box; background:transparent; box-shadow:none;
}
body #LoginForm.atc-account-modal form { margin:0 !important; padding:0 !important; min-height:0 !important; }
body #LoginForm.atc-account-modal .form-group { margin:0 0 16px !important; }
body #LoginForm.atc-account-modal .input-group { position:relative; display:block; width:100%; }
body #LoginForm.atc-account-modal .atc-field-label { display:block; margin:0 0 7px; font-size:14px; line-height:1.4; font-weight:600; color:#103b60; }
body #LoginForm.atc-account-modal #modlgn-username,
body #LoginForm.atc-account-modal #modlgn-passwd {
 display:block; box-sizing:border-box; width:100% !important; max-width:100% !important;
 height:48px !important; padding:0 12px !important; margin:0 !important;
 border:1px solid #cfdeeb !important; border-radius:9px !important;
 background:#f8fbfd !important; color:#103b60 !important; font-size:16px !important;
 box-shadow:none !important;
}
body #LoginForm.atc-account-modal #modlgn-passwd { padding-right:50px !important; }
body #LoginForm.atc-account-modal .toggle-password {
 position:absolute; right:2px; top:2px; width:44px; height:44px;
 display:flex; align-items:center; justify-content:center; cursor:pointer; color:#526f88;
}
body #LoginForm.atc-account-modal .toggle-password .input-group-text { background:transparent; border:0; padding:0; font-size:22px; }
body #LoginForm.atc-account-modal .remeber-forget-wrap { margin:0 0 18px; text-align:right; }
body #LoginForm.atc-account-modal .forget-pass { color:#007daf; font-size:14px; }
body #LoginForm.atc-account-modal .login-button,
body #LoginForm.atc-account-modal form button[type=submit],
body #LoginForm.atc-account-modal form input[type=submit] {
 box-sizing:border-box; min-height:46px; padding:12px 18px !important; margin:0 !important;
 border:0 !important; border-radius:9px !important; background:#009fdb !important;
 color:white !important; font-size:15px !important; line-height:1.4 !important; font-weight:600;
}
body #LoginForm.atc-account-modal .login-button { width:100% !important; }
body #LoginForm.atc-account-modal .reg-link { border-top:1px solid #e3ebf2; padding-top:16px; margin-top:18px; text-align:center; }
body #LoginForm.atc-account-modal .reg-link a { color:#007daf; font-size:14px; font-weight:600; }
body #LoginForm.atc-account-modal.atc-user-signed-in .modal-body ul { list-style:none; margin:10px 0 0; padding:0; }
body #LoginForm.atc-account-modal.atc-user-signed-in .modal-body li { margin:0 0 8px; padding:0; }
body #LoginForm.atc-account-modal.atc-user-signed-in .modal-body li > a {
 display:block; padding:11px 12px; background:#f1f7fb; color:#103b60; border-radius:8px; line-height:1.4;
}
body #LoginForm.atc-account-modal :focus-visible { outline:2px solid #00a3de !important; outline-offset:2px; }
@media(max-width:600px){
 body #LoginForm.atc-account-modal { top:16px !important; max-width:calc(100% - 24px) !important; }
 body #LoginForm.atc-account-modal .modal-header { padding:14px 16px !important; }
 body #LoginForm.atc-account-modal .modal-body { padding:18px 16px !important; max-height:calc(100vh - 112px) !important; max-height:calc(100dvh - 112px) !important; }
 body #LoginForm.atc-account-modal .modal-body [class*="span"] { float:none; width:100%; margin-left:0; }
}

