/* ============================================================
   SCOUTASTIC Design System – Help Center
   Follows SCOUTASTIC Design Guide (September 2025)
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* Backgrounds */
  --page-bg:               #f1f4f8;
  --white:                 #ffffff;

  /* Text */
  --primary:               #171717;
  --text-light:            #4b4b4b;

  /* Brand */
  --accent:                #00ff5f;
  --accent-light:          #c5ffdb;
  --accent-dark:           #00cc4b;

  /* Semantic */
  --info:                  #00d4ff;
  --danger:                #e21c3d;
  --danger-light:          #ff709b;
  --warning:               #fff700;
  --warning-light:         #fffc99;

  /* Border radius */
  --r-full:                100rem;
  --r-xl:                  1rem;
  --r-lg:                  0.75rem;
  --r-md:                  0.5rem;
  --r-sm:                  0.25rem;

  /* Layout */
  --sidebar-width:         260px;
  --header-height:         60px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--primary);
  background: var(--page-bg);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

code, kbd {
  font-family: 'Source Code Pro', monospace;
}

/* ── Layout ────────────────────────────────────────────────── */
.layout {
  display: flex;
  min-height: calc(100vh - var(--header-height));
  padding-top: var(--header-height);
}

/* ── Header ────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--white);
  border-bottom: 1.5px solid #e5e9ef;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  padding: 0 1.25rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-img {
  height: 1.25rem;
  width: auto;
}

.logo-badge {
  background: var(--accent);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-full);
  line-height: 1.4;
}

/* Search */
.search-wrapper {
  flex: 1;
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  font-size: 0.875rem;
}

.search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  border: 1.5px solid #dde3ec;
  border-radius: var(--r-full);
  background: var(--page-bg);
  color: var(--primary);
  outline: none;
  transition: border-color 0.15s;
}

.search-input:focus {
  border-color: var(--accent);
  background: var(--white);
}

.search-input::placeholder {
  color: #a0a9b8;
}

/* Header end */
.header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Sidebar toggle (mobile) */
.sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  color: var(--text-light);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background 0.15s;
}

.sidebar-toggle:hover {
  background: var(--page-bg);
}

/* ── Sidebar ────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: var(--white);
  border-right: 1.5px solid #e5e9ef;
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 80;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem 0.5rem;
}

.sidebar-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a0a9b8;
}

.sidebar-nav {
  flex: 1;
  padding: 0.25rem 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

/* Nav item */
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background 0.12s;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  user-select: none;
}

.nav-item:hover {
  background: var(--page-bg);
  color: var(--primary);
}

.nav-item.active {
  background: var(--accent-light);
  color: var(--primary);
}

.nav-item .nav-icon {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.nav-item .nav-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-item .nav-count {
  font-size: 0.7rem;
  background: var(--page-bg);
  color: var(--text-light);
  padding: 0.1rem 0.45rem;
  border-radius: var(--r-full);
  flex-shrink: 0;
}

.nav-item.active .nav-count {
  background: rgba(0,0,0,0.06);
}

/* Admin controls in nav */
.nav-item .nav-admin-actions {
  display: none;
  gap: 0.2rem;
}

.nav-item:hover .nav-admin-actions,
.nav-item.active .nav-admin-actions {
  display: flex;
}

.nav-admin-btn {
  width: 22px;
  height: 22px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-light);
  transition: background 0.12s, color 0.12s;
  flex-shrink: 0;
}

.nav-admin-btn:hover {
  background: rgba(0,0,0,0.08);
  color: var(--primary);
}

/* ── Sidebar overlay (mobile) ───────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 79;
}

/* ── Main content ───────────────────────────────────────────── */
.main {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-width: 0;
  padding: 2rem 2.5rem;
  max-width: 900px;
}

/* ── Home screen ────────────────────────────────────────────── */
.home-hero {
  margin-bottom: 2rem;
}

.home-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.home-subtitle {
  color: var(--text-light);
  font-size: 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.875rem;
}

/* Category card */
.cat-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.25rem 1rem;
  cursor: pointer;
  transition: background 0.15s;
  border: 1.5px solid transparent;
}

.cat-card:hover {
  background: var(--accent-light);
  border-color: var(--accent);
}

.cat-card-icon {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.cat-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.cat-card-count {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Article list ───────────────────────────────────────────── */
.view-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-light);
  border-radius: var(--r-full);
  padding: 0.35rem 0.75rem;
  transition: background 0.12s, color 0.12s;
}

.back-btn:hover {
  background: var(--white);
  color: var(--primary);
}

.view-title {
  font-size: 1.2rem;
  font-weight: 700;
  flex: 1;
}

.view-actions {
  display: flex;
  gap: 0.5rem;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Article list item */
.article-item {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background 0.12s;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-item:hover {
  background: var(--accent-light);
}

.article-item-body {
  flex: 1;
  min-width: 0;
}

.article-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.article-item-meta {
  font-size: 0.78rem;
  color: var(--text-light);
}

.article-item-arrow {
  color: #c0c7d4;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.article-item-actions {
  display: none;
  gap: 0.3rem;
  flex-shrink: 0;
}

.article-item:hover .article-item-actions {
  display: flex;
}

.article-item:hover .article-item-arrow {
  display: none;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-light);
}

.empty-state i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.35;
}

.empty-state p {
  font-size: 0.95rem;
}

/* ── Article view ───────────────────────────────────────────── */
.article-header {
  margin-bottom: 1.5rem;
}

.article-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-body {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  line-height: 1.75;
}

/* Markdown content styles */
.article-body h1 { font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem; }
.article-body h2 { font-size: 1.15rem; font-weight: 600; margin: 1.75rem 0 0.6rem; padding-bottom: 0.4rem; border-bottom: 1.5px solid #e5e9ef; }
.article-body h3 { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 0.4rem; }
.article-body h4 { font-size: 0.95rem; font-weight: 500; margin: 1rem 0 0.35rem; }
.article-body p  { margin-bottom: 0.875rem; }
.article-body ul,
.article-body ol { margin: 0.5rem 0 1rem 1.5rem; }
.article-body li { margin-bottom: 0.3rem; }
.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }

.article-body code {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.875em;
  background: var(--page-bg);
  padding: 0.1em 0.4em;
  border-radius: var(--r-sm);
  color: var(--primary);
}

.article-body pre {
  background: #1e2130;
  color: #e2e8f0;
  border-radius: var(--r-md);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1rem 0;
  font-size: 0.875rem;
}

.article-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  color: var(--text-light);
  background: var(--accent-light);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.article-body th,
.article-body td {
  padding: 0.5rem 0.875rem;
  text-align: left;
  border-bottom: 1.5px solid #e5e9ef;
}

.article-body th {
  font-weight: 600;
  background: var(--page-bg);
}

.article-body a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Search results ─────────────────────────────────────────── */
.search-results-header {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.search-highlight {
  background: var(--warning-light, #fffc99);
  border-radius: 2px;
  padding: 0 1px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

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

/* Sizes */
.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

/* Severities */
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-secondary {
  background: var(--page-bg);
  color: var(--primary);
  border-color: #dde3ec;
}

.btn-secondary:hover:not(:disabled) {
  background: #dde3ec;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: #dde3ec;
}

.btn-outline:hover:not(:disabled) {
  background: var(--page-bg);
}

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

.btn-danger:hover:not(:disabled) {
  background: #b91530;
  border-color: #b91530;
}

/* Icon-only button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  color: var(--text-light);
  transition: background 0.12s, color 0.12s;
  flex-shrink: 0;
}

.btn-icon:hover {
  background: var(--page-bg);
  color: var(--primary);
}

.btn-icon.btn-icon-sm {
  width: 26px;
  height: 26px;
  font-size: 0.75rem;
}

.btn-icon.btn-icon-danger:hover {
  background: #fde8ec;
  color: var(--danger);
}

/* ── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 35, 0.45);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(2px);
}

.modal-card {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-card-sm {
  max-width: 460px;
  overflow: visible;
}

.modal-card-sm .modal-body {
  overflow: visible;
}

.modal-card-lg {
  max-width: 800px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 0;
}

.modal-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
}

.editor-modal-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-top: 1.5px solid #e5e9ef;
}

.modal-footer-spread {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-light);
}

.form-control {
  width: 100%;
  padding: 0.55rem 0.875rem;
  border: 1.5px solid #dde3ec;
  border-radius: var(--r-md);
  color: var(--primary);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
}

.form-control:focus {
  border-color: var(--accent);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234b4b4b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0;
}

.form-group-grow { flex: 1; }
.form-group-fixed { width: 180px; flex-shrink: 0; }

.form-hint {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

/* Alert */
.alert {
  padding: 0.65rem 0.875rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.alert-danger {
  background: #fde8ec;
  color: var(--danger);
}

/* Icon input row */
.icon-picker-wrapper {
  position: relative;
}

.icon-input-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-preview {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  color: var(--text-light);
}

/* Icon picker dropdown */
.icon-picker-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: var(--white);
  border: 1.5px solid #dde3ec;
  border-radius: var(--r-md);
  max-height: 220px;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.icon-picker-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: background 0.08s;
}

.icon-picker-item:hover,
.icon-picker-item.highlighted {
  background: var(--accent-light);
}

.icon-picker-icon {
  width: 22px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
  flex-shrink: 0;
}

.icon-picker-label {
  flex: 1;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-picker-class {
  font-size: 0.7rem;
  color: #a0a9b8;
  font-family: 'Source Code Pro', monospace;
  flex-shrink: 0;
}

/* ── Editor ─────────────────────────────────────────────────── */
.editor-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.editor-tab {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  transition: background 0.12s, color 0.12s;
}

.editor-tab:hover {
  background: var(--page-bg);
  color: var(--primary);
}

.editor-tab.active {
  background: var(--accent-light);
  color: var(--primary);
}

/* Toolbar */
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem 0.5rem;
  border: 1.5px solid #dde3ec;
  border-bottom: none;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--white);
}

.toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  color: var(--text-light);
  transition: background 0.12s, color 0.12s;
}

.toolbar-btn:hover {
  background: var(--accent-light);
  color: var(--primary);
}

.toolbar-sep {
  width: 1px;
  height: 18px;
  background: #dde3ec;
  margin: 0 0.25rem;
}

.editor-toolbar + .editor-textarea {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.editor-textarea {
  width: 100%;
  min-height: 340px;
  resize: vertical;
  padding: 0.875rem;
  border: 1.5px solid #dde3ec;
  border-radius: var(--r-md);
  font-family: 'Source Code Pro', monospace;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--primary);
  background: var(--page-bg);
  outline: none;
  transition: border-color 0.15s;
}

.editor-textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}

.editor-preview {
  min-height: 340px;
  border: 1.5px solid #dde3ec;
  border-radius: var(--r-md);
  padding: 0.875rem;
  overflow-y: auto;
}

/* ── Language selector ──────────────────────────────────────── */
.lang-select {
  padding: 0.35rem 2rem 0.35rem 0.65rem;
  border: 1.5px solid #dde3ec;
  border-radius: var(--r-full);
  background: var(--page-bg);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%234b4b4b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  transition: border-color 0.15s;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--accent);
}

/* ── Translation badge ──────────────────────────────────────── */
.translation-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.translation-badge-manual {
  background: #e0f0ff;
  color: #0066cc;
}

.translation-badge-auto {
  background: var(--accent-light);
  color: #007a2e;
}

.translation-badge-none {
  background: var(--page-bg);
  color: var(--text-light);
}

/* ── Utilities ──────────────────────────────────────────────── */
.d-flex   { display: flex; }
.gap-2    { gap: 0.5rem; }

/* ── Responsive: Mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar-toggle {
    display: flex;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.22s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.open {
    display: block;
  }

  .main {
    margin-left: 0;
    padding: 1.25rem 1rem;
  }

  .search-wrapper {
    max-width: none;
    margin: 0;
  }

  .logo-img {
    display: none;
  }

  .modal-card-lg {
    max-width: 100%;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    align-self: flex-end;
    max-height: 95vh;
  }

  .modal-card-sm {
    max-width: 100%;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    align-self: flex-end;
    max-height: 95vh;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .form-row {
    flex-direction: column;
  }

  .form-group-fixed {
    width: 100%;
  }
}

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

/* ── Floating support button ──────────────────────────────── */
.floating-support-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1000;
}

.floating-support-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.auth-buttons {
    line-height: 1.25;
}