/* ============================================================
   METEO.PHP — thème Edouargot ciblé sur les vraies classes
   Couleurs : marron #330705, jaune #f5c063, blanc/beige.
   Le fond général reste transparent.
============================================================ */

body.edo-meteo-page {
  background: transparent !important;
  color: #330705 !important;
}

/* Wrapper haut : mois + publications */
body.edo-meteo-page .container,
body.edo-meteo-page .month-controls-wrapper,
body.edo-meteo-page .month-controls,
body.edo-meteo-page .articles-info {
  color: #330705 !important;
}

/* Bloc choix du mois */
body.edo-meteo-page .month-controls-wrapper,
body.edo-meteo-page .month-controls {
  background: rgba(255, 250, 240, 0.88) !important;
  border: 1px solid rgba(245, 192, 99, 0.70) !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 38px rgba(51, 7, 5, 0.14) !important;
  backdrop-filter: blur(6px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(6px) saturate(1.05) !important;
}

/* Formulaire mois */
body.edo-meteo-page #monthForm {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.edo-meteo-page #monthPicker,
body.edo-meteo-page input,
body.edo-meteo-page select {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #330705 !important;
  border: 1px solid rgba(51, 7, 5, 0.22) !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(51, 7, 5, 0.08) !important;
}

body.edo-meteo-page #monthPicker:focus,
body.edo-meteo-page input:focus,
body.edo-meteo-page select:focus {
  outline: none !important;
  border-color: #f5c063 !important;
  box-shadow: 0 0 0 3px rgba(245, 192, 99, 0.26) !important;
}

/* Info publications */
body.edo-meteo-page .articles-info {
  background: rgba(255, 250, 240, 0.86) !important;
  border: 1px solid rgba(245, 192, 99, 0.62) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 28px rgba(51, 7, 5, 0.12) !important;
}

body.edo-meteo-page .articles-text,
body.edo-meteo-page .articles-info span,
body.edo-meteo-page .articles-info strong {
  color: #330705 !important;
}

/* En-tête calendrier */
body.edo-meteo-page .calendar-header {
  background: linear-gradient(135deg, #fffaf0 0%, #fff6e3 58%, rgba(245, 192, 99, 0.42) 100%) !important;
  color: #330705 !important;
  border: 1px solid rgba(245, 192, 99, 0.72) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 42px rgba(51, 7, 5, 0.14) !important;
  text-shadow: none !important;
}

body.edo-meteo-page .calendar-header h1,
body.edo-meteo-page .calendar-header h2,
body.edo-meteo-page .calendar-header h3,
body.edo-meteo-page .calendar-header div,
body.edo-meteo-page .calendar-header span {
  color: #330705 !important;
  text-shadow: none !important;
}

/* Grille */
body.edo-meteo-page .calendar-grid {
  background: rgba(255, 250, 240, 0.38) !important;
  border: 1px solid rgba(245, 192, 99, 0.30) !important;
  border-radius: 26px !important;
  padding: clamp(10px, 2vw, 18px) !important;
  box-shadow: 0 18px 46px rgba(51, 7, 5, 0.10) !important;
  backdrop-filter: blur(3px) saturate(1.04) !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.04) !important;
}

/* Cases jours */
body.edo-meteo-page .jour-block {
  background: rgba(255, 250, 240, 0.90) !important;
  border: 1px solid rgba(245, 192, 99, 0.62) !important;
  border-radius: 22px !important;
  color: #330705 !important;
  box-shadow: 0 10px 24px rgba(51, 7, 5, 0.12) !important;
  overflow: hidden !important;
}

body.edo-meteo-page .jour-block-inner {
  background: transparent !important;
  color: #330705 !important;
}

body.edo-meteo-page .jour-block h3,
body.edo-meteo-page .jour-block p,
body.edo-meteo-page .jour-block span,
body.edo-meteo-page .jour-block em {
  color: #330705 !important;
  text-shadow: none !important;
}

body.edo-meteo-page .jour-block:hover {
  border-color: rgba(51, 7, 5, 0.34) !important;
  box-shadow: 0 16px 34px rgba(51, 7, 5, 0.18) !important;
}

/* Jours gris */
body.edo-meteo-page .jour-block.grayed-day,
body.edo-meteo-page .grayed-day {
  background: rgba(255, 255, 255, 0.52) !important;
  border-color: rgba(51, 7, 5, 0.10) !important;
  opacity: 0.74 !important;
}

/* Aujourd'hui */
body.edo-meteo-page .today-block {
  background: linear-gradient(145deg, #fffaf0 0%, #fff6e3 56%, rgba(245, 192, 99, 0.48) 100%) !important;
  border: 2px solid #f5c063 !important;
  box-shadow: 0 18px 42px rgba(245, 192, 99, 0.24), 0 10px 24px rgba(51, 7, 5, 0.12) !important;
}

body.edo-meteo-page .aujourdhui {
  color: #8a4b15 !important;
  font-weight: 800 !important;
}

/* Météo texte */
body.edo-meteo-page .meteo,
body.edo-meteo-page .meteo span,
body.edo-meteo-page .meteo em,
body.edo-meteo-page .temp-ok,
body.edo-meteo-page .temp-bad,
body.edo-meteo-page .indispo {
  color: #330705 !important;
  text-shadow: none !important;
}

body.edo-meteo-page .meteo.temp-ok {
  background: rgba(245, 192, 99, 0.16) !important;
  border-left: 4px solid #f5c063 !important;
  border-radius: 12px !important;
  padding: 5px 8px !important;
}

body.edo-meteo-page .meteo.temp-bad {
  background: rgba(51, 7, 5, 0.07) !important;
  border-left: 4px solid #330705 !important;
  border-radius: 12px !important;
  padding: 5px 8px !important;
}

/* Ligne pluie qui était en blanc inline */
body.edo-meteo-page .meteo span[style] {
  color: #330705 !important;
}

/* Alertes escargots */
body.edo-meteo-page .escargot-alert {
  background: rgba(245, 192, 99, 0.18) !important;
  color: #330705 !important;
  border: 1px solid rgba(245, 192, 99, 0.58) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.edo-meteo-page .snail-indicator {
  filter: drop-shadow(0 2px 2px rgba(51, 7, 5, 0.18)) !important;
}

/* Bouton publications */
body.edo-meteo-page .modal-button,
body.edo-meteo-page .day-article-button,
body.edo-meteo-page button {
  background: linear-gradient(135deg, #f5c063, #e5a154) !important;
  color: #330705 !important;
  border: 1px solid rgba(51, 7, 5, 0.20) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 22px rgba(51, 7, 5, 0.14) !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

body.edo-meteo-page .modal-button:hover,
body.edo-meteo-page .day-article-button:hover,
body.edo-meteo-page button:hover {
  background: #330705 !important;
  color: #fff6e3 !important;
  border-color: #330705 !important;
}

/* Pastille clignotante */
body.edo-meteo-page .blinking-dot {
  background: #f5c063 !important;
  border: 1px solid rgba(51, 7, 5, 0.20) !important;
  box-shadow: 0 0 0 4px rgba(245, 192, 99, 0.22) !important;
}

/* Modale publications météo */
body.edo-meteo-page #uiModalOverlay,
body.edo-meteo-page .modal-overlay {
  background: rgba(51, 7, 5, 0.30) !important;
  backdrop-filter: blur(8px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.05) !important;
}

body.edo-meteo-page .edo-ui-modal-box,
body.edo-meteo-page .modal-content {
  background: rgba(255, 255, 255, 0.97) !important;
  color: #330705 !important;
  border: 1px solid rgba(245, 192, 99, 0.76) !important;
  box-shadow: 0 24px 70px rgba(51, 7, 5, 0.24) !important;
}

body.edo-meteo-page .edo-ui-modal-head h2,
body.edo-meteo-page .edo-ui-modal-head p,
body.edo-meteo-page .edo-ui-modal-list,
body.edo-meteo-page .edo-ui-modal-list h3,
body.edo-meteo-page .edo-ui-modal-list p {
  color: #330705 !important;
}

/* Divs injectées par JS dans #modalPublicationsList : elles avaient #444 inline */
body.edo-meteo-page #modalPublicationsList > div {
  background: rgba(255, 250, 240, 0.92) !important;
  border: 1px solid rgba(245, 192, 99, 0.62) !important;
  border-radius: 16px !important;
  color: #330705 !important;
  box-shadow: 0 10px 24px rgba(51, 7, 5, 0.10) !important;
}

body.edo-meteo-page #modalPublicationsList > div h3,
body.edo-meteo-page #modalPublicationsList > div p,
body.edo-meteo-page #modalPublicationsList > div span {
  color: #330705 !important;
  text-shadow: none !important;
}

body.edo-meteo-page #modalPublicationsList button {
  background: #330705 !important;
  color: #fff6e3 !important;
  border: 1px solid #330705 !important;
  border-radius: 999px !important;
}

body.edo-meteo-page .edo-ui-modal-close {
  background: #f5c063 !important;
  color: #330705 !important;
  border: 1px solid rgba(51, 7, 5, 0.16) !important;
}

body.edo-meteo-page .edo-ui-modal-close:hover {
  background: #330705 !important;
  color: #fff6e3 !important;
}

/* Mobile */
@media (max-width: 640px) {
  body.edo-meteo-page .calendar-grid {
    padding: 10px !important;
    border-radius: 20px !important;
  }

  body.edo-meteo-page .jour-block {
    border-radius: 18px !important;
  }

  body.edo-meteo-page .month-controls-wrapper,
  body.edo-meteo-page .articles-info,
  body.edo-meteo-page .calendar-header {
    border-radius: 18px !important;
  }
}

/* ============================================================
   AJUSTEMENT FINAL METEO — plus léger, translucide, moins haut
   Objectif :
   - cases calendrier moins grandes
   - pas d'effet trop chargé
   - translucide
   - légère touche orange/jaune Edouargot
============================================================ */

/* Fond général toujours transparent */
body.edo-meteo-page {
  background: transparent !important;
}

/* Bloc mois + info publications : plus discret, translucide */
body.edo-meteo-page .month-controls-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;

  width: min(94vw, 980px) !important;
  margin: 18px auto 18px auto !important;
  padding: 10px 12px !important;

  background: rgba(255, 250, 240, 0.46) !important;
  border: 1px solid rgba(245, 192, 99, 0.38) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 22px rgba(51, 7, 5, 0.08) !important;

  backdrop-filter: blur(5px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(5px) saturate(1.02) !important;
}

/* Sous-blocs plus petits */
body.edo-meteo-page .month-controls,
body.edo-meteo-page .articles-info {
  margin: 0 !important;
  padding: 7px 10px !important;

  background: rgba(255, 255, 255, 0.42) !important;
  border: 1px solid rgba(245, 192, 99, 0.28) !important;
  border-radius: 14px !important;
  box-shadow: none !important;

  color: #330705 !important;
}

/* Champ mois plus compact */
body.edo-meteo-page #monthPicker {
  min-height: 34px !important;
  height: 34px !important;
  padding: 4px 10px !important;
  font-size: 0.95rem !important;

  background: rgba(255, 255, 255, 0.58) !important;
  border: 1px solid rgba(245, 192, 99, 0.42) !important;
  color: #330705 !important;
  box-shadow: none !important;
}

/* Texte publication plus discret */
body.edo-meteo-page .articles-text {
  color: rgba(51, 7, 5, 0.74) !important;
  font-size: 0.93rem !important;
  line-height: 1.25 !important;
}

/* Header calendrier plus léger */
body.edo-meteo-page .calendar-header {
  width: min(94vw, 980px) !important;
  margin: 0 auto 14px auto !important;
  padding: 12px 14px !important;

  background: rgba(255, 250, 240, 0.50) !important;
  border: 1px solid rgba(245, 192, 99, 0.36) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(51, 7, 5, 0.08) !important;

  backdrop-filter: blur(4px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(4px) saturate(1.02) !important;
}

body.edo-meteo-page .calendar-header h1,
body.edo-meteo-page .calendar-header h2,
body.edo-meteo-page .calendar-header h3,
body.edo-meteo-page .calendar-header div {
  color: #330705 !important;
  text-shadow: none !important;
}

/* Grille plus compacte */
body.edo-meteo-page .calendar-grid {
  width: min(96vw, 1120px) !important;
  margin: 0 auto !important;
  padding: 8px !important;
  gap: 8px !important;

  background: rgba(255, 250, 240, 0.20) !important;
  border: 1px solid rgba(245, 192, 99, 0.20) !important;
  border-radius: 20px !important;
  box-shadow: none !important;

  backdrop-filter: blur(2px) saturate(1.01) !important;
  -webkit-backdrop-filter: blur(2px) saturate(1.01) !important;
}

/* Cases du calendrier : plus petites, translucides */
body.edo-meteo-page .jour-block {
  min-height: 126px !important;
  max-height: none !important;
  padding: 0 !important;

  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 246, 227, 0.34)) !important;
  border: 1px solid rgba(245, 192, 99, 0.30) !important;
  border-radius: 16px !important;

  box-shadow: 0 6px 16px rgba(51, 7, 5, 0.07) !important;
  overflow: visible !important;

  backdrop-filter: blur(3px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.02) !important;
}

/* Intérieur compact */
body.edo-meteo-page .jour-block-inner {
  padding: 8px 8px 9px 8px !important;
  background: transparent !important;
  color: #330705 !important;
  overflow: visible !important;
}

/* Titres des jours moins gros */
body.edo-meteo-page .jour-block h3 {
  margin: 0 0 6px 0 !important;
  font-size: clamp(0.82rem, 1.4vw, 0.98rem) !important;
  line-height: 1.15 !important;
  color: #330705 !important;
}

/* Textes météo plus compacts */
body.edo-meteo-page .jour-block p,
body.edo-meteo-page .meteo {
  margin: 4px 0 !important;
  font-size: clamp(0.78rem, 1.25vw, 0.9rem) !important;
  line-height: 1.22 !important;
  color: rgba(51, 7, 5, 0.82) !important;
}

/* Touche orange discrète, pas trop chargée */
body.edo-meteo-page .meteo.temp-ok {
  padding: 3px 6px !important;
  background: rgba(245, 192, 99, 0.13) !important;
  border-left: 3px solid rgba(245, 192, 99, 0.72) !important;
  border-radius: 9px !important;
}

body.edo-meteo-page .meteo.temp-bad {
  padding: 3px 6px !important;
  background: rgba(245, 192, 99, 0.08) !important;
  border-left: 3px solid rgba(51, 7, 5, 0.46) !important;
  border-radius: 9px !important;
}

/* Aujourd'hui : visible mais pas massif */
body.edo-meteo-page .today-block {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(245, 192, 99, 0.22)) !important;
  border: 1px solid rgba(245, 192, 99, 0.62) !important;
  box-shadow: 0 8px 22px rgba(245, 192, 99, 0.14) !important;
}

body.edo-meteo-page .aujourdhui {
  font-size: 0.78rem !important;
  color: #8a4b15 !important;
}

/* Jours hors mois encore plus transparents */
body.edo-meteo-page .grayed-day,
body.edo-meteo-page .jour-block.grayed-day {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(51, 7, 5, 0.08) !important;
  opacity: 0.58 !important;
}

/* Boutons publications plus petits */
body.edo-meteo-page .modal-button,
body.edo-meteo-page .day-article-button {
  margin-top: 6px !important;
  padding: 5px 9px !important;
  font-size: 0.78rem !important;
  line-height: 1.1 !important;

  background: rgba(245, 192, 99, 0.68) !important;
  color: #330705 !important;
  border: 1px solid rgba(51, 7, 5, 0.16) !important;
  box-shadow: none !important;
}

body.edo-meteo-page .modal-button:hover,
body.edo-meteo-page .day-article-button:hover {
  background: #330705 !important;
  color: #fff6e3 !important;
}

/* Alertes escargots compactes */
body.edo-meteo-page .escargot-alert {
  margin-top: 5px !important;
  padding: 4px 6px !important;
  font-size: 0.76rem !important;
  line-height: 1.18 !important;

  background: rgba(245, 192, 99, 0.12) !important;
  border: 1px solid rgba(245, 192, 99, 0.32) !important;
  border-radius: 10px !important;
}

/* Mobile : garder compact */
@media (max-width: 740px) {
  body.edo-meteo-page .month-controls-wrapper {
    gap: 8px !important;
    padding: 8px !important;
  }

  body.edo-meteo-page .calendar-grid {
    gap: 7px !important;
    padding: 7px !important;
  }

  body.edo-meteo-page .jour-block {
    min-height: 112px !important;
    border-radius: 14px !important;
  }

  body.edo-meteo-page .jour-block-inner {
    padding: 7px !important;
  }

  body.edo-meteo-page .jour-block h3 {
    font-size: 0.8rem !important;
  }

  body.edo-meteo-page .jour-block p,
  body.edo-meteo-page .meteo {
    font-size: 0.76rem !important;
  }
}

/* ============================================================
   CORRECTIF FINAL METEO — jours de semaine en orange Edouargot
   Cible : <div class="calendar-header"> Lundi...Dimanche
============================================================ */
body.edo-meteo-page .calendar-header {
  background: #F5C063 !important;
  border: 1px solid rgba(51, 7, 5, 0.18) !important;
  box-shadow: 0 8px 22px rgba(51, 7, 5, 0.10) !important;
}

body.edo-meteo-page .calendar-header div {
  color: #330705 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

/* ============================================================
   CORRECTIF FINAL METEO
   - calendar-header clair / translucide
   - seulement le texte Lundi...Dimanche en orange #F5C063
   - month-controls-wrapper clair / translucide
============================================================ */

/* Bloc contenant Lundi Mardi Mercredi... : clair, pas orange plein */
body.edo-meteo-page .calendar-header {
  background: rgba(255, 250, 240, 0.44) !important;
  background-color: rgba(255, 250, 240, 0.44) !important;
  border: 1px solid rgba(245, 192, 99, 0.32) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 22px rgba(51, 7, 5, 0.06) !important;
  backdrop-filter: blur(5px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(5px) saturate(1.02) !important;
}

/* Seulement les mots Lundi Mardi Mercredi... en orange */
body.edo-meteo-page .calendar-header > div {
  color: #F5C063 !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 1px rgba(51, 7, 5, 0.18) !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Bloc mois + info publication : clair et translucide */
body.edo-meteo-page .month-controls-wrapper {
  background: rgba(255, 250, 240, 0.44) !important;
  background-color: rgba(255, 250, 240, 0.44) !important;
  border: 1px solid rgba(245, 192, 99, 0.32) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 22px rgba(51, 7, 5, 0.06) !important;
  backdrop-filter: blur(5px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(5px) saturate(1.02) !important;
}

/* Sous-blocs du choix mois et info publication */
body.edo-meteo-page .month-controls,
body.edo-meteo-page .articles-info {
  background: rgba(255, 255, 255, 0.38) !important;
  background-color: rgba(255, 255, 255, 0.38) !important;
  border: 1px solid rgba(245, 192, 99, 0.24) !important;
  color: #330705 !important;
  box-shadow: none !important;
}

/* Texte "Aucune publication ce mois-ci…" */
body.edo-meteo-page .articles-info,
body.edo-meteo-page .articles-info .articles-text {
  color: rgba(51, 7, 5, 0.76) !important;
}

/* Champ mois */
body.edo-meteo-page #monthPicker {
  background: rgba(255, 255, 255, 0.62) !important;
  border: 1px solid rgba(245, 192, 99, 0.38) !important;
  color: #330705 !important;
  box-shadow: none !important;
}
