/**
 * MaydayMoi - Styles pour l'illustration de la page de login
 */

/* Conteneur principal de l'illustration */
.login-illustration {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Titre de l'illustration */
.illustration-title {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Grille d'icônes */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
    margin-bottom: 30px;
}

/* Conteneur d'icône individuelle */
.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Délais d'animation pour chaque icône */
.icon-item:nth-child(1) { animation-delay: 0.2s; }
.icon-item:nth-child(2) { animation-delay: 0.4s; }
.icon-item:nth-child(3) { animation-delay: 0.6s; }
.icon-item:nth-child(4) { animation-delay: 0.8s; }

/* Cercle contenant l'icône */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Effet au survol du cercle */
.icon-item:hover .icon-circle {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Icône à l'intérieur du cercle */
.icon-circle i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
}

/* Texte sous l'icône */
.icon-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

/* Texte de bas de page */
.illustration-footer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
    max-width: 80%;
    line-height: 1.5;
}

/* Animation de fade in avec déplacement vers le haut */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .icon-grid {
        grid-gap: 20px;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .icon-circle i {
        font-size: 20px;
    }
    
    .icon-text {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .login-illustration {
        padding: 15px;
    }
    
    .illustration-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .icon-grid {
        grid-gap: 15px;
    }
    
    .icon-circle {
        width: 40px;
        height: 40px;
    }
    
    .icon-circle i {
        font-size: 18px;
    }
}
