/* === BANDEAU D'ALERTE (inséré via shortcode [lulu_alertes_bandeau]) === */
#lulu-alertes-container {
  width: 100%;
}

.lulu-alerte-banner {
  padding: 12px 48px 12px 20px;
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  animation: lulu-slide-down 0.3s ease-out;
}

@keyframes lulu-slide-down {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Couleurs de la charte Lulu */
.lulu-alerte-banner.gravite-info {
  background: #582483;
  color: white;
}
.lulu-alerte-banner.gravite-avertissement {
  background: #FFCC00;
  color: #1F2937;
}
.lulu-alerte-banner.gravite-avertissement .link {
  color: #1F2937;
}
.lulu-alerte-banner.gravite-avertissement .close {
  background: rgba(0,0,0,0.15);
  color: #1F2937;
}
.lulu-alerte-banner.gravite-avertissement .close:hover {
  background: rgba(0,0,0,0.25);
}
.lulu-alerte-banner.gravite-critique {
  background: #e73363;
  color: white;
}

.lulu-alerte-banner .icon {
  font-size: 20px;
  flex-shrink: 0;
}

.lulu-alerte-banner .content {
  flex: 1;
  min-width: 0;
}

.lulu-alerte-banner .titre {
  font-weight: 700;
  display: block;
}

.lulu-alerte-banner .message {
  font-weight: 400;
  opacity: 0.95;
}

.lulu-alerte-banner .link {
  color: white;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
}

.lulu-alerte-banner .close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lulu-alerte-banner .close:hover {
  background: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .lulu-alerte-banner {
    font-size: 13px;
    padding: 10px 44px 10px 14px;
  }
  .lulu-alerte-banner .link {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }
}

/* === PAGE INFOS TRAFIC ([lulu_alertes]) === */
.lulu-alertes-liste {
  font-family: 'Montserrat', -apple-system, sans-serif;
  max-width: 900px;
  margin: 0 auto;
}

.lulu-alerte-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 5px solid #ccc;
}

.lulu-alerte-card.gravite-info { border-left-color: #582483; }
.lulu-alerte-card.gravite-avertissement { border-left-color: #FFCC00; }
.lulu-alerte-card.gravite-critique { border-left-color: #e73363; }

.lulu-alerte-card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.lulu-alerte-card .gravite-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lulu-alerte-card.gravite-info .gravite-badge {
  background: #EDE3F4; color: #582483;
}
.lulu-alerte-card.gravite-avertissement .gravite-badge {
  background: #FFF4CC; color: #7A6100;
}
.lulu-alerte-card.gravite-critique .gravite-badge {
  background: #FCE0E8; color: #A81848;
}

.lulu-alerte-card h3 {
  margin: 0;
  font-size: 18px;
  color: #1F2937;
}

.lulu-alerte-card .services-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.lulu-alerte-card .service-tag {
  background: #F3F4F6;
  color: #374151;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.lulu-alerte-card .message-long {
  color: #4B5563;
  line-height: 1.6;
}

.lulu-alerte-card .dates {
  margin-top: 12px;
  font-size: 12px;
  color: #6B7280;
}

.lulu-alertes-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6B7280;
}
.lulu-alertes-empty .icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.lulu-alerte-track { position: relative; }

.lulu-alerte-slide { display: none; }
.lulu-alerte-slide.active {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    animation: lulu-fade 0.4s ease-out;
}
@keyframes lulu-fade {
    from { opacity: 0; transform: translateX(6px); }
    to   { opacity: 1; transform: translateX(0); }
}

.lulu-alerte-dots {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}
.lulu-alerte-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.lulu-alerte-dots .dot.active {
    background: white;
}
.lulu-alerte-banner.gravite-avertissement .dot { background: rgba(0,0,0,0.2); }
.lulu-alerte-banner.gravite-avertissement .dot.active { background: rgba(0,0,0,0.6); }