/* Shared glass header — connexion, installer, inscription, 404, avis-createurs, index */
:root {
  --glass-header-height: 60px;
  --glass-header-z: 500;
}

.glass-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--glass-header-z);
  background: rgba(255, 255, 255, .70);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, .80);
}
.glass-header--sticky {
  position: sticky;
}
html[data-theme="dark"] .glass-header {
  background: rgba(15, 23, 42, .78);
  border-bottom-color: rgba(51, 65, 85, .70);
}

.glass-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--glass-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.glass-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.glass-header-logo img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}

.glass-header-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 5px 10px 5px 6px;
  transition: background .15s, color .15s;
}
.glass-header-back:hover {
  background: rgba(15, 106, 216, .08);
  color: #0f172a;
}
.glass-header-back svg { flex-shrink: 0; }
html[data-theme="dark"] .glass-header-back { color: #94a3b8; }
html[data-theme="dark"] .glass-header-back:hover { color: #f1f5f9; }

/* app-header partage la même hauteur */
.app-header {
  min-height: var(--glass-header-height);
}
