/* GEO Source Intelligence v8 -------------------------------------- */

body.geo-source-search-open {
  overflow: hidden;
}

.geo-source-workload {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.geo-source-workload > div {
  min-width: 0;
  padding: 12px;
  background: #f8fafb;
  border: 1px solid #dfe8eb;
  border-radius: 10px;
}

.geo-source-workload span,
.geo-source-workload strong {
  display: block;
}

.geo-source-workload span {
  color: #7c9098;
  font: 550 .58rem "Work Sans", sans-serif;
}

.geo-source-workload strong {
  margin-top: 4px;
  color: #294653;
  font: 700 .72rem/1.35 "Work Sans", sans-serif;
  overflow-wrap: anywhere;
}

.geo-source-workload strong.is-current {
  color: #278053;
}

.geo-source-workload strong.is-stale {
  color: #a2670c;
}

.geo-source-cost-note {
  margin: 10px 0 0 !important;
  padding: 10px 12px;
  color: #796547 !important;
  background: #fff8eb;
  border: 1px solid #f0dfbf;
  border-radius: 8px;
  font-size: .64rem !important;
}

.geo-source-history {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e0e8eb;
}

.geo-source-history-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.geo-source-history-heading strong {
  color: #31515f;
  font: 700 .72rem "Work Sans", sans-serif;
}

.geo-source-history-heading span {
  color: #88979d;
  font: 500 .58rem "Work Sans", sans-serif;
}

.geo-source-history-row {
  display: grid;
  grid-template-columns: minmax(145px, 1.5fr) repeat(5, minmax(75px, .7fr));
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  background: #fafcfd;
  border: 1px solid #e2e9ec;
  border-left: 4px solid #8da2ab;
  border-radius: 9px;
}

.geo-source-history-row + .geo-source-history-row {
  margin-top: 7px;
}

.geo-source-history-row.is-completed {
  border-left-color: #35a66d;
}

.geo-source-history-row.is-failed {
  border-left-color: #d86048;
}

.geo-source-history-row.is-running,
.geo-source-history-row.is-queued {
  border-left-color: #04a0dd;
}

.geo-source-history-row.is-cancelled {
  border-left-color: #8b9195;
}

.geo-source-history-row > div span,
.geo-source-history-row > div strong {
  display: block;
}

.geo-source-history-row > div span {
  color: #87979d;
  font: 500 .54rem "Work Sans", sans-serif;
}

.geo-source-history-row > div strong {
  margin-top: 2px;
  color: #36535f;
  font: 650 .62rem "Work Sans", sans-serif;
}

.geo-source-history-row > div:first-child strong {
  margin-top: 0;
  font-size: .66rem;
}

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

.geo-source-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 30, 49, .76);
  backdrop-filter: blur(8px);
}

.geo-source-overlay-card {
  width: min(520px, 100%);
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.geo-source-overlay-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: #fff;
  background: linear-gradient(135deg, #032e4d, #04a0dd);
  border-radius: 15px;
  font: 700 1.2rem "Barlow", sans-serif;
}

.geo-source-overlay-step {
  color: #0578a9;
  font: 700 .66rem "Work Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.geo-source-overlay-card h3 {
  margin: 7px 0 0;
  color: #032e4d;
  font: 650 1.25rem "Barlow", sans-serif;
}

.geo-source-overlay-card > p {
  margin: 14px 0 0;
  color: #637b85;
  font: 400 .76rem/1.55 "Work Sans", sans-serif;
}

.geo-source-step-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 18px;
}

.geo-source-step-bar span {
  height: 7px;
  background: #dfe8eb;
  border-radius: 999px;
}

.geo-source-overlay-note {
  margin-top: 17px;
  padding: 12px;
  color: #5e7480;
  background: #f4f8f9;
  border-radius: 9px;
  font: 500 .65rem/1.5 "Work Sans", sans-serif;
}

.geo-source-overlay-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

@media screen and (max-width: 900px) {
  .geo-source-workload {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .geo-source-history-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .geo-source-history-row > div:first-child {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 600px) {
  .geo-source-workload {
    grid-template-columns: 1fr;
  }

  .geo-source-history-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .geo-source-overlay-card {
    padding: 23px 18px;
  }

  .geo-source-overlay-actions {
    flex-direction: column;
  }

  .geo-source-overlay-actions .button {
    width: 100%;
  }
}

.geo-bulk-source-card {
  margin-top: 22px;
}

.geo-bulk-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.geo-bulk-source-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: #fafcfd;
  border: 1px solid #e0e8eb;
  border-radius: 9px;
  cursor: pointer;
}

.geo-bulk-source-row input {
  margin-top: 3px;
}

.geo-bulk-source-row span,
.geo-bulk-source-row strong,
.geo-bulk-source-row small {
  display: block;
}

.geo-bulk-source-row span {
  min-width: 0;
}

.geo-bulk-source-row strong {
  color: #31505e;
  font: 650 .68rem/1.4 "Work Sans", sans-serif;
}

.geo-bulk-source-row small {
  margin-top: 3px;
  color: #819198;
  font: 500 .58rem "Work Sans", sans-serif;
}

@media screen and (max-width: 700px) {
  .geo-bulk-source-list {
    grid-template-columns: 1fr;
  }
}
