* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: "Rubik", sans-serif;
    display: flex;
    background: #fff;
    color: #000;
    margin: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 860px) {
    body {
        flex-direction: column;
    }
}

.right-container, .left-container {
    flex: 1;
    flex-shrink: 0;
}

@media (max-width: 860px) {
    .right-container, .left-container {
        flex: 1 0 auto;
    }
}

.left-container {
    width: 50%;
    height: 100vh;
    background-image: url('/images/login-bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.right-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    width: 50%;
    overflow: auto;
}

.right-container__h2 {
    font-size: 30px;
    text-align: center;
}

.right-container__p {
    opacity: 1;
    margin: 25px 0 0 0;
    text-align: center;
}

.right-container__input {
    width: 350px;
    padding: 15px 20px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.8);
}

    .right-container__input:focus {
        outline: none;
    }

.right-container__label {
    margin-top: 20px;
    font-size: 14px;
}

.right-container__bottom-text {
    text-align: center;
    margin-top: 22px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

    .right-container__bottom-text > strong {
        color: #fff;
    }

.input-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.toggle-container {
    margin: 24px 0;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-box {
    appearance: none;
    width: 32px;
    height: 16px;
    border-radius: 20px;
    background-color: #c1c1c1;
    cursor: pointer;
    position: relative;
}

    .toggle-box:checked {
        background-color: #891A1C;
    }

        .toggle-box:checked::after {
            transform: translateX(16px);
            transition: 0.4s ease-in-out;
        }

    .toggle-box::after {
        position: absolute;
        content: "";
        top: 3px;
        left: 3px;
        height: 10px;
        width: 10px;
        border-radius: 50%;
        background-color: #fff;
    }

.btn {
    background-color: #891A1C;
    border: 1px solid #891A1C;
    width: 350px;
    border-radius: 20px;
    padding: 10px 0;
    color: #fff;
}

.login-error {
    color: red;
    margin-left: 14px;
    opacity: 1;
    transition: opacity 0.2s ease;
    height: 0px;
}

    .login-error.hidden {
        opacity: 0;
    }
