.currency-selector{display:flex;align-items:center;gap:.5rem;background:#fff;padding:.5rem 1rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.currency-label{font-size:1.2rem;cursor:default;margin:0}.currency-select{padding:.5rem .75rem;border:2px solid #e0e0e0;border-radius:6px;font-size:.95rem;font-weight:600;color:#2c3e50;background-color:#fff;cursor:pointer;transition:all .3s ease;outline:none}.currency-select:hover{border-color:#3498db}.currency-select:focus{border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.app-header{background:linear-gradient(135deg,#667eea,#764ba2);padding:1rem 2rem;box-shadow:0 2px 8px #0000001a;display:flex;justify-content:space-between;align-items:center;color:#fff;gap:1rem}.app-header h1{margin:0;font-size:1.5rem;color:#fff;flex:1}@media (max-width: 768px){.app-header{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:1rem;padding:1rem;text-align:center}.app-header h1{font-size:1.1rem;width:100%;flex:none;line-height:1.3}.currency-selector{width:auto;margin:0 auto}}@media (max-width: 480px){.app-header h1{font-size:1rem}.currency-selector{transform:scale(.95)}}.loan-calculator{max-width:1400px;margin:0 auto;padding:2rem;font-family:system-ui,-apple-system,sans-serif}h2{color:#34495e;margin-bottom:1.5rem;font-size:1.8rem}h3{color:#34495e;margin-top:2rem;margin-bottom:1rem;font-size:1.4rem}.calculator-container{display:grid;grid-template-columns:350px 1fr 350px;gap:1.5rem;align-items:start}.input-section{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 6px #0000001a;position:sticky;top:2rem}.form-group{margin-bottom:1.5rem}label{display:block;margin-bottom:.5rem;color:#34495e;font-weight:600}input[type=number]{width:100%;padding:.75rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:border-color .3s;box-sizing:border-box}input[type=number]:focus{outline:none;border-color:#3498db}input[type=text]{width:100%;padding:.75rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:border-color .3s;box-sizing:border-box}input[type=text]:focus{outline:none;border-color:#3498db}input[type=date]{width:100%;padding:.75rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;font-family:inherit;color:#2c3e50;background:#fff;transition:border-color .3s;box-sizing:border-box}input[type=date]:focus{outline:none;border-color:#3498db}.field-hint{display:block;margin-top:.4rem;color:#7f8c8d;font-size:.8rem}.input-with-prefix{position:relative;display:flex;align-items:center}.input-prefix{position:absolute;left:.75rem;color:#7f8c8d;font-weight:700;pointer-events:none}.input-with-prefix input[type=text]{padding-left:2.25rem}.months-control{display:flex;align-items:center;gap:.75rem}.months-control .slider{flex:1}.months-input-wrap{display:flex;align-items:center;gap:.35rem;background:#f5f7fa;border:2px solid #e0e0e0;border-radius:8px;padding:.15rem .6rem;transition:border-color .3s}.months-input-wrap:focus-within{border-color:#3498db}.months-input{width:3.5rem;border:none;background:transparent;padding:.4rem 0;font-size:1rem;font-weight:700;color:#2c3e50;text-align:right}.months-input:focus{outline:none}.months-suffix{color:#7f8c8d;font-size:.8rem}.slider-scale{display:flex;justify-content:space-between;margin-top:.35rem;color:#95a5a6;font-size:.75rem}.term-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.term-preset{display:flex;flex-direction:column;gap:.2rem;padding:.6rem .5rem;background:#f5f7fa;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;text-align:center;transition:all .2s ease}.term-preset:hover{border-color:#3498db;transform:translateY(-1px)}.term-preset.active{border-color:#667eea;background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 10px #667eea59}.term-preset-months{font-size:.8rem;font-weight:700;color:#34495e}.term-preset-payment{font-size:.72rem;color:#7f8c8d}.term-preset.active .term-preset-months,.term-preset.active .term-preset-payment{color:#fff}.slider{width:100%;height:8px;border-radius:5px;background:#e0e0e0;outline:none;appearance:none;-webkit-appearance:none}.slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;border-radius:50%;background:#3498db;cursor:pointer;transition:background .3s}.slider::-webkit-slider-thumb:hover{background:#2980b9}.slider::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#3498db;cursor:pointer;border:none;transition:background .3s}.slider::-moz-range-thumb:hover{background:#2980b9}.results-section{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 6px #0000001a}.summary-section{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 6px #0000001a;position:sticky;top:2rem}.monthly-payment{background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem;border-radius:12px;text-align:center;margin-bottom:2rem}.monthly-payment .amount{font-size:3rem;font-weight:700;color:#fff;display:block}.monthly-payment-detail{display:block;margin-top:.5rem;color:#ffffffd9;font-size:.9rem}.amortization-table-container{margin:2rem 0}.table-wrapper{overflow-x:auto;border-radius:8px;box-shadow:0 2px 4px #0000001a}.amortization-table{width:100%;border-collapse:collapse;background:#fff}.amortization-table thead{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;position:sticky;top:0;z-index:1}.amortization-table th{padding:1rem;text-align:left;font-weight:600;font-size:.95rem}.amortization-table td{padding:1rem;border-bottom:1px solid #e0e0e0}.amortization-table td.date{white-space:nowrap;color:#7f8c8d;font-size:.9rem}.amortization-table tbody tr:hover{background-color:#f8f9fa}.amortization-table tbody tr:last-child td{border-bottom:none;font-weight:600}.amortization-table .amount{font-family:Courier New,monospace;color:#2c3e50}.summary-panel{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);padding:2rem;border-radius:12px}.summary-grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:1rem}.summary-item{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.summary-item.highlight{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.summary-label{display:block;font-size:.9rem;margin-bottom:.5rem;opacity:.9}.summary-value{display:block;font-size:1.8rem;font-weight:700}.summary-item.highlight .summary-label,.summary-item.highlight .summary-value{color:#fff}@media (max-width: 1400px){.calculator-container{grid-template-columns:320px 1fr 320px;gap:1rem}}@media (max-width: 1200px){.calculator-container{grid-template-columns:300px 1fr;gap:1.5rem}.summary-section{grid-column:1 / -1;position:static}.summary-grid{grid-template-columns:repeat(2,1fr);gap:1rem}}@media (max-width: 1024px){.calculator-container{grid-template-columns:1fr}.input-section{position:static}.summary-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.loan-calculator{padding:1rem}h1{font-size:1.8rem}.monthly-payment .amount{font-size:2rem}.amortization-table{font-size:.85rem}.amortization-table th,.amortization-table td{padding:.5rem}.summary-value{font-size:1.4rem}.months-control{flex-wrap:wrap}.term-presets{grid-template-columns:repeat(2,1fr)}}html,body{margin:0;width:100%;min-height:100%;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);background-attachment:fixed}[data-astro-cid-sckkx6r4]{box-sizing:border-box}
