.app {
  font-family: "Inter";

  box-sizing: border-box;

  --gray-50: #f8fafc;
  --gray-100: #f0f5f9;
  --gray-200: #e1e8f0;
  --gray-300: #cad5e0;
  --gray-400: #91a4b7;
  --gray-500: #61758a;
  --gray-600: #445668;
  --gray-700: #304254;
  --gray-800: #1c2a3a;

  --blue-100: #ecf0ff;

  --red--300: #F1A3A6;
}

.container {
  border: solid 1px var(--gray-300);
  border-bottom: solid 1px var(--gray-200);
  border-radius: 0.5rem;
  background-color: rgba(248, 250, 252, 0.3);
  padding-bottom: 12px;
}

.row {
  display: flex;
  gap: 24px;
}

.root {
  display: flex;
  background-color: var(--blue-100);
  padding: 8px 16px;
  margin-bottom: 12px;
  border-radius: 0.5rem 0.5rem 0 0;
  border-bottom: solid 1px var(--gray-200);
  justify-content: space-around;
  gap: 12px;
}

.input {
  appearance: none;
  padding: 8px 12px;
  background-color: var(--gray-50);
  font-size: 0.875rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  color: var(--gray-600);
}

input[type="number"] {
  appearance: textfield;
}

.input::placeholder {
  color: var(--gray-400);
}

.input:focus {
  outline: none;
  border: 1px solid var(--gray-300);
}

.input-label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.875rem;
  color: var(--gray-800);
  font-weight: 500;
}

.required {
  border: 1px solid var(--red--300);
}

.input:disabled {
  opacity: 50%;
  border: 1px solid var(--gray-300);
}

.root .input-label {
  color: var(--gray-600);
  padding-right: 6px;
  font-size: 0.875rem;
  text-transform: uppercase;
  padding-top: 2px;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  flex-basis: 25%;
  max-width: 162px;
}

.field:first-child {
  margin-left: 4px;
  flex-basis: 34.5%;
  max-width: 300px;
}

.root-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-grow: 1;
  margin-bottom: 0;
  max-width: 300px;
}

.inline-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  border: none;
  width: 298px;
}

.inline-field .input-label {
  color: var(--gray-700);
  font-weight: 400;
  padding-right: 8px;
}

.inline-field input {
  border-bottom: 1px solid var(--gray-200);
  border-radius: 0;
}

.inline-field .required {
  border-bottom: 1px solid var(--red--300);
  border-radius: 0;
}

.inline-field:focus {
  outline: none;
  border: none;
  border-bottom: 1px solid var(--gray-500);
}

.button {
  padding: 0.5rem 1.25rem;
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: transparent;
  margin-right: 18px;
  margin-bottom: 6px;
  background-color: var(--gray-100);
}

.button:hover {
  cursor: pointer;
  background-color: var(--gray-300);
}

.button:disabled {
  opacity: 50%;
  pointer-events: none;
}

.button--sm {
  margin: 0;
  padding: 5px 10px;
  background: transparent;
  position: relative;
  left: 10px;
  bottom: 6px;
}

.button--sm:hover {
  background: transparent;
}

.button--dashed {
  background: transparent;
  border: 1px dashed var(--gray-500);
}

.button--dashed:hover {
  background-color: var(--gray-100);
}

.info-box {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 0.5rem;
  white-space: pre-wrap;
  font-weight: 500;
  font-size: 0.875rem;
  background-color: var(--gray-100);
  color: var(--gray-500);
}

.info-box p {
  margin: 0;
  padding: 1em 0 0.3em;
}

.info-box p:first-child {
  padding-top: 0;
}

.info-box span {
  color: var(--gray-600);
  padding-left: 0.5em;
}

.hidden {
  display: none;
}

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01Ljk5OTg5IDQuOTc2NzFMMTAuMTI0OSAwLjg1MTcwOEwxMS4zMDMyIDIuMDMwMDRMNS45OTk4OSA3LjMzMzM3TDAuNjk2NTU1IDIuMDMwMDRMMS44NzQ4OSAwLjg1MTcwOEw1Ljk5OTg5IDQuOTc2NzFaIiBmaWxsPSIjNjE3NThBIi8+Cjwvc3ZnPgo=");
  background-repeat: no-repeat;
  background-position: center right 10px;
  background-size: 10px;
  padding-right: 28px;
}

.unavailable-option {
  color: rgba(0, 0, 0, 0.5);
}

.unavailable {
  color: rgba(0, 0, 0, 0.5);
}

select option {
  color: black;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.accordion-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 0.875rem;
  padding: 0;
  padding-right: 0.25rem;
  padding-top: 0.25rem;
  width: auto;
  flex-grow: 1;
  color: var(--gray-700);
  margin-bottom: 0px;
}

.button-svg {
  transition-property: all;
  transition-duration: 200ms;
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gray-600);
}

.rotate-180 {
  transform: rotate(180deg);
}

.rotate-0 {
  transform: rotate(0deg);
}

.wrapper {
  border-bottom: 1px solid var(--gray-200);
  margin-left: 14px;
  margin-right: 14px;
  margin-bottom: 12px;
  padding-top: 6px;
}

.wrapper:last-child {
  border: none;
  margin-bottom: 0px;
}

.wrapper--closed {
  padding-bottom: 12px;
  margin-top: 10px;
}

.source-wrapper:last-child {
  border-bottom: 1px solid var(--gray-300);
}

.add-layer {
  display: flex;
  justify-content: flex-end;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--gray-400);
}

input[type=range]::-moz-range-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--gray-400);
}

.range-value {
  position: relative;
  display: block;
  text-align: left;
  margin-bottom: 2px;
  font-size: 0.875rem;
  color: var(--gray-800);
  font-weight: 500;
}

.range {
  height: 15px;
  padding: 0;
  appearance: none;
  outline: none;
  border-radius: 20px;
  margin-top: 5px;
  cursor: pointer;
}

.root .range {
  margin-top: 8px;
}

.root .range .input-label {
  padding-top: 6px;
}

.layers {
  padding-top: 0px;
}

.zoom-value {
  color: var(--gray-600);
  padding-left: 6px;
  font-size: 0.875rem;
  margin-top: 10px;
  width: 15px;
}

.zoom-wrapper {
  display: flex;
}

.group {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.group-fields {
  display: flex;
}

.group-label {
  margin-bottom: 2px;
  font-size: 0.875rem;
  color: var(--gray-800);
  font-weight: 500;
}

.input-color {
  padding: 0;
  margin: 0;
  height: 35px;
  width: 54px;
  border: none;
  cursor: pointer;
}

.field.input-color:first-child {
  margin-left: 0;
  flex-basis: auto;
}

.input-color--xl {
  width: 100%;
}

div.input-color--xl {
  height: 53px;
}

.input-color:focus {
  outline: none;
  border: none;
}

input[type="color"] {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
  padding: 0;
}

::-webkit-color-swatch{
  border: 0;
  border-radius: 0px;
}

::-moz-color-swatch,
::-moz-focus-inner{
  border: 0;
}

.input-color:first-child ::-webkit-color-swatch {
  border-radius: 0.5rem 0 0 0.5rem;
}

.input-color:last-child ::-webkit-color-swatch {
  border-radius: 0 0.5rem 0.5rem 0;
}

.input-color:first-child ::-moz-color-swatch {
  border-radius: 0.5rem 0 0 0.5rem;
}

.input-color:last-child ::-moz-color-swatch {
  border-radius: 0 0.5rem 0.5rem 0;
}

.input-color--xl ::-webkit-color-swatch {
  border-radius: 0.5rem;
}

.input-color--xl ::-moz-color-swatch {
  border-radius: 0.5rem;
}
