.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.page-shell {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 1rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.page-shell--results {
  justify-content: flex-start;
  padding-top: 5rem;
}

.search-panel {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
}

.search-panel--results {
  margin-top: 0;
  margin-bottom: auto;
  align-items: stretch;
}



.brand {
  text-align: center;
  font-size: clamp(2.6rem, 9vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.1rem;
}

.search-form {
  width: min(640px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin: 0 auto;
}

.search-input-wrapper {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: box-shadow 160ms ease, border-color 160ms ease;
  display: flex;
  align-items: center;
}

.search-input-wrapper:focus-within {
  border-color: var(--border-strong);
  box-shadow: 0 1px 10px rgba(32, 33, 36, 0.22);
}

.search-input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: clamp(1rem, 2vw, 1.15rem);
  padding: 0.1rem 0;
}

.search-input::placeholder {
  color: #80868b;
}

.search-actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.search-button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #f8f9fa;
  color: #3c4043;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1;
  min-height: 36px;
  padding: 0 1.1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.search-button:hover {
  background: #f1f3f4;
  border-color: #dadce0;
}

.search-button:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.results-region {
  width: min(760px, 100%);
  justify-self: stretch;
}

.results-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1rem;
}

.result-card {
  padding: 0 0 1.1rem;
  border-bottom: 1px solid #eceff1;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.result-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
}

.result-meta {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.result-description {
  margin: 0 0 0.6rem;
  line-height: 1.5;
  color: #3c4043;
}

.result-details {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.result-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
}

.result-label {
  min-width: 3.2rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.result-link {
  color: var(--accent);
  text-decoration: none;
  word-break: break-word;
}

.result-link:hover {
  text-decoration: underline;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.results-summary {
  padding: 0.25rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: left;
}

/* Header navigation */
.top-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  z-index: 100;
}

.brand-link {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.nav-link:hover {
  border-color: var(--border-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-greeting {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted, #64748b);
  margin-right: 0.25rem;
}

.logout-btn {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.logout-btn:hover {
  border-color: var(--border-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Form Panel & Inputs */
.form-panel {
  width: min(560px, 100%);
  margin: 3rem auto 2rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text);
}

.register-form,
.company-form,
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.submit-button {
  appearance: none;
  margin-top: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, transform 100ms ease;
}

.submit-button:hover {
  opacity: 0.92;
}

.submit-button:active {
  transform: scale(0.99);
}

/* Alerts */
.alert {
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.alert-success {
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.alert-error {
  background-color: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}

.hidden {
  display: none !important;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* Admin Dashboard Styles */
.admin-page-shell {
  min-height: 100vh;
  padding: 6rem 1.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.admin-badge {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  vertical-align: middle;
  font-weight: 600;
  letter-spacing: normal;
  margin-left: 0.3rem;
}

.admin-title-bar {
  margin-bottom: 1.8rem;
  text-align: left;
}

.admin-title-bar h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--text);
}

.admin-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.admin-table-container {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table tbody tr {
  transition: background-color 140ms ease;
}

.admin-table tbody tr:hover {
  background-color: #f8f9fa;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.table-link {
  color: var(--accent);
  text-decoration: none;
}

.table-link:hover {
  text-decoration: underline;
}

.muted-text {
  color: var(--muted);
  font-style: italic;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.badge-verified {
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.badge-pending {
  background-color: #fef7e0;
  color: #b06000;
  border: 1px solid #feefc3;
}

.actions-cell {
  white-space: nowrap;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.btn-approve {
  background-color: #137333;
  color: #ffffff;
}

.btn-approve:hover {
  background-color: #0d5a27;
}

.btn-delete {
  background-color: #ffffff;
  color: #c5221f;
  border-color: #fad2cf;
}

.btn-delete:hover {
  background-color: #fce8e6;
  border-color: #ea4335;
}

.badge-blocked {
  background-color: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}

.btn-block {
  background-color: #ffffff;
  color: #d93025;
  border-color: #fce8e6;
}

.btn-block:hover {
  background-color: #fce8e6;
  border-color: #ea4335;
}

.btn-unblock {
  background-color: #fef7e0;
  color: #b06000;
  border-color: #feefc3;
}

.btn-unblock:hover {
  background-color: #feefc3;
}

.btn-edit {
  background-color: #ffffff;
  color: var(--accent);
  border-color: #d2e3fc;
}

.btn-edit:hover {
  background-color: #e8f0fe;
}

.btn-cancel {
  background-color: #f1f3f4;
  color: #3c4043;
  border-color: #dadce0;
}

.btn-cancel:hover {
  background-color: #e8eaed;
}

/* Metric Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.metric-card--warning {
  border-left: 4px solid #f9ab00;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.metric-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

/* Toolbar & Filters */
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.admin-search-wrapper {
  max-width: 480px;
  margin: 0;
}

.filter-tabs {
  display: flex;
  gap: 0.4rem;
  background: #f1f3f4;
  padding: 0.25rem;
  border-radius: 8px;
}

.filter-tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.filter-tab:hover {
  color: var(--text);
}

.filter-tab.active {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Inline Edit Row */
.edit-row td {
  background-color: #f8f9fa;
  padding: 1.2rem !important;
}

.edit-form-inline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edit-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.edit-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
}

.edit-field.full-width {
  grid-column: 1 / -1;
}

.edit-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.edit-input {
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  background: #ffffff;
}

.edit-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}

/* Pagination Bar */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.pagination-btn {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.pagination-btn:hover:not(.disabled) {
  border-color: var(--border-strong);
  background-color: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.pagination-btn.disabled,
.pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.pagination-info {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* Autocomplete Dropdown */
.autocomplete-container {
  position: relative;
}

#city-suggestions,
.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 220px;
  overflow-y: auto;
  z-index: 1000;
}

.suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #1f2937;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 140ms ease, color 140ms ease;
  text-align: left;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active,
.suggestion-item.highlighted {
  background-color: #f1f5f9;
  color: var(--accent);
}

/* Tag Selector Badges & Dropdown */
.selected-tags-container,
.tag-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tag-dropdown {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  z-index: 50;
  width: 100%;
  display: none;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  border-radius: 9999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.tag-badge .remove-tag {
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 1rem;
  line-height: 1;
  color: inherit;
  opacity: 0.7;
  transition: opacity 140ms ease;
  padding: 0;
  margin-left: 2px;
}

.tag-badge .remove-tag:hover {
  opacity: 1;
}

.tag-suggestions-list {
  display: flex;
  flex-direction: column;
}

.tag-suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #1f2937;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 140ms ease, color 140ms ease;
  text-align: left;
}

.tag-suggestion-item:last-child {
  border-bottom: none;
}

.tag-suggestion-item.highlighted,
.tag-suggestion-item:hover {
  background-color: #f1f5f9;
  color: #0284c7;
  cursor: pointer;
}

.tag-suggestions-empty {
  padding: 10px 12px;
  font-size: 0.85rem;
  color: #6b7280;
  font-style: italic;
}

/* ==========================================================================
   SQL Performance Dashboard Styles
   ========================================================================== */

.admin-title-bar--split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.metrics-grid--3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.metric-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.btn--danger {
  background-color: #ef4444;
  color: #ffffff;
  border: 1px solid #dc2626;
}

.btn--danger:hover {
  background-color: #dc2626;
}

.perf-table-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.perf-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background-color: #f8fafc;
}

.perf-section-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.perf-badge-counter {
  font-size: 0.82rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  background-color: #e2e8f0;
  color: #475569;
  font-weight: 500;
}

.sql-cell {
  max-width: 450px;
  overflow-x: auto;
}

.sql-code {
  margin: 0;
  padding: 0.5rem 0.75rem;
  background-color: #0f172a;
  color: #38bdf8;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.82rem;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 120px;
  overflow-y: auto;
}

.timestamp-cell {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

.perf-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.perf-badge--warning {
  background-color: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.perf-badge--danger {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.perf-badge--success {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.perf-badge--error {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.empty-perf-state {
  text-align: center;
  padding: 3rem 1.5rem !important;
}

.empty-state-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.empty-icon {
  font-size: 2rem;
}

/* Email Verification & Admin Extra Styles */
.badge-unverified {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.metric-card--info {
  border-left: 4px solid #0284c7;
}

.metric-card--info .metric-value {
  color: #0284c7;
}

.verification-panel {
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
  padding: 2.5rem 2rem;
}

.verification-status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.verification-status-icon--success {
  background-color: #dcfce7;
  color: #15803d;
  border: 2px solid #86efac;
}

.verification-status-icon--error {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 2px solid #fca5a5;
}

.verification-text {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.verification-subtext {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.verification-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.verification-btn {
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 1.5rem;
}

.btn-secondary {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.btn-secondary:hover {
  background-color: #e2e8f0;
}

/* Pagination Styles */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  flex-wrap: wrap;
  gap: 1rem;
}

.pagination-info {
  font-size: 0.88rem;
  color: var(--muted);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pagination-btn {
  appearance: none;
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #f1f3f4;
  border-color: var(--accent);
  color: var(--accent);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8f9fa;
  border-color: var(--border);
  color: var(--muted);
}

.pagination-current {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  padding: 0 0.25rem;
}

/* Checkbox & Legal Terms Styles */
.checkbox-group {
  flex-direction: row;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  cursor: pointer;
  accent-color: var(--accent);
}

.legal-link {
  color: var(--accent);
  text-decoration: underline;
}

.legal-link:hover {
  text-decoration: none;
}

/* Terms Page Styles */
.terms-container {
  width: min(720px, 100%);
  margin: 3rem auto 2rem;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.terms-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
  text-align: left;
}

.terms-section {
  margin-bottom: 2rem;
  text-align: left;
}

.terms-section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.terms-section p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

/* Static Google-Style Footer */
.app-footer {
  background-color: var(--footer-bg, #f8f9fa);
  border-top: 1px solid var(--footer-border, #dadce0);
  padding: 0.9rem 1.5rem;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--footer-text, #70757a);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 150ms ease;
}

.footer-link:hover {
  color: var(--text, #202124);
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--footer-text, #70757a);
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.6rem;
  }

  .footer-nav {
    justify-content: center;
    gap: 1rem;
  }
}











