/**
 * Savings Calculator Widget Styles
 * Matching React "The Bio Edit" Warm Editorial Luxury Design
 */

.bio-calc-box {
  background: #faf8f4;
  border: 1px solid #e0d9cf;
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .bio-calc-box {
    padding: 24px 18px;
  }
}

.bio-calc-header {
  margin-bottom: 28px;
}

.bio-calc-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.bio-calc-icon {
  color: #b8945c;
  flex-shrink: 0;
}

.bio-calc-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #b8945c;
  font-weight: 600;
}

.bio-calc-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: 1.6rem;
  color: #15100d;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

@media (max-width: 767px) {
  .bio-calc-title {
    font-size: 1.35rem;
  }
}

.bio-calc-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: #7a6f65;
  margin: 0;
  line-height: 1.6;
}

/* Slider Section */
.bio-calc-slider-wrap {
  margin-bottom: 32px;
}

.bio-calc-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.bio-calc-slider-label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #7a6f65;
}

.bio-calc-slider-val-display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  color: #15100d;
  font-weight: 300;
}

.bio-calc-slider {
  width: 100%;
  accent-color: #b8945c;
  cursor: pointer;
  height: 6px;
  background: #e0d9cf;
  border-radius: 3px;
  outline: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bio-calc-slider::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #b8945c;
  cursor: pointer;
  border: 2px solid #faf8f4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.bio-calc-slider-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.bio-calc-slider-bound {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  color: #7a6f65;
}

/* Tiers Breakdown List */
.bio-calc-tiers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bio-calc-tier-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f7f4ef;
  border: 1px solid #e0d9cf;
  gap: 12px;
  box-sizing: border-box;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.bio-calc-tier-item.is-featured {
  background: #f2ede4;
  border: 1px solid #b8945c;
}

.bio-calc-tier-left {
  flex: 1;
  min-width: 0;
}

.bio-calc-tier-name {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7a6f65;
  margin: 0 0 2px 0;
}

.bio-calc-tier-item.is-featured .bio-calc-tier-name {
  color: #b8945c;
}

.bio-calc-tier-savings {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: #15100d;
  margin: 0;
  line-height: 1.2;
}

.bio-calc-tier-right {
  text-align: right;
  flex-shrink: 0;
}

.bio-calc-tier-label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: #7a6f65;
  margin: 0 0 2px 0;
}

.bio-calc-tier-break-even {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  color: #15100d;
  font-weight: 300;
  margin: 0;
  line-height: 1.2;
}
