.contact-page {
    width: 100%;
    min-height: 100vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #697565;
}



.back-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid #FDFBF9;
    color: #FDFBF9;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    padding: 20px 20px;
    margin-top: 40px;
    overflow: hidden;
    margin-left: 100px;

}

.login-container-contact {
    display: flex;
    width: 85%;
    height: 1070px;
    margin: auto;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    background-color: #F2EFE9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    margin-top: 10px;
    padding: 40px 80px;
}

.left-container,
.right-container {
    width: 50%;
}

.left-container-contact {
    width: 100%;
    height: 100%;
    max-height: 1070px;
    padding: 60px;
    display: flex;
    flex-direction: column;
}

.left-container-contact h1 {
    font-size: 46px;
    margin-bottom: 20px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.left-container-contact p {
    font-size: 22px;

}

.left-container-contact form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.left-container-contact input {
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 15px;
}

input:hover {
    border-color: #592C22;
}



.left-container-contact button {
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.text-container {
    margin-bottom: 40px;
    font-size: 18px;
}

.text-container h1 {
    margin-bottom: 10px;

}

.submit-button-contact {
    background-color: #592C22;
    color: #ffffff;
    transition: background-color 0.3s ease;
    border-radius: 15px;
    padding: 12px 16px;
}





.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}



#message {
    min-height: 160px;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: vertical;
}

#message:hover {
    border-color: #592C22;
}

.right-container-contact {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.right-container-contact img {
    width: 100%;
    max-width: 816px;
    height: 90%;
    max-height: 1070px;
    object-fit: cover;
    border-radius: 10px;
}

.contact-page .nav-contact {
    font-weight: bold;
}



/* Popup container */
.swal2-popup.contact-swal-popup {
    border-radius: 18px !important;
    background-color: #FDFBF9 !important;
    padding: 32px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* Title */
.swal2-popup.contact-swal-popup .swal2-title {
    font-size: 24px;
    font-weight: 600;
    color: #1B1B1B;
    margin-bottom: 12px;
}

/* Text */
.swal2-popup.contact-swal-popup .swal2-html-container {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 24px;
}

/* Button */
.swal2-popup.contact-swal-popup .swal2-confirm {
    background-color: #592C22 !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 500;
    box-shadow: none;
    transition: all 0.2s ease;
}

.swal2-popup.contact-swal-popup .swal2-confirm:hover {
    background-color: #47211A !important;
}

.swal2-popup.contact-swal-popup .swal2-icon {
    overflow: hidden;
}





@media (max-width: 768px) {

    .login-page {
        width: 100%;
        padding: 20px;
        gap: 10px;
    }

    .back-arrow {
        margin-top: 20px;
        padding: 0;
        width: 40px;
        height: 40px;
    }

    .login-container-contact {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 30px 20px;
        box-shadow: none;
    }

    .right-container-contact {
        display: none;
        /* on cache l’image sur mobile */
    }

    .left-container-contact {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        height: auto;
    }

    .left-container-contact h1 {
        font-size: 26px;
        text-align: center;
        justify-content: center;
    }

    .left-container-contact form {
        gap: 16px;
    }

    .left-container-contact input {
        font-size: 14px;
    }

    .left-container-contact button {
        font-size: 14px;
        padding: 12px;
    }




}