/* ============================================================
   GEOINFOWORLD
   Spatial Intelligence Tools v1
   ============================================================ */

/* ------------------------------------------------------------
   UNIVERSAL SEARCH
   ------------------------------------------------------------ */

.giw-universal-search {
  position: relative;

  flex: 1;

  max-width: 620px;
  min-width: 260px;
}


.giw-universal-search-input {
  width: 100%;
  height: 40px;

  padding:
    8px 42px
    8px 14px;

  outline: none;

  border:
    1px solid
    rgba(180,210,240,.13);

  border-radius: 11px;

  color: #eaf5fc;

  background:
    rgba(255,255,255,.035);

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.02);

  transition:
    .16s ease;
}


.giw-universal-search-input:focus {
  border-color:
    rgba(69,212,255,.40);

  background:
    rgba(69,212,255,.045);

  box-shadow:
    0 0 0 3px
    rgba(69,212,255,.065);
}


.giw-search-hint {
  position: absolute;

  right: 10px;
  top: 50%;

  transform:
    translateY(-50%);

  color: #61798e;

  font-size: .62rem;
}


.giw-search-results {
  position: absolute;

  top: calc(100% + 7px);
  left: 0;
  right: 0;

  z-index: 300;

  display: none;

  max-height: 430px;

  overflow-y: auto;

  padding: 6px;

  border:
    1px solid
    rgba(180,210,240,.14);

  border-radius: 12px;

  background:
    rgba(5,16,28,.97);

  backdrop-filter:
    blur(22px);

  box-shadow:
    0 28px 80px
    rgba(0,0,0,.43);
}


.giw-search-results.is-open {
  display: grid;

  gap: 3px;
}


.giw-search-result {
  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    auto;

  gap: 10px;

  align-items: center;

  padding: 9px 10px;

  cursor: pointer;

  border:
    1px solid transparent;

  border-radius: 8px;

  background:
    transparent;
}


.giw-search-result:hover {
  border-color:
    rgba(69,212,255,.13);

  background:
    rgba(69,212,255,.055);
}


.giw-search-result strong {
  display: block;

  overflow: hidden;

  color: #d9eaf6;

  font-size: .72rem;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.giw-search-result small {
  display: block;

  margin-top: 3px;

  color: #6f879c;

  font-size: .61rem;
}


.giw-search-kind {
  color: #5ddfff;

  font-size: .57rem;

  letter-spacing: .07em;

  text-transform: uppercase;
}


/* ------------------------------------------------------------
   SPATIAL RELATIONS
   ------------------------------------------------------------ */

.giw-relation-panel {
  display: grid;

  gap: 10px;
}


.giw-relation-field {
  display: grid;

  gap: 5px;
}


.giw-relation-field label {
  color: #71889d;

  font-size: .61rem;

  font-weight: 650;

  letter-spacing: .07em;

  text-transform: uppercase;
}


.giw-relation-field select,
.giw-relation-field input {
  width: 100%;

  min-height: 36px;

  padding: 7px 9px;

  outline: none;

  border:
    1px solid
    rgba(180,210,240,.11);

  border-radius: 8px;

  color: #d3e4ef;

  background:
    rgba(255,255,255,.025);
}


.giw-relation-actions {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 6px;
}


.giw-relation-button {
  min-height: 35px;

  cursor: pointer;

  border:
    1px solid
    rgba(180,210,240,.11);

  border-radius: 8px;

  color: #9eb5c7;

  background:
    rgba(255,255,255,.022);
}


.giw-relation-button:hover {
  color: #e7f8ff;

  border-color:
    rgba(69,212,255,.26);

  background:
    rgba(69,212,255,.055);
}


/* ------------------------------------------------------------
   ROUTE PLANNER
   ------------------------------------------------------------ */

.giw-route-panel {
  display: grid;

  gap: 9px;
}


.giw-route-point {
  display: grid;

  grid-template-columns:
    27px
    minmax(0,1fr);

  gap: 8px;

  align-items: center;

  padding: 8px;

  border:
    1px solid
    rgba(180,210,240,.09);

  border-radius: 9px;

  background:
    rgba(255,255,255,.017);
}


.giw-route-point-symbol {
  width: 27px;
  height: 27px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: #07141e;

  background: #58dfff;

  font-size: .68rem;
  font-weight: 750;
}


.giw-route-point[data-point="B"]
.giw-route-point-symbol {
  background: #e8c46a;
}


.giw-route-point-value {
  color: #a9bdcc;

  font-family:
    ui-monospace,
    Consolas,
    monospace;

  font-size: .65rem;
}


.giw-route-summary {
  padding: 10px;

  border:
    1px solid
    rgba(69,212,255,.13);

  border-radius: 9px;

  color: #a8c6d8;

  background:
    rgba(69,212,255,.035);

  font-size: .67rem;

  line-height: 1.5;
}


.giw-route-summary strong {
  color: #c9f3ff;
}


/* ------------------------------------------------------------
   MAP MARKERS
   ------------------------------------------------------------ */

.giw-route-marker {
  width: 25px;
  height: 25px;

  display: grid;
  place-items: center;

  border:
    2px solid #ffffff;

  border-radius: 50%;

  color: #07141f;

  background: #58dfff;

  box-shadow:
    0 4px 18px
    rgba(0,0,0,.30);

  font-size: 11px;
  font-weight: 800;
}


.giw-route-marker.is-b {
  background: #e8c46a;
}


/* ------------------------------------------------------------
   QUICK COMMAND
   ------------------------------------------------------------ */

.giw-quick-tool {
  border-left:
    1px solid
    rgba(190,220,240,.09);

  margin-left: 3px;
  padding-left: 7px;
}
