/* Glassmorphism style for SigFig Calculator */
.sfg-wrapper {padding: 40px 18px; display:flex; justify-content:center; }
.sfg-card {
  width: 100%;
  max-width: 720px;
  border-radius: 18px;
  padding: 20px;
  background-color:teal; 
  box-shadow: 0 10px 30px rgba(20,30,60,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.5);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
.sfg-title { margin: 0 0 12px; font-size:20px; color:#0f172a; letter-spacing:0.2px; }
.sfg-controls { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.sfg-input {
  flex:1 1 320px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,0.08);
  font-size:15px;
  outline:none;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 4px 12px rgba(2,6,23,0.04) inset;
}
.sfg-input:focus { box-shadow: 0 6px 18px rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.4); }

.sfg-actions { display:flex; gap:8px; }
.sfg-btn { padding:10px 14px; border-radius:10px; border:0; cursor:pointer; font-weight:600; }
.sfg-btn-primary { background: linear-gradient(90deg,#6b21a8,#2563eb); color:white; box-shadow: 0 6px 18px rgba(37,99,235,0.18); }
.sfg-btn-ghost { background: rgba(15,23,42,0.04); color:#0f172a; border-radius:10px; }

.sfg-output { margin-top:18px; display:flex; flex-direction:column; gap:12px; }
.sfg-row { display:flex; align-items:center; gap:12px; }
.sfg-answer-row .sfg-label { font-weight:700; color:#0f172a; font-size:16px; }
.sfg-label { min-width:140px; color:#334155; font-weight:600; }
.sfg-value { flex:1; font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace; font-size:16px; color:#0b1220; padding:8px 12px; border-radius:10px; background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(250,250,255,0.6)); border:1px solid rgba(15,23,42,0.04); }
.sfg-meta { display:flex; gap:18px; color:#0b1220; font-size:15px; }

.sfg-copy, .sfg-copy-inline { background:transparent; border:0; cursor:pointer; font-size:16px; padding:6px 8px; border-radius:8px; }
.sfg-copy:hover, .sfg-copy-inline:hover { background: rgba(2,6,23,0.04); }

.sfg-help { color:#475569; font-size:13px; margin-top:6px; }

/* Responsive */
@media(max-width:560px){
  .sfg-label { min-width:100px; font-size:14px; }
  .sfg-card { padding:16px; border-radius:14px; }
  .sfg-input { padding:10px; }
  .sfg-title { font-size:18px; }
}
