/*
 * Stylesheet for the Register Page
 *
 * This CSS file contains styles and layout rules specifically designed for the user registration page.
 * It includes form styling, input field customization, button appearance, and responsive adjustments
 * to ensure a user-friendly and visually appealing registration experience.
 *
 * Sections covered may include:
 * - Registration form container and layout
 * - Input fields (text, password, email, etc.)
 * - Submit and reset buttons
 * - Error and success message styling
 * - Responsive design for various screen sizes
 */

.register-container {
    background-color: var(--Theme-Body-Background);
    padding: 18px 50px;
    margin: 50px 0;
}

.left-side {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.left-side > div:first-child {
    display: flex;
    justify-content: center;
}

.left-side .register-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.left-side .register-heading img {
    width: 200px;
    height: auto;
}

.login-background-image {
    position: relative;
    bottom: calc(6px - 4%);
    background-image: url('/img/login/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 255px;
}

/* Form */
.register-form {
    width: 100%;
    padding: 2rem;
    border: 1px solid var(--neutral-border);
    /* border-radius: 8px; */
    box-shadow: 0 4px 8px var(--shadow-black-10);
}

.form-check {
    padding-left: 2em!important;
}

/* Sidebar */
.sidebar {
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    /* border-radius: 8px; */
    background: var(--Surfaces-surface-variant);
}

.sidebar-item p {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 0;
}

.sidebar h4 {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar ul li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--neutral-border);
}

.sidebar ul li:last-child {
    border-bottom: none;
}

/* Rimuove bordo e sfondo dal form */
.p-4 {
    background: none;
    border: none;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 992px) {
    .register-container {
        flex-direction: column;
        align-items: center;
    }

    .sidebar {
        width: 100%;
        position: static;
        min-height: auto;
    }

    .sidebar ul {
        justify-content: flex-start;
    }

    .sidebar ul li {
        flex-grow: 0;
    }
}
