.sigOverlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 100000; display: flex; align-items: center; justify-content: center; } .sigModal { background: #fff; border-radius: 8px; width: 520px; box-shadow: 0 12px 40px rgba(0,0,0,0.2); } .sigHeader { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid #eee; } .sigHeader h3 { margin: 0; font-size: 16px; font-weight: 600; } .sigBody { padding: 20px; } .sigModeTabs { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 2px solid #e5e5e5; } .sigNameField { margin-bottom: 12px; } .sigNameField label { display: block; font-size: 12px; font-weight: 600; color: #666; margin-bottom: 4px; } .sigModeTab { padding: 6px 16px; border: none; background: none; font-size: 13px; font-weight: 600; color: #999; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; } .sigModeTab.active { color: #007bff; border-bottom-color: #007bff; } .sigCanvasWrap { position: relative; } .sigCanvas { border: 1px solid #ddd; border-radius: 4px; cursor: crosshair; display: block; width: 100%; touch-action: none; } .sigClearBtn { position: absolute; top: 8px; right: 8px; padding: 2px 10px; font-size: 11px; border: 1px solid #ddd; background: #fff; border-radius: 3px; cursor: pointer; color: #666; } .sigTypeWrap { display: flex; flex-direction: column; gap: 12px; } .sigTypeInput { font-size: 16px; } .sigTypePreview { padding: 20px; text-align: center; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 36px; color: #333; border: 1px solid #eee; border-radius: 4px; background: #fafafa; } .sigFooter { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid #eee; }