/****************************************** 
    Login CSS Start 
******************************************/

.login-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.login-link {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--main-color);
    background: #fff0;
    border: 2px solid var(--main-color);
    font-family: 'mysecondfont-Bold';
    transition: all ease-in-out 0.4s;
    text-transform: uppercase;
}

.login-link:hover {
    background: var(--main-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.login-link.active {
    background: var(--main-color);
    color: #fff;
}

.login-card {
    width: 100%;
    max-width: 454px;
    background: #f8f0e4;
    border-radius: 9px;
    padding: 34px 33px 38px;
    box-shadow: 0 5px 22px rgb(0 0 0 / 15%);
}

.login-title {
    text-align: center;
    font-size: 35px;
    line-height: 1.3;
    color: var(--head-txt-color);
    margin-bottom: 5px;
    font-family: 'myfirstfont-Regular';
}

.login-subtitle {
    text-align: center;
    color: #717171;
    font-size: 16px;
    margin-bottom: 30px;
}

.phone-group, .form-group {
    display: flex;
    width: 100%;
    height: 50px;
    border: 1px solid var(--main-color);
    border-radius: 14px;
    overflow: hidden;
    background: #fff0;
    margin-bottom: 20px;
}

.country-code {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
    border-right: 1px solid #d2d2d2;
    flex-shrink: 0;
    background: var(--main-color);
}

.phone-input, .form-control {
    flex: 1;
    border: 0;
    outline: none;
    padding: 0 12px;
    font-size: 16px;
    color: #222;
    background: #fff0;
}

.phone-input::placeholder {
    color: #333;
    opacity: 1;
}

.main-btn {
    width: 100% !important;
    margin-top: 10px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 48px 0 35px;
    color: #bbb;
    font-size: 11px;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    background: #d5d5d5;
    flex: 1;
}

.social-buttons {
    display: flex;
    justify-content: center;
}

.social-btn {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 25px;
    background: #fff4d5;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: .3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    background: #ffefc5;
}

.google-icon img {
    width: 16px;
}

.facebook-icon {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #168de2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.signup-text {
    text-align: center;
    margin-top: 43px;
    font-size: 13px;
    color: #333;
}

.signup-text a {
    color: #f23852;
    font-weight: 600;
    text-decoration: none;
}

/* =========================
    OTP SCREEN
========================= */

.otp-screen {
    display: none;
}

.otp-screen.active {
    display: block;
    animation: otpFade .35s ease;
}

.login-screen.hide {
    display: none;
}

@keyframes otpFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.otp-info {
    text-align: center;
    color: #717171;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 27px;
}

.otp-number {
    color: #222;
    font-weight: 600;
}

.otp-boxes {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-bottom: 22px;
}

.otp-input {
    width: 45px;
    height: 48px;
    border: 1px solid #d3d3d3;
    border-radius: 6px;
    outline: none;
    text-align: center;
    font-size: 19px;
    font-weight: 600;
    color: #222;
    transition: .25s;
}

.otp-input:focus {
    border-color: #f23852;
    box-shadow: 0 0 0 2px rgba(242, 56, 82, .08);
}

.resend-area {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 19px;
}

.resend-btn {
    border: 0;
    background: transparent;
    color: #f23852;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.resend-btn:disabled {
    color: #aaa;
    cursor: not-allowed;
}

.back-btn {
    display: block;
    margin: 18px auto 0;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 13px;
    cursor: pointer;
}

.error-message {
    text-align: center;
    color: #f23852;
    font-size: 12px;
    min-height: 16px;
    margin-top: 5px;
}

.success-message {
    text-align: center;
    color: #20a464;
    font-size: 13px;
    margin-top: 12px;
    display: none;
}

/****************************************** 
    Login CSS End 
******************************************/

/******************************************
    Responsive Start
******************************************/

@media (max-width: 991px) {

    .login-card {
        margin: 0 auto;
    }

    .fillup-row {
        flex-direction: column-reverse;
    }

}

@media (max-width: 575px) {

    .login-title {
        font-size: 25px;
    }

    .login-card {
        padding: 20px 20px 20px;
    }

    .login-subtitle, .country-code, .phone-input, .otp-info {
        font-size: 13px;
    }

    .phone-group {
        height: 40px;
    }

    .login-subtitle, .otp-info {
        margin-bottom: 20px;
    }

    .main-btn, .signup-text {
        margin-top: 20px;
    }

    .divider {
        margin: 20px 0 15px;
    }

    .otp-input {
        width: 35px;
        height: 35px;
        font-size: 15px;
    }

    .error-message {
        margin-top: 0;
    }

    .back-btn {
        margin: 10px auto 0;
    }

}