/* ========================================
   STYLES MINIMAUX POUR LE CATALOGUE DYNAMIQUE
   Uniquement pour les états de chargement et d'erreur
   ======================================== */

/* Message de chargement */
.loading-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    grid-column: 1 / -1;
}

.loading-message i {
    font-size: 3rem;
    color: #3b82f6;
    animation: spin 1s linear infinite;
}

.loading-message p {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
}

/* Animation de rotation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* États d'erreur et vide */
.error-state,
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    grid-column: 1 / -1;
}

.error-state i {
    font-size: 3rem;
    color: #ef4444;
}

.empty-state i {
    font-size: 3rem;
    color: #94a3b8;
}

.error-state p,
.empty-state p {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
}

.error-state small,
.empty-state small {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Statistiques des catégories */
.category-stats {
    margin-top: 0.75rem;
    text-align: center;
}

.category-stats small {
    color: #64748b;
    font-size: 0.75rem;
    font-style: italic;
}

/* Curseur pointer pour les cartes de catégories */
.service-card {
    cursor: pointer;
}

/* ========================================
   SYSTÈME DE NOTIFICATIONS
   ======================================== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 4px solid #3b82f6;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-content span {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #374151;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: #f3f4f6;
    color: #6b7280;
}

/* Types de notifications */
.notification-success {
    border-left-color: #10b981;
}

.notification-success i {
    color: #10b981;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-error i {
    color: #ef4444;
}

.notification-warning {
    border-left-color: #f59e0b;
}

.notification-warning i {
    color: #f59e0b;
}

.notification-info {
    border-left-color: #3b82f6;
}

.notification-info i {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 768px) {
    .notification {
        left: 20px;
        right: 20px;
        min-width: auto;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}


