.login-bg {
    background-image: url('../images/login/login-bg-d.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    min-height: 100vh;
    display: grid;
}

.login-outer-container {
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: center;
    gap: 5rem;
}

.login-wrapper {
    padding: 50px;
    background: #FFFFFF;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    align-items: start;
    min-width: 500px;
}

.login-wrapper .phone-wrapper,
.login-wrapper .password-wrapper {
    display: grid;
    gap: 5px;
}

.login-wrapper .input-wrapper {
    display: grid;
    gap: 10px;
}


.login-wrapper h3.title {
    color: #1E40B4;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.login-wrapper .description {
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.login-wrapper .description .create-link,
.login-wrapper .description .create-link:hover {
    color: #264EBF;
    text-decoration: underline;
}

label {
    color: #000000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

input {
    padding: 10px 15px;
    border-radius: 5px;
    border: 2px solid #D9D9D9;
}

input:focus {
    border-color: #007bff;
    outline: none;
}

.error-message {
    margin-top: 5px;
    font-size: 12px;
    color: red;
    font-style: italic;
}

.forgot-password {
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

button.login-button {
    margin: 20px 0 0;
    color: #FDDB33;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-radius: 30px;
    padding: 10px 40px;
    border: 0;
    background: #1E40B4;
}

button.login-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media(max-width: 1200px) {
    .login-outer-container {
        display: flex;
        gap: 1rem;
        flex-direction: column-reverse;
        padding: 4rem 15px;
    }

    .login-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .login-logo img {
        height: calc(100% - 0%);
        width: calc(100% - 0%);
    }
}

@media (max-width: 800px) {
    .login-bg {
        background-image: url('../images/login/login-bg-m.webp');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
        min-height: 100vh;
        display: flex;
    }

    .login-outer-container {
        padding: 3rem 15px;
    }

    .login-wrapper {
        padding: 40px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: start;
        min-width: unset;
    }

    .form-wrapper {
        width: 100%;
    }

    .login-logo img {
        height: calc(100% - 20%);
        width: calc(100% - 20%);
    }
}

@media(max-width: 600px) {
    .login-wrapper {
        padding: 20px;
    }

    .login-logo img {
        height: calc(100% - 30%);
        width: calc(100% - 30%);
    }
}