/* Sign Language Recorder — professional dashboard theme */

:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --border: #e6e8ef;
  --text: #1a1d26;
  --muted: #6b7280;
  --accent: #6b4dc4;
  --accent-hover: #5a3fb0;
  --accent-soft: #ede9fc;
  --pending: #ea580c;
  --recorded: #16a34a;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.brand-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.brand-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover {
  background: var(--bg);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
}

h1.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.section-hint {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.stat-card {
  flex: 1 1 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.stat-card .value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-card .label {
  font-size: 0.875rem;
  color: var(--muted);
}

.stat-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 0.75rem;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

table.data-table th,
table.data-table td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

table.data-table th {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ar-cell {
  font-size: 1.05rem;
  direction: rtl;
  unicode-bidi: isolate;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-pending {
  background: #fff7ed;
  color: var(--pending);
}

.badge-recorded {
  background: #ecfdf3;
  color: var(--recorded);
}

select.select-sm {
  font-family: inherit;
  font-size: 0.8125rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  min-width: 7rem;
  background: var(--surface);
}

.remark-input {
  width: 100%;
  max-width: 14rem;
  font-family: inherit;
  font-size: 0.8125rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.video-thumb {
  width: 160px;
  max-height: 90px;
  border-radius: 8px;
  background: #0f172a;
}

.video-thumb video {
  width: 100%;
  height: auto;
  max-height: 90px;
  display: block;
  border-radius: 8px;
}

.muted {
  color: var(--muted);
}

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}

.login-card .sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.form-group input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.form-error {
  color: #b91c1c;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

/* Worker layout */
.worker-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

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

.sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 1rem;
}

.sidebar h2 {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.sidebar .summary {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0.25rem 0 1rem;
}

.vocab-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}

.vocab-list li {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  margin-bottom: 0.35rem;
}

.vocab-list li:hover {
  background: var(--bg);
}

.vocab-list li.active {
  background: var(--accent-soft);
  border-color: #c4b5fd;
}

.vocab-list .ar {
  font-size: 1.05rem;
  direction: rtl;
  unicode-bidi: isolate;
  display: block;
}

.vocab-list .en {
  font-size: 0.8125rem;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-inline-end: 0.35rem;
}

.dot-pending {
  background: var(--pending);
}

.dot-recorded {
  background: var(--recorded);
}

.worker-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.term-display {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.term-display .ar-big {
  font-size: 2rem;
  direction: rtl;
  unicode-bidi: isolate;
}

.term-display .en {
  font-size: 1rem;
  color: var(--muted);
  max-width: 280px;
}

textarea.remark-area {
  width: 100%;
  min-height: 88px;
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  resize: vertical;
}

.video-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 700px) {
  .video-pair {
    grid-template-columns: 1fr;
  }
}

.video-box {
  background: #0f172a;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.video-box video,
.video-box canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-box-label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

/* Login centered title */
.login-card-centered {
  text-align: center;
}

.login-card-centered .form-group {
  text-align: left;
}

.login-title {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.config-badge {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.config-badge strong {
  color: var(--text);
}

/* Config picker (worker) */
.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.config-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.config-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  margin-top: 0.75rem;
}

/* Progress */
.progress-panel {
  margin-bottom: 1rem;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
}

.progress-track {
  height: 10px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.term-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.term-counter {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.jump-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.jump-label {
  font-size: 0.8125rem;
  color: var(--muted);
}

.jump-input {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  min-width: 7rem;
}

.search-results {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  max-height: 12rem;
  overflow-y: auto;
  background: var(--surface);
}

.search-results li {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.search-results li:last-child {
  border-bottom: none;
}

.search-results li:hover {
  background: var(--accent-soft);
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Admin config cards */
.admin-create-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.config-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.config-admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.config-admin-head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.config-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.file-import-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

.file-import-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

/* --- Config picker: fill page --- */
body.page-worker-select {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-worker-select .topbar-compact {
  padding: 0.5rem 1.25rem;
  flex-shrink: 0;
}

.page-select-fill.container {
  max-width: 1400px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-top: 0.75rem !important;
  width: 100%;
  padding: 0 1rem 1rem;
  box-sizing: border-box;
}

.section-hint-tight {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

body.page-worker-select .config-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  grid-auto-rows: minmax(160px, 1fr);
  gap: 1rem;
  align-content: stretch;
  min-height: min(72vh, 640px);
}

body.page-worker-select .config-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

body.page-worker-select .config-card .btn-block {
  margin-top: auto;
}

body.page-worker-select .config-card .progress-track {
  flex-shrink: 0;
}

/* --- Worker job: compact + no scroll (desktop) --- */
body.page-worker-job {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.toast-host {
  position: fixed;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  pointer-events: none;
  max-width: min(380px, 94vw);
}

.toast {
  background: #1a1d26;
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.toast.toast-show {
  opacity: 1;
  transform: translateX(0);
}

/* Saving overlay (worker submit in flight) — light card on soft scrim */
.saving-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(4px);
}

.saving-overlay[hidden] {
  display: none !important;
}

.saving-overlay-card {
  background: #ffffff;
  color: #1e293b;
  border-radius: 12px;
  padding: 1.35rem 1.75rem;
  max-width: min(320px, 92vw);
  text-align: center;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.saving-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 1rem;
  border: 3px solid rgba(15, 23, 42, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: saving-spin 0.75s linear infinite;
}

@keyframes saving-spin {
  to {
    transform: rotate(360deg);
  }
}

.saving-overlay-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
}

.saving-overlay-sub {
  margin: 0;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.4;
}

.brand-inline {
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
}

.brand-inline .brand-title {
  margin: 0;
}

.brand-inline .config-badge {
  margin-top: 0;
}

.topbar-compact {
  padding: 0.45rem 1rem;
  flex-shrink: 0;
}

.worker-job-main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  margin-top: 0 !important;
  padding: 0.3rem 1rem 0.4rem;
  display: flex;
  flex-direction: column;
}

.worker-job-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 0.4rem;
  align-items: stretch;
}

.worker-job-grid > * {
  min-width: 0;
  min-height: 0;
}

.worker-job-col {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Fills grid cell height; children stack with gap */
.worker-job-stretch-stack {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.worker-job-stretch-stack > .progress-panel-tight,
.worker-job-stretch-stack > #panel-term {
  flex-shrink: 0;
}

/* One stacked card: translation + nav (fixed height content) */
.worker-job-side-panel {
  flex: 0 0 auto;
}

.worker-job-nav-heading {
  margin-top: 0.5rem !important;
  margin-bottom: 0.15rem !important;
}

/* Grows with column; scrollable term list */
.worker-job-overview {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.worker-job-overview .section-hint-micro {
  flex-shrink: 0;
}

.worker-job-overview-list {
  flex: 1 1 auto;
  min-height: 8rem;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  outline: none;
}

.worker-job-overview-list:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.overview-scroll-hint {
  color: var(--muted);
  font-style: italic;
}

.worker-job-overview-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.45rem;
  font-size: 0.78rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
}

.worker-job-overview-row:last-child {
  border-bottom: none;
}

.worker-job-overview-row:hover {
  background: var(--accent-soft);
}

.worker-job-overview-row.current {
  border-left-color: var(--accent);
  background: var(--accent-soft);
}

.worker-job-overview-row .ov-idx {
  font-weight: 600;
  color: var(--muted);
  min-width: 1.85rem;
  flex-shrink: 0;
}

.worker-job-overview-row .ov-badge {
  flex-shrink: 0;
  font-size: 0.62rem !important;
  padding: 0.12rem 0.35rem !important;
}

.worker-job-overview-row .ov-en {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Camera: original 16:10 compact pair (see .video-pair-compact) */
.worker-job-camera-panel {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.worker-job-camera-panel .section-hint-micro,
.worker-job-camera-panel .controls-compact,
.worker-job-camera-panel .rec-hint-micro {
  flex-shrink: 0;
}

/* Left bottom: recording rules + control help (scrolls if tall) */
.worker-job-stretch-stack > .worker-job-guidelines {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.worker-job-guidelines-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text);
  padding-right: 0.15rem;
}

.guidelines-lead {
  margin: 0.4rem 0 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.guidelines-lead:first-child {
  margin-top: 0;
}

.guidelines-list {
  margin: 0 0 0.35rem;
  padding-left: 1.05rem;
}

.guidelines-list li {
  margin-bottom: 0.28rem;
}

.guidelines-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  body.page-worker-job {
    height: auto;
    max-height: none;
    overflow-y: auto;
  }

  .worker-job-grid {
    grid-template-columns: 1fr;
  }
}

.panel-tight {
  padding: 0.4rem 0.6rem !important;
}

.progress-panel-tight .progress-meta {
  margin-bottom: 0.15rem;
  font-size: 0.8125rem;
}

.progress-panel-tight .progress-track {
  height: 6px;
}

.card-title-inline {
  margin: 0 0 0.2rem !important;
  font-size: 0.65rem !important;
}

.section-hint-micro {
  margin: 0 0 0.3rem !important;
  font-size: 0.72rem !important;
  line-height: 1.35;
}

.term-display-compact {
  gap: 0.5rem !important;
  margin-top: 0.15rem;
}

.ar-compact {
  font-size: 1.25rem !important;
}

.en-compact {
  font-size: 0.8125rem !important;
}

.video-pair-compact {
  max-height: min(28vh, 200px);
  gap: 0.3rem !important;
}

.video-pair-compact .video-box {
  aspect-ratio: 16 / 10;
  max-height: min(28vh, 200px);
  min-height: 0;
}

.controls-compact {
  margin-top: 0.3rem !important;
  gap: 0.3rem !important;
}

.btn-sm {
  padding: 0.32rem 0.5rem !important;
  font-size: 0.72rem !important;
}

.rec-hint-micro {
  margin-top: 0.28rem !important;
  font-size: 0.72rem !important;
}

.remark-compact {
  min-height: 0 !important;
  max-height: 5rem;
  resize: none;
}

.panel-flex {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.jump-row-compact {
  margin-bottom: 0.3rem !important;
  gap: 0.3rem !important;
}

.jump-row-compact .jump-input {
  min-width: 4.5rem;
  width: auto;
  max-width: 7rem;
}

body.page-worker-job .search-results {
  max-height: 5.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
}

.btn-nav {
  min-width: 5rem;
}

.btn-pulse {
  animation: btnPulse 0.24s ease-out;
}

@keyframes btnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(107, 77, 196, 0.55);
  }

  100% {
    box-shadow: 0 0 0 12px rgba(107, 77, 196, 0);
  }
}
