/* Shared overrides for OTP & Reset Password pages using login wrapper */

.otp-main,
.reset-main {
    height: 190px;
}

.otp-main::before {
    height: calc(100% + 132px) !important;
}

.reset-main::before {
    height: calc(100% + 10px) !important;
}

.otp-main .login-wrapper {
    height: 274px;
}

.reset-main .login-wrapper {
    height: 157px;
}

.otp-main .group-input,
.reset-main .group-input {
    margin-left: 0;
}

.otp-main .group-input .box1,
.reset-main .group-input .box1 {
    width: 100%;
}

/* Send OTP button */

.forgot-send-btn {
    width: 100%;
    height: 42px;
    border-radius: 5px;
    margin-top: 19px;
    border: none;
    background: #1189e9;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.forgot-send-btn:hover {
    background: #0d6ebd;
    box-shadow: 0 4px 8px rgba(17, 137, 233, 0.3);
}

.forgot-send-btn:active {
    transform: translateY(0);
}

.forgot-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Back to login link */

.forgot-back-link {
    text-align: center;
    margin-top: 17px;
}

.forgot-back-link a {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.forgot-back-link a:hover {
    color: #1189e9;
    text-decoration: underline;
}

/* Reset Password button */

.reset-main .group-input .box1 {
    padding-right: 35px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgb(91, 91, 91);
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: rgb(51, 51, 51);
}

.reset-submit-btn {
    width: 100%;
    height: 42px;
    border-radius: 5px;
    margin-top: 2px;
    border: none;
    background: #1189e9;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.reset-submit-btn:hover {
    background: #0d6ebd;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(17, 137, 233, 0.3);
}

.reset-submit-btn:active {
    transform: translateY(0);
}

.reset-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Password requirements box */

.password-requirements {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.85);
}

.password-requirements strong {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
}

.password-requirements ul {
    margin: 3px 0 0 12px;
    padding: 0;
    list-style: disc;
}

.password-requirements li {
    margin: 2px 0;
    line-height: 1.3;
}
