/* app.css - modern dark glass theme */

:root {
  --bg: #070a12;
  --panel: rgba(255, 255, 255, 0.05);
  --panel2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.65);
  --muted2: rgba(255, 255, 255, 0.45);
  --accent: #7c5cff;
  --good: #2bd576;
  --warn: #ffb020;
  --danger: #ff4d6d;
  --shadow: 0 14px 40px rgba(0,0,0,0.35);
  --glass: rgba(255,255,255,0.055);
  --glass2: rgba(255,255,255,0.035);
  --phosphor: #39ff14;
  /* Medical reading colors */
  --med-orange: #ff9f3a;
  --med-green:  #3effa0;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(65, 105, 225, 0.14), transparent 60%),
              radial-gradient(900px 520px at 100% 0%, rgba(57, 255, 20, 0.06), transparent 55%),
              radial-gradient(900px 700px at 30% 120%, rgba(124, 92, 255, 0.10), transparent 65%),
              var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.5;
}

a { color: rgba(190, 215, 255, 0.95); text-decoration: none; }

a:hover { text-decoration: underline; }

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 18px 0 60px;
}

/* Top menu */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 10, 18, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: env(safe-area-inset-top);
}

.topbar-inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.brand:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.04));
  text-decoration: none;
}

.brand-title {
  font-weight: 950;
  letter-spacing: 0.02em;
  font-size: 15px;
  line-height: 1.1;
  color: rgba(255,255,255,0.95);
}

.brand-sub {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 12px;
  line-height: 1.1;
  color: rgba(255,255,255,0.65);
}

/* Hamburger button (hidden on desktop) */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  transition: background 0.12s ease;
}

.menu-btn:hover {
  background: rgba(255,255,255,0.10);
}

.menu-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: background 0.22s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.22s ease, top 0.22s ease, bottom 0.22s ease;
}

.menu-icon::before { top: -6px; }
.menu-icon::after { bottom: -6px; }

.topbar.is-open .menu-icon {
  background: transparent;
}

.topbar.is-open .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.topbar.is-open .menu-icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.88);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav a:hover {
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.nav a.active {
  border-color: rgba(124, 92, 255, 0.40);
  background: rgba(124, 92, 255, 0.16);
  color: rgba(255,255,255,0.95);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  font-weight: 900;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.88);
  font-weight: 950;
}

.online-count { min-width: 18px; text-align: center; }

/* Green phosphor heartbeat */
.ekg-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.18);
  background: rgba(0,0,0,0.18);
}

.ekg {
  width: 160px;
  height: 18px;
  display: block;
}

.ekg-baseline {
  stroke: rgba(57, 255, 20, 0.28);
  stroke-width: 2;
  fill: none;
}

.ekg-pulse {
  stroke: rgba(57, 255, 20, 0.92);
  stroke-width: 2.2;
  fill: none;
  filter: drop-shadow(0 0 6px rgba(57, 255, 20, 0.26));

  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: ekgPulse 1.2s ease-in-out 0.35s 3 forwards;
}

@keyframes ekgPulse {
  0% { stroke-dashoffset: 240; opacity: 0.0; }
  12% { opacity: 1; }
  40% { stroke-dashoffset: 0; opacity: 1; }
  65% { opacity: 0.9; }
  100% { stroke-dashoffset: 240; opacity: 0; }
}

/* Cards */
.card {
  background: linear-gradient(180deg, var(--glass), var(--glass2));
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card h2, .card h3 { letter-spacing: 0.01em; }

hr.sep {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 12px 0;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Inputs and Selects */
input, textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  font-weight: 700;
}

input:focus, textarea:focus {
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}

input::placeholder, textarea::placeholder { 
  color: rgba(255,255,255,0.45);
  font-weight: 700;
}

textarea { 
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 600;
}

/* Select dropdown with custom arrow */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(255,255,255,0.04) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="rgba(255,255,255,0.75)" d="M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z"/></svg>') no-repeat;
  background-position: right 10px center;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 34px 10px 12px;
  outline: none;
  font-weight: 700;
  cursor: pointer;
}

select:focus {
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}

select:hover {
  background-color: rgba(255,255,255,0.06);
}

/* Style the dropdown options */
select option {
  background: rgba(20, 24, 36, 0.98);
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  padding: 8px;
}

select option:checked,
select option:hover {
  background: rgba(124, 92, 255, 0.25);
  color: rgba(255,255,255,0.98);
}

/* Buttons */
.btn,
button:not(.btn):not(.menu-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: transform 0.06s ease, background 0.12s ease;
  font: inherit;
  font-weight: 800;
}

.btn:hover,
button:not(.btn):not(.menu-btn):hover {
  background: rgba(255,255,255,0.10);
  text-decoration: none;
}

.btn:active,
button:not(.btn):not(.menu-btn):active {
  transform: translateY(1px);
}

.btn.good { border-color: rgba(43, 213, 118, 0.35); background: rgba(43, 213, 118, 0.10); }
.btn.warn { border-color: rgba(255, 176, 32, 0.35); background: rgba(255, 176, 32, 0.10); }
.btn.danger { border-color: rgba(255, 77, 109, 0.40); background: rgba(255, 77, 109, 0.12); }

.inline-form { display:flex; gap:10px; align-items: end; flex-wrap: wrap; }

/* Admin action cards */
.action-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.action-card {
  display: block;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.11);
  background: linear-gradient(180deg, var(--glass), var(--glass2));
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  transition: transform 0.10s ease, background 0.12s ease, border-color 0.12s ease;
}

.action-card:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.04));
  border-color: rgba(124, 92, 255, 0.22);
}

.action-title { font-weight: 950; }
.action-sub { margin-top: 6px; color: rgba(255,255,255,0.70); font-weight: 800; font-size: 13px; }

/* Topic-card: used across many pages */
.topic-card {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.11);
  background: linear-gradient(180deg, var(--glass), var(--glass2));
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.10s ease, background 0.12s ease, border-color 0.12s ease;
}

.topic-card:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.04));
  border-color: rgba(124, 92, 255, 0.22);
}

/* Book topic accordion */
.topic-accordion {
  margin-top: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.11);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  overflow: hidden;
}

.topic-summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topic-summary::-webkit-details-marker { display: none; }

.topic-body {
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.10);
}

.topic-actions { flex: 0 0 auto; }

.topic-row { display:flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; }
.topic-main { font-weight: 900; color: rgba(255,255,255,0.92); }
.topic-meta { color: rgba(255,255,255,0.60); font-size: 13px; font-weight: 800; white-space: nowrap; }

/* Search bar */
.searchbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.searchbar input {
  width: min(520px, 100%);
}

.searchcount {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.75);
  font-weight: 900;
  font-size: 12px;
}

/* Embedded media cards - constrained preview with proper sizing */
.embed-card {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(0,0,0,0.25);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.10s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.embed-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.30);
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.15);
}

/* Image embeds */
.embed-card[data-embed-kind="image"] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  max-height: 500px;
  padding: 12px;
}

.embed-img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

/* Video embeds */
.embed-card[data-embed-kind="video"] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  max-height: 500px;
  padding: 12px;
}

.embed-video {
  max-width: 100%;
  max-height: 480px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: rgba(0,0,0,0.60);
}

/* Audio embeds */
.embed-card[data-embed-kind="audio"] {
  padding: 20px;
  min-height: auto;
}

.embed-audio {
  width: 100%;
  max-width: 100%;
}

/* Iframe/file embeds */
.embed-card[data-embed-kind="file"],
.embed-card[data-embed-kind="iframe"] {
  min-height: 400px;
  max-height: 600px;
  padding: 0;
}

.embed-iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 600px;
  border: none;
  display: block;
}

/* Caption below media */
.embed-caption {
  padding: 10px 14px;
  background: rgba(0,0,0,0.40);
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

/* Flip card CSS (required for flashcards) */
.flip {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: 0 18px 52px rgba(0,0,0,0.44);
  perspective: 1200px;
  cursor: pointer;
  overflow: hidden;
}

.flip:focus { outline: none; box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14), 0 18px 52px rgba(0,0,0,0.44); }

.flip-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.60s cubic-bezier(0.2, 0.9, 0.2, 1);
  display: grid;
}

.flip.is-flipped .flip-inner { transform: rotateY(180deg); }

.face {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 18px;
  min-height: 360px;
}

.face.back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
}

.flash-front-head { margin-top: 12px; }
.flash-front-topic { font-weight: 950; font-size: 28px; letter-spacing: 0.01em; line-height: 1.22; }
.flash-front-subtopic { margin-top: 10px; color: rgba(255,255,255,0.92); font-weight: 950; font-size: 22px; line-height: 1.28; }
.flash-front-dim { margin-top: 8px; color: rgba(255,255,255,0.62); font-weight: 850; font-size: 13px; }

/* Make flashcard stats less dominant */
.flip .pillrow { gap: 6px; }
.flip .pill { padding: 5px 9px; font-size: 12px; }
.flip .front .muted.small { font-size: 11px; }

.flash-answer-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
}

.flash-answer {
  width: 100%;
  max-width: 900px;
  text-align: center;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 900;
  line-height: 1.55;
}

.flash-answer p { margin: 0; }
.flash-answer p + p { margin-top: 12px; }

.flash-answer ul,
.flash-answer ol {
  display: inline-block;
  text-align: left;
  margin: 14px auto 0;
}

.flash-answer li { margin: 10px 0; }

.flash-answer table {
  width: 100%;
  font-size: 1em;
}

.flash-answer td,
.flash-answer th {
  font-size: 1em;
}

/* Pills */
.pillrow { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}

/* ═══════════════════════════════════════════════════════════════
   READING PANEL — Medical content styling
   h4  = section heading (Generalitati, Valori normale, Creste…)
         → ORANGE + BOLD
   dt  = key in a key:value pair (subtopic label)
         → GREEN + BOLD
   p   = body paragraph
   li  = bullet list item
═══════════════════════════════════════════════════════════════ */

.reading-panel { overflow: hidden; }

.reading {
  font-size: 16px;
  line-height: 1.72;
  color: rgba(255,255,255,0.90);
}

/* Section headings (Generalitati, Valori normale, Creste, Scade …) */
.reading h4 {
  margin: 20px 0 6px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--med-orange);        /* orange */
  border-left: 3px solid var(--med-orange);
  padding-left: 10px;
}

.reading h4:first-child { margin-top: 4px; }

/* Paragraphs */
.reading p {
  margin: 0 0 10px;
  padding-left: 13px;
  color: rgba(255,255,255,0.88);
}

/* Lists */
.reading ul, .reading ol {
  padding-left: 28px;
  margin: 4px 0 10px;
}
.reading li {
  margin: 5px 0;
  color: rgba(255,255,255,0.88);
}

/* Key-value definition lists */
.reading dl {
  margin: 4px 0 12px;
  padding-left: 13px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 14px;
  align-items: baseline;
}

.reading dt {
  font-weight: 900;
  color: var(--med-green);          /* green */
  white-space: nowrap;
}

.reading dd {
  margin: 0;
  color: rgba(255,255,255,0.85);
}

/* strong inside reading keeps orange tint consistent with existing HTML books */
.reading strong {
  color: rgba(255,255,255,0.95);
  font-weight: 900;
}

/* span[style=color:orange] and span[style=color:yellow] from existing HTML books */
.reading span[style*="color:orange"],
.reading span[style*="color: orange"] {
  color: var(--med-orange) !important;
  font-weight: 900;
}

.reading span[style*="color:yellow"],
.reading span[style*="color: yellow"] {
  color: #ffe066 !important;
}

/* Fullscreen modal for embedded media */
.fs-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.fs-modal {
  width: min(1200px, 96vw);
  height: min(820px, 92vh);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: 0 24px 70px rgba(0,0,0,0.60);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fs-title {
  font-weight: 900;
  color: rgba(255,255,255,0.90);
  font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-body {
  flex: 1;
  min-height: 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-body.is-zoomed {
  overflow: auto;
  align-items: flex-start;
  justify-content: flex-start;
}

.fs-body img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
}

.fs-body.is-zoomed img {
  max-width: none;
  max-height: none;
}

.fs-body video {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
}

.fs-body iframe {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
}

@media (max-width: 900px) {
  .action-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .topbar-inner { flex-wrap: wrap; }
  .nav a { padding: 7px 9px; }
  .ekg { width: 140px; }

  .face { min-height: 340px; padding: 16px; }
  .flash-front-topic { font-size: 24px; }
  .flash-front-subtopic { font-size: 20px; }
  .flash-answer { font-size: clamp(22px, 5.2vw, 28px); }
}

/* Mobile hamburger menu (520px and below) */
@media (max-width: 520px) {
  .menu-btn {
    display: inline-flex;
    margin-left: auto;
  }

  .topbar-inner {
    flex-wrap: nowrap;
  }

  .topbar-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 10, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .topbar.is-open .topbar-right {
    max-height: 500px;
    opacity: 1;
    padding: 12px;
  }

  .nav {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .nav a {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }

  .ekg-wrap,
  .online-pill {
    display: none;
  }

  .badge {
    width: 100%;
    justify-content: center;
  }

  .topbar-right form {
    width: 100%;
  }

  .topbar-right form button {
    width: 100%;
  }
}
