/*
* Scut, a collection of Sass utilities
* to ease and improve our implementations of common style-code patterns.
* v2.0.0
* Docs at http://ramseyinhouse.github.io/scut
*/
:host {
  display: block;
}
:host button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
:host a:focus-visible {
  outline: 2px solid #fff;
}
:host .card {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 60.375rem;
  margin: 0 auto;
}
@media (max-width: 991px) {
  :host .card {
    flex-direction: column;
  }
}
@media (min-width: 992px) {
  :host .card {
    background: linear-gradient(49.99deg, rgba(194, 205, 221, 0.128) 17.92%, rgba(194, 205, 221, 0.016) 65.46%);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 0.5px solid rgba(194, 205, 221, 0.08);
    border-radius: 0.75rem;
    padding: 2.5rem;
  }
}
:host .card__left {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 32.0625rem;
}
@media (max-width: 991px) {
  :host .card__left {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }
}
:host .card__right {
  flex-grow: 1;
  min-width: 0;
  max-width: 25.375rem;
}
@media (max-width: 991px) {
  :host .card__right {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }
}
:host .fields {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
:host .field-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Maven Pro", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  color: #f3f7f8;
  margin-bottom: 1.5rem;
}
:host .months-value {
  text-align: center;
  text-align: center;
  font-family: "Maven Pro", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.25rem;
  color: #fff;
  margin-bottom: 1.25rem;
}
:host .info-icon {
  flex-shrink: 0;
  color: rgba(243, 247, 248, 0.6);
}
:host .amount-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  border: 0.5px solid #c5c6cc;
  border-radius: 0.75rem;
  overflow: hidden;
}
:host .btn-round {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #f3f7f8;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #121212;
  transition: background 0.15s;
}
:host .btn-round:hover:not(:disabled) {
  background: #d8dee3;
}
:host .btn-round:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
:host .amount-display {
  flex: 1;
  text-align: center;
  font-family: "Maven Pro", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.25rem;
  color: #fff;
}
:host .range-labels {
  display: flex;
  justify-content: space-between;
  font-family: "Maven Pro", sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #f3f7f8;
  margin-top: 1rem;
}
:host .slider {
  --fill: 40%;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 8px;
  border: none;
  outline: none;
  cursor: pointer;
  background: linear-gradient(to right, #0bbbef var(--fill), #e8e9f1 var(--fill));
  margin: 6px 0;
}
:host .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #0bbbef 28%, #fff 28%);
  box-shadow: -1px 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
:host .slider::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 50% 50%, #0bbbef 28%, #fff 28%);
  box-shadow: -1px 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
:host .slider::-moz-range-track {
  height: 0.5rem;
  border-radius: 0.5rem;
  border: none;
  background: linear-gradient(to right, #0bbbef var(--fill), #e8e9f1 var(--fill));
}
:host .slider:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
:host .calc-btn {
  width: 100%;
  height: 2.75rem;
  background: #0bbbef;
  border: none;
  border-radius: 6.25rem;
  font-family: "Maven Pro", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: #000;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: filter 0.2s;
}
:host .calc-btn:hover {
  filter: brightness(1.1);
}
:host .calc-btn:active {
  filter: brightness(0.9);
}
:host .calc-btn--hidden {
  display: none;
}
:host .result-card {
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 0.5px solid #f3f7f8;
  border-radius: 0.75rem;
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
:host .result-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
:host .result-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
:host .result-header-text {
  font-family: "Maven Pro", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  color: #fafafa;
}
:host .result-amount-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
:host .result-amount-row .info-wrap {
  margin-top: 1em;
}
@media (max-width: 991px) {
  :host .result-amount-row .info-wrap {
    margin-top: 0.5em;
  }
}
@media (max-width: 991px) {
  :host .result-amount-row .tooltip {
    left: auto;
    right: -1rem;
  }
}
:host .result-value {
  font-family: "Maven Pro", sans-serif;
  font-weight: 600;
  font-size: 3.5rem;
  line-height: 1.3;
  color: #fafafa;
}
:host .result-subtitle {
  font-family: "Maven Pro", sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
  color: #0BBBEF;
  margin: 1rem 0 0;
}
:host .result-disclaimer {
  font-family: "Maven Pro", sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(250, 250, 250, 0.7);
  margin: 0;
  margin-top: auto;
}
:host .result-disclaimer__link {
  color: #0bbbef;
  text-decoration: underline;
  text-underline-offset: 2px;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
}
:host .info-wrap {
  position: relative;
  display: inline-flex;
}
:host .info-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  line-height: 0;
}
:host .tooltip {
  position: absolute;
  z-index: 20;
  top: 0;
  left: calc(100% + 0.5rem);
  min-width: 13.75rem;
  max-width: 17.5rem;
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
:host .tooltip[hidden] {
  display: none;
}
@media (max-width: 991px) {
  :host .tooltip {
    top: calc(100% + 0.5rem);
    left: calc(100% - 1rem);
  }
}
:host .tooltip__close {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  line-height: 0;
}
:host .tooltip__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}
:host .tooltip__title {
  font-family: "Maven Pro", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: normal;
  color: #000;
  margin: 0;
}
:host .tooltip__text {
  font-family: "Maven Pro", sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.12px;
  color: #171717;
  margin: 0;
}