*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:linear-gradient(135deg,#0f0c29,#302b63,#24243e);min-height:100dvh;color:#fff;-webkit-font-smoothing:antialiased}.app{max-width:480px;margin:0 auto;padding:24px 16px 48px;min-height:100dvh;display:flex;flex-direction:column}.header{text-align:center;margin-bottom:32px}.header h1{font-size:24px;font-weight:700;background:linear-gradient(90deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.header p{font-size:14px;color:#ffffff80;margin-top:4px}.dropzone{position:relative;border:2px dashed rgba(255,255,255,.2);border-radius:16px;padding:40px 24px;text-align:center;cursor:pointer;transition:all .3s ease;background:#ffffff0a;margin-bottom:24px}.dropzone:hover,.dropzone.dragging{border-color:#667eea;background:#667eea14}.dropzone.dragging{border-color:#764ba2;background:#764ba21f}.dropzone-icon{font-size:48px;margin-bottom:12px;opacity:.6}.dropzone-text{font-size:15px;color:#ffffffb3}.dropzone-hint{font-size:12px;color:#ffffff59;margin-top:8px}.file-input{display:none}.preview-section{margin-bottom:24px}.preview-image{width:100%;max-height:280px;object-fit:contain;border-radius:12px;background:#0000004d}.spinner{display:flex;align-items:center;justify-content:center;gap:8px;padding:24px;color:#fff9;font-size:14px}.spinner:before{content:"";width:20px;height:20px;border:2px solid rgba(255,255,255,.1);border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-card{background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:12px;padding:16px;margin-bottom:24px;font-size:14px;color:#fca5a5;line-height:1.5;word-break:break-word}.result-card{background:#ffffff0f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:20px;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.result-header{display:flex;align-items:center;gap:8px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.06)}.result-header-icon{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:14px}.result-header-title{font-size:15px;font-weight:600;flex:1}.result-header-copy{width:32px;height:32px;border:none;border-radius:8px;background:#ffffff0f;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;transition:background .2s}.result-header-copy:hover{background:#ffffff1f}.result-field{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.04)}.result-field:last-child{border-bottom:none}.result-field-label{font-size:13px;color:#ffffff80;text-transform:uppercase;letter-spacing:.5px}.result-field-value{font-size:14px;font-weight:500;text-align:right;max-width:60%;word-break:break-word}.raw-section{margin-top:24px}.raw-header{font-size:12px;color:#ffffff59;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.raw-text{font-family:SF Mono,Fira Code,Cascadia Code,monospace;font-size:11px;color:#ffffff80;background:#0000004d;border-radius:8px;padding:12px;word-break:break-all;line-height:1.6;max-height:120px;overflow-y:auto}.divider{display:flex;align-items:center;gap:12px;margin:24px 0;color:#fff3;font-size:12px}.divider:before,.divider:after{content:"";flex:1;height:1px;background:#ffffff14}.paste-area{margin-bottom:24px}.paste-label{font-size:12px;color:#fff6;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.paste-input{width:100%;min-height:80px;background:#ffffff0a;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px;color:#fff;font-family:SF Mono,Fira Code,Cascadia Code,monospace;font-size:12px;line-height:1.6;resize:vertical;outline:none;transition:border-color .2s}.paste-input:focus{border-color:#667eea}.paste-input::placeholder{color:#ffffff40}.paste-button{width:100%;margin-top:8px;padding:12px;border:none;border-radius:10px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:opacity .2s}.paste-button:hover{opacity:.9}.paste-button:disabled{opacity:.4;cursor:not-allowed}.tabs{display:flex;background:#ffffff0a;border-radius:12px;padding:4px;margin-bottom:24px;gap:4px}.tab{flex:1;padding:10px 16px;border:none;border-radius:10px;background:transparent;color:#ffffff80;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.tab:hover{color:#fffc}.tab.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.generate-form{display:flex;flex-direction:column;gap:16px}.form-field{display:flex;flex-direction:column;gap:6px}.form-label{font-size:12px;color:#fff6;text-transform:uppercase;letter-spacing:.5px}.form-hint{text-transform:none;color:#ffffff40;font-style:italic}.form-select{width:100%;padding:12px 36px 12px 12px;background:#ffffff0a;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#fff;font-size:14px;outline:none;transition:border-color .2s;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff44' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.form-select option{background:#24243e;color:#fff}.form-select:focus{border-color:#667eea}.form-input{width:100%;padding:12px;background:#ffffff0a;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#fff;font-size:14px;outline:none;transition:border-color .2s}.form-input:focus{border-color:#667eea}.form-input::placeholder{color:#ffffff40}.phone-group{display:flex;gap:8px}.phone-prefix{flex:0 0 100px}.phone-number{flex:1}.form-error{font-size:11px;color:#fca5a5;padding-left:4px}.qr-code-wrapper{display:flex;justify-content:center;margin-bottom:20px;padding:16px;background:#fff;border-radius:16px}.qr-image{display:block;width:280px;height:280px;image-rendering:pixelated}.generate-result{animation:fadeIn .3s ease}.footer{margin-top:auto;text-align:center;padding-top:32px;font-size:12px;color:#fff3}
