/* ROI page-specific styles aligned with design system */

.calculator-card { box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.25); }
.calculator-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(59, 130, 246, 0.35); }
.anim-pop-in { animation: anim-pop-in 420ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes anim-pop-in { 0% { opacity: 0; transform: translateY(8px) scale(0.98);} 100% { opacity: 1; transform: translateY(0) scale(1);} }

/* Inputs */
.fancy-input { width: 100%; background: rgba(255,255,255,0.8); color: inherit; border: 1px solid rgba(148,163,184,0.35); border-radius: 0.5rem; padding: 0.625rem 0.75rem; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease, background-color .18s ease; }
.fancy-input:focus { outline: none; border-color: rgba(59,130,246,.8); box-shadow: 0 0 0 3px rgba(59,130,246,.25); transform: translateY(-1px); background: rgba(255,255,255,0.95); }
.dark .fancy-input { background: rgba(31,41,55,0.6); border-color: rgba(71,85,105,0.6); color: #E5E7EB; }
.dark .fancy-input:focus { background: rgba(31,41,55,0.8); border-color: rgba(147,197,253,0.9); box-shadow: 0 0 0 3px rgba(59,130,246,0.35); }

/* Tabs */
.calculation-mode { display: none; }
.calculation-mode.active { display: block; }
.calculation-tabs .tab-button.active { background: rgb(37, 99, 235); color: #fff; }

/* ROI type selector */
.roi-type-option { text-align: center; }
.roi-type-option.selected { border-color: rgba(59,130,246,0.6); box-shadow: inset 0 0 0 1px rgba(59,130,246,0.25); }

/* Toggle switch */
.toggle-switch { position: relative; display: inline-block; width: 50px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background-color: #cbd5e1; transition: .2s; border-radius: 999px; }
.toggle-slider::before { content: ""; position: absolute; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: .2s; border-radius: 999px; }
.toggle-switch input:checked + .toggle-slider { background-color: #3b82f6; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(26px); }

/* Buttons */
.remove-btn { line-height: 1; padding: 0.5rem 0.75rem; border-radius: 0.5rem; border: 1px solid rgba(148,163,184,0.35); background: rgba(255,255,255,0.8); color: #1f2937; transition: background-color .16s ease, border-color .16s ease; }
.remove-btn:hover { background: rgba(243,244,246,0.9); }
.dark .remove-btn { background: rgba(31,41,55,0.6); color: #E5E7EB; border-color: rgba(71,85,105,0.6); }
.dark .remove-btn:hover { background: rgba(55,65,81,0.7); }
