/* =========================================
   TITRE DE PAGE - BLOC ENTIER BLEU MARINE
   ========================================= */

/* ✅ LE BLOC ENTIER DEVIENT LE BLOC BLEU MARINE */
#block-zadmin-page-title {
  background-color: #1a2644 !important;
  color: #ffffff !important;
  
  width: 55% !important;
  max-width: 55% !important;
  margin: 15px auto !important;
  
  padding: 14px 20px 18px 20px !important;
  
  border-radius: 10px !important;
  
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(26, 38, 68, 0.15) !important;
  
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  
  position: relative !important;
  
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ✅ Titre - SIMPLE, PAS DE FOND */
.page-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #ffffff !important;
  
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  text-align: center !important;
  
  padding: 0 0 8px 0 !important; /* ✅ Espace en bas pour le surlignage */
  margin: 0 !important;
  
  position: relative !important;
  display: inline-block !important;
}

/* ✅ ✅ ✅ SURLIGNAGE JAUNE DORÉ - BIEN VISIBLE ✅ ✅ ✅ */
.page-title::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: 0 !important; /* ✅ Collé au bas du texte */
  width: 50% !important;
  height: 3px !important;
  background-color: #ffcd01 !important; /* ✅ JAUNE DORÉ */
  border-radius: 2px !important;
  transition: width 0.3s ease !important;
}

/* ✅ Hover : surlignage s'étend + ombre plus prononcée */
#block-zadmin-page-title:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(26, 38, 68, 0.2) !important;
  transform: translateY(-2px) !important;
}

#block-zadmin-page-title:hover .page-title::after {
  width: 90% !important;
}

/* ✅ RESPONSIVE */
@media (max-width: 1200px) {
  #block-zadmin-page-title {
    width: 65% !important;
    max-width: 65% !important;
  }
}

@media (max-width: 768px) {
  #block-zadmin-page-title {
    width: 80% !important;
    max-width: 80% !important;
    padding: 12px 15px 16px 15px !important;
  }
  
  .page-title {
    font-size: 18px !important;
  }
  
  .page-title::after {
    width: 50% !important;
  }
  
  #block-zadmin-page-title:hover .page-title::after {
    width: 70% !important;
  }
}

@media (max-width: 480px) {
  #block-zadmin-page-title {
    width: 90% !important;
    max-width: 90% !important;
    padding: 10px 12px 14px 12px !important;
  }
  
  .page-title {
    font-size: 16px !important;
  }
  
  .page-title::after {
    width: 60% !important;
    height: 2px !important;
  }
}