/* Password reset only; existing WHMCS reset/authentication behavior is unchanged. */
.logincontainer.sm-reset {
    width: 100%;
    max-width: 500px;
    margin: 24px auto 32px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e9edf2;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(25, 31, 43, .06);
}
.sm-reset .header-lined {
    margin: 0 0 22px;
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid #e9edf2;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.sm-reset .header-lined h1 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #143c57;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
}
.sm-reset > p {
    margin-bottom: 22px;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}
.sm-reset .form-group { margin-bottom: 18px; }
.sm-reset .form-group > label {
    margin-bottom: 7px;
    color: #323b4b;
    font-size: 13px;
    font-weight: 600;
}
.sm-reset .form-control {
    height: 44px;
    padding: 10px 12px;
    color: #273347;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #dce2ea;
    border-radius: 6px;
    box-shadow: none;
}
.sm-reset .form-control:focus {
    border-color: var(--primary-color, #1457e6);
    box-shadow: 0 0 0 3px rgba(20, 87, 230, .12);
    outline: none;
}
.sm-reset .sm-reset-captcha {
    margin: 0 0 20px;
    padding: 14px;
    border: 1px solid #e9edf2;
    border-radius: 8px;
    background: #f8fafc;
}
.sm-reset .sm-reset-captcha > .row { margin: 0; }
.sm-reset .sm-reset-captcha > .row > [class*="col-"] { width: 100%; margin: 0; padding: 0; float: none; }
.sm-reset #default-captcha-domainchecker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    text-align: left;
}
.sm-reset #default-captcha-domainchecker > p {
    flex: 0 0 100%;
    margin: 0 0 2px;
    color: #667085;
    font-size: 12px;
    line-height: 1.6;
}
.sm-reset #default-captcha-domainchecker > .col-xs-6 { width: auto; padding: 0; float: none; }
.sm-reset #inputCaptchaImage { display: block; max-width: 100%; }
.sm-reset #default-captcha-domainchecker #inputCaptcha { width: 120px; height: 40px; }
.sm-reset form .btn-primary {
    width: 100%;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}
.sm-reset .sm-reset-actions { margin-bottom: 0; }
.sm-reset form .btn-default { margin-top: 12px; border-radius: 6px; }
.sm-reset .btn:focus-visible,
.sm-reset .sm-reset-back a:focus-visible { outline: 2px solid var(--primary-color, #1457e6); outline-offset: 3px; }
.sm-reset .sm-reset-back {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e9edf2;
    text-align: center;
    font-size: 13px;
}
.sm-reset .sm-reset-back a { color: var(--primary-color, #1457e6); }
.sm-reset .alert { margin-bottom: 20px; border-radius: 8px; }
@media (max-width: 767px) {
    .logincontainer.sm-reset { max-width: 480px; margin: 20px auto; padding: 24px; }
    .sm-reset .header-lined h1 { font-size: 27px; }
    .sm-reset .form-control { font-size: 16px; }
}
@media (max-width: 380px) {
    .logincontainer.sm-reset { padding: 20px; }
    .sm-reset .header-lined h1 { font-size: 25px; }
    .sm-reset .sm-reset-captcha { padding: 12px; }
    .sm-reset #default-captcha-domainchecker #inputCaptcha { width: 100px; }
}
