#tradein-calculator {
  color: var(--e-global-color-accent);
  box-shadow: 4px 4px 18px 0px rgba(0, 0, 0, 0.4);
  box-shadow: -4px -2px 16px 0px rgba(195, 200, 205, 0.0509803922);
  background: linear-gradient(126.42deg, #2D2B2B -0.25%, #3A3838 31.98%, #646261 91.45%, #898682 106.46%);
  border-radius: 1em;
  padding: 2em 1em 1em;
}
#tradein-calculator .calculator-controls {
  transition: opacity 1s;
  display: flex;
  padding-bottom: 1em;
}
#tradein-calculator .calculator-controls.ready {
  opacity: 1 !important;
}
#tradein-calculator .calculator-controls .separator {
  flex: 0 0 2px;
  max-width: 2px;
  background: var(--e-global-color-f3f1cfc, #F3F1CF);
}
#tradein-calculator .calculator-controls .part {
  flex: 0 0 calc(50% - 1px);
  max-width: calc(50% - 1px);
  padding: 1em 2em;
  display: flex;
  flex-direction: column;
}
#tradein-calculator .calculator-controls .part-header {
  font-size: 24px;
  font-weight: 800;
}
#tradein-calculator .calculator-controls .controls > div {
  margin-top: 2em;
}
#tradein-calculator .acceptance-devices,
#tradein-calculator .trade-devices {
  margin-top: 1em;
}
#tradein-calculator .acceptance-devices .devices-title,
#tradein-calculator .trade-devices .devices-title {
  font-weight: 700;
  margin-bottom: 0.5em;
}
#tradein-calculator .acceptance-devices .devices-list,
#tradein-calculator .trade-devices .devices-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
#tradein-calculator .acceptance-devices .device-item,
#tradein-calculator .trade-devices .device-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.5em;
}
#tradein-calculator .acceptance-devices .device-title,
#tradein-calculator .trade-devices .device-title {
  flex: 1 1 auto;
}
#tradein-calculator .acceptance-devices .device-price,
#tradein-calculator .trade-devices .device-price {
  font-weight: 700;
  white-space: nowrap;
}
#tradein-calculator .acceptance-devices .remove-device,
#tradein-calculator .trade-devices .remove-device {
  border: none;
  background: transparent;
  color: #ED1D23;
  cursor: pointer;
  padding: 0;
}
#tradein-calculator .add-acceptance-device {
  margin-top: 1em;
  align-self: flex-start;
}
#tradein-calculator .open-acceptance-popup {
  margin-top: 1em;
  align-self: flex-start;
}
#tradein-calculator .open-trade-popup {
  margin-top: 1em;
  align-self: flex-start;
}
#tradein-calculator .add-trade-device {
  margin-top: 1em;
  align-self: flex-start;
}
#tradein-calculator .acceptance-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
}
#tradein-calculator .acceptance-popup-overlay.hidden {
  display: none;
}
#tradein-calculator .trade-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
}
#tradein-calculator .trade-popup-overlay.hidden {
  display: none;
}
#tradein-calculator .acceptance-popup {
  width: 100%;
  max-width: 560px;
  border-radius: 1em;
  background: #F4F4F4;
  box-shadow: 4px 4px 18px 0px rgba(0, 0, 0, 0.4), -4px -2px 16px 0px rgba(195, 200, 205, 0.0509803922);
  padding: 1.5em;
  position: relative;
}
#tradein-calculator .trade-popup {
  width: 100%;
  max-width: 560px;
  border-radius: 1em;
  background: #F4F4F4;
  box-shadow: 4px 4px 18px 0px rgba(0, 0, 0, 0.4), -4px -2px 16px 0px rgba(195, 200, 205, 0.0509803922);
  padding: 1.5em;
  position: relative;
}
#tradein-calculator .acceptance-popup .close-popup {
  position: absolute;
  top: 0.75em;
  right: 0.75em;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1.1em;
  line-height: 1;
}
#tradein-calculator .trade-popup .close-popup {
  position: absolute;
  top: 0.75em;
  right: 0.75em;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1.1em;
  line-height: 1;
}
#tradein-calculator .tradein-calculator-popup .choice-control {
  margin-bottom: 15px;
}
#tradein-calculator .tradein-calculator-popup .choice-control .prompt{
  margin-bottom: 5px;
}
#tradein-calculator .acceptance-popup .controls > div:first-child {
  margin-top: 0;
}
#tradein-calculator .trade-popup .controls > div:first-child {
  margin-top: 0;
}
#tradein-calculator .acceptance-popup .popup-header,
#tradein-calculator .trade-popup .popup-header {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 0.75em;
  padding-right: 1.5em;
}
#tradein-calculator .calculator-controls .controls .prompt {
  font-weight: 300;
}
#tradein-calculator .calculator-controls .controls .properties {
  margin-bottom: 1.5em;
}
#tradein-calculator .select {
  position: relative;
}
#tradein-calculator .select .tic-select-control {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(0, 104, 46, 0.9);
  border-radius: 16px;
  background: transparent;
  color: inherit;
  font-weight: 800;
  padding: 0 44px 0 14px;
}
#tradein-calculator .select .select2-container,
#tradein-calculator .select .select2-container--default {
  width: 100% !important;
}
#tradein-calculator .select .select2-container .select2-selection--single {
  min-height: 52px;
  border: 1px solid rgba(0, 104, 46, 0.9);
  border-radius: 16px;
  background: transparent;
  display: flex;
  align-items: center;
}
#tradein-calculator .select .select2-container .select2-selection__rendered {
  color: inherit;
  font-weight: 800;
  line-height: 1.2;
  padding-left: 14px;
  padding-right: 42px;
}
#tradein-calculator .select .select2-container .select2-selection__arrow {
  height: 100%;
  right: 10px;
}
#tradein-calculator .select .select2-container.select2-container--disabled .select2-selection--single {
  opacity: 0.55;
}
#tradein-calculator .select2-dropdown {
  border: 1px solid rgba(0, 104, 46, 0.9);
  border-radius: 12px;
  overflow: hidden;
}
#tradein-calculator .select2-results__option {
  color: #004D1A;
  font-weight: 600;
}

#tradein-calculator .select2-results__option {
  padding: 10px 6px;
  min-height: 52px;
  display: flex;
  align-items: center;
}
#tradein-calculator .select2-container--default .select2-search--dropdown .select2-search__field {
  padding: 10px 6px;
}
#tradein-calculator .select2-container--default .select2-results__option--highlighted[aria-selected],
#tradein-calculator .select2-container--default .select2-results__option--highlighted[data-selected] {
  background: rgba(0, 77, 26, 0.3);
}
#tradein-calculator .select.updating .current {
  opacity: 0;
}
#tradein-calculator .select.updating::before {
  font-size: 24px;
  right: 8px;
  left: auto;
}
#tradein-calculator .select-wrapper {
  position: relative;
  padding: 0.5em 0.5em 0.5em 0;
}
#tradein-calculator .select-wrapper .current {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#tradein-calculator .select-wrapper .current .option {
  font-weight: 800;
}
#tradein-calculator .select-wrapper .current .handler {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(190deg, #2D2B2B -11.16%, #3A3838 15.06%, #646261 90.55%, #898682 107.19%), linear-gradient(133.71deg, #32383E -30.53%, #17191C 126.55%);
  box-shadow: 4px 2px 15px 0px rgba(0, 0, 0, 0.2), -4px 0px 8px 0px rgba(195, 200, 205, 0.0509803922);
}
#tradein-calculator .select-wrapper .current .handler svg {
  width: 1em;
  height: 1em;
}
#tradein-calculator .select-wrapper .options {
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
  position: absolute;
  top: 0;
  left: -0.5em;
  width: calc(100% + 0.5em);
  z-index: 1;
  list-style: none;
  padding-left: 0;
  background: linear-gradient(126.42deg, #2D2B2B -0.25%, #3A3838 31.98%, #646261 91.45%, #898682 106.46%), linear-gradient(327.43deg, #323E36 -77.68%, #28322C 87.35%);
  border-radius: 0.5em;
  box-shadow: 4px 4px 18px 0px rgba(0, 0, 0, 0.4), -4px -2px 16px 0px rgba(195, 200, 205, 0.0509803922);
  overflow: hidden;
}
#tradein-calculator .select-wrapper .options li {
  padding: 0.5em;
  font-size: 18px;
  font-weight: 500;
}
#tradein-calculator .select-wrapper .options li:hover {
  background: rgba(217, 217, 217, 0.1019607843);
}
#tradein-calculator .select-wrapper.open .options {
  display: block;
  opacity: 1;
}
#tradein-calculator .select-wrapper.open .handler {
  transform: rotate(-180deg);
  background: linear-gradient(133.71deg, #32383E -30.53%, #17191C 126.55%);
  z-index: 2;
}
#tradein-calculator .select-wrapper.updating .current {
  opacity: 0;
}
#tradein-calculator .result {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.5em 0.5em 0.5em 0;
}
#tradein-calculator .result .prompt {
  font-size: 18px;
  font-weight: 800;
  margin-right: 0.5em;
  margin-top: 10px;
}
#tradein-calculator .result .value {
  font-size: 24px;
  font-weight: 300;
  position: relative;
  margin-top: 10px;
  margin-left: auto;
  min-width: 5em;
  min-height: 1em;
  text-align: right;
}
#tradein-calculator .bottop-message {
  padding: 0 2em;
  font-weight: 300;
}
#tradein-calculator .bottop-message b {
  font-weight: 800;
}
#tradein-calculator .updating::before {
  height: 1em;
  width: 1em;
  position: absolute;
  top: 50%;
  left: auto;
  right: 0;
  margin-top: -0.5em;
  content: "";
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: -0.125em;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23ccc" class="bi bi-arrow-repeat" viewBox="0 0 16 16"><path d="M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.36a.25.25 0 0 1 .192-.41zm-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9z"/><path fill-rule="evenodd" d="M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5.002 5.002 0 0 0 8 3zM3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9H3.1z"/></svg>');
  background-repeat: no-repeat;
  background-size: cover;
  line-height: 1;
  text-align: center;
  opacity: 0.6;
}
#tradein-calculator .difference {
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 0 2em;
  margin: 2em 0;
}
#tradein-calculator .difference.empty {
  opacity: 0;
}
#tradein-calculator .difference .message {
  margin-right: 2em;
}
#tradein-calculator .difference .text {
  font-size: 18px;
  font-weight: 800;
  margin-right: 2em;
}
#tradein-calculator .difference .value {
  font-size: 24px;
  font-weight: 800;
  color: #ED1D23;
}
#tradein-calculator .difference button {
  margin-left: auto;
  box-shadow: 4px 4px 18px 0px rgba(0, 0, 0, 0.4), -4px -2px 16px 0px rgba(195, 200, 205, 0.0509803922);
  border-color: transparent;
}

body.darkmode--activated #tradein-calculator {
  background: #F7F5E3;
  box-shadow: 4px 4px 18px 0px rgba(0, 0, 0, 0.4), -4px -2px 16px 0px rgba(195, 200, 205, 0.0509803922);
}
body.darkmode--activated #tradein-calculator .select-wrapper .current .handler svg {
  color: #F7F5E3;
}
body.darkmode--activated #tradein-calculator .select-wrapper .options {
  background: #F7F5E3;
}
body.darkmode--activated #tradein-calculator .select-wrapper .options li:hover {
  background: rgba(171, 167, 146, 0.1490196078);
}

@media (max-width: 768px) {

  #tradein-calculator .calculator-controls {
    flex-direction: column;
  }
  #tradein-calculator .calculator-controls .part {
    padding-left: 1em;
    padding-right: 1em;
    max-width: 100%;
    flex: 0 0 100%;
  }

  #tradein-calculator .calculator-controls .separator {
    flex: 0 0 1px;
    max-width: 100%; 
  }

  #tradein-calculator .difference {
    flex-direction: column;
    gap: 1em;
  }

  #tradein-calculator .difference button {
    margin-left: unset;
  }
}
@media (max-width: 576px) {
  #tradein-calculator {
    font-size: 14px;
    padding-left: 0;
    padding-right: 0;
  }
  #tradein-calculator .calculator-controls .part-header {
    font-size: 18px;
  }
  #tradein-calculator .select-wrapper .options li {
    font-size: 16px;
  }
  #tradein-calculator .result .prompt {
    font-size: 16px;
  }
}
@media (max-width: 500px) {
  #tradein-calculator {
    font-size: 12px;
  }
  #tradein-calculator .calculator-controls .part-header {
    font-size: 16px;
  }
  #tradein-calculator .select-wrapper .current .handler {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }
  #tradein-calculator .select-wrapper .options li {
    font-size: 14px;
  }
  #tradein-calculator .result .prompt {
    font-size: 14px;
  }
}/*# sourceMappingURL=trade-in-calculator.css.map */