/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}

/* Assurez-vous que les deux sections prennent la même hauteur */
.content {
    display: flex;
    width: 80%;
    max-width: 900px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    height: 600px; /* Hauteur fixe pour les deux sections */
}

/* Ajuster l'image pour qu'elle remplisse son conteneur */
.content .homeModal:first-child {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eef2f5;

}

.content .homeModal:first-child img {
    max-width: 100%;
    max-height: 100%; /* Limite la hauteur à celle du conteneur */
    object-fit: cover; /* Remplir le conteneur en conservant les proportions */
    width: 100%;
    height: auto; /* S'ajuste selon la largeur */
}

/* La section formulaire à droite */
.content .homeModal:last-child {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Title */
.content .homeModal h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Subtitle or text */
.content .homeModal .login-txt {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

/* Buttons */
.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    background-color: #4285f4;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    margin: 10px 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: capitalize;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Button hover effect */
.google-login-btn:hover {
    background-color: #3367d6;
    transform: translateY(-3px);
}

/* Add spacing for SVG icons */
.google-login-btn .icon svg {
    height: 1em;
    width: 1em;
}

/* Responsive design */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
        width: 90%;
    }

    .content .homeModal:first-child {
        padding: 10px;
    }

    .content .homeModal:last-child {
        padding: 20px;
    }
}
