.login-with-mobile {
    cursor: pointer;
}

.login-with-mobile:hover {
    color: #26064F;
}

.resend-otp {
    cursor: pointer;
}

.custom-btn {
    padding: 2px 10px;
    font-size: 15px;
    margin-bottom: 10px;
}

.custom-btn:hover {
    background-color: #26064f;
    border: 1px solid #26064f;
}

.h3 {
    font-size: 1.75rem;
    font-weight: 500;
}

.login-btn-wrap a,
.login-btn-text,
.login-btn {
    width: 100%;
}

.valid-msg,
.error-msg {
    font-size: 12px;
}

.login-reg-form {
    max-width: 420px;
    width: 420px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07), 0 5px 30px rgba(0, 0, 0, 0.05)
}

.product-title h3 {
    color: #1a202c;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.product-title p {
    font-size: 0.95rem;
    color: #718096;
}

.form-label {
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-group-text {
    padding: 0.625rem 0.875rem;
    color: #4a5568;
}

.form-control {
    padding: 0.625rem 0.875rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
    outline: none;
}

.border-start-0 {
    border-left: 0 !important;
}

.border-end-0 {
    border-right: 0 !important;
}

.input-group:focus-within .input-group-text {
    border-color: #26064f;
}

.resend-otp {
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.resend-otp:hover {
    color: #26064f !important;
    text-decoration: underline !important;
}

.valid-msg,
.error-msg {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Animation for form transitions */
.otp {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-reg-form {
        padding: 1.5rem;
        border-radius: 8px;
    }

    .product-title h3 {
        font-size: 1.5rem;
    }
}

.btn-outline-primary {
    color: #26064f;
    border-color: #26064f;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible,
.btn-outline-primary:active {
    color: #26064f !important;
    border-color: #26064f !important;
    background-color: #ffffff !important;
}

.text-primary {
    color: #26064f !important;
}

.login-social {
    text-align: center;
    position: relative;
    padding-top: 60px;
    margin-top: 30px;
}

.login-social label {
    display: block;
    margin-bottom: 20px;
    font-size: 20px;
}

.login-social::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ccc;
}

.login-social::after {
    content: "OR";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    width: 35px;
    height: 35px;
    background-color: #ccc;
    border-radius: 50%;
    line-height: 34px;
    color: #666;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.identity-tabs {
    font-size: 1rem;
    /* md size */
    font-weight: 600;
}

.identity-option {
    padding: 6px 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

.identity-option.active {
    background: #26064f;
    color: #fff;
}

.identity-option:not(.active):hover {
    background: #f1f1f1;
}

.divider {
    padding: 6px;
    opacity: 0.6;
}

.identity-tabs span {
    border: #26064F 1px solid;
}

.mobile {
    margin-left: 5px;
}

.send-reset-otp-btn {
    margin-top: 20px;
}

.switch-label {
    margin-right: 5px;
    margin-left: 5px;
    cursor: pointer;
    font-weight: 500;
}

.switch-label.active {
    text-decoration: none;
}

.otp-btn span {
    width: 100%;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 10px;
}

.otp-btn span .wa-icon {
    width: 20px;
    height: 20px;
    margin: 0;
}

.auth-login-page .wrap-main {
    padding-bottom: 56px;
}

.auth-login-v2 {
    max-width: 460px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #ececf3;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(25, 29, 43, 0.06);
    padding: 30px 28px 26px;
}

.auth-login-v2 .auth-login-title {
    color: #212532;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 6px;
}

.auth-login-v2 .auth-login-subtitle {
    margin-bottom: 0;
    color: #7c8399;
    font-size: 15px;
    font-weight: 500;
}

.auth-login-v2 .login-type-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f6fb;
    border: 1px solid #e1e4ef;
    border-radius: 12px;
    padding: 4px;
}

.auth-login-v2 .type-option {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #5e6479;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0;
    border-radius: 9px;
    height: 38px;
    transition: all 0.2s ease;
}

.auth-login-v2 .type-option.active {
    background: #ffffff;
    color: #252736;
    box-shadow: 0 1px 3px rgba(19, 22, 35, 0.08);
}

.auth-login-v2 .type-option input[type="radio"] {
    display: none;
}

.auth-login-v2 .form-control {
    border-color: #d7d9e5;
    border-radius: 10px;
    background: #fff;
    min-height: 46px;
    font-size: 16px;
    color: #252736;
    padding: 10px 14px;
}

.auth-login-v2 .form-control:focus {
    border-color: #09144e;
    box-shadow: 0 0 0 3px rgba(79, 30, 157, 0.12);
}

.auth-login-v2 .form-control::placeholder {
    color: #7a7f92;
}

.auth-login-v2 .js-password-wrap .form-control,
.auth-login-v2 #js-new-password,
.auth-login-v2 #js-new-password-confirm {
    padding-right: 44px;
}

.auth-login-v2 .form-group {
    margin-bottom: 16px !important;
}

.auth-login-v2 .js-mobile-verification-note {
    margin-bottom: 10px;
    color: #5f6478;
    font-size: 13px;
    font-weight: 500;
}

.auth-login-v2 .valid-msg,
.auth-login-v2 .error-msg,
.auth-login-v2 .js-email-error {
    display: block;
    min-height: 16px;
    margin-top: 4px;
    font-size: 12px;
}

.auth-login-v2 .js-mobile-wrap .iti {
    width: 100%;
}

.auth-login-v2 .js-mobile-wrap .iti--separate-dial-code .iti__selected-flag {
    background: #f8f9fe;
    border-right: 1px solid #d7d9e5;
    border-radius: 10px 0 0 10px;
    padding: 0 10px 0 10px;
}

.auth-login-v2 .js-mobile-wrap .iti__selected-dial-code {
    color: #3f4559;
    font-weight: 500;
}

.auth-login-v2 .js-mobile-wrap .iti__flag-container {
    left: 0;
}

.auth-login-v2 .auth-login-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
    margin-bottom: 16px;
}

.auth-login-v2 .forgot-password-link {
    color: #09144e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.auth-login-v2 .forgot-password-link:hover {
    text-decoration: underline;
}

.auth-login-v2 .form-check-input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    border-color: #aeb3c6;
    accent-color: #09144e;
}

.auth-login-v2 .form-check-input:focus {
    border-color: #09144e;
    box-shadow: 0 0 0 0.2rem rgba(79, 30, 157, 0.2);
}

.auth-login-v2 .form-check-input:checked {
    background-color: #09144e;
    border-color: #09144e;
}

.auth-login-v2 .form-check-label {
    color: #4b5165;
    font-size: 16px;
    font-weight: 500;
}

.auth-login-v2 .auth-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0;
}

.auth-login-v2 .otp-check-row {
    margin-top: 8px;
    margin-bottom: 18px !important;
}

.auth-login-v2 .remember-check-row {
    margin-top: 0;
    margin-bottom: 0 !important;
}

.auth-login-v2 .auth-check-row .form-check-input {
    margin-left: 0;
    position: static;
}

.auth-login-v2 .remember-label {
    font-weight: 500;
}

.auth-login-v2 .all-btn {
    min-height: 46px;
    border-radius: 10px;
    background-color: #09144e;
    border-color: #09144e;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.auth-login-v2 .all-btn:hover,
.auth-login-v2 .all-btn:focus {
    background-color: #09144eec;
    border-color: #09144ef4;
    color: #fff;
    /* transform: translateY(-1px); */
}

.auth-login-v2 .all-btn:focus,
.auth-login-v2 .all-btn:active {
    box-shadow: 0 0 0 0.2rem rgba(79, 30, 157, 0.25) !important;
}

.auth-login-v2 .btn-outline-primary {
    color: #09144e !important;
    border-color: #09144e !important;
    background-color: transparent !important;
    font-size: 16px;
    font-weight: 600;
    min-height: 44px;
    border-radius: 10px;
}

.auth-login-v2 .password-input-wrap {
    position: relative;
}

.auth-login-v2 .toggle-password-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent;
    color: #666b7b;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-login-v2 .resend-otp-link {
    color: #09144e;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}

.auth-login-v2 .resend-otp-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-login-page .wrap-main {
        padding-bottom: 36px;
    }

    .auth-login-v2 {
        max-width: 100%;
        padding: 20px 16px;
    }

    .auth-login-v2 .auth-login-title {
        font-size: 34px;
    }

    .auth-login-v2 .type-option {
        font-size: 15px;
    }

    .auth-login-v2 .form-check-label {
        font-size: 15px;
    }

    .auth-login-v2 .all-btn {
        font-size: 18px;
        transform: none;
    }
}
