/* PBG Fitness — legal page additions: logo header + EN/ES toggle */
/* Layers on top of styles.css. Does not modify existing rules. */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: none;
}

.site-logo img {
  height: 36px;
  width: auto;
  display: block;
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lang-toggle button {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #c7c7d1;
  background: transparent;
  padding: 7px 16px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-toggle button:hover { color: #ffffff; }

.lang-toggle button.active {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4d8d 0%, #a855f7 100%);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
}

.lang-toggle button:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.7);
  outline-offset: 2px;
}

/* Hide the inactive language */
[data-lang-content][hidden] { display: none; }

@media (max-width: 600px) {
  .site-logo img { height: 30px; }
  .lang-toggle button { padding: 6px 13px; font-size: 0.76rem; }
}


.back-home{display:inline-block;margin-bottom:28px;font-size:0.9rem;font-weight:500;color:#c7c7d1;text-decoration:none;border:none;}
.back-home:hover{color:#ffffff;}
