@import"https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Great+Vibes&family=Allura&family=Kaushan+Script&family=Sacramento&family=Parisienne&family=Caveat:wght@400;700&display=swap";:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:rgba(255,255,0,1);box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}.react-pdf__Page{box-shadow:0 4px 8px #0000001a;margin-bottom:1rem}.react-pdf__Page__canvas{max-width:100%;height:auto;border-radius:4px}.App{text-align:center}.App-header{background-color:#f8fafc;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:2rem;color:#1e293b;max-width:100vw;overflow-x:hidden}.header-top{width:100%;display:flex;justify-content:flex-start;margin-bottom:1rem}.home-link{color:#6c757d;text-decoration:none;font-weight:500;padding:.5rem 1rem;border-radius:6px;transition:all .2s ease;font-size:.95rem}.home-link:hover{background-color:#e9ecef;color:#495057}.App-header h1{font-size:3rem;margin-bottom:.5rem;color:#2563eb;font-weight:700}.App-header p{font-size:1.2rem;color:#64748b;margin-bottom:2rem}.dropzone{border:3px dashed #cbd5e1;border-radius:12px;padding:3rem;margin:2rem 0;background:white;cursor:pointer;transition:all .3s ease;max-width:500px}.dropzone:hover{border-color:#2563eb;background:#f1f5f9}.dropzone p{margin:0;font-size:1.1rem;color:#475569}.pdf-editor{display:flex;width:100%;max-width:1400px;gap:2rem;align-items:flex-start}.editor-sidebar{width:300px;flex-shrink:0;display:flex;flex-direction:column;gap:1rem}.pdf-viewer{flex:1;background:white;border-radius:12px;padding:1rem;box-shadow:0 4px 6px -1px #0000001a;position:relative;overflow:hidden}.selection-panel{background:white;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px -1px #0000001a}.selection-panel h4{margin:0 0 1rem;color:#374151;font-size:1rem;text-align:center}.selection-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s ease;position:relative;margin-bottom:.5rem}.selection-item:hover{border-color:#3b82f6;background:#f8fafc}.selection-item.selected{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px #2563eb1a}.none-item{justify-content:center}.none-preview{padding:.5rem 1rem;background:#f3f4f6;border-radius:4px;font-size:.9rem;font-weight:500;color:#6b7280}.selection-info{flex:1;display:flex;flex-direction:column;align-items:flex-start}.selection-name{font-weight:600;color:#1f2937;font-size:.9rem}.selection-type{font-size:.75rem;color:#6b7280;text-transform:capitalize}.signatures-panel,.dates-panel{background:white;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px -1px #0000001a}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.panel-header h4{margin:0;color:#374151;font-size:1.1rem}.panel-header button{padding:.5rem .75rem;font-size:.8rem;background:#059669}.panel-header button:hover{background:#047857}.signature-list,.date-list{display:flex;flex-direction:column;gap:.5rem;max-height:200px;overflow-y:auto;padding:8px 8px 8px 0}.signature-list .selection-item,.date-list .selection-item{margin-bottom:.5rem}.selection-item img{width:60px;height:30px;object-fit:contain;border:1px solid #e5e7eb;border-radius:4px;background:rgba(0,0,0,.02)}.date-preview{padding:.25rem .5rem;background:#f3f4f6;border-radius:4px;font-size:.85rem;font-weight:500;color:#374151;min-width:60px;text-align:center}.auto-date{background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);border-color:#0ea5e9}.auto-date .date-preview{background:#0ea5e9;color:#fff;font-weight:600}.auto-date:hover{border-color:#0284c7;background:linear-gradient(135deg,#e0f2fe 0%,#bae6fd 100%)}.delete-button{position:absolute;top:-8px;right:-8px;width:20px;height:20px;border-radius:50%;background:#ef4444;color:#fff;border:none;padding:0;font-size:12px;line-height:1;cursor:pointer;display:none;align-items:center;justify-content:center;z-index:10;box-shadow:0 2px 4px #0000001a}.selection-item:hover .delete-button{display:flex}.delete-button:hover{background:#dc2626}.editor-controls{background:white;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px -1px #0000001a}.filename-input{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.filename-input label{font-weight:500;color:#374151;font-size:.9rem}.filename-input input{padding:.5rem;border:2px solid #e5e7eb;border-radius:6px;font-size:1rem}.filename-input input:focus{outline:none;border-color:#2563eb}.sign-button{width:100%;background:#059669;font-weight:600;padding:.75rem;margin-bottom:1rem}.sign-button:hover:not(:disabled){background:#047857}.wait-notice{background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;padding:1rem}.wait-notice p{margin:0 0 .5rem;color:#92400e;font-weight:500;font-size:.9rem}.quick-pay{display:flex;gap:.5rem}.pay-button{flex:1;background:#059669;padding:.5rem;font-size:.9rem}.pay-button:hover{background:#047857}.pdf-container{position:relative;width:100%;min-height:600px}.page-navigation{display:flex;align-items:center;justify-content:center;gap:1rem;padding:1rem;background:#f8fafc;border-radius:8px;margin-bottom:1rem;border:1px solid #e5e7eb}.page-navigation button{padding:.5rem 1rem;font-size:.9rem;background:#2563eb;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background .2s ease}.page-navigation button:hover:not(:disabled){background:#1d4ed8}.page-navigation button:disabled{background:#9ca3af;cursor:not-allowed}.page-info{font-weight:500;color:#374151;font-size:.9rem;min-width:120px;text-align:center}.pdf-container embed{border-radius:8px;box-shadow:0 2px 4px #0000001a}.pdf-click-overlay{position:absolute;top:0;left:0;right:0;bottom:0;z-index:5;cursor:crosshair;background:transparent;pointer-events:auto}.pdf-click-overlay:hover{background:rgba(37,99,235,.02)}.placed-element{position:absolute!important;z-index:10;cursor:pointer}.placed-element:not(.transforming){border:2px solid transparent}.placed-element.transforming{border:2px solid #3b82f6;background:rgba(59,130,246,.1);box-shadow:0 4px 12px #3b82f64d}.placed-element:not(.transforming):hover{border:2px dashed #6b7280;background:rgba(107,114,128,.05)}.element-content{width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center}.element-content img{width:100%;height:100%;object-fit:contain;image-rendering:high-quality;image-rendering:-webkit-optimize-contrast;image-rendering:optimize-quality}.date-element{font-family:Times New Roman,Times,serif;font-size:14px;font-weight:400;color:#1f2937;text-align:center;background:transparent;border-radius:4px;padding:4px 8px;border:none;width:100%;box-sizing:border-box}.transform-controls{position:absolute;top:-30px;left:0;right:0;display:flex;align-items:center;justify-content:space-between}.remove-element{width:24px;height:24px;border-radius:50%;background:#ef4444;color:#fff;border:none;padding:0;font-size:14px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.remove-element:hover{background:#dc2626}.transform-hint{background:#1f2937;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;white-space:nowrap}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000}.signature-modal,.date-modal{background:white;border-radius:12px;padding:2rem;max-width:500px;width:90%;box-shadow:0 20px 40px #0000004d}.signature-modal h3,.date-modal h3{margin:0 0 1rem;color:#374151}.signature-tabs{display:flex;gap:.5rem;margin-bottom:1rem}.signature-tabs button{flex:1;padding:.5rem;background:#f3f4f6;color:#374151;border:2px solid transparent}.signature-tabs button.active{background:#2563eb;color:#fff;border-color:#1d4ed8}.signature-input,.date-input{margin-bottom:1.5rem}.name-input,.signature-text-input,.date-text-input{width:100%;padding:.75rem;border:2px solid #e5e7eb;border-radius:6px;font-size:1rem;margin-bottom:1rem}.name-input:focus,.signature-text-input:focus,.date-text-input:focus{outline:none;border-color:#2563eb}.signature-canvas{border:2px solid #e5e7eb;border-radius:8px;background:white;width:100%}.text-signature-input{display:flex;flex-direction:column;gap:1rem}.font-selector{display:flex;flex-direction:column;gap:.5rem}.font-selector label{font-weight:500;color:#374151;font-size:.9rem}.font-options{display:flex;gap:.5rem}.font-options button{flex:1;padding:.5rem 1rem;background:#f3f4f6;color:#374151;border:2px solid #e5e7eb;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.font-options button.active{background:#2563eb;color:#fff;border-color:#1d4ed8}.font-options button:hover:not(.active){background:#e5e7eb;border-color:#d1d5db}.signature-preview{text-align:center}.signature-preview img{max-width:100%;height:auto;border:1px solid #e5e7eb;border-radius:4px;background:rgba(0,0,0,.02)}.date-shortcuts{display:flex;gap:.5rem}.date-shortcuts button{flex:1;padding:.5rem;font-size:.9rem;background:#f3f4f6;color:#374151}.date-shortcuts button:hover{background:#e5e7eb}.modal-controls{display:flex;gap:1rem;justify-content:flex-end}.modal-controls button{padding:.5rem 1rem;font-size:.9rem}button{background:#2563eb;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s ease}button:hover:not(:disabled){background:#1d4ed8}button:disabled{background:#9ca3af;cursor:not-allowed}.result-section{background:white;border-radius:12px;padding:2rem;margin:1rem 0;box-shadow:0 4px 6px -1px #0000001a;max-width:500px}.result-section h3{color:#059669;margin-bottom:1rem}.paid-success{background:linear-gradient(135deg,#f0fdf4 0%,#dcfce7 100%);border:1px solid #22c55e;border-radius:8px;padding:1rem;margin-bottom:1rem}.paid-success p{margin:.5rem 0;color:#166534;font-weight:500}.free-success{margin-bottom:1rem}.wait-message{background:#fef3c7;border:1px solid #f59e0b;border-radius:6px;padding:.75rem;color:#92400e;font-weight:500;margin:.5rem 0}.ready-message{background:#f0fdf4;border:1px solid #22c55e;border-radius:6px;padding:.75rem;color:#166534;font-weight:600;margin:.5rem 0}.download-btn{background:#059669;margin-right:1rem}.download-btn:hover:not(:disabled){background:#047857}.new-pdf-btn{background:#6b7280}.new-pdf-btn:hover{background:#4b5563}.result-layout{display:flex;justify-content:center;align-items:flex-start;gap:2rem;max-width:1400px;margin:0 auto;padding:0 1rem}.ad-panel-left,.ad-panel-right{width:200px;flex-shrink:0}.ad-container-side{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:.75rem;text-align:center;position:sticky;top:2rem}.ad-label{font-size:.75rem;color:#64748b;margin:0 0 .5rem;text-transform:uppercase;letter-spacing:.5px}.ad-placeholder-tall{background:linear-gradient(135deg,#f1f5f9 0%,#e2e8f0 100%);border:2px dashed #cbd5e1;border-radius:6px;padding:1rem;height:300px;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:.875rem;text-align:center}.result-section{flex:1;max-width:600px;background:white;border-radius:12px;padding:2rem;box-shadow:0 4px 6px -1px #0000001a}.payment-success-notice{background:linear-gradient(135deg,#d1fae5 0%,#a7f3d0 100%);border:2px solid #10b981;border-radius:12px;padding:1.5rem;margin-bottom:2rem;position:relative;text-align:center}.payment-success-notice h3{color:#065f46;margin:0 0 1rem;font-size:1.5rem}.payment-success-notice p{color:#047857;margin:.5rem 0;font-weight:500}.dismiss-notice{position:absolute;top:.5rem;right:.75rem;background:none;border:none;font-size:1.25rem;color:#059669;cursor:pointer;padding:.25rem;border-radius:4px;transition:background-color .2s}.dismiss-notice:hover{background-color:#10b9811a}@media (max-width: 1200px){.pdf-editor{flex-direction:column}.result-layout{flex-direction:column;align-items:center}.ad-panel-left,.ad-panel-right{width:100%;max-width:400px;order:3}.result-section{order:1;width:100%}.ad-placeholder-tall{height:120px}.editor-sidebar{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.editor-controls{grid-column:1 / -1}}@media (max-width: 768px){.App-header{padding:1rem}.pdf-editor{gap:1rem}.editor-sidebar{display:flex;flex-direction:column}.mode-buttons{flex-direction:column}.pdf-container embed{height:400px}.signature-modal,.date-modal{width:95%;padding:1rem}.modal-controls,.signature-tabs{flex-direction:column}}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
