/* Styles pour les notifications push */

/* Bouton de notification push */
.push-notification-btn {
    position: relative;
    transition: all 0.3s ease;
}

.push-notification-btn:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    transform: translateY(-1px);
}

/* Bouton d'information */
.push-info-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid #3B82F6;
    color: #3B82F6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin-left: 8px;
    cursor: pointer;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.push-info-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: scale(1.1);
}

/* Modal personnalisée */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.custom-modal .modal-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.3s ease;
}

.custom-modal .modal-header {
    background: #3B82F6;
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal .modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.custom-modal .close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.custom-modal .close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

.custom-modal .modal-body {
    padding: 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .custom-modal .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .custom-modal .modal-header {
        padding: 15px;
    }
    
    .custom-modal .modal-body {
        padding: 15px;
    }
}

/* États des boutons */
.push-notification-btn.notifications-enabled {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid #22C55E !important;
    color: #22C55E !important;
}

.push-notification-btn.notifications-disabled {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid #EF4444 !important;
    color: #EF4444 !important;
}

.push-notification-btn.safari-ios {
    background: rgba(59, 130, 246, 0.1) !important;
    border: 1px solid #3B82F6 !important;
    color: #3B82F6 !important;
}

.push-notification-btn.safari-macos {
    background: rgba(245, 158, 11, 0.1) !important;
    border: 1px solid #F59E0B !important;
    color: #F59E0B !important;
}

/* Styles pour les listes dans les modales */
.custom-modal ul, .custom-modal ol {
    margin: 0;
    padding-left: 20px;
}

.custom-modal li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.custom-modal strong {
    color: #1F2937;
}

/* Couleurs pour les statuts */
.status-success { color: #22C55E; }
.status-warning { color: #F59E0B; }
.status-error { color: #EF4444; }
.status-info { color: #3B82F6; }
