* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.no-body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
    padding: 20px;
    min-height: 100vh; /* Permet d'éviter le débordement du footer */
}

.containers {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1000px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.left-section {
    width: 40%;
    background-color:  #04233b;
    color:  #0a97b0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.left-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.left-section p {
    font-size: 16px;
    line-height: 1.5;
    color: white;
}

.right-section {
    width: 60%;
    background-color:  #0a97b0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form {
    display: flex;
    flex-direction: column;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    resize: none;
    height: 100px;
}

button {
    background-color:  #04233b;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color:  #04233b;
}

/* ✅ Correction de l'affichage sur mobile */
@media (max-width: 768px) {
    .containers {
        flex-direction: column;
        width: 100%;
        max-width: 90%;
    }

    .left-section, .right-section {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .input-group {
        flex-direction: column;
    }

    input, select, textarea {
        font-size: 14px;
    }

    button {
        font-size: 14px;
        padding: 10px;
    }
}
