/* ============================================================
   CALCULATOR CARD
   ============================================================ */
.n-calculator {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  margin-bottom: 16px;
}

.n-calculator__label {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.n-calculator__amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  border-bottom: 2px solid #2563EB;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.n-calculator__prefix {
  font-size: 28px;
  font-weight: 800;
  color: #2563EB;
  line-height: 1;
}

.n-calculator__input {
  font-size: 36px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
  border: none;
  outline: none;
  width: 100%;
  background: transparent;
  caret-color: #2563EB;
  -moz-appearance: textfield;
}

.n-calculator__input::-webkit-outer-spin-button,
.n-calculator__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.n-calculator__input:focus {
  outline: 2px solid #0EA5E9;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   RANGE SLIDER
   ============================================================ */
.n-calculator__slider-wrap {
  margin-bottom: 20px;
}

.n-calculator__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(to right, #2563EB 0%, #2563EB 17%, #F1F5F9 17%, #F1F5F9 100%);
  margin-bottom: 8px;
}

.n-calculator__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2563EB;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.n-calculator__range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2563EB;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.n-calculator__range::-webkit-slider-thumb:active {
  transform: scale(1.15);
}

.n-calculator__range::-moz-range-thumb:active {
  transform: scale(1.15);
}

.n-calculator__legend {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #94A3B8;
  font-weight: 500;
}

/* ============================================================
   APPROVAL BAR
   ============================================================ */
.n-approval {
  margin-bottom: 20px;
}

.n-approval__bar-wrap {
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.n-approval__bar-fill {
  height: 100%;
  background: linear-gradient(to right, #16A34A, #22C55E);
  border-radius: 999px;
  width: 85%;
  transition: width 0.4s ease;
}

.n-approval__label {
  font-size: 12px;
  color: #475569;
  font-weight: 500;
}

.n-approval__label--green {
  color: #16A34A;
  font-weight: 700;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.n-calc-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.n-calc-trust span {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================
   SUBMIT BUTTON
   ============================================================ */
.n-calculator__submit {
  margin-bottom: 10px;
}

.n-calculator__submit .n-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.25s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.n-calculator__submit .n-btn--primary {
  background-color: #2563EB;
  color: #fff;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.2), 0 4px 12px rgba(37,99,235,0.35);
}

.n-calculator__submit .n-btn--primary:hover {
  background-color: #1D4ED8;
}

.n-calculator__submit .n-btn--primary:active {
  transform: scale(0.98);
}

.n-calculator__submit .n-btn--full {
  width: 100%;
}

.n-calculator__footnote {
  text-align: center;
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.5;
}

.n-calculator__urgency {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #B45309;
  margin-top: 8px;
  animation: n-urgency-pulse 3s ease-in-out infinite;
}

@keyframes n-urgency-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ============================================================
   HOVER
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .n-calculator__range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
  }
}
