/* Forgot password — aligned with signup_custom.css + auth_shared.css */

.gs-forgot-password-page #page-content {
    background: transparent !important;
}

.gs-forgot-password-page .login-container {
    max-width: 520px !important;
    padding: 34px 40px 36px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14) !important;
}

.gs-forgot-password-page .logo-area {
    width: min(100%, 300px) !important;
    min-height: 72px !important;
    margin: 0 auto 22px !important;
    border-radius: 14px !important;
    background-color: #ffffff !important;
    background-image: url("/loginpro/loginpro_assets/samio-fun-logo.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 250px auto !important;
}

.gs-forgot-password-page .logo-area img {
    opacity: 0 !important;
}

.gs-forgot-password-page .login-container .footer-section,
.gs-forgot-password-page .login-container .footer-poweredby {
    display: none !important;
}

.gs-forgot-password-page .generalbox.boxwidthnormal {
    display: none !important;
}

.gs-forgot-password-page .samio-forgot-welcome {
    text-align: center;
    margin-bottom: 1.5rem;
}

.gs-forgot-password-page .samio-forgot-welcome h2.h-bold-3 {
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 1.2;
}

.gs-forgot-password-page .samio-forgot-welcome h2.h-bold-3::before {
    content: "Quên mật khẩu?";
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.gs-forgot-password-page .samio-set-password-welcome h2.h-bold-3::before {
    content: "Đặt mật khẩu mới";
}

.gs-forgot-password-page .samio-forgot-welcome::after {
    content: "Nhập tên đăng nhập hoặc email đã đăng ký. Chúng tôi sẽ gửi hướng dẫn đặt lại mật khẩu qua email.";
    display: block;
    margin-top: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
}

.gs-forgot-password-page .samio-set-password-welcome::after {
    content: "Nhập mật khẩu mới cho tài khoản của bạn.";
}

.gs-forgot-password-page #region-main .mform {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.gs-forgot-password-page .mform fieldset,
.gs-forgot-password-page .mform .fcontainer {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.gs-forgot-password-page .mform .fieldset-header,
.gs-forgot-password-page .mform .ftoggler {
    padding: 0 !important;
    margin: 0 0 8px !important;
    min-height: 0 !important;
}

.gs-forgot-password-page .mform .fieldset-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b !important;
}

.gs-forgot-password-page .mform #id_searchbyemailcontainer {
    margin-top: 4px;
}

.gs-forgot-password-page .mform .fitem,
.gs-forgot-password-page .mform .form-group.fitem {
    margin-bottom: 14px !important;
}

.gs-forgot-password-page .mform .fitem .row {
    margin: 0 !important;
}

.gs-forgot-password-page .mform .fitem .col-lg-3,
.gs-forgot-password-page .mform .fitem .col-md-4,
.gs-forgot-password-page .mform .fitem .col-lg-9,
.gs-forgot-password-page .mform .fitem .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding: 0 !important;
}

.gs-forgot-password-page .mform label,
.gs-forgot-password-page .mform .edw-form-label {
    margin-bottom: 6px !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.gs-forgot-password-page .mform .form-control,
.gs-forgot-password-page .mform input[type="text"],
.gs-forgot-password-page .mform input[type="email"],
.gs-forgot-password-page .mform input[type="password"] {
    min-height: 50px !important;
    padding: 12px 14px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    border: 1px solid #d7deeb !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

.gs-forgot-password-page .mform .form-control:focus,
.gs-forgot-password-page .mform input:focus {
    border-color: #029c91 !important;
    box-shadow: 0 0 0 4px rgba(2, 156, 145, 0.14) !important;
    outline: none;
}

.gs-forgot-password-page .mform hr {
    margin: 20px 0 !important;
    border: 0 !important;
    height: 0;
    overflow: visible;
    text-align: center;
}

.gs-forgot-password-page .mform hr::before {
    content: "";
    display: block;
    height: 1px;
    background: #e2e8f0;
    margin-bottom: -11px;
}

.gs-forgot-password-page .mform hr::after {
    content: "hoặc";
    display: inline-block;
    padding: 0 12px;
    background: #fff;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.gs-forgot-password-page .mform .fitem_action,
.gs-forgot-password-page .mform .form-group.fitem_action,
.gs-forgot-password-page .mform #fgroup_id_buttonar {
    margin-top: 8px !important;
}

.gs-forgot-password-page .mform .btn-primary,
.gs-forgot-password-page .mform input[type="submit"],
.gs-forgot-password-page .mform button[type="submit"] {
    min-height: 50px !important;
    margin-top: 4px;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #029c91, #00b894) !important;
    font-size: 17px !important;
}

.gs-forgot-password-page .mform .form-label-addon,
.gs-forgot-password-page .mform .btn-icon,
.gs-forgot-password-page .mform .form-control-feedback:empty {
    display: none !important;
}

.gs-forgot-password-page .samio-auth-back-login {
    margin-top: 1.35rem;
    text-align: center;
    font-size: 14px;
}

.gs-forgot-password-page .samio-auth-back-login a {
    color: #029c91;
    text-decoration: none;
    font-weight: 600;
}

.gs-forgot-password-page .samio-auth-back-login a:hover {
    text-decoration: underline;
}

.gs-forgot-password-page #region-main > h2,
.gs-forgot-password-page .login-heading {
    display: none !important;
}

@media (max-width: 767px) {
    .gs-forgot-password-page .login-container {
        padding: 26px 18px 28px !important;
        border-radius: 18px !important;
    }

    .gs-forgot-password-page .samio-forgot-welcome h2.h-bold-3::before {
        font-size: 24px;
    }
}
