/* calculator.html — page-specific styles */

.calc-input {
    width: 100%; padding: 12px 14px; border: 1.5px solid rgba(191,200,200,0.4); border-radius: 12px;
    font-size: 15px; font-weight: 700; color: #003532; background: #fff; text-align: right;
    transition: border-color 0.2s, box-shadow 0.2s; font-family: 'Plus Jakarta Sans', sans-serif; outline: none;
  }
  .calc-input:focus { border-color: #003532; box-shadow: 0 0 0 3px rgba(0,53,50,0.08); }
  .calc-input::-webkit-inner-spin-button { opacity: 0; }
  .calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(to right, #003532 var(--pct,50%), #e6e8ea var(--pct,50%)); outline: none; cursor: pointer; }
  .calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #003532; cursor: pointer; border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: transform 0.15s; }
  .calc-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
  .calc-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #003532; cursor: pointer; border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
  @keyframes resultPop { 0% { transform: scale(1); } 50% { transform: scale(1.06); } 100% { transform: scale(1); } }
  .result-pop { animation: resultPop 0.3s cubic-bezier(0.16,1,.3,1); }
  .conv-input { width: 100%; padding: 10px 14px; border: 1.5px solid rgba(191,200,200,0.3); border-radius: 10px; font-size: 14px; font-weight: 600; color: #003532; background: #fff; outline: none; transition: border-color 0.2s; font-family: 'Plus Jakarta Sans', sans-serif; }
  .conv-input:focus { border-color: #003532; }
  .preset-chip { padding: 8px 16px; border-radius: 10px; font-size: 12px; font-weight: 700; color: #003532; background: #fff; border: 1.5px solid rgba(191,200,200,0.3); cursor: pointer; transition: all 0.2s; white-space: nowrap; font-family: 'Plus Jakarta Sans', sans-serif; }
  .preset-chip:hover { border-color: #003532; background: rgba(0,53,50,0.03); }
  .preset-chip.active { border-color: #003532; background: #003532; color: #fff; }
  .ref-table { width: 100%; border-collapse: separate; border-spacing: 0; }
  .ref-table th { font-size: 10px; font-weight: 700; color: #515f74; text-transform: uppercase; letter-spacing: 0.06em; padding: 12px 16px; text-align: left; border-bottom: 2px solid rgba(191,200,200,0.15); font-family: 'Plus Jakarta Sans', sans-serif; }
  .ref-table td { font-size: 13px; color: #003532; font-weight: 500; padding: 14px 16px; border-bottom: 1px solid rgba(191,200,200,0.1); }
  .ref-table tr:last-child td { border-bottom: none; }
  .ref-table tbody tr { cursor: pointer; transition: background 0.15s; }
  .ref-table tbody tr:hover { background: rgba(0,53,50,0.02); }
  .ref-table .purity { color: #00c389; font-weight: 700; }
  .ref-table .load-btn { font-size: 11px; font-weight: 700; color: #003532; display: inline-flex; align-items: center; gap: 4px; opacity: 0; transition: opacity 0.2s; }
  .ref-table tbody tr:hover .load-btn { opacity: 1; }
