/* ===== Calculator: Time vs. Value Module ===== */

.calc-tv-module-container {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 40px 20px;
}

.calc-tv-inner-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  width: 100%;
}

/* ===== Form Column ===== */

.calc-tv-form-column {
  flex: 1;
  max-width: 560px;
}

.calc-tv-title {
  color: #02293d;
  font-family: 'Roboto Slab', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  margin-top: 0;
}

/* ===== Field Groups ===== */

.calc-tv-field-group {
  margin-bottom: 24px;
}

.calc-tv-field-label {
  color: #111111;
  display: block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.calc-tv-field-description {
  color: #666666;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 0;
  margin-top: 6px;
}

.calc-tv-currency-input-container {
  align-items: center;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 4px;
  display: flex;
  padding: 8px 12px;
  width: fit-content;
}

.calc-tv-currency-symbol {
  color: #111111;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  font-weight: bold;
  margin-right: 4px;
}

.calc-tv-currency-input {
  background: transparent;
  border: none;
  color: #111111;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  font-weight: bold;
  outline: none;
  width: 150px;
}

.calc-tv-number-input {
  background: transparent;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 4px;
  color: #111111;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  font-weight: bold;
  outline: none;
  padding: 8px 12px;
  width: 80px;
}

/* ===== Sections ===== */

.calc-tv-section {
  border-top: 2px solid #e5e7eb;
  margin-bottom: 8px;
  margin-top: 24px;
  padding-top: 20px;
}

.calc-tv-section-title {
  color: #02293d;
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 0;
}

/* ===== Slider Groups ===== */

.calc-tv-slider-group {
  margin-bottom: 20px;
}

.calc-tv-slider-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.calc-tv-slider-label {
  color: #111111;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.calc-tv-slider-value {
  background: transparent;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 4px;
  color: #111111;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  font-weight: bold;
  outline: none;
  padding: 4px 8px;
  text-align: center;
  width: 50px;
}

.calc-tv-slider {
  -webkit-appearance: none;
  appearance: none;
  background: #e5e7eb;
  border-radius: 4px;
  height: 6px;
  outline: none;
  width: 100%;
}

.calc-tv-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #12d678;
  border: 2px solid #12d678;
  border-radius: 50%;
  cursor: pointer;
  height: 20px;
  width: 20px;
}

.calc-tv-slider::-moz-range-thumb {
  background: #12d678;
  border: 2px solid #12d678;
  border-radius: 50%;
  cursor: pointer;
  height: 20px;
  width: 20px;
}

.calc-tv-slider-subtitle {
  color: #999999;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  margin-bottom: 0;
  margin-top: 4px;
}

/* ===== Results Column ===== */

.calc-tv-results-column {
  flex: 0 0 320px;
  max-width: 320px;
}

.calc-tv-results-sticky {
  position: sticky;
  top: 20px;
}

.calc-tv-results-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 20px;
}

.calc-tv-results-annual {
  background-color: #02293d;
}

.calc-tv-results-annual .calc-tv-results-label {
  color: #ffffff;
  opacity: 0.7;
}

.calc-tv-results-annual .calc-tv-results-value {
  color: #12d678;
  font-size: 36px;
}

.calc-tv-results-label {
  color: #666666;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  margin-top: 0;
  text-transform: uppercase;
}

.calc-tv-results-value {
  color: #02293d;
  font-family: 'Roboto Slab', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.calc-tv-results-hours-value {
  color: #12d678;
  font-size: 36px;
}

.calc-tv-results-description {
  color: #999999;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 0;
  margin-top: 8px;
}

/* ===== CTA Section ===== */

.calc-tv-results-cta {
  border-top: 2px solid #e5e7eb;
  margin-top: 8px;
  padding-top: 20px;
}

.calc-tv-cta-heading {
  color: #02293d;
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 0;
}

.calc-tv-cta-description {
  color: #666666;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  margin-top: 0;
}

.calc-tv-email-form-container {
  margin-bottom: 0;
}

.calc-tv-form-input {
  background: transparent;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 4px;
  color: #111111;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  margin-bottom: 8px;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}

.calc-tv-form-input:focus {
  border-color: #12d678;
}

.calc-tv-cta-button {
  background-color: #12d678;
  border: 0px solid rgba(0, 0, 0, 0);
  border-radius: 4px;
  color: #111111;
  cursor: pointer;
  display: block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  font-weight: bold;
  line-height: 20px;
  margin-top: 8px;
  min-width: 100%;
  padding: 8px 20px;
  text-align: center;
  text-decoration: none;
  text-transform: none;
}

.calc-tv-cta-button:hover {
  background-color: #2CEA88;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  font-weight: bold;
}

.calc-tv-success-container {
  text-align: center;
}

.calc-tv-success-message {
  color: #02293d;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .calc-tv-inner-container {
    flex-direction: column;
    gap: 24px;
  }

  .calc-tv-form-column {
    max-width: 100%;
  }

  .calc-tv-results-column {
    flex: 1;
    max-width: 100%;
  }

  .calc-tv-results-sticky {
    position: static;
  }
}