/* ??? ????? ???? ??????? ?? ??????? ????? */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f5f5f5;
}

header {
    display: none;
}

footer {
    display: none;
}

.main-wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.image-side {
    width: 40%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-container {
    width: 100%;
    height: 100%;
    background: url('/images/Ecorama.jpg') no-repeat center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.form-side {
    width: 60%;
    height: 100%;
    padding: 2rem 4rem;
    overflow-y: auto;
    background-color: #fff;
}

.logo {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

    .logo h1 {
        color: #04b6a4;
        font-size: 2.5rem;
        font-weight: 700;
    }

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #444;
}

input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

    input:focus {
        border-color: #04b6a4;
        outline: none;
        background-color: #fff;
        box-shadow: 0 0 0 4px rgba(4, 182, 164, 0.1);
    }

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

    .remember-me input {
        width: auto;
        margin-left: 0.5rem;
    }

    .remember-me label {
        margin-bottom: 0;
    }

.submit-btn {
    background-color: #04b6a4;
    color: white;
    border: none;
    padding: 1.2rem;
    width: 100%;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(4, 182, 164, 0.2);
}

    .submit-btn:hover {
        background-color: #039d8d;
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(4, 182, 164, 0.3);
    }

.forgot-password {
    text-align: left;
    margin-top: 0.5rem;
}

    .forgot-password a {
        color: #04b6a4;
        text-decoration: none;
        font-weight: 500;
    }

        .forgot-password a:hover {
            text-decoration: underline;
        }

.register-link {
    text-align: center;
    margin-top: 1.5rem;
}

    .register-link a {
        color: #04b6a4;
        text-decoration: none;
        font-weight: 500;
    }

        .register-link a:hover {
            text-decoration: underline;
        }

.validation-summary-errors {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
}

    .validation-summary-errors ul {
        margin: 0;
        padding-right: 20px;
    }

.field-validation-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.input-validation-error {
    border-color: #dc3545;
}

/* ??????? ??????? ???????? */
@media (max-width: 992px) {
    .form-side {
        padding: 2rem;
    }
}

/* ??????? ??????? */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .image-side {
        width: 100%;
        height: 200px;
    }

    .form-side {
        width: 100%;
        padding: 1.5rem;
    }

    .logo h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
