:root {
  --ink: #1CADE4;
  --muted: #5C6E88;
  --line: #d7e2ee;
  --page: #f5f8fb;
  --surface: #ffffff;
  --primary: #4137A8;
  --primary-dark: #1CADE4;
  --accent: #00B050;
  --accent-soft: #e8f8f0;
  --accent-alt: #42BA97;
  --info: #27CED7;
  --purple: #7030A0;
  --warning: #5C6E88;
  --warning-soft: #fff7d1;
  --danger: #F5544A;
  --shadow: 0 10px 28px rgba(92, 110, 136, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Tajawal", Arial, sans-serif;
  font-size: 16px;
  background: linear-gradient(180deg, #fbfcfd 0%, var(--page) 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.login-view {
  min-height: calc(100vh - 52px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(100%, 430px);
  padding: 34px;
  text-align: right;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
}

.brand-mark svg {
  width: 32px;
  height: 32px;
}

.brand-mark.small {
  width: 44px;
  height: 44px;
  margin: 0;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.login-card h1 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1.35;
}

.login-description {
  margin: 10px 0 24px;
  color: var(--muted);
  line-height: 1.8;
}

.login-card label,
.field-group label {
  display: block;
  margin-bottom: 8px;
  color: #34495a;
  font-weight: 700;
}

.password-field,
.search-wrap,
.select-wrap {
  position: relative;
}

.password-field input,
.search-wrap input,
.select-wrap select {
  width: 100%;
  height: 50px;
  color: var(--ink);
  background: #fbfdfe;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.password-field input {
  padding: 0 14px 0 48px;
}

.password-field input:focus,
.search-wrap input:focus,
.select-wrap select:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.12);
}

.icon-button {
  position: absolute;
  top: 50%;
  left: 7px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  transform: translateY(-50%);
}

.icon-button:hover {
  color: var(--primary);
  background: #edf5f7;
}

.form-error {
  min-height: 22px;
  margin: 7px 2px 8px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 800;
  border-radius: 8px;
}

.primary-button {
  width: 100%;
  color: #fff;
  background: var(--primary);
  border: 0;
}

.primary-button:hover {
  background: var(--primary-dark);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.secondary-button {
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--line);
}

.secondary-button:hover {
  background: #edf5f7;
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(18px, calc((100% - 1180px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-brand p,
.topbar-brand h1 {
  margin: 0;
}

.topbar-brand p {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.topbar-brand h1 {
  color: var(--primary-dark);
  font-size: 20px;
}

.secondary-button.compact {
  min-height: 40px;
  padding: 0 14px;
}

.dashboard-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 22px auto 40px;
}

.summary-panel,
.controls-panel,
.empty-state,
.no-results,
.sample-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.summary-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 24px;
  border-top: 4px solid var(--primary);
  text-align: center;
}

.summary-panel h2 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 24px;
  line-height: 1.45;
}

.counter-pill {
  flex: 0 0 auto;
  padding: 9px 14px;
  color: var(--accent);
  font-weight: 800;
  background: var(--accent-soft);
  border: 1px solid #c3e7d8;
  border-radius: 8px;
}

.controls-panel {
  margin-top: 14px;
  padding: 18px;
}

.filters-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1fr) minmax(260px, 1.35fr);
  gap: 14px;
}

.select-wrap select {
  padding: 0 14px 0 40px;
  appearance: none;
}

.select-wrap > svg {
  position: absolute;
  top: 50%;
  left: 13px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-wrap input {
  padding: 0 42px 0 14px;
}

.search-wrap > svg {
  position: absolute;
  top: 50%;
  right: 13px;
  color: var(--muted);
  transform: translateY(-50%);
}

select:disabled {
  color: #9aa8b2;
  background: #f2f5f6;
  cursor: not-allowed;
}

.filters-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
}

.clear-filters-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  font-weight: 800;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.clear-filters-button:hover {
  color: var(--danger);
  background: #fff7f8;
}

.empty-state,
.no-results {
  margin-top: 16px;
  padding: 44px 20px;
  text-align: center;
  box-shadow: none;
}

.empty-state h3,
.no-results h3 {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 20px;
}

.empty-state p,
.no-results p {
  margin: 0;
  color: var(--muted);
}

.results-section {
  margin-top: 22px;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.results-meta {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.results-header h2 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 25px;
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sample-card {
  overflow: hidden;
}

.sample-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: #fbfdfe;
  border-bottom: 1px solid #edf2f5;
  border-top: 4px solid var(--accent);
}

.sample-index {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.sample-card h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.6;
}

.status-badge {
  flex: 0 0 auto;
  max-width: 150px;
  padding: 7px 10px;
  color: var(--warning);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  background: var(--warning-soft);
  border: 1px solid #f0d394;
  border-radius: 8px;
}

.sample-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 4px 18px 12px;
}

.detail-item {
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid #edf2f5;
}

.detail-item:nth-child(odd) {
  padding-left: 14px;
  border-left: 1px solid #edf2f5;
}

.detail-item:nth-child(even) {
  padding-right: 14px;
}

.detail-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-value {
  display: block;
  color: #253b4c;
  font-weight: 700;
  line-height: 1.65;
}

.wide-detail,
.coordinates-detail {
  grid-column: 1 / -1;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-left: 0 !important;
}

.coordinates-detail {
  position: relative;
  margin-top: 10px;
  padding: 13px 14px !important;
  border: 1px solid transparent !important;
  border-radius: 8px;
}

.coordinates-detail::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  bottom: 12px;
  width: 4px;
  border-radius: 8px 0 0 8px;
}

.map-detail {
  background: #edf9f3;
  border-color: #bfead2 !important;
}

.map-detail::before {
  background: var(--accent);
}

.statement-detail {
  background: #eef7fb;
  border-color: #c7e1ec !important;
}

.statement-detail::before {
  background: var(--info);
}

.map-detail .detail-label,
.statement-detail .detail-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 8px;
}

.map-detail .detail-label {
  color: var(--primary-dark);
  background: #dff4e9;
}

.statement-detail .detail-label {
  color: var(--primary-dark);
  background: #dff0f6;
}

.map-detail .action-link {
  color: var(--primary-dark);
  background: #ffffff;
  border-color: #b7e3ca;
}

.statement-detail .action-link {
  color: var(--primary-dark);
  background: #ffffff;
  border-color: #bddce8;
}

.map-detail .action-link:hover,
.statement-detail .action-link:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.ltr-value .detail-value {
  direction: ltr;
  text-align: right;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  background: #eef7f9;
  border: 1px solid #cbe2e8;
  border-radius: 8px;
}

button.action-link {
  font: inherit;
}

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

.contact-note {
  margin: 0 0 10px;
  color: #253b4c;
  font-weight: 700;
  line-height: 1.8;
  white-space: pre-line;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.load-more-button {
  min-width: 190px;
}

.load-more-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

footer {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 50%;
  bottom: 20px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 800;
  background: var(--primary-dark);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translate(50%, 18px);
  transition: opacity 0.22s, transform 0.22s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(50%, 0);
}

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

  .search-group {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .dashboard-shell {
    width: min(100% - 24px, 1180px);
    margin-top: 14px;
  }

  .summary-panel,
  .results-header {
    align-items: stretch;
    flex-direction: column;
  }

  .counter-pill {
    align-self: flex-start;
  }

  .samples-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .login-view {
    padding: 18px;
  }

  .login-card {
    padding: 24px;
  }

  .topbar {
    padding: 10px 12px;
  }

  .topbar-brand h1 {
    font-size: 16px;
  }

  .topbar-brand p {
    display: none;
  }

  .filters-grid {
    grid-template-columns: 1fr;
  }

  .search-group {
    grid-column: auto;
    grid-row: 1;
  }

  .password-field input,
  .search-wrap input,
  .select-wrap select {
    height: 54px;
  }

  .sample-card-header {
    flex-direction: column;
  }

  .status-badge {
    max-width: 100%;
  }

  .sample-details {
    grid-template-columns: 1fr;
    padding: 4px 16px 12px;
  }

  .detail-item:nth-child(odd),
  .detail-item:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .contact-actions .action-link {
    flex: 1 1 100%;
  }
}

/* Final responsive polish */
:root {
  --soft-shadow: 0 1px 2px rgba(15, 35, 45, 0.06), 0 14px 36px rgba(15, 35, 45, 0.08);
  --lift-shadow: 0 18px 44px rgba(15, 35, 45, 0.12);
}

body {
  background:
    linear-gradient(180deg, rgba(15, 76, 92, 0.06) 0, rgba(15, 76, 92, 0) 260px),
    linear-gradient(180deg, #fbfcfd 0%, var(--page) 100%);
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(27, 138, 107, 0.28);
  outline-offset: 2px;
}

.login-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(217, 227, 232, 0.9);
  box-shadow: var(--soft-shadow);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.brand-mark {
  background: linear-gradient(145deg, var(--primary), #177b72);
  box-shadow: 0 10px 24px rgba(15, 76, 92, 0.22);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(28, 53, 68, 0.06);
  backdrop-filter: blur(14px);
}

.dashboard-shell {
  margin-top: 18px;
}

.summary-panel,
.controls-panel,
.sample-card {
  box-shadow: var(--soft-shadow);
}

.summary-panel {
  align-items: center;
  min-height: 128px;
  padding: 24px;
  border-top: 0;
  border-right: 0;
  border-bottom: 4px solid var(--primary);
}

.summary-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.summary-panel h2 {
  max-width: 820px;
  font-size: 28px;
}

.counter-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding-inline: 16px;
}

.region-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.region-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  color: #315161;
  background: #f8fbfc;
  border: 1px solid #dbe8ed;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}

.region-stat:hover {
  background: #eef7f9;
  border-color: #c0dce4;
  transform: translateY(-1px);
}

.region-stat span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-stat strong {
  flex: 0 0 auto;
  min-width: 32px;
  padding: 3px 7px;
  color: var(--accent);
  text-align: center;
  background: var(--accent-soft);
  border-radius: 8px;
}

.controls-panel {
  position: static;
  top: auto;
  z-index: 15;
  border-color: rgba(217, 227, 232, 0.92);
}

.filters-grid {
  align-items: end;
}

.password-field input,
.search-wrap input,
.select-wrap select {
  min-height: 52px;
  border-color: #d2dfe6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.clear-filters-button,
.action-link,
.primary-button,
.secondary-button {
  transition: transform 0.18s, color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.clear-filters-button:hover,
.action-link:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.results-section {
  scroll-margin-top: 150px;
}

.results-header {
  padding: 0 2px;
}

.samples-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.sample-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.sample-card:hover {
  border-color: #c1dbe2;
  box-shadow: var(--lift-shadow);
  transform: translateY(-2px);
}

.sample-card-header {
  border-top: 0;
  border-right: 4px solid var(--accent);
  background:
    linear-gradient(180deg, rgba(248, 252, 253, 0.98), rgba(255, 255, 255, 0.98));
}

.sample-card h3 {
  font-size: 17px;
}

.status-badge {
  white-space: normal;
}

.sample-details {
  flex: 1;
}

.action-link {
  min-height: 40px;
  white-space: nowrap;
}

.load-more-button {
  box-shadow: var(--soft-shadow);
}

@media (min-width: 1220px) {
  .dashboard-shell {
    width: min(1280px, calc(100% - 48px));
  }

  .topbar {
    padding-right: max(24px, calc((100% - 1280px) / 2));
    padding-left: max(24px, calc((100% - 1280px) / 2));
  }
}

@media (max-width: 980px) {
  .summary-panel {
    flex-direction: column;
  }

  .controls-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    background: #f6f8f9;
  }

  .topbar {
    min-height: 64px;
  }

  .dashboard-shell {
    width: min(100% - 20px, 1180px);
    margin-bottom: 28px;
  }

  .summary-panel {
    min-height: auto;
    padding: 18px;
    border-bottom-width: 4px;
  }

  .summary-panel h2 {
    font-size: 21px;
    line-height: 1.55;
  }

  .region-stats {
    grid-template-columns: 1fr 1fr;
  }

  .controls-panel {
    padding: 14px;
  }

  .filters-actions {
    margin-top: 10px;
  }

  .samples-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sample-card:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .login-card {
    width: 100%;
    padding: 26px 20px 22px;
  }

  .login-card h1 {
    font-size: 24px;
  }

  .login-description {
    font-size: 15px;
  }

  .topbar {
    gap: 10px;
  }

  .secondary-button.compact {
    min-width: 44px;
    padding: 0 10px;
  }

  .summary-panel,
  .controls-panel,
  .sample-card,
  .empty-state,
  .no-results {
    border-radius: 8px;
  }

  .region-stats {
    grid-template-columns: 1fr;
  }

  .region-stat {
    min-height: 46px;
  }

  .clear-filters-button {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .sample-card-header {
    padding: 15px;
    border-right-width: 4px;
  }

  .sample-card h3 {
    font-size: 16px;
    line-height: 1.65;
  }

  .sample-details {
    padding: 2px 15px 10px;
  }

  .detail-item {
    padding: 12px 0;
  }

  .detail-value,
  .contact-note {
    font-size: 15px;
  }

  .action-link {
    min-height: 46px;
  }

  .toast {
    right: 12px;
    left: 12px;
    bottom: 14px;
    text-align: center;
    transform: translateY(18px);
  }

  .toast.show {
    transform: translateY(0);
  }
}

/* Region buttons replace the region dropdown */
.login-card label,
.field-group label,
.field-label {
  display: block;
  margin-bottom: 8px;
  color: #34495a;
  font-weight: 700;
}

.filters-grid {
  grid-template-columns: minmax(220px, 1fr) minmax(300px, 1.35fr);
}

.region-group {
  grid-column: 1 / -1;
}

.region-select-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.region-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.region-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 54px;
  padding: 10px 13px;
  color: #315161;
  text-align: right;
  background: #fbfdfe;
  border: 1px solid #d2dfe6;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.18s, color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.region-choice:hover {
  background: #eef7f9;
  border-color: #bcd8df;
  transform: translateY(-1px);
}

.region-choice.active {
  color: #fff;
  background: linear-gradient(145deg, var(--primary), #177b72);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(15, 76, 92, 0.16);
}

.region-choice span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-choice strong {
  flex: 0 0 auto;
  min-width: 34px;
  padding: 3px 8px;
  color: var(--accent);
  text-align: center;
  background: var(--accent-soft);
  border-radius: 8px;
}

.region-choice.active strong {
  color: var(--primary-dark);
  background: #d9fff4;
}

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

  .region-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .region-buttons {
    grid-template-columns: 1fr;
  }

  .region-choice {
    min-height: 48px;
  }
}

/* Identity color system */
body {
  background:
    linear-gradient(180deg, rgba(65, 55, 168, 0.07) 0, rgba(65, 55, 168, 0) 260px),
    linear-gradient(180deg, #fbfcfd 0%, var(--page) 100%);
}

.eyebrow,
.results-meta,
.sample-index {
  color: var(--accent);
}

.login-card::before {
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.brand-mark,
.primary-button,
.region-choice.active {
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
}

.primary-button:hover,
.action-link:hover,
.secondary-button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.topbar {
  border-bottom-color: rgba(92, 110, 136, 0.18);
}

.summary-panel {
  border-bottom-color: var(--primary);
}

.sample-card-header {
  border-right-color: var(--accent);
}

.status-badge {
  color: #5C6E88;
  background: #fff4bf;
  border-color: #FFC000;
}

.map-detail {
  background: rgba(0, 176, 80, 0.08);
  border-color: rgba(0, 176, 80, 0.28) !important;
}

.map-detail::before {
  background: var(--accent);
}

.map-detail .detail-label {
  color: #1CADE4;
  background: rgba(0, 176, 80, 0.13);
}

.map-detail .action-link {
  color: #1CADE4;
  border-color: rgba(0, 176, 80, 0.32);
}

.statement-detail {
  background: rgba(39, 206, 215, 0.1);
  border-color: rgba(39, 206, 215, 0.35) !important;
}

.statement-detail::before {
  background: var(--info);
}

.statement-detail .detail-label {
  color: #1CADE4;
  background: rgba(39, 206, 215, 0.16);
}

.statement-detail .action-link {
  color: #1CADE4;
  border-color: rgba(39, 206, 215, 0.42);
}

.action-link,
.secondary-button,
.clear-filters-button {
  color: var(--primary-dark);
  background: #ffffff;
  border-color: rgba(39, 206, 215, 0.34);
}

.clear-filters-button:hover {
  color: #ffffff;
  background: var(--danger);
  border-color: var(--danger);
}

.region-choice {
  color: var(--primary-dark);
  border-color: rgba(39, 206, 215, 0.28);
}

.region-choice:hover {
  background: rgba(39, 206, 215, 0.08);
  border-color: var(--info);
}

.region-choice strong,
.region-choice.active strong {
  color: var(--primary-dark);
  background: rgba(0, 176, 80, 0.14);
}

.region-choice.active {
  color: #ffffff;
}

.region-choice.active strong {
  background: #ffffff;
}

.password-field input:focus,
.search-wrap input:focus,
.select-wrap select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(65, 55, 168, 0.13);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline-color: rgba(65, 55, 168, 0.28);
}

.toast {
  background: var(--primary-dark);
}
