html {
    height: 100%;
    font-family: "Plus Jakarta Sans", serif;
}

body {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f6f8fb;
    font-family: Nunito Sans, serif;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.left {
    width: 43%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/back.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 0 60px 46px;
}

.left .logo {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.left .title {
    font-size: 46px;
    font-weight: 700;
    font-family: Plus Jakarta Sans, serif;
}

.right {
    width: 57%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f6f8fb;
}

.right .logo {
        display: none;
    }

.right-container {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background-color: #fff;
    max-width: 464px;
    margin: auto;
    width: 100%;
    border-radius: 8px;
}

:is(.right-container .sign-up-container) h2 {
            font-size: 22px;
        }

:is(.right-container .sign-up-container) .registration-link {
            font-size: 16px;
        }

.right-container label {
        margin-left: 14px;
        font-weight: 700;
        font-size: 14px;
        line-height: 24px;
        color: #1E1E1E99;
    }

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.btn-primary {
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #EB4D44;
}

.btn-primary:hover {
    background-color: #C9302C;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    background-color: #A94442;
}

.btn-primary:disabled {
    background-color: #D3D3D3;
    color: #A0A0A0;
    cursor: not-allowed;
    box-shadow: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.form-footer span {
        font-weight: 400;
        text-decoration: underline;
    }

a {
    color: #1E1E1E99;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
}

.sign-up-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.sign-up-container h2 {
        margin-bottom: 0;
        line-height: 30px;
        font-weight: 700;
    }

:is(.sign-up-container .registration-link) p {
            line-height: 30px;
            margin-bottom: 0;
            font-weight: 600;
        }

:is(.sign-up-container .registration-link) b {
            text-decoration: underline;
            color: #1E1E1E;
        }

input {
    border: 1px solid #1E1E1E33;
    border-radius: 8px;
    padding: 20px 18px;
    margin: 10px 0;
    background-color: #fff;
    font-family: "Nunito Sans", serif;
    font-size: 16px;
}

.submit-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn-container img {
        margin-left: 7px;
    }

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
    border-color: transparent;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    box-shadow: 0 0 0 1000px white inset;
    -webkit-box-shadow: 0 0 0 1000px white inset;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border: 2px solid #1E1E1E;
}

input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

input[type="checkbox"] + .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #A0A0A0;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

input[type="checkbox"]:checked + .checkmark {
    background-color: #fff;
    border-color: #A0A0A0;
}

input[type="checkbox"] + .checkmark::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 8px;
    height: 12px;
    border: solid #D9534F;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.form-control {
    border-radius: 8px;
}

input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
}

.remember-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.remember-container label {
        height: 24px;
        line-height: 25px;
        font-weight: 400;
        font-size: 16px;
        margin: 0;
    }

.remember-container .remember-checkbox {
        height: 20px;
    }

.custom {
    max-width: 100%;
    padding: 0;
}

.error-container {
    padding: 10px;
    background-color: rgba(200, 13, 3, 0.1);
    color: #C80D03;
    border-radius: 8px;
    margin-top: 6px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.error-input {
    border: 1px solid #C80D03;
}

.input-group {
    position: relative;
}

.password-input-block {
    margin-bottom: 20px;
}

.input-group-append {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

#password {
    border-radius: 10px;
    padding-right: 30px;
}

.input-group-text {
    background-color: transparent;
    border: 0;
}
@media (max-height: 665px) {
    body {
        min-height: 785px;
    }
}
@media (max-width: 750px) {
        .container.custom .left {
            display: none;
        }

        .container.custom .right {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/back.webp');
            background-size: cover;
            background-position: center;
            width: 100%;
            padding: 40px 24px;
        }


            :is(.container.custom .right) .logo {
                display: flex !important                ;
                margin-bottom: 20px;
                justify-content: space-around;
            }

            :is(.container.custom .right) .right-container {
                margin-top: 60px;
                padding: 24px;
            }

                :is(:is(.container.custom .right) .right-container) .sign-up-container {
                    flex-direction: column;
                    align-items: unset;
                    margin-bottom: 24px;
                }

                :is(:is(.container.custom .right) .right-container) .password-input-block {
                    margin-bottom: 14px;
                }

                :is(:is(.container.custom .right) .right-container) .submit-btn-container {
                    margin-top: 24px;
                }

                :is(:is(.container.custom .right) .right-container) .form-group {
                    margin-bottom: 6px;
                }
        .submit-btn-container button {
            width: 100%;
        }
}
@media (max-width: 600px) {
    
    button.btn-primary {
        width: 100%;
        height: 48px;
    }
    .logo {
        display: flex!important;
        margin-bottom: 20px;
        justify-content: space-around;
    }
        
        .logo img {
            height: auto;
            width: 180px;
        }
    .form-group {
        margin-bottom: 16px!important;
    }
    .error-message-container {
        background-color: rgba(200, 13, 3, 0.1);
        padding: 8px;
        border-radius: 8px;
    }
    input {
        height: 50px;
    }
    i[class*=" fa-"] {
        font-size: 1.5rem;
    }
    .custom-select-container .custom-select {
        font-size: 1.1rem;
        height: 50px;
    }
    .form-control {
        font-size: 16px;
    }
}

