/* Only the standard com_users login override. No body, header or module selectors. */
.cm-login-shell { box-sizing: border-box; clear: both; width: 100%; padding: 44px 20px; background: #f0f2f6; color: #1a2437; font: 16px/1.55 Arial, sans-serif; }
.cm-login-shell * { box-sizing: border-box; }
.cm-login-shell .cm-login-card { width: 100%; max-width: 520px; margin: 0 auto; padding: 36px 40px 30px; background: #fff; border: 1px solid #dcdcdc; border-radius: 16px; box-shadow: 0 12px 36px rgb(26 36 55 / 6%); }
.cm-login-shell .login { width: auto; max-width: none; padding: 0; margin: 0; background: transparent; }
.cm-login-shell .page-header { padding: 0; margin: 0 0 18px; border: 0; }
.cm-login-shell h1 { padding: 0; margin: 0; color: #1a2437; font: 400 32px/1.2 Georgia, serif; }
.cm-login-shell .login-description { margin-bottom: 26px; font-size: 15px; }
.cm-login-shell .login-description p { margin: 0 0 10px; }
.cm-login-shell .login-image { max-width: 100%; height: auto; }
.cm-login-shell form { padding: 0; margin: 0; border: 0; box-shadow: none; background: transparent; }
.cm-login-shell fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.cm-login-shell .control-group { margin: 0 0 19px; }
.cm-login-shell .com-users-login__form .control-label { float: none; width: auto; padding: 0; text-align: left; margin: 0 0 7px; }
.cm-login-shell label { color: #1a2437; font-size: 14px; font-weight: 700; }
.cm-login-shell .controls { margin: 0; }
.cm-login-shell input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) { display: block; width: 100%; min-width: 0; height: 48px; margin: 0; border: 1px solid #8390a1; border-radius: 8px; padding: 11px 13px; background: #fff; color: #1a2437; font: 16px/1.4 Arial, sans-serif; box-shadow: none; }
.cm-login-shell :focus-visible { outline: 3px solid #1a2437; outline-offset: 3px; }
.cm-login-shell input.invalid { border-color: #b32435; }
.cm-login-shell .form-control-feedback, .cm-login-shell label.invalid { color: #b32435; }
.cm-login-shell .input-group { display: flex; width: 100%; align-items: stretch; }
.cm-login-shell .input-group input { flex: 1; border-radius: 8px 0 0 8px !important; }
.cm-login-shell .btn { cursor: pointer; font: 700 15px/1.4 Arial, sans-serif; white-space: normal; }
.cm-login-shell .input-password-toggle { flex: 0 0 52px; width: 52px; margin: 0; border: 1px solid #8390a1; border-left: 0; border-radius: 0 8px 8px 0; background: #f0f2f6; color: #1a2437; padding: 0 14px; }
.cm-login-shell .input-password-toggle { display: flex; align-items: center; justify-content: center; }
/* A fixed SVG silhouette avoids conflicts between the template's icon fonts. */
.cm-login-shell .input-password-toggle .icon-fw { display: block; width: 22px; height: 22px; flex: 0 0 22px; border: 0; border-radius: 0; transform: none; position: relative; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.cm-login-shell .input-password-toggle .icon-fw::before, .cm-login-shell .input-password-toggle .icon-fw::after { content: none; }
.cm-login-shell .input-password-toggle .icon-eye-slash { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='m3 3 18 18'/%3E%3C/g%3E%3C/svg%3E"); }
.cm-login-shell .com-users-login__submit { margin: 24px 0 0; }
.cm-login-shell .com-users-login__submit .btn { width: 100%; min-height: 49px; border: 1px solid #d73f40; border-radius: 8px; padding: 12px 16px; background: #d73f40; color: #fff; }
.cm-login-shell .com-users-login__submit .btn:hover { background: #1a2437; border-color: #1a2437; }
.cm-login-shell .com-users-login__remember { margin-top: 16px; }
.cm-login-shell .form-check { display: flex; align-items: center; gap: 9px; }
.cm-login-shell .form-check input { position: static; float: none; margin: 0; width: 18px; height: 18px; accent-color: #1a2437; }
.cm-login-shell .form-check label { font-weight: 400; }
.cm-login-shell .com-users-login__options { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 13px 12px; margin: 22px 0 0; font-size: 13px; box-shadow: none; }
.cm-login-shell .com-users-login__options a { width: auto; background: transparent; border: 0; padding: 0; color: #1a2437; text-decoration: underline; text-underline-offset: 4px; }
.cm-login-shell .com-users-login__options a:hover { text-decoration-thickness: 2px; }
.cm-login-shell .com-users-login__register { flex-basis: 100%; text-align: center; padding-top: 20px !important; margin-top: 7px; border-top: 1px solid #dcdcdc !important; }
.cm-login-shell .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 575px) {
 .cm-login-shell { padding: 26px 14px; }
 .cm-login-shell .cm-login-card { padding: 27px 23px 25px; border-radius: 14px; }
 .cm-login-shell h1 { font-size: 28px; }
 .cm-login-shell .login-description { font-size: 14px; }
 .cm-login-shell .com-users-login__options { font-size: 12px; }
}
