/* ================================================================
   base.css — Global styles & design tokens
   Loaded on every page via base.html.twig
   ================================================================ */

/* ── Bootstrap overrides ── */
.starter-template {
  padding: 3rem 1.5rem;
  text-align: center;
}

:root {
  --bs-primary: #00FFC7;
  --bs-secondary: #FD9ACA;
  --bs-info: #2196f3;
  --bs-success: #8bc34a;
  --bs-warning: #ffc107;
  --bs-danger: #f44336;
  --bs-light: #f5f5f5;
  --bs-dark: #212121;
}

a.primary {
  color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity));
}

.jumbotron {
  background-color: #f8f9fa;
  padding: 40px;
  margin-bottom: 0;
}

/* ── Pill / avatar helpers ── */
.host-icons {
  margin-top: 20px;
}

.pill {
  border-radius: 3em !important;
}

.pill>img {
  border-radius: 3em;
}

.pill>img+span {
  padding-right: 1em;
}

.pill>img+span.collapsible {
  transition: width 1s ease-in-out;
  display: none;
}

.pill:hover>img+span.collapsible {
  display: inline;
}

.host-icons ul li {
  display: inline-block;
  margin-right: 10px;
}

.host-icons ul li a img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.card {
  margin-top: 20px;
}

table.features td:nth-of-type(1),
table.features th:nth-of-type(1) {
  text-align: left;
}

table.features td,
table.features th {
  text-align: center;
}

form ul li {
  color: var(--bs-danger);
}

/* ── Skip link (a11y) ── */
html { scroll-padding-top: 70px; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: #C94B6D;
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* ── Main content min-height ── */
.content {
  min-height: 70vh;
}

/* ── Toast notifications ── */
.bw-toast-stack {
  position: fixed;
  top: 80px;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}
.bw-toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  min-width: 260px;
  max-width: 380px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  pointer-events: all;
  opacity: 0;
  transform: translateX(30px);
  animation: bwToastIn 0.3s ease forwards;
}
.bw-toast.bw-toast--out {
  animation: bwToastOut 0.3s ease forwards;
}
.bw-toast--success { background: var(--sage, #5BA870); }
.bw-toast--error,
.bw-toast--danger  { background: #c0392b; }
.bw-toast--warning { background: var(--gold, #C8A83C); color: #1a1a1a; }
.bw-toast--info    { background: var(--rust, #C94B6D); }
.bw-toast__icon { font-size: 1.05rem; flex-shrink: 0; }
.bw-toast__msg  { flex: 1; }
.bw-toast__close {
  background: none; border: none; color: inherit; opacity: 0.7;
  cursor: pointer; padding: 0 0 0 0.25rem; font-size: 1rem; line-height: 1;
}
.bw-toast__close:hover { opacity: 1; }
@keyframes bwToastIn  { to { opacity: 1; transform: translateX(0); } }
@keyframes bwToastOut { to { opacity: 0; transform: translateX(30px); } }

/* ── Utility: display:contents for inline forms ── */
.form-display-contents { display: contents; }

/* ── Utility: nav-logout-form reset ── */
.nav-logout-form { margin: 0; padding: 0; }