/*///////////////////NOTIFICATION/////////////////////*/



/* notif.css - Styles pour le système de notifications */

/* ========== SYSTÈME DE NOTIFICATIONS ========== */

/* Système de notifications */

/* Bouton de notification dans le header */
.notification-item {
  position: relative;
  background: linear-gradient(135deg, #c5c5c529 0%, #48484873 100%);
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 10px;
}
.nav-menu .notification-item{
  position: relative;
    background: transparent;
  padding: 0px;
  margin:0px;
  border-radius: 0px;
}

.notification-item .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
  color: #646464;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}

.notification-item .nav-link:hover {
  background: #f8f9fa;
  color: var(--primary-color);
}

.notification-item .fa-bell {
  font-size: 20px;
  transition: all 0.3s ease;
}

.notification-item .fa-bell.active {
  color: #f0b90b;
  animation: bellRing 2s infinite;
}

.notification-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  padding: 0 4px;
}

/* Popup de notifications */
.notification-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.notification-popup.active {
  opacity: 1;
}

.notification-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.notification-popup-content {
  position: relative;
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.notification-popup.active .notification-popup-content {
  transform: scale(1);
}

.notification-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.notification-popup-header h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-popup-header h3 i {
  color: #f39c12;
}

.notification-popup-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 5px;
}

.notification-popup-close:hover {
  color: #333;
}

.notification-popup-body {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

.notification-intro {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 1rem;
}
.notification-tab-content .notification-intro {
  color: #e7e7e7;
}

/* Options de notification */
.notification-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.notification-option {
  display: block;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.notification-option:hover {
  border-color: #f0b90b;
  background: #f8f9fa;
}

.notification-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.notification-option input[type="checkbox"]:checked ~ .notification-option-content {
  background-color: #f0b90b38;
  border-color: #f0b90b;
}


.notification-option input[type="checkbox"]:checked ~ .notification-option-content::before {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #2ecc71;
  font-size: 1.5rem;
  font-weight: bold;
}

.notification-option-content {
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid white;
}

.notification-option-content i {
  font-size: 2rem;
  width: 50px;
  text-align: center;
}

.notification-option-content i.fa-parachute-box {
  color: #f0b90b;
}

.notification-option-content i.fa-x-twitter {
  color: #f0b90b;
}

.notification-option-content i.fa-crown {
  color: #f0b90b;
}

.notification-option-content strong {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.notification-option-content small {
  color: #666;
  font-size: 0.9rem;
}

/* Statut des notifications */
.notification-status {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 10px;
}

.notification-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  text-align: center;
}

.notification-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  text-align: center;
}

.notification-status.info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
  text-align: center;
}

/* Actions */
.notification-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.notification-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notification-btn.primary {
  background: #3498db;
  color: white;
}

.notification-btn.primary:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.notification-btn.secondary {
  background: #78787880;
  color: white;
}

.notification-btn.secondary:hover {
  background: #f0b90b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.notification-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Info */
.notification-info {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.notification-info i {
  color: #3498db;
  margin-right: 5px;
}

/* Responsive */
@media (max-width: 576px) {
  .notification-popup-content {
    width: 95%;
  }
  
  .notification-option-content {
    flex-direction: column;
    text-align: center;
  }
  
  .notification-option-content i {
    margin-bottom: 10px;
  }
  
  .notification-actions {
    flex-direction: column;
  }
}
