/**
 * ViaBill Financing Simulator Widget CSS
 * SeQura-Matching Container & Typography Design System
 */

.viabill-sequra-box {
  margin: 10px 0;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #b1aeba;
  border-radius: 4px;
  font-family: inherit;
  color: #1c1c1c;
  box-shadow: none;
  box-sizing: border-box;
  width: 100%;
}

/* Main Row */
.vbs-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vbs-left {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.vbs-main-text {
  font-size: 15px;
  color: #1c1c1c;
  font-weight: 500;
}

.vbs-amount {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1c;
}

.vbs-unit {
  font-size: 14px;
  color: #1c1c1c;
}

.vbs-term {
  font-weight: 700;
}

.vbs-info-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: #1c1c1c;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.vbs-info-link:hover {
  color: #0284c7;
}

/* Right Badge (matching SeQura logo box) */
.vbs-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.vbs-logo-badge {
  background: #0284c7;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Sub Row */
.vbs-sub-row {
  margin-top: 4px;
  font-size: 12px;
  color: #767676;
  line-height: 1.3;
}

.vbs-surcharge {
  color: #d97706;
  font-weight: 700;
}

/* Slider Panel */
.vbs-slider-panel {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

.vbs-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: #cbd5e1;
  outline: none;
  margin: 6px 0;
}

.vbs-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0284c7;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.vbs-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0284c7;
  cursor: pointer;
  border: none;
}

.vbs-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 4px;
}

.vbs-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 3px 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.vbs-btn:hover {
  background: #e2e8f0;
}

.vbs-btn.vbs-btn-active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}
