/* ============================================
    Beezon Futé - search.tpl uniquement
    ============================================ */

/* Fil d'ariane */
.breadcrumb-nav {
  margin-bottom: 15px;
}

.meteo-container .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 8px 12px;
  margin: 0;
  background: #f8f9fa;
  border-radius: 8px;
  list-style: none;
  font-size: 0.85rem;
}

.meteo-container .breadcrumb-item a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.2s;
}

.meteo-container .breadcrumb-item a:hover {
  color: #2980b9;
  text-decoration: underline;
}

.meteo-container .breadcrumb-item + .breadcrumb-item::before {
  float: left;
  padding-right: 8px;
  color: #6c757d;
  content: "/";
}

.meteo-container .breadcrumb-item.active {
  color: #6c757d;
}

.meteo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  padding-top: 0px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Recherche */
.meteo-search-section {
  text-align: center;
  margin-bottom: 5px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.meteo-search-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 10px;
}

.meteo-search-logo-wrap {
  flex-shrink: 0;
}

.meteo-search-logo {
  height: 120px;
  width: auto;
  transition:
    transform 0.3s,
    filter 0.3s;
  border-radius: 50%;
}

.meteo-search-logo-wrap {
  position: relative;
  cursor: pointer;
}

.meteo-search-logo-wrap:hover .meteo-search-logo {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(242, 123, 31, 0.4));
}

.meteo-search-logo-tooltip {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #2c3e50;
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
}

.meteo-search-logo-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #2c3e50;
}

.meteo-search-logo-wrap:hover .meteo-search-logo-tooltip {
  opacity: 1;
}

.meteo-search-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex: 1;
  max-width: 900px;
}

.meteo-title {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0;
  font-weight: 700;
  display: inline;
}

.meteo-search-form {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.meteo-search-form:focus-within {
  transform: scale(1.02);
}

.meteo-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 50px;
  padding: 4px 8px;
  box-shadow: 0 4px 20px rgba(242, 123, 31, 0.25);
  border: 2px solid #f27b1f;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}

.meteo-search-form:focus-within .meteo-search-row {
  box-shadow: 0 6px 30px rgba(242, 123, 31, 0.4);
  border-color: #e06b0f;
}

.meteo-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  padding: 8px 12px;
  background: transparent;
  min-width: 0;
  color: #2c3e50;
  font-weight: 500;
}

.meteo-search-input:focus {
  background: rgba(242, 123, 31, 0.05);
  border-radius: 25px;
}

.meteo-search-input::placeholder {
  color: #95a5a6;
}

.meteo-search-separator {
  color: #bdc3c7;
  font-weight: 500;
  white-space: nowrap;
}

.meteo-search-insee {
  max-width: 120px;
  text-align: center;
}

.meteo-search-btn {
  background: #f27b1f;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s,
    transform 0.2s,
    box-shadow 0.3s;
  box-shadow: 0 3px 12px rgba(242, 123, 31, 0.3);
  flex-shrink: 0;
}

.meteo-search-btn:hover {
  background: #e06b0f;
  transform: scale(1.1);
  box-shadow: 0 5px 18px rgba(242, 123, 31, 0.5);
}

.meteo-search-btn:active {
  transform: scale(1.05);
}

.meteo-search-btn i {
  color: white;
  font-size: 1.1rem;
}

/* En-tête ville */
.meteo-city-header {
  text-align: center;
  margin-top: 7px;
  margin-bottom: 3px;
  padding: 6px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  color: white;
}

.meteo-city-header h2 {
  font-size: 1.8rem;
  margin: 0 0 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.meteo-city-header h2 i {
  color: #ffd700;
}

.meteo-cp {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.meteo-date {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

/* État vide */
.meteo-empty-state {
  text-align: center;
  padding: 2px;
  color: #595b5b;
}

.meteo-empty-state i {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.meteo-empty-state p {
  font-size: 1.1rem;
  margin: 0;
}

/* ============================================
   Score Abeilles - 7 jours
   ============================================ */

.score-abeilles-days-section {
  margin-bottom: 20px;
}

.score-abeilles-days-title {
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.score-abeilles-days-title i {
  color: #f39c12;
}

.score-abeilles-days-hint {
  font-size: 0.8rem;
  color: #7f8c8d;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.score-abeilles-days-hint i {
  color: #3498db;
  font-size: 0.85rem;
}

.score-abeilles-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.score-abeilles-day-card {
  background: white;
  border-radius: 10px;
  padding: 6px 4px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #ccc;
  transition: transform 0.3s;
}

.score-abeilles-day-card-missing {
  background: #f5f5f5;
  border: 1px dashed #ccc;
  color: #999;
}

.score-abeilles-day-card-missing .score-abeilles-day-date span {
  color: #999;
}

.score-abeilles-day-missing-icon {
  font-size: 2rem;
  margin: 10px 0;
  color: #ccc;
}

.score-abeilles-day-missing-text {
  font-size: 0.75rem;
  color: #999;
  padding: 4px;
  font-style: italic;
}

.score-abeilles-day-detail-panel-missing {
  background: #f9f9f9;
  padding: 20px;
  text-align: center;
  color: #999;
}

.score-abeilles-day-detail-missing {
  background: #f9f9f9;
  padding: 20px;
  text-align: center;
  color: #999;
}

.score-abeilles-day-card-active {
  background: white !important;
  border: 2px solid #3599dc;
  box-shadow:
    0 8px 24px rgba(53, 153, 220, 0.18),
    0 2px 8px rgba(53, 153, 220, 0.1);
  transform: scale(1.04);
  z-index: 1;
}

.score-abeilles-day-card.score-abeilles-day-card-active:hover {
  background: white !important;
  border: 2px solid #3599dc;
  box-shadow:
    0 8px 24px rgba(53, 153, 220, 0.18),
    0 2px 8px rgba(53, 153, 220, 0.1);
  transform: scale(1.04);
  z-index: 1;
}

.score-abeilles-day-date {
  margin-bottom: 6px;
}

.score-abeilles-day-date span:first-child {
  display: block;
  font-weight: 700;
  color: #2c3e50;
  font-size: 0.95rem;
}

.score-abeilles-day-date span:last-child {
  display: block;
  font-size: 0.8rem;
  color: #95a5a6;
}

.score-abeilles-day-weather-icon img.iconPng {
  width: 80px;
  height: 80px;
}

.score-abeilles-hour-icon img.iconPng,
.score-abeilles-detail-icon img.iconPng {
  width: 40px;
  height: 40px;
}

.score-abeilles-day-weather {
  text-align: center;
  margin-bottom: 6px;
}

.score-abeilles-day-weather-icon {
  font-size: 2.4rem;
  line-height: 1;
}

.score-abeilles-day-weather-label {
  display: block;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  margin-top: 2px;
}

.score-abeilles-day-score {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  padding: 0px;
  border-radius: 8px;
}

.score-abeilles-day-score.score-good {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.score-abeilles-day-score.score-medium {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.score-abeilles-day-score.score-bad {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.score-abeilles-day-bar {
  display: flex;
  height: 8px;
  background: #e8ecf1;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
  gap: 1px;
}

.score-abeilles-day-segment {
  border-radius: 0;
  min-width: 2px;
}

.score-abeilles-day-segment:first-child {
  border-radius: 3px 0 0 3px;
}

.score-abeilles-day-segment:last-child {
  border-radius: 0 3px 3px 0;
}

.score-abeilles-day-segment.score-good {
  background: #27ae60;
}

.score-abeilles-day-segment.score-medium {
  background: #f39c12;
}

.score-abeilles-day-segment.score-limited {
  background: #d44334;
}

.score-abeilles-day-segment.score-night {
  background: #bdc3c7;
}

.score-abeilles-day-segment.score-nul {
  background: #8b0000;
}

.score-abeilles-day-segment-flex {
  flex: 1;
}

.score-abeilles-day-rec {
  font-size: 0.7rem;
  color: #2c3e50;
  margin-bottom: 5px;
  line-height: 1.3;
}

.score-abeilles-day-temp {
  font-size: 0.7rem;
  color: #3498db;
  margin-bottom: 4px;
  line-height: 1.3;
}

.score-abeilles-day-temp i {
  margin-right: 2px;
}

.score-abeilles-day-temp-min {
  margin-right: 4px;
}

.score-abeilles-day-temp-max {
  font-weight: 700;
  color: #e74c3c;
  font-size: 0.85rem;
}

.score-abeilles-day-precip {
  font-size: 0.75rem;
  color: #3498db;
  margin-top: 3px;
  margin-bottom: 6px;
  line-height: 1.3;
  min-height: 1.2em;
}

.score-abeilles-day-precip-zero i {
  opacity: 0.1;
}

.score-abeilles-day-wind {
  font-size: 0.7rem;
  color: violet;
  margin-bottom: 4px;
  line-height: 1.3;
  min-height: 1.2em;
}

.score-abeilles-day-wind i {
  margin-right: 2px;
}

.score-abeilles-day-rafale {
  margin-left: 6px;
}

.score-abeilles-day-rafale i {
  margin-right: 2px;
}

.score-abeilles-day-rafale-low {
  opacity: 0.3;
}

.score-abeilles-day-wind-unit,
.score-abeilles-day-rafale-unit {
  font-size: 0.6rem;
}

.score-abeilles-day-phrase {
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 5px;
}

.score-abeilles-day-phrase.score-good {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
}

.score-abeilles-day-phrase.score-medium {
  background: rgba(243, 156, 18, 0.1);
  color: #f39c12;
}

.score-abeilles-day-phrase.score-bad {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.score-abeilles-day-phrase i {
  margin-right: 3px;
}

.score-abeilles-day-detail-btn {
  background: none;
  border: 1px solid #e0e6ed;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  color: #3498db;
  font-size: 0.7rem;
  transition: all 0.3s;
  width: 100%;
}

.score-abeilles-day-detail-btn:hover {
  background: #3498db;
  color: white;
}

.score-abeilles-day-card-active .score-abeilles-day-detail-btn {
  background: #3498db;
  color: white;
}

.score-abeilles-day-detail-btn i {
  margin-right: 4px;
}

.score-abeilles-day-detail-panel {
  background: white;
  border-radius: 16px;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
  margin-top: 8px;
  padding: 2px;
  border: 2px solid #3599dc;
  overflow: visible;
}

.score-abeilles-day-detail-body {
  color: #2c3e50;
  padding: 1px 2px 2px;
  position: relative;
}

.score-abeilles-day-detail-timeline {
  margin-top: 0;
  padding: 2px;
}

.score-abeilles-day-detail-timeline h5 {
  font-size: 1rem;
  color: #2c3e50;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.score-abeilles-day-detail-timeline h5 i {
  color: #3498db;
  margin-right: 6px;
  font-size: 0.85rem;
}

.score-abeilles-day-detail-bars {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid #e8ecf1;
  overflow-x: auto;
  overflow-y: visible;
  position: relative;
}

.score-abeilles-hour-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 2px 1px;
  background: #fafbfc;
  border-radius: 4px;
  border: 1px solid #e8ecf1;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  overflow: visible;
}

/* ============================================
   Score Abeilles - Hour item (détail par jour)
   ============================================ */

.score-abeilles-hour-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 2px 1px;
  background: #fafbfc;
  border-radius: 4px;
  border: 1px solid #e8ecf1;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  overflow: visible;
  transition: all 0.2s ease;
}

.score-abeilles-hour-item:hover {
  border-color: #3599dc;
  background: #f0f7fc;
}

.score-abeilles-hour-item-detail-open {
  border: 2px solid #3599dc !important;
  padding: 0px 1px;
  background: #e8f4fd !important;
  box-shadow: 0 4px 16px rgba(53, 153, 220, 0.15);
  transform: scale(1.02);
  z-index: 2;
}

.score-abeilles-hour-item.score-abeilles-hour-item-detail-open:hover {
  border: 2px solid #3599dc !important;
  padding: 0px 1px;
  background: #e8f4fd !important;
  box-shadow: 0 4px 16px rgba(53, 153, 220, 0.15);
  transform: scale(1.02);
  z-index: 2;
}

.score-abeilles-hour-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
  width: 100%;
  order: 1;
}

.score-abeilles-hour-icon {
  font-size: 1.3rem;
  line-height: 1;
  order: 2;
}

.score-abeilles-hour-wind-dir {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: auto;
  min-height: 18px;
  order: 6;
  cursor: default;
  color: violet;
  gap: 0;
}

.score-abeilles-hour-wind-dir-label {
  font-size: 0.4rem;
  font-weight: 700;
  color: rgb(233, 94, 233);
  line-height: 1;
  margin-top: -1px;
}

.score-abeilles-hour-arrow {
  font-size: 0.75rem;
  color: rgb(249, 158, 249);
  transition: transform 0.3s ease;
  line-height: 1;
}

.score-abeilles-hour-wind {
  font-size: 0.55rem;
  color: violet;
  white-space: nowrap;
  order: 7;
  line-height: 1.3;
  text-align: center;
}

.score-abeilles-hour-wind small {
  font-size: 0.45rem;
  margin-left: 1px;
}

.score-abeilles-hour-precip {
  font-size: 0.55rem;
  color: #3498db;
  white-space: nowrap;
  order: 6;
}

.score-abeilles-hour-precip i {
  margin-right: 1px;
}

.score-abeilles-hour-precip-sum {
  margin-left: 2px;
  color: #2980b9;
  font-size: 0.5rem;
  font-weight: 600;
}

.score-abeilles-hour-bar-wrap {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  justify-content: center;
  order: 4;
}

.score-abeilles-hour-bar {
  height: 25px;
  background: #e8ecf1;
  border-radius: 2px;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 8px;
  position: relative;
}

.score-abeilles-hour-fill {
  height: 100%;
  border-radius: 3px;
  min-height: 1px;
  bottom: 0;
  position: absolute;
  left: 0;
  right: 0;
}

.score-abeilles-hour-fill.score-good {
  background: #27ae60;
}

.score-abeilles-hour-fill.score-medium {
  background: #f39c12;
}

.score-abeilles-hour-fill.score-limited {
  background: #d44334;
}

.score-abeilles-hour-fill.score-night {
  background: #bdc3c7;
}

.score-abeilles-hour-fill.score-nul {
  background: #8b0000;
}

.score-abeilles-hour-score {
  font-size: 0.55rem;
  font-weight: 700;
  min-width: 14px;
  text-align: center;
  order: 5;
}

.score-abeilles-hour-score.score-good {
  color: #27ae60;
}

.score-abeilles-hour-score.score-medium {
  color: #f39c12;
}

.score-abeilles-hour-score.score-limited {
  color: #d44334;
}

.score-abeilles-hour-score.score-night {
  color: #7f8c8d;
}

.score-abeilles-hour-score.score-nul {
  color: #8b0000;
}

.score-abeilles-hour-temp {
  font-size: 0.65rem;
  font-weight: 600;
  color: #3498db;
  order: 3;
}

.score-abeilles-hour-btn-wrap {
  order: 15;
  position: relative;
  z-index: 10;
  width: 100%;
}

.score-abeilles-hour-btn-wrap .score-abeilles-hour-detail-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #3498db;
  font-size: 0.6rem;
  padding: 2px 4px;
  width: 100%;
  text-align: center;
  order: 4;
  position: relative;
  z-index: 10;
  border-radius: 6px;
}

.score-abeilles-hour-btn-wrap .score-abeilles-hour-detail-btn:hover {
  color: #2980b9;
}

.score-abeilles-hour-btn-wrap .score-abeilles-hour-detail-btn.active {
  background: #3498db;
  color: white;
  width: 100%;
}

.score-abeilles-hour-btn-wrap .score-abeilles-hour-detail-btn.active i {
  transform: rotate(180deg);
}

.score-abeilles-hour-btn-wrap .score-abeilles-hour-detail {
  position: absolute;
  z-index: 1000;
  width: 240px;
  max-width: 90vw;
  padding: 8px;
  background: white;
  border: 1px solid #e0e6ed;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: none;
}

/* ============================================
   Score Abeilles - Detail grid (popup horaire)
   ============================================ */

.score-abeilles-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 300px;
  background: white;
  border: 2px solid #3599dc;
  border-radius: 4px;
  padding: 6px;
  position: relative;
  box-shadow: 0 4px 16px rgba(53, 153, 220, 0.12);
}

.score-abeilles-detail-item {
  padding: 3px 5px;
  background: #f8f9fa;
  border: 1px solid #e9e9e9;
  border-radius: 4px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
}

.score-abeilles-detail-label {
  display: inline;
  font-size: 0.6rem;
  color: #7f8c8d;
  white-space: nowrap;
}

.score-abeilles-detail-label i {
  color: #f39c12;
  margin-right: 2px;
}

.score-abeilles-detail-icon {
  font-size: 1rem;
  margin-right: 2px;
}

.score-abeilles-detail-value {
  display: inline;
  font-weight: 700;
  color: #2c3e50;
  font-size: 0.7rem;
}

.score-abeilles-detail-score {
  display: inline;
  font-size: 0.7rem;
  padding: 1px 3px;
  text-align: center;
  width: 30px;
  font-weight: 700;
  color: #2c3e50;
  margin-left: 2px;
  border-radius: 2px;
}

.score-abeilles-detail-score.score-good {
  color: #27ae60;
  background: rgba(39, 174, 96, 0.2);
}

.score-abeilles-detail-score.score-medium {
  color: #f39c12;
  background: rgba(243, 156, 18, 0.2);
}

.score-abeilles-detail-score.score-bad {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.2);
}

.score-abeilles-day-detail-score {
  font-size: 0.85rem;
  font-weight: 800;
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 20px;
}

.score-abeilles-day-detail-score.score-good {
  color: #ffffff;
  background: #27ae60;
}

.score-abeilles-day-detail-score.score-medium {
  color: #ffffff;
  background: #e67e22;
}

.score-abeilles-day-detail-score.score-bad {
  color: #ffffff;
  background: #e74c3c;
}

/* ============================================
      Beezon Map Layout (no city found)
      ============================================ */

.beezon-map-layout {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
  margin-top: 2px;
  max-width: calc(1200px + 250px + 32px);
  margin-left: auto;
  margin-right: auto;
}

.beezon-map-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  order: 1;
}

.beezon-map-main-container {
  width: 100%;
  margin-bottom: 16px;
  order: 1;
}

.beezon-forecast-maps {
  width: 100%;
  order: 2;
}

.beezon-forecast-sidebar {
  width: 100%;
  order: 2;
}

.beezon-sidebar-right {
  width: 250px;
  flex-shrink: 0;
  order: 3;
}

.beezon-ads-container {
  background: white;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  overflow: hidden;
}

.beezon-ads-label {
  background: #f8f9fa;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  text-align: center;
  border-bottom: 1px solid #e8ecf1;
}

.beezon-ads-content {
  padding: 16px;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 4px;
  color: #6c757d;
  font-size: 0.85rem;
}

.beezon-forecast-sidebar-title {
  font-size: 1.4rem;
  color: #2c3e50;
  margin: 32px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8ecf1;
}

.beezon-forecast-sidebar-title i {
  color: #f39c12;
}

.beezon-forecast-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.beezon-forecast-card {
  flex: 1 1 calc(33.333% - 8px);
  min-width: 120px;
  max-width: 420px;
  padding: 1;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e8ecf1;
}

.beezon-forecast-card.beezon-forecast-card-today {
  padding: 0;
  border: 2px solid #3498db;
  box-shadow: 0 2px 8px #3498db;
}

.beezon-forecast-7jours {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.beezon-forecast-7jours .beezon-forecast-card {
  flex: 0 0 calc(14.285% - 8px);
  max-width: calc(14.285% - 8px);
}

.beezon-forecast-card-title {
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
  padding-bottom: 4px;
  font-weight: bold;
  color: #1a3a5c;
  background-color: #ebeef2;
}

.beezon-forecast-card:hover {
  border-color: #3498db;
}

.beezon-forecast-card:hover .beezon-forecast-card-title {
  color: #fff;
  background-color: #3498db;
}

.beezon-forecast-card-today .beezon-forecast-card-title {
  color: #fff;
  background-color: #3498db;
}

.beezon-forecast-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ============================================
      Beezon Map
      ============================================ */

.beezon-map-container {
  text-align: center;
  margin-top: 2px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #e8ecf1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.beezon-map-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Tooltip ville la plus proche */
.beezon-city-tooltip {
  position: absolute;
  background: white;
  border: 1px solid #e0e6ed;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 12px 16px;
  text-align: center;
  min-width: 200px;
  z-index: 1000;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.beezon-city-tooltip.visible {
  opacity: 1;
}

.beezon-city-tooltip-name {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 4px;
}

.beezon-city-tooltip-distance {
  font-size: 0.8rem;
  color: #7f8c8d;
  margin-bottom: 8px;
}

.beezon-city-tooltip-btn {
  display: inline-block;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.beezon-city-tooltip-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1a6fa0);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
  transform: translateY(-1px);
}

/* Marqueur cercle bleu sur la ville trouvée */
.beezon-city-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 30%, #1e90ff 31%);
  border: 2px solid #1e90ff;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 999;
  animation: beezon-marker-pulse 1.5s ease-in-out infinite;
}

@keyframes beezon-marker-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(30, 144, 255, 0);
  }
}

/* ============================================
      Error message
     ============================================ */

.meteo-error {
  text-align: center;
  padding: 20px;
  color: #e67e22;
}

.meteo-error i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.meteo-error p {
  font-size: 1.1rem;
  margin: 0 0 15px 0;
}

.meteo-villes-proches {
  text-align: center;
  margin-top: 10px;
}

.meteo-villes-proches-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.meteo-ville-proche-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
  border: none;
  transition: all 0.3s;
  flex-direction: column;
  line-height: 1.3;
}

.meteo-ville-proche-cp {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.85rem;
}

.meteo-ville-proche-distance {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* ============================================
     Responsive
     ============================================ */

/* > 800px : styles par défaut (ci-dessus) */

/* ≤ 800px */
@media (max-width: 800px) {
  .meteo-container {
    padding: 3px;
  }

  .meteo-title {
    font-size: 1.5rem;
    display: inline;
  }

  .meteo-search-header {
    flex-direction: column;
    gap: 15px;
  }

  .meteo-search-logo {
    height: 80px;
  }

  .meteo-search-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .meteo-search-input {
    width: 100%;
    text-align: center;
  }

  .meteo-search-separator {
    display: none;
  }

  .meteo-search-insee {
    max-width: none;
  }

  .meteo-city-header h2 {
    font-size: 1.4rem;
  }

  .score-abeilles-days-section {
    padding: 2px 1px;
  }

  .score-abeilles-days-title {
    font-size: 1.1rem;
  }

  .score-abeilles-days-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
  }

  .score-abeilles-day-card {
    padding: 2px 1px;
  }

  .score-abeilles-day-weather-icon {
    font-size: 1.2rem;
  }

  .score-abeilles-day-weather-label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-top: 2px;
  }

  .score-abeilles-day-score {
    font-size: 0.75rem;
  }

  .score-abeilles-day-bar {
    height: 5px;
    gap: 0;
  }

  .score-abeilles-day-date span:first-child {
    font-size: 0.75rem;
  }

  .score-abeilles-day-date span:last-child {
    font-size: 0.75rem;
  }

  .score-abeilles-day-phrase {
    display: none;
  }

  .score-abeilles-day-detail-btn {
    font-size: 0.45rem;
    padding: 2px 3px;
  }

  .score-abeilles-day-rec {
    display: none;
  }

  .score-abeilles-day-detail-bars {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .score-abeilles-hour-item {
    flex: 0 0 calc(14% - 2px);
    min-width: 0;
  }

  .score-abeilles-day-detail-timeline {
    padding: 0px;
  }
  .score-abeilles-day-detail-body {
    border-radius: 3px;
  }
  .meteo-city-header {
    margin-top: 1px;
    padding: 2px;
  }
  .breadcrumb-nav {
    margin-bottom: 1px;
  }
}

/* ≤ 1200px : sidebar en dessous en grille 3x2 */
@media (max-width: 1200px) {
  .beezon-map-layout {
    flex-direction: column;
  }

  .beezon-forecast-sidebar {
    width: 100%;
    order: 2;
    text-align: center;
  }

  .beezon-forecast-sidebar-title {
    justify-content: center;
  }

  .beezon-map-main-container {
    width: 100%;
    order: 1;
  }
}

/* ≤ 1024px : 7 par ligne */
@media (max-width: 1024px) {
  .beezon-forecast-7jours .beezon-forecast-card {
    flex: 0 0 calc(14.285% - 8px);
    max-width: calc(14.285% - 8px);
  }
}

/* ≤ 768px : 7 par ligne */
@media (max-width: 768px) {
  .beezon-forecast-7jours .beezon-forecast-card {
    flex: 0 0 calc(14.285% - 8px);
    max-width: calc(14.285% - 8px);
  }
  .score-abeilles-hour-bar {
    height: 15px;
  }
}

/* ≤ 480px : 7 par ligne */
@media (max-width: 480px) {
  .meteo-search-logo {
    height: 60px;
  }

  .meteo-title {
    font-size: 1.3rem;
    display: inline;
  }

  .meteo-info-btn-text {
    display: none;
  }

  .beezon-forecast-card {
    flex: 1 1 100%;
    max-width: none;
  }
  .score-abeilles-hour-bar {
    height: 10px;
  }
  .score-abeilles-day-weather-icon img.iconPng {
    width: 32px;
    height: 32px;
  }

  .score-abeilles-hour-icon img.iconPng,
  .score-abeilles-detail-icon img.iconPng {
    width: 20px;
    height: 20px;
  }
}

/* ============================================
    Bouton "Comment ça marche"
    ============================================ */

.meteo-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f27b1f, #e06a0e);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(242, 123, 31, 0.3);
  white-space: nowrap;
  vertical-align: middle;
  margin-left: 12px;
}

.meteo-info-btn:hover {
  background: linear-gradient(135deg, #e06a0e, #cc5a00);
  box-shadow: 0 6px 20px rgba(242, 123, 31, 0.5);
  transform: translateY(-2px);
}

.meteo-info-btn i {
  font-size: 1.1rem;
}

/* Overlay */
.beezon-info-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* Modal */
.beezon-info-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  overflow: hidden;
}

.beezon-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e8ecf1;
  background: #f8f9fa;
}

.beezon-info-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #2c3e50;
}

.beezon-info-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #7f8c8d;
  font-size: 1.1rem;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.beezon-info-close:hover {
  background: #e74c3c;
  color: white;
}

.beezon-info-body {
  padding: 20px;
  color: #34495e;
  line-height: 1.6;
}

.beezon-info-body p {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
}

.beezon-info-body p:last-child {
  margin-bottom: 0;
}

/* Responsive bouton info */
@media (max-width: 600px) {
  .meteo-info-btn {
    font-size: 0.9rem;
    padding: 8px 18px;
    margin-left: 8px;
  }
}

@media (max-width: 400px) {
  .meteo-info-btn {
    font-size: 0.85rem;
    padding: 7px 14px;
    margin-left: 6px;
  }

  .meteo-info-btn-text {
    display: none;
  }
}

/* ============================================
      Image Placeholder
      ============================================ */

.img-placeholder-wrapper {
  position: relative;
  overflow: hidden;
}

.img-placeholder-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: img-placeholder-logo-pulse 2s ease-in-out infinite;
}

.img-placeholder-logo-img {
  width: 60px;
  height: auto;
  opacity: 0.7;
}

.img-placeholder-text {
  text-align: center;
  font-size: 0.85rem;
  color: #3498db;
  margin-top: 8px;
  font-weight: 600;
  opacity: 0.8;
}

.img-placeholder-alt {
  text-align: center;
  font-size: 0.75rem;
  color: #3498db;
  margin-top: 4px;
  font-weight: 400;
  opacity: 0.6;
}

@keyframes img-placeholder-logo-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

/* ============================================
      Footer Beezon Futé
      ============================================ */

.beezon-footer {
  max-width: 1200px;
  margin: 10px auto 0;
  margin-top: 50px;
  padding: 6px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e8ecf1;
}

.beezon-footer-content {
  text-align: center;
  color: #6c757d;
  font-size: 0.85rem;
  line-height: 1.1;
}

.beezon-footer-content p {
  margin: 4px 0;
}

.beezon-footer-update {
  color: #73c5fc;
  font-weight: 600;
}

.beezon-footer-link {
  color: #3498db;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.beezon-footer-link:hover {
  color: #2980b9;
}

/* ≤ 420px */
@media (max-width: 420px) {
  .score-abeilles-day-weather-label {
    display: none;
  }
}

/* ============================================
    Debug ville directe (données sources)
    ============================================ */

.meteo-ville-data-debug {
  background: #f0fff4;
  border: 1px solid #48bb78;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 12px 0 24px;
  font-size: 13px;
  color: #1a4a2e;
}

.meteo-ville-data-debug h4 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #276749;
}

.meteo-ville-data-debug h5 {
  margin: 16px 0 8px;
  font-size: 14px;
  color: #276749;
}

.meteo-ville-data-debug h6 {
  margin: 12px 0 6px;
  font-size: 13px;
  color: #276749;
}

.meteo-ville-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 12px;
  table-layout: auto;
}

.meteo-ville-data-table th,
.meteo-ville-data-table td {
  border: 1px solid #c6f6d5;
  padding: 4px 8px;
  text-align: center;
}

.meteo-ville-data-table td {
  white-space: nowrap;
}

.meteo-ville-data-table th {
  background: #c6f6d5;
  font-weight: 600;
  color: #1a4a2e;
  white-space: normal;
  word-break: break-word;
}

.meteo-ville-data-table tr:nth-child(even) {
  background: #f0fff4;
}

.meteo-ville-data-hourly {
  font-size: 11px;
}

.meteo-ville-data-close {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: #48bb78;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
}

.meteo-ville-data-close:hover {
  background: #38a169;
}

/* ============================================
    Notice d'extrapolation
    ============================================ */

.meteo-extrapolation-notice {
  background: #f8f9fa;
  border-left: 3px solid #6c757d;
  padding: 8px 12px;
  margin: 8px 0;
  font-size: 0.8rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 0 4px 4px 0;
}

.meteo-extrapolation-notice i {
  font-size: 0.75rem;
  flex-shrink: 0;
}

.meteo-extrapolation-notice a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}

.meteo-extrapolation-notice a:hover {
  color: #2980b9;
  text-decoration: underline;
}

.meteo-extrapolation-notice strong {
  font-weight: 600;
  color: #495057;
}

/* ============================================
    Responsive : Notice d'extrapolation
    ============================================ */

@media (max-width: 576px) {
  .meteo-extrapolation-notice {
    flex-wrap: wrap;
    font-size: 0.75rem;
    padding: 8px 10px;
    gap: 4px;
  }

  .meteo-extrapolation-notice i {
    font-size: 0.7rem;
  }

  .meteo-extrapolation-notice a {
    word-break: break-word;
  }
}

/* ============================================
    Debug sources d'extrapolation
    ============================================ */

.meteo-sources-debug {
  background: #f0f7ff;
  border: 1px solid #4a90d9;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 12px 0 24px;
  font-size: 13px;
  color: #1a3a5c;
}

.meteo-sources-debug h4 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #2c5f8a;
}

.meteo-sources-debug h5 {
  margin: 16px 0 8px;
  font-size: 14px;
  color: #2c5f8a;
}

.meteo-sources-debug h6 {
  margin: 12px 0 6px;
  font-size: 13px;
  color: #2c5f8a;
}

.meteo-sources-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 12px;
  table-layout: fixed;
  overflow-x: auto;
  display: block;
}

.meteo-sources-table th,
.meteo-sources-table td {
  border: 1px solid #c5d8e8;
  padding: 4px 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 60px;
}

.meteo-sources-table th {
  background: #e3edf7;
  font-weight: 600;
  color: #1a3a5c;
  position: sticky;
  top: 0;
  z-index: 1;
}

.meteo-sources-table tr:nth-child(even) {
  background: #f5f9fd;
}

.meteo-sources-table-target th,
.meteo-sources-table-target td {
  background: #fff8e1;
  font-weight: 600;
}

.meteo-sources-table-hourly {
  font-size: 11px;
}

.meteo-sources-table-hourly thead th {
  white-space: normal;
  text-overflow: clip;
  overflow: visible;
  word-wrap: break-word;
}

.meteo-sources-table-hourly th,
.meteo-sources-table-hourly td {
  padding: 3px 4px;
  min-width: 50px;
}

.meteo-sources-debug-close {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: #6c757d;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
}

.meteo-sources-debug-close:hover {
  background: #5a6268;
}
