/**
 * @file        sg-maps.css
 * @description SynthGlobe scratch map T-12 after the Stitch mockup: head actions, empty state, country panel head and the backfill section (mobile first, light and dark through sg.css variables)
 *
 * @author      Thomas Dobler - SYNTHETIXMIND LTD
 * @company     SYNTHETIXMIND LTD, Paphos, Cyprus
 * @url         https://synthetixmind.com
 *
 * @uid         812e0678-58d2-48cb-9a76-384f0d2482d6
 * @version     0.0.0.1
 * @created     2026-12-02
 * @updated     2026-12-02
 *
 * @copyright   (c) 2026 by SYNTHETIXMIND LTD
 * @license     Proprietary — All rights reserved
 */

.sg-map-head__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.sg-map-head__territories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sg-map-head__territories .sg-check {
  margin: 0;
}
.sg-map-head__actions .sg-icon {
  width: 18px;
  height: 18px;
  vertical-align: -4px;
}
.sg-map-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 24px 16px;
  margin-bottom: 16px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-xl);
}
.sg-map-empty p {
  margin: 0;
  max-width: 32rem;
}
.sg-map-empty .sg-icon {
  width: 40px;
  height: 40px;
  color: var(--ink-muted);
}
.sg-country-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.sg-country-panel__head .sg-eyebrow {
  margin: 0;
}
.sg-backfill-panel {
  margin-top: 16px;
  scroll-margin-top: 80px;
}
.sg-backfill__chosen {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sg-backfill__chosen li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.sg-backfill__chosen form {
  margin: 0;
}
