/* Click Animation */
.click-effect {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: rgba(59, 165, 167, 0.5);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s ease-out;
    z-index: 1000;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Modal global */
.error-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 7, 0.966); /* assombrissement */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 1rem;
}

/* Contenu du modal */
.error-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.error-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626; /* rouge doux */
    margin-bottom: 1rem;
}

.error-content p {
    color: #374151;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.error-content .refresh-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
    font-style: italic;
}
