/* ????? ??????? ?????? ???????? */
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; /* ??? 100% ?? ??? ?? ????? */
    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, select {
    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, select:focus {
        border-color: #04b6a4;
        outline: none;
        background-color: #fff;
        box-shadow: 0 0 0 4px rgba(4, 182, 164, 0.1);
    }

.row {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.col {
    flex: 1;
}

.language-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

    .language-item select {
        flex: 1;
    }

.add-language {
    background-color: transparent;
    color: #04b6a4;
    border: 1px solid #04b6a4;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 0.8rem;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

    .add-language:hover {
        background-color: rgba(4, 182, 164, 0.1);
        transform: translateY(-2px);
    }

    .add-language::before {
        content: "+";
        margin-left: 0.5rem;
        font-size: 1.3rem;
        font-weight: bold;
    }

.remove-language {
    background-color: transparent;
    color: #ff4d4f;
    border: none;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.3rem;
    flex-shrink: 0;
}

    .remove-language:hover {
        background-color: rgba(255, 77, 79, 0.1);
        transform: scale(1.1);
    }

.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: 2rem;
    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);
    }

.form-divider {
    margin: 2rem 0;
    border-top: 1px solid #eee;
}

.section-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-right: 1rem;
}

    .section-title::before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 20px;
        background-color: #04b6a4;
        border-radius: 2px;
    }

/* ??????? ??????? ???????? */
@@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;
    }

    .row {
        flex-direction: column;
        gap: 1rem;
    }

    .logo h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

.pb-3 {
    padding: 0px !important;
    margin: 0px !important;
}

.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;
}

.login-link {
    text-align: center;
    margin-top: 15px;
}

    .login-link a {
        color: #04b6a4;
        text-decoration: none;
        font-weight: 500;
    }

        .login-link a:hover {
            text-decoration: underline;
        }
