/* ---- Base ---- */
body {
  -webkit-tap-highlight-color: transparent;
}

/* ---- Labels ---- */
.label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
  padding-left: 4px;
}

/* ---- Segmented Controls ---- */
.segmented {
  display: flex;
  background: #e5e7eb;
  padding: 4px;
  border-radius: 14px;
  gap: 4px;
}

.seg-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-weight: 500;
  color: #6b7280;
  background: transparent;
  transition: all 0.15s ease;
}

.seg-btn.active {
  background: white;
  color: #111;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ---- Cards ---- */
.card {
  background: white;
  padding: 14px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.card.highlight {
  border: 1px solid #fde68a;
  background: #fffbeb;
}

/* ---- Inputs ---- */
input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 16px;
}

input:focus {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* Bigger main input */
.input-main {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

/* ---- Bottom Bar ---- */
.bottom-bar {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
}

/* ---- Result ---- */
#result div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 16px;
}