@import url('https://fonts.cdnfonts.com/css/sf-pro-display');

:root {
  color-scheme: dark;
  --bg-start: #4a4a4a;
  --bg-end: #6a6a6a;
  --card: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: #e8e8e8;
  --accent: #f4d03f;
  --accent-2: #ffd700;
  --border: rgba(255, 255, 255, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 34%),
    radial-gradient(circle at bottom right, rgba(244, 208, 63, 0.22), transparent 28%),
    linear-gradient(135deg, var(--bg-start), var(--bg-end));
  color: var(--text);
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.card {
  width: 100%;
  max-width: 500px;
  background: var(--card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(2, 32, 41, 0.28);
  padding: 32px 24px;
  text-align: center;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  border: 3px solid var(--border);
  box-shadow: 0 8px 24px rgba(2, 32, 41, 0.2);
}

h1,
h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 8px;
  background: linear-gradient(135deg, #f4d03f, #ffd700, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.bio {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 24px;
  font-weight: 400;
}

.bio a,
.bio a:visited {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.bio a:hover {
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 32, 41, 0.2);
}

.link-btn:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 6px 20px rgba(244, 208, 63, 0.4);
  transform: translateY(-2px);
}

.link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.link-icon i {
  font-size: 1.25rem;
  display: inline-block;
}

.round-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.round-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 18px rgba(2, 32, 41, 0.16);
  transition: all 0.2s ease;
}

.round-link:hover {
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 10px 20px rgba(244, 208, 63, 0.4);
}

.round-link i {
  font-size: 1.15rem;
  line-height: 1;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 18px rgba(2, 32, 41, 0.16);
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.home-button:hover {
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 10px 20px rgba(244, 208, 63, 0.4);
}

.home-button i {
  font-size: 1.15rem;
  line-height: 1;
}

.footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: rgba(243, 247, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==================== PAGE MÉTÉO ==================== */

.weather-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.weather-page .weather-panel {
  width: 100%;
  max-width: 500px;
}

.weather-panel {
  width: 100%;
  max-width: 500px;
  padding: 20px 22px;
  text-align: left;
  background: var(--card);
  backdrop-filter: blur(18px);
  border-radius: 28px;
}

.weather-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 8px;
}

.weather-panel h2 {
  margin: 0;
  font-size: 1.08rem;
  background: linear-gradient(135deg, #f4d03f, #ffd700, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.weather-temperature {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-2);
}

.weather-summary {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.precip-chart {
  margin: 0 0 16px;
  padding: 12px 12px 10px;
  border-radius: 16px;
  background: var(--bg-start);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.precip-chart__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.precip-chart__header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.precip-chart__header span {
  font-size: 0.8rem;
  color: var(--muted);
}

.precip-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.precip-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
}

.precip-chart__legend-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.precip-chart__legend-swatch--probability {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.precip-chart__legend-swatch--amount {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
}

.precip-chart__legend-swatch--temperature {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.precip-chart__legend-swatch--feels-like {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.precip-chart__legend-swatch--sunshine {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.precip-chart__legend-swatch--pressure {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.precip-chart__legend-swatch--wind {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.precip-chart__legend-swatch--wind-1 {
  background-color: #22c55e;
}

.precip-chart__legend-swatch--wind-2 {
  background-color: #84cc16;
}

.precip-chart__legend-swatch--wind-3 {
  background-color: #fbbf24;
}

.precip-chart__legend-swatch--wind-4 {
  background-color: #ef4444;
}

.precip-chart__legend-swatch--elev-1 {
  background-color: #22c55e;
}

.precip-chart__legend-swatch--elev-2 {
  background-color: #84cc16;
}

.precip-chart__legend-swatch--elev-3 {
  background-color: #fbbf24;
}

.precip-chart__legend-swatch--elev-4 {
  background-color: #ef4444;
}

.precip-chart__legend-swatch--sunrise {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.precip-chart__legend-swatch--sunset {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.precip-chart__canvas {
  display: block;
  width: 100%;
  height: 120px;
}

.precip-chart__svg-container {
  width: 100%;
  height: 120px;
  overflow: visible;
}

/* SVG background - uniform color from CSS variable */
.svg-thumbnail-bg {
  fill: var(--bg-start);
}

.precip-chart__svg {
  width: 100%;
  height: 100%;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.precip-chart-grid {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

/* ==================== GRAPHIQUES SVG - TEXTES D'AXES ==================== */
/* Note: font-size adapté pour correspondre à map.html (graphique dénivelé) */
/* Toutes les classes utilisent la même taille pour uniformiser abscisses et ordonnées */
.precip-chart-axis {
  fill: var(--text);
  font-size: 10px;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
}

.precip-chart-axis--right {
  text-anchor: start !important;
}

.precip-chart-hour-label {
  fill: var(--text);
  font-size: 10px;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
}

.precip-chart-line {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #f97316;
}

.precip-chart-line--probability {
  stroke: #93c5fd !important;
  stroke-dasharray: 4, 4 !important;
  stroke-width: 5 !important;
}

.precip-chart-line--amount {
  stroke: #1d4ed8 !important;
  stroke-width: 5 !important;
}

.precip-chart-line--temperature {
  stroke: #f97316 !important;
  stroke-width: 5;
}

.precip-chart-line--feels-like {
  stroke: #fbbf24 !important;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4 4;
}

.precip-chart-line--sunshine {
  stroke: #fbbf24 !important;
  stroke-width: 5 !important;
}

.precip-chart-line--sun-event {
  stroke-width: 5;
  stroke-dasharray: 4 4;
  opacity: 0.7;
}

.precip-chart-line--sunrise {
  stroke: #fbbf24 !important;
  stroke-width: 5 !important;
}

.precip-chart-line--sunset {
  stroke: #f97316 !important;
  stroke-width: 5 !important;
}

.precip-chart-line--pressure {
  stroke: #a78bfa !important;
  stroke-width: 5 !important;
}

/* Badge Bêta */
.beta-badge {
  color: var(--accent-2);
  font-weight: 600;
  white-space: nowrap;
  padding: 2px 6px;
}

.city-autocomplete {
  position: relative;
  flex: 1;
  min-width: 0;
}

.city-autocomplete__input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.city-autocomplete__input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #f4d03f;
  box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.25);
}

.city-autocomplete__input::placeholder {
  color: var(--muted);
}

.city-autocomplete__list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: rgba(74, 74, 74, 0.98);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.city-autocomplete__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.city-autocomplete__item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.city-autocomplete__option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text);
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.city-autocomplete__option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.city-autocomplete__option strong {
  color: var(--text);
  font-weight: 600;
}

.city-autocomplete__option span {
  color: var(--muted);
  font-size: 0.8rem;
}

.city-autocomplete__item strong {
  color: var(--text);
  font-weight: 600;
}

.city-autocomplete__item span {
  color: var(--muted);
  font-size: 0.8rem;
}

.weather-range-select {
  position: relative;
}

.weather-range-select__input {
  padding: 10px 36px 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e8e8e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.weather-range-select__input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #f4d03f;
  box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.25);
}

.weather-panel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.weather-panel-home-link {
  margin-bottom: 12px;
}

.round-link-button {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.round-link-button.is-loading {
  opacity: 0.92;
  pointer-events: none;
}

.round-link-button.is-loading i {
  animation: gps-refresh-spin 0.9s linear infinite;
}

@keyframes gps-refresh-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ==================== PAGE JOURNEY ==================== */

.journey-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.journey-panel {
  width: 100%;
  max-width: 500px;
  background: var(--card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(2, 32, 41, 0.28);
  padding: 24px 22px;
}

.journey-panel-home-link {
  margin-bottom: 16px;
}

.journey-header {
  text-align: center;
  margin-bottom: 8px !important;
  border: none !important;
  box-shadow: none !important;
  padding-bottom: 0 !important;
}

.journey-header h1 {
  font-size: 1.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f4d03f, #ffd700, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  border: none !important;
}

.journey-header .bio {
  color: var(--muted) !important;
  font-size: 1rem !important;
  margin: 0 0 24px !important;
  font-weight: 400 !important;
}

.journey-description {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.journey-controls {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.journey-file-input {
  flex: 1 1 220px;
  min-width: 220px;
  color: #ffffff;
  height: 44px;
  line-height: normal;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.journey-file-trigger {
  border: 0;
  border-radius: 999px;
  height: 34px;
  padding: 0 0.9rem;
  font: inherit;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 32, 41, 0.2);
  flex: 0 0 auto;
}

.journey-file-trigger:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 6px 20px rgba(244, 208, 63, 0.4);
  filter: brightness(1);
}

.journey-file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0 8px;
}

.journey-file-input-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.journey-time-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.journey-time-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.journey-time-label span {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.journey-date-input,
.journey-hour-select,
.journey-quarter-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
}

.journey-date-input:focus,
.journey-hour-select:focus,
.journey-quarter-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #f4d03f;
  box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.25);
}

.journey-day-input-native {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.journey-date-input {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px;
  padding: 8px 36px 8px 10px !important;
  color: var(--text) !important;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 140px;
}

.journey-date-input:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--accent-2) !important;
}

.journey-date-input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.journey-hour-select,
.journey-quarter-select,
.journey-speed-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e8e8e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
  cursor: pointer;
}

.journey-speed-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 28px 8px 10px;
  color: var(--text);
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
  min-width: 100px;
}

.journey-speed-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #f4d03f;
  box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.25);
}

.journey-calculate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 32, 41, 0.2);
}

.journey-calculate-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 6px 20px rgba(244, 208, 63, 0.4);
  filter: brightness(1);
}

.journey-calculate-btn i {
  font-size: 0.9rem;
}

.journey-results {
  margin-top: 20px;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
}

.journey-summary {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
}

.journey-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
  background: none;
  border: none;
  padding: 0;
}

.journey-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.journey-stat-icon {
  font-size: 1.5rem;
  color: var(--accent-2);
}

.journey-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

.journey-stat-label-sub {
  font-size: 0.65rem;
  opacity: 0.85;
}

.journey-stat-value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 620px) {
  .journey-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .journey-stat-card {
    padding: 10px 8px;
  }

  .journey-stat-icon {
    font-size: 1.2rem;
  }

  .journey-stat-label {
    font-size: 0.7rem;
  }

  .journey-stat-value {
    font-size: 0.85rem;
  }
}

.journey-chart {
  margin-top: 16px;
}

.journey-chart .precip-chart__svg-container {
  height: 120px;
  overflow: visible;
}

.journey-chart .precip-chart__svg {
  height: 120px;
}

.journey-chart .precip-chart__header h3 {
  font-size: 0.9rem;
}

/* ==================== RESPONSIVE ==================== */

/* ==================== PAGE POI ==================== */

.poi-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}

.poi-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.poi-filter-btn:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.4);
}

.poi-filter-btn.active {
  background: linear-gradient(90deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.5);
}

.poi-filter-btn i {
  font-size: 0.8rem;
}

.poi-count {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 12px 0;
  text-align: center;
}

.poi-list-container {
  margin-top: 12px;
  height: 250px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px;
}

.poi-list-container::-webkit-scrollbar {
  width: 6px;
}

.poi-list-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}

.poi-list-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.poi-list-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.help-content-container::-webkit-scrollbar {
  width: 6px;
}

.help-content-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}

.help-content-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.help-content-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.poi-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.poi-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.poi-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.poi-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.poi-item__name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.poi-icon {
  color: var(--accent-2);
  font-size: 1rem;
}

.poi-item__distance {
  font-size: 0.8rem;
  color: var(--accent-2);
  font-weight: 600;
  white-space: nowrap;
}

.poi-item__coords {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
}

.poi-item__category {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.poi-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.poi-item__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(2, 32, 41, 0.2);
}

.poi-item__link:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.4);
}

.poi-item__link--google {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.poi-item__link--google:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.4);
}

.poi-item__link--apple {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.poi-item__link--apple:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.4);
}

.poi-list__loading,
.file-list__loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.poi-list__loading i,
.file-list__loading i {
  font-size: 2.5rem;
  color: var(--accent-2);
}

.poi-list__empty,
.poi-list__error {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 20px;
}

.poi-list__error {
  color: var(--accent);
}

/* ==================== ICÔNES POI SUR LA CARTE ==================== */

.custom-poi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-poi-icon .poi-marker {
  border: 2px solid #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.custom-poi-icon .poi-marker i {
  color: #fff;
  font-size: 14px;
}

.custom-poi-icon .poi-marker--bakery {
  background: #ffd166;
}

.custom-poi-icon .poi-marker--water {
  background: #2196f3;
}

.custom-poi-icon .poi-marker--supermarket {
  background: #10b981;
}

.custom-poi-icon .poi-marker--other {
  background: #9e9e9e;
}

/* ==================== SECTION POINTS D'INTÉRÊT (tools.html) ==================== */

.poi-section {
  margin-top: 16px;
  background: none;
  border: none;
  padding: 0;
}

.poi-section-header {
  margin-bottom: 12px;
}

.poi-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #f4d03f, #ffd700, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.poi-section-title i {
  color: var(--accent-2);
  -webkit-text-fill-color: var(--accent-2);
}

.poi-mode-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.poi-mode-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
}

.poi-mode-option:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(244, 208, 63, 0.4);
}

.poi-mode-option input[type="radio"] {
  accent-color: #f4d03f;
}

.poi-mode-option span {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
}

.poi-add-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.poi-form-row {
  display: flex;
  gap: 12px;
}

.poi-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.poi-form-group label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.poi-search-combo {
  display: flex;
  gap: 8px;
}

.poi-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.poi-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #f4d03f;
  box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.25);
}

.poi-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.poi-input::placeholder {
  color: var(--muted);
}

.poi-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.poi-btn-icon:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.4);
}

.poi-btn-icon i {
  font-size: 1rem;
}

.poi-info-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 42px;
}

.poi-info-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.poi-info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-2);
  white-space: nowrap;
}

.poi-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 32, 41, 0.2);
}

.poi-btn-action:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 6px 20px rgba(244, 208, 63, 0.4);
}

.poi-btn-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.poi-btn-action i {
  font-size: 1rem;
}

.poi-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

.poi-list-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.poi-list-title i {
  color: var(--accent-2);
}

#poiCount {
  color: var(--accent-2);
  font-weight: 600;
}

.poi-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.poi-list-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.poi-list-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.poi-list-item-order {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  min-width: 24px;
}

.poi-list-item-icon {
  color: var(--accent-2);
  font-size: 0.9rem;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.poi-list-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.poi-list-item-type {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.poi-list-item-km {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  white-space: nowrap;
}

.poi-list-item-distances {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
}

.poi-list-item-dist {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
}

.poi-list-item-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.poi-list-item-delete:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 2px 8px rgba(244, 208, 63, 0.4);
}

.poi-list-item-delete i {
  font-size: 0.85rem;
}

@media (max-width: 620px) {
  .page,
  .weather-page,
  .journey-page {
    padding: 16px;
    justify-content: flex-start;
    width: 100% !important;
    max-width: 100% !important;
  }

  .maps-page {
    padding: 16px;
    justify-content: flex-start;
    width: 100% !important;
    max-width: 500px !important;
  }

  .card,
  .weather-panel,
  .journey-panel {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 22px;
    box-sizing: border-box;
  }

  .maps-page .card {
    width: 100% !important;
    max-width: 500px !important;
    border-radius: 22px;
    box-sizing: border-box;
  }

  .card,
  .maps-page .card {
    padding: 24px 18px !important;
    box-sizing: border-box;
  }

  .weather-panel {
    padding: 24px 18px;
    box-sizing: border-box;
  }

  .journey-panel {
    padding: 24px 18px;
    border-radius: 22px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .maps-page .card > .file-list {
    flex: 1 1 100% !important;
    min-height: 400px !important;
    max-height: 400px !important;
    width: 100% !important;
  }

  .journey-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .journey-file-input {
    flex: 1 1 100%;
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  h1 {
    font-size: 1.4rem;
  }

  .bio {
    font-size: 0.95rem;
  }

  .link-btn {
    padding: 13px 14px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page,
  .weather-page,
  .journey-page {
    padding: 12px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .maps-page {
    padding: 12px;
    width: 100% !important;
    max-width: 500px !important;
  }

  .card,
  .weather-panel,
  .journey-panel {
    padding: 20px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .maps-page .card {
    padding: 20px 14px !important;
    width: 100% !important;
    max-width: 500px !important;
    box-sizing: border-box;
  }

  .maps-page .card > .file-list {
    flex: 1 1 100% !important;
    min-height: 350px !important;
    max-height: 350px !important;
    width: 100% !important;
  }

  .avatar {
    width: 72px;
    height: 72px;
  }

  h1 {
    font-size: 1.25rem;
  }

  .link-btn {
    padding: 12px 13px;
    font-size: 0.9rem;
  }

  .footer {
    font-size: 0.9rem;
  }
}

/* ==================== MAPS PAGE ==================== */

.maps-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.maps-page .card {
  width: 100%;
  max-width: 500px;
  background: var(--card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(2, 32, 41, 0.28);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.maps-page .card > .round-links,
.maps-page .card > .filter-container,
.maps-page .card > .search-container,
.maps-page .card > .card-footer {
  flex-shrink: 0;
}

.maps-page .card > .file-list {
  flex: 1 1 500px;
  min-height: 500px;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 4px;
  width: 100%;
}

.maps-page .card > .file-list::-webkit-scrollbar {
  width: 6px;
}

.maps-page .card > .file-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.maps-page .card > .file-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.maps-page .card > .file-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.maps-page .card > .card-footer {
  flex-shrink: 0;
  margin-top: 16px;
  padding-top: 12px;
}

/* Filter container */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}

/* Filter badges */
.filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-badge:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.4);
}

.filter-badge.active {
  background: linear-gradient(90deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.5);
}

.filter-badge i {
  font-size: 0.8rem;
}

/* Search container */
.search-container {
  margin-bottom: 16px;
}

.search-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #f4d03f;
  box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.25);
}

.search-input::placeholder {
  color: var(--muted);
}

/* File list */
.file-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.file-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.2s ease;
}

.file-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.file-item-region-row,
.file-item-activity-row,
.file-item-title-row,
.file-item-bottom-row,
.file-item-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-item-region {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.file-item-activity {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.file-item-year {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.file-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.file-item-thumbnail,
.file-item-elevation-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-item-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-item-distance,
.file-item-elevation {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.distance-value,
.elevation-value {
  font-size: 0.95rem;
  font-weight: 700;
}

.distance-unit,
.elevation-unit {
  font-size: 0.7rem;
  opacity: 0.7;
}

.file-item-share,
.file-item-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-item-share:hover,
.file-item-download:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700) !important;
  border-color: #f4d03f !important;
  color: #ffffff !important;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.4);
}

.card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.card-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.card-footer a:hover {
  color: #f4d03f;
}

/* Round links on maps page */
.maps-page .round-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

/* ==================== PAGE TOOLS ==================== */

.tools-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  background: linear-gradient(135deg, #f4d03f, #ffd700, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gpx-distance-slider {
  margin: 16px 0 0 0;
}

.gpx-slider-container {
  position: relative;
  width: calc(100% - 24px);
  height: 40px;
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.gpx-slider-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.gpx-slider-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-radius: 2px;
}

.gpx-slider-handle {
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-radius: 50%;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.gpx-slider-value {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.gpx-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px 0;
}

.gpx-option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.gpx-option-label span {
  color: var(--text);
  font-size: 0.9rem;
}

.gpx-export-btn {
  margin-top: 0;
  width: 100%;
}

.poi-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

.poi-list-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
}

.poi-list-empty {
  padding: 16px;
  text-align: center;
  color: var(--text);
  font-size: 0.85rem;
  opacity: 0.7;
}

.gpx-upload-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gpx-upload-row:not(:first-child) {
  margin-top: 10px;
}

.gpx-upload-row .journey-file-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 48px;
  padding: 4px;
  margin: 0;
}

.gpx-upload-row .journey-file-trigger {
  flex: 0 0 auto;
}

.gpx-upload-row .journey-file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 8px;
}

.gpx-delete-btn {
  flex: 0 0 auto;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gpx-delete-btn--hidden {
  display: none !important;
}

.gpx-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.gpx-option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.gpx-option-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-2);
  cursor: pointer;
}

.gpx-export-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 32, 41, 0.2);
  width: 100%;
}

.gpx-export-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 6px 20px rgba(244, 208, 63, 0.4);
}

.gpx-export-btn--hidden {
  display: none !important;
}

/* ==================== CARTE GPX SUR OPENSTREETMAP ==================== */
.gpx-track-path {
  stroke: var(--accent) !important;
  stroke-width: 4 !important;
  stroke-opacity: 0.95 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  filter: drop-shadow(0 0 2px rgba(244, 208, 63, 0.5));
}

/* Filtre grisé pour le fond OpenStreetMap */
.leaflet-tile-container {
  filter: grayscale(100%);
}

/* Styles pour les légendes de descente */
.precip-chart__legend-swatch--desc-1 {
  background-color: #22c55e;
}

.precip-chart__legend-swatch--desc-2 {
  background-color: #84cc16;
}

.precip-chart__legend-swatch--desc-3 {
  background-color: #fbbf24;
}

.precip-chart__legend-swatch--desc-4 {
  background-color: #ef4444;
}

/* ==================== POINTS D'INTÉRÊT (POI) ==================== */
.poi-section {
  margin: 16px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.poi-section-header {
  margin-bottom: 16px;
}

.poi-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f4d03f, #ffd700, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.poi-section-title i {
  -webkit-text-fill-color: #f4d03f;
}

/* ==================== SLIDER DISTANCE POI ==================== */
.poi-distance-slider {
  margin: 16px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.poi-distance-slider-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.poi-distance-slider-title i {
  color: #f4d03f;
}

.poi-slider-container {
  position: relative;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.poi-slider-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.poi-slider-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-radius: 2px;
}

.poi-slider-handle {
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-radius: 50%;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.poi-slider-handle:hover {
  transform: translateX(-50%) translateY(-50%) scale(1.1);
}

.poi-slider-value {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.poi-slider-graduations {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  pointer-events: none;
}

.poi-graduation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
}

.poi-graduation.major {
  height: 12px;
  background: rgba(244, 208, 63, 0.5);
}

.poi-search-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.poi-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.poi-input-group--small {
  flex: 0 1 auto;
  min-width: 80px;
}

.poi-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.poi-search-combo {
  display: flex;
  gap: 6px;
  align-items: center;
}

.poi-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.poi-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #f4d03f;
  box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.15);
}

.poi-input::placeholder {
  color: var(--muted);
}

.poi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.poi-btn:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.3);
}

.poi-btn--add {
  width: 44px;
  background: rgba(244, 208, 63, 0.15);
  border-color: rgba(244, 208, 63, 0.3);
}

.poi-btn--add:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
}

.poi-result-display {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.poi-result-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.poi-result-value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.poi-add-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(244, 208, 63, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(244, 208, 63, 0.15);
}

.poi-list-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 24px;
  font-style: italic;
}

.poi-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.poi-list-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 208, 63, 0.3);
}

.poi-list-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.poi-list-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(244, 208, 63, 0.1);
  color: #f4d03f;
  flex-shrink: 0;
}

.poi-list-item-icon i {
  font-size: 1rem;
}

.poi-list-item-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  min-width: 120px;
}

.poi-list-item-type {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.poi-list-item-km {
  color: #f4d03f;
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: auto;
}

.poi-list-item-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.poi-list-item-delete:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(244, 208, 63, 0.4);
}

/* Responsive */
@media (max-width: 480px) {
  .poi-search-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .poi-add-row {
    flex-wrap: wrap;
  }
  
  .poi-input-group--small {
    flex: 1;
    min-width: 100px;
  }
  
  .poi-result-display {
    min-width: 100%;
  }
}

/* ==================== TOOLS PAGE - POI ADD FORM ==================== */

/* Styles pour les boutons POI */
.poi-btn-icon,
.poi-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 18px rgba(2, 32, 41, 0.16);
  text-decoration: none;
}

.poi-btn-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.poi-btn-action {
  padding: 0 16px;
  height: 40px;
  font-size: 0.85rem;
  font-weight: 500;
}

.poi-btn-icon:hover,
.poi-btn-action:hover {
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 10px 20px rgba(244, 208, 63, 0.4);
}

.poi-btn-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

/* Alignement des éléments dans les combos de recherche */
.poi-search-combo {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.poi-search-combo .poi-input {
  height: 40px;
}

/* Styles pour le formulaire d'ajout de POI */
.poi-add-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.poi-form-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.poi-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poi-form-group label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.poi-form-group input,
.poi-form-group select {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'SF Pro Display', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
  height: 40px;
}

.poi-form-group input:focus,
.poi-form-group select:focus {
  border-color: #f4d03f;
  background: rgba(255, 255, 255, 0.1);
}

.poi-form-group input:disabled,
.poi-form-group select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.poi-info-display {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 44px;
  justify-content: center;
}

.poi-info-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.poi-info-value {
  font-size: 0.95rem;
  color: var(--accent-2);
  font-weight: 600;
}

/* Mode selector */
.poi-mode-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.poi-mode-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.poi-mode-option input[type="radio"] {
  accent-color: #f4d03f;
}

.poi-mode-option:has(input:checked) {
  background: rgba(244, 208, 63, 0.1);
  border-color: #f4d03f;
}

.poi-mode-option span {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Liste des POI */
.poi-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poi-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.poi-list-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 208, 63, 0.3);
}

.poi-list-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.poi-list-item-order {
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.6;
  min-width: 20px;
}

.poi-list-item-icon {
  color: #f4d03f;
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
}

.poi-list-item-name {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.poi-list-item-type {
  color: var(--text);
  font-size: 0.75rem;
  opacity: 0.7;
}

.poi-list-item-km {
  color: #f4d03f;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 60px;
  text-align: right;
}

.poi-list-item-delete {
  background: none;
  border: none;
  color: var(--text);
  opacity: 0.6;
  cursor: pointer;
  padding: 4px 8px;
  transition: all 0.2s;
  margin-left: 8px;
}

.poi-list-item-delete:hover {
  opacity: 1;
  color: #f4d03f;
  text-shadow: 0 0 8px rgba(244, 208, 63, 0.5);
}

/* ==================== MYMAP PAGE - UPLOAD MODULE ==================== */

.upload-container {
  max-width: 500px;
  margin: 40px auto;
  padding: 32px;
  background: var(--card);
  backdrop-filter: blur(18px);
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
}

.upload-container h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f4d03f, #ffd700, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.upload-container p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.file-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-input-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed var(--border);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-input-label:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
}

.file-input-wrapper input[type="file"]:focus + .file-input-label {
  outline: 2px solid var(--accent);
}

.selected-file {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.upload-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: 12px;
  color: #1a1a1a;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.3);
}

.upload-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 208, 63, 0.5);
}

.upload-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.upload-error {
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: 8px;
  color: #ef4444;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.upload-success {
  padding: 12px 16px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
  border-radius: 8px;
  color: #22c55e;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* Map page styles */
.map-header {
  text-align: center;
  margin-top: 16px;
}

.map-header h1 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(135deg, #f4d03f, #ffd700, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.map-tags {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.map-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  color: var(--text);
}

.map-tag i {
  font-size: 0.7rem;
  opacity: 0.8;
}

.map-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px !important;
  padding-top: 4px !important;
  border-top: 1px solid var(--border);
}

.map-stat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  min-width: 70px;
}

.map-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.map-stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  color: var(--text);
}

.elevation-profile-container {
  width: 100%;
  height: 120px;
  margin-top: 16px;
  border-radius: 12px;
  background: var(--bg-start);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

#elevationProfile {
  width: 100%;
  height: 100%;
  display: block;
}

.poi-list-container {
  margin-top: 16px;
  display: none;
}

.poi-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poi-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.poi-list-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.poi-list-item-order {
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.7;
  min-width: 24px;
}

.poi-list-item-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 14px;
}

.poi-list-item-name {
  font-weight: 600;
  color: var(--text);
}

.poi-list-item-type {
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.7;
}

.poi-list-item-km {
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.7;
  white-space: nowrap;
}

.poi-list-empty {
  padding: 16px;
  text-align: center;
  color: var(--text);
  font-size: 0.85rem;
  opacity: 0.7;
}

.poi-list-title {
  margin-top: 16px;
  display: none;
  background: linear-gradient(135deg, #f4d03f, #ffd700, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.map-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 16px;
}

.file-item-share,
.file-item-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.file-item-share:hover,
.file-item-download:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(244, 208, 63, 0.4);
}

#map {
  width: 100%;
  height: 450px;
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
}

/* My Map - Weather selectors */
.weather-selectors {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.weather-selector {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.weather-selector select,
.weather-selector input[type="date"] {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  height: 40px;
}

.weather-selector select:focus,
.weather-selector input[type="date"]:focus {
  outline: none;
  border-color: #f4d03f;
}

.weather-selector select option {
  background: #1a1a1a;
  color: #fff;
}

.weather-selector input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.weather-selector-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weather-selector-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 208, 63, 0.2);
  border-radius: 6px;
  color: #f4d03f;
  font-size: 1.1rem;
}

/* My Map - Upload zone */
.upload-zone {
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
}

.upload-zone:hover,
.upload-zone.dragover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateY(-2px) scale(1.04);
}

.upload-zone.dragover {
  transform: translateY(-2px) scale(1.04);
}

.upload-icon {
  font-size: 3rem;
  color: #f4d03f;
  margin-bottom: 16px;
}

.upload-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.upload-subtext {
  font-size: 0.85rem;
  opacity: 0.7;
  color: #aaa;
}

.upload-filename {
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(244, 208, 63, 0.2);
  border-radius: 6px;
  color: #f4d03f;
  font-size: 0.9rem;
  display: inline-block;
}

/* Leaflet overlay pane */
.leaflet-overlay-pane path {
  stroke: #f97316 !important;
  stroke-width: 2 !important;
  opacity: 1 !important;
}

/* My Map - Couleurs des légendes météo */
.map-legend-temp { background: #f97316; }
.map-legend-feels-like { background: #fbbf24; }
.map-legend-precip { background: #2dd4bf; }
.map-legend-probability { background: #60a5fa; }
.map-legend-wind { background: #8b5cf6; }
.map-legend-time { background: #a78bfa; }
.map-legend-error { color: #ef4444; }
.map-legend-loading { color: #ffd166; }

/* My Map - Marqueurs météo */
.weather-marker-temp { background: #ef4444; }
.weather-marker-rain { background: #3b82f6; }
.weather-marker-wind { background: #8b5cf6; }
.weather-marker-time { background: #a78bfa; }

/* My Map - Titre avec dégradé */
.mymap-title {
  font-size: 1.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f4d03f, #ffd700, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

/* My Map - Upload zone margin */
#uploadZone {
  margin-top: 16px;
}

/* My Map - Upload filename hidden by default */
.upload-filename {
  display: none;
}

/* My Map - GPX file input hidden */
.gpx-file-input {
  display: none;
}

/* My Map - Upload error */
#uploadError {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: 8px;
  color: #ef4444;
  font-size: 0.9rem;
}

/* My Map - Upload form hidden */
#uploadForm {
  display: none;
}

/* My Map - GPX History Select */
.gpx-history-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.gpx-history-wrapper:hover {
  background: rgba(244, 208, 63, 0.1);
  transform: translateY(-2px);
}

.gpx-history-icon {
  color: #ffffff;
  font-size: 1rem;
  pointer-events: none;
  margin-right: 12px;
  flex-shrink: 0;
}

.gpx-history-arrow {
  color: #ffffff;
  font-size: 1rem;
  pointer-events: none;
  margin-left: 12px;
  flex-shrink: 0;
}

.gpx-history-select {
  flex: 1;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-align: center;
}

.gpx-history-select:focus {
  outline: none;
}

.gpx-history-select option {
  background: #1a1a1a;
  color: #ffffff;
  padding: 12px;
  text-align: left;
}

/* My Map - HR separator */
.weather-panel > hr {
  border: none;
  margin: 8px 0;
}

/* My Map - Footer */
#footer {
  margin-top: 0;
  text-align: center;
}

#round-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* My Map - Styles des boutons */
.mymap-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mymap-buttons .round-link {
  cursor: pointer;
  border: none !important;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  transition: all 0.3s ease;
  box-shadow: none !important;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  font-size: 1.2rem;
}

.mymap-buttons .round-link:hover {
  border-color: #f4d03f;
  background: rgba(244,208,63,0.1);
  box-shadow: none !important;
}

/* My Map - Header */
.mymap-header {
  border: none !important;
  box-shadow: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 8px !important;
}

.mymap-header h1 {
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
  letter-spacing: -0.02em !important;
}

.mymap-header .bio {
  color: var(--muted) !important;
  font-size: 1rem !important;
  margin: 0 0 24px !important;
  font-weight: 400 !important;
}

/* My Map - Footer */
.mymap-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  text-align: center !important;
  padding-top: 16px !important;
  margin-top: 16px !important;
  display: block !important;
}

/* My Map - Carte et élévation */
#map {
  height: 400px;
  width: 100%;
  border-radius: 12px;
  margin: 16px 0;
}

.elevation-profile-container {
  width: 100%;
  height: 150px;
  margin: 16px 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
}

/* My Map - Liste POI */
.poi-list-title {
  font-size: 1.1rem;
  margin: 16px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.poi-list-container {
  max-height: 300px;
  overflow-y: auto;
}

.poi-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poi-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.poi-list-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.poi-list-item-order {
  font-weight: 700;
  color: #f4d03f;
}

.poi-list-item-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244,208,63,0.2);
  border-radius: 50%;
  color: #f4d03f;
}

.poi-list-item-name {
  font-weight: 600;
}

.poi-list-item-type {
  font-size: 0.85rem;
  opacity: 0.7;
}

.poi-list-item-km {
  font-size: 0.85rem;
  color: #f4d03f;
}

/* My Map - Filtres */
.filter-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.1rem;
}

.filter-badge:hover {
  background: rgba(255,255,255,0.2);
}

.filter-badge.active {
  background: #f4d03f;
  border-color: #f4d03f;
  color: #000;
}

/* My Map - Tags et stats */
.map-tags {
  display: flex;
  gap: 8px;
  margin-top: 0;
  flex-wrap: wrap;
}

.map-tag {
  padding: 6px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-stats {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.map-stat {
  display: flex;
  flex-direction: column;
}

.map-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f4d03f;
}

.map-stat-label {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Index - Upload */
.upload-error {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: 8px;
  color: #ef4444;
  font-size: 0.9rem;
}

.tools-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 20px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  box-sizing: border-box;
}

/* Map.php - Styles spécifiques */
.map-php .journey-header { border: none !important; box-shadow: none !important; padding-bottom: 0 !important; margin-bottom: 8px !important; margin-top: 8px !important; }
.map-php .journey-header h1 { font-size: 1.65rem !important; font-weight: 700 !important; background: linear-gradient(135deg, #f4d03f, #ffd700, #f97316) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; margin: 0 0 8px !important; letter-spacing: -0.02em !important; }
.map-php .journey-header .bio { color: var(--muted) !important; font-size: 1rem !important; margin: 0 0 24px !important; font-weight: 400 !important; }
.map-php .footer { border-top: 1px solid rgba(255, 255, 255, 0.1) !important; text-align: center !important; padding-top: 16px !important; margin-top: 16px !important; display: block !important; }
.map-php .weather-panel { border: none !important; box-shadow: none !important; }
.map-php .weather-panel > *:not(.footer) { border: none !important; box-shadow: none !important; }
.map-php #map { height: 400px; width: 100%; border-radius: 12px; margin: 16px 0; }
.map-php .elevation-profile-container { width: 100%; height: 150px; margin: 16px 0; border-radius: 12px; background: rgba(255,255,255,0.05); }
.map-php .poi-list-title { font-size: 1.1rem; margin: 16px 0 8px; display: flex; align-items: center; gap: 8px; }
.map-php .poi-list-container { max-height: 300px; overflow-y: auto; }
.map-php .poi-list { display: flex; flex-direction: column; gap: 8px; }
.map-php .poi-list-item { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: rgba(255,255,255,0.05); border-radius: 8px; }
.map-php .poi-list-item-content { display: flex; align-items: center; gap: 12px; }
.map-php .poi-list-item-order { font-weight: 700; color: #f4d03f; }
.map-php .poi-list-item-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: rgba(244,208,63,0.2); border-radius: 50%; color: #f4d03f; }
.map-php .poi-list-item-name { font-weight: 600; }
.map-php .poi-list-item-type { font-size: 0.85rem; opacity: 0.7; }
.map-php .poi-list-item-km { font-size: 0.85rem; color: #f4d03f; }
.map-php .poi-list-item-distances { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.map-php .poi-list-item-dist { font-size: 0.7rem; color: var(--muted); }
.map-php .filter-badge { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: #fff; cursor: pointer; transition: all 0.2s; font-size: 1.1rem; }
.map-php .filter-badge:hover { background: rgba(255,255,255,0.2); }
.map-php .filter-badge.active { background: #f4d03f; border-color: #f4d03f; color: #000; }
.map-php .map-tags { display: flex; gap: 8px; margin-top: 0; flex-wrap: wrap; }
.map-php .map-tag { padding: 6px 12px; background: rgba(255,255,255,0.1); border-radius: 20px; font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }
.map-php .map-stats { display: flex; gap: 16px; margin-top: 12px; }
.map-php .map-stat { display: flex; flex-direction: column; }
.map-php .map-stat-value { font-size: 1.5rem; font-weight: 700; color: #f4d03f; }
.map-php .map-stat-label { font-size: 0.85rem; opacity: 0.7; }
.map-php .round-link { cursor: pointer; border: none !important; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)); transition: all 0.3s ease; box-shadow: none !important; }
.map-php .round-link:hover { border-color: #f4d03f; background: rgba(244,208,63,0.1); box-shadow: none !important; }
.map-php .weather-marker-temp,
.map-php .weather-marker-rain,
.map-php .weather-marker-wind,
.map-php .weather-marker-time { background: transparent !important; border: none !important; }
.map-php .weather-marker-temp > div,
.map-php .weather-marker-rain > div,
.map-php .weather-marker-wind > div,
.map-php .weather-marker-time > div { border-radius: 50% !important; overflow: hidden; background-clip: padding-box !important; }
.map-php .direction-arrow { background: transparent !important; box-shadow: none !important; }
.map-php .direction-arrow svg { display: block; }
.map-php .search-modal-overlay, .search-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; z-index: 9999; backdrop-filter: blur(4px); }
.map-php .search-modal, .search-modal { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 16px; padding: 32px; max-width: 400px; width: 90%; text-align: center; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.22); }
.map-php .search-modal-icon, .search-modal-icon { font-size: 3rem; color: #f4d03f; margin-bottom: 16px; animation: pulse 1.5s ease-in-out infinite; }
.map-php .precip-chart__legend { display: flex; gap: 16px; margin-bottom: 12px; font-size: 0.85rem; }
.map-php .precip-chart__legend span { display: flex; align-items: center; gap: 6px; }
.map-php .search-modal-title, .search-modal-title { font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.map-php .search-modal-text, .search-modal-text { font-size: 1.2rem; font-weight: 600; color: #fff; min-height: 24px; margin-bottom: 16px; transition: opacity 0.3s ease; }
.map-php .search-modal i.fa-circle-notch, .search-modal i.fa-circle-notch { font-size: 2.5rem; color: #ffd166; }

/* Map.php - Weather chart styles */
.map-php #weatherTempContainer,
.map-php #weatherRainContainer { display: none; background: rgba(255,255,255,0.05); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.map-php .weather-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.map-php .weather-chart-title { margin: 0; font-size: 1rem; font-weight: 600; }
.map-php .weather-chart-meta { font-size: 0.9rem; opacity: 0.8; }
.map-php .legend-color { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.map-php .legend-temp { background: #f97316; }
.map-php .legend-feels { background: #fbbf24; }
.map-php .legend-precip { background: #2dd4bf; }
.map-php .legend-proba { background: #60a5fa; }
.map-php #weatherTempChart,
.map-php #weatherRainChart { width: 100%; height: 120px; }

/* Map.php - POI loading */
.map-php .poi-loading { display: none; align-items: center; justify-content: center; padding: 40px; height: 100%; box-sizing: border-box; }
.map-php .poi-loading i { font-size: 2.5rem; color: #ffd166; }
.map-php .poi-list-empty { padding: 16px; text-align: center; color: var(--text); font-size: 0.85rem; opacity: 0.7; }
.map-php .poi-list-item-content-inner { display: flex; flex-direction: column; gap: 2px; }

/* Map.php - Element visibility */
.map-php #map { display: none; }
.map-php .map-tags { display: none; }
.map-php .map-stats { display: none; }
.map-php #weatherSelectors { display: none; }
.map-php #weatherForecastTitle { display: none; }
.map-php #poiListTitle { display: none; }
.map-php #poiListContainer { display: none; }
.map-php .poi-filter-container { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.map-php .elevation-profile-container { display: none; }

/* Map.php - Slider styles */
.map-php .poi-slider-fill { width: 50%; }
.map-php .poi-slider-handle { left: 50%; }

/* ==================== GPX HISTORY ==================== */

/* GPX containers - centrage des boutons */
.gpx-history-container,
.gpx-tools-container {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.gpx-history-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  border: none;
  box-shadow: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  text-decoration: none;
}

.gpx-history-btn:hover {
  background: rgba(244, 208, 63, 0.1);
  border-color: #f4d03f;
}

.gpx-history-btn.active {
  background: rgba(244, 208, 63, 0.1);
  border-color: #f4d03f;
}

.gpx-history-btn i {
  font-size: 1.15rem;
}

.gpx-history-dropdown {
  display: none;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 16px;
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
}

.gpx-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.gpx-history-item:hover {
  background: linear-gradient(135deg, #f4d03f, #ffd700);
  border-color: #f4d03f;
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.4);
  transform: translateY(-2px);
}

.gpx-history-item i {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ==================== TOOLS.HTML ==================== */

#toolsMap {
  width: 100%;
  height: 150px;
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  display: none;
  background: rgba(255,255,255,0.05);
}

.leaflet-control-attribution,
.leaflet-control-attribution a,
.leaflet-bottom.leaflet-right {
  display: none !important;
}

/* Style du bouton maison - cohérent avec index.php */
.weather-panel-home-link .round-link {
  cursor: pointer;
  border: none !important;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.weather-panel-home-link .round-link:hover {
  border-color: #f4d03f;
  background: rgba(244,208,63,0.1);
  box-shadow: none !important;
}

/* Style du bouton .GPX .FIT - même couleur de survol que le bouton maison */
.gpx-file-trigger {
  border: none !important;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.gpx-file-trigger:hover {
  border-color: #f4d03f;
  background: rgba(244,208,63,0.1);
  box-shadow: none !important;
}

/* Style du bouton corbeille - même couleur de survol que le bouton maison */
.gpx-delete-btn {
  border: none !important;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.gpx-delete-btn:hover {
  border-color: #f4d03f;
  background: rgba(244,208,63,0.1);
  box-shadow: none !important;
}

/* Style du bouton export - même couleur de survol que le bouton maison */
.gpx-export-btn {
  border: none !important;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.gpx-export-btn:hover {
  border-color: #f4d03f;
  background: rgba(244,208,63,0.1);
  box-shadow: none !important;
}

/* Style du bouton Ajouter - même couleur de survol que le bouton maison */
.poi-btn-action {
  border: none !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)) !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  color: var(--text) !important;
  transform: none !important;
}

.poi-btn-action:hover {
  border-color: #f4d03f !important;
  background: rgba(244,208,63,0.1) !important;
  box-shadow: none !important;
  transform: translateY(0) !important;
}

.poi-btn-action:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* Style du bouton loupe - même couleur de survol que le bouton maison */
.poi-btn-icon {
  border: none !important;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.poi-btn-icon:hover {
  border-color: #f4d03f;
  background: rgba(244,208,63,0.1);
  box-shadow: none !important;
}

/* Style des boutons du footer - même couleur de survol que le bouton maison */
.footer .round-link {
  border: none !important;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.footer .round-link:hover {
  border-color: #f4d03f;
  background: rgba(244,208,63,0.1);
  box-shadow: none !important;
}

/* Style des boutons de suppression dans la liste POI - même couleur de survol que le bouton maison */
.poi-list-item-delete {
  border: none !important;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  transition: all 0.3s ease;
  box-shadow: none !important;
  padding: 8px 12px;
}

.poi-list-item-delete:hover {
  border-color: #f4d03f;
  background: rgba(244,208,63,0.1);
  box-shadow: none !important;
}
