/* Icônes Maps et Citymapper de la barre du haut, pages de service intégrées,
   bouton de connexion Microsoft. Chargé sur toutes les pages (base.html). */

a.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.service-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.service-bar h1 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 1.25rem;
}

.maps-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}

.maps-form label {
  flex: 1 1 180px;
  margin: 0;
}

.maps-form select {
  min-width: 0;
}

.service-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 190px);
  height: calc(100dvh - 190px);
  min-height: 420px;
  border: 0;
  border-radius: 12px;
  background: rgba(127, 127, 127, 0.12);
}

.btn.microsoft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

@media (max-width: 600px) {
  .service-frame {
    height: calc(100dvh - 240px);
    border-radius: 8px;
  }
}

/* Accueil : icônes Google Maps et Citymapper à droite de la barre de recherche. */
.search-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}

.search-row .search {
  flex: 1 1 auto;
  max-width: none;
  margin: 0;
}

.search-links {
  display: flex;
  flex: none;
  gap: 8px;
}

.search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text-2);
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}

.search-link:hover,
.search-link:focus-visible {
  color: var(--accent-text);
  border-color: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .search-link { width: 46px; height: 46px; }
  .search-links { gap: 6px; }
}
