/* Finance module - Mobile-first styles */

/* Safe area for bottom nav on iPhone */
.safe-area-bottom {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Smooth transitions for cards */
.finance-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.finance-card:active {
  transform: scale(0.98);
}

/* Prevent scroll when bottom nav is present */
.pb-20 {
  padding-bottom: 5rem;
}

/* Number formatting */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Bigger range sliders for mobile touch */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 12px;
  border-radius: 6px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: currentColor;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
