/* Smart Homeo ERP - doctor signature (load after style.css) */

/* Settings page */
.media-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.media-box {
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--subtle); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm);
  color: var(--faint); font-size: 12px; text-align: center;
}
.media-box img { display: block; width: 100%; height: 100%; object-fit: contain; }
.media-box img:not(.hidden) + .media-empty { display: none; }
.sig-box {
  width: 240px; height: 90px; border-style: solid;
  background: repeating-conic-gradient(#eef0f3 0% 25%, #fff 0% 50%) 50% / 14px 14px;
}
.sig-canvas {
  display: block; width: 100%; max-width: 600px; aspect-ratio: 3 / 1; background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); touch-action: none; cursor: crosshair;
}
.sig-range { width: 100%; max-width: 320px; accent-color: var(--brand); }

/* Prescription pad */
.rx-sign-img {
  position: relative; z-index: 1; display: block; margin: 0 auto -8px;
  max-width: 140px; max-height: 56px; object-fit: contain;
}