:root{font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;color:#1a1a2e;background-color:#f5f7fa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{min-height:100vh;display:flex;flex-direction:column;align-items:center}#root{width:100%;min-height:100vh;display:flex;flex-direction:column}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{background:linear-gradient(150deg,#eef2ff,#f8faff 45%,#f1f5f9);min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:#1e293b;-webkit-font-smoothing:antialiased}.app{display:flex;flex-direction:column;min-height:100vh}.header{background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 2px #0000000a;position:sticky;top:0;z-index:10}.header-inner{max-width:720px;margin:0 auto;padding:.875rem 1.5rem;display:flex;align-items:center;justify-content:space-between}.header-brand{display:flex;align-items:center;gap:.75rem}.header-logo-img{height:36px;width:auto;object-fit:contain;display:block}.header-subtitle{font-size:.7rem;color:#94a3b8;font-weight:500;letter-spacing:.06em;text-transform:uppercase;border-left:1px solid #e2e8f0;padding-left:.65rem;margin-left:.1rem}.header-secure{display:flex;align-items:center;gap:.35rem;font-size:.75rem;font-weight:600;color:#16a34a;background:#f0fdf4;border:1px solid #bbf7d0;padding:.3rem .65rem;border-radius:20px}.main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:1.75rem 1rem}.form-card{width:100%;max-width:500px;background:#fff;border-radius:16px;box-shadow:0 2px 8px #00000012,0 8px 24px #4f46e50f;border:1px solid #e2e8f0;overflow:hidden}.form-header{padding:1.25rem 1.5rem 0}.form-header h1{font-size:1.3rem;font-weight:700;color:#0f172a;margin-bottom:.15rem}.form-header p{color:#64748b;font-size:.82rem}.form-body{padding:1.1rem 1.5rem;display:flex;flex-direction:column;gap:.75rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;align-items:end}.form-field-grow{min-width:0}.form-field{display:flex;flex-direction:column;gap:.28rem}.form-field label{font-size:.76rem;font-weight:600;color:#475569;letter-spacing:.01em}.form-field-amount input{font-size:1.35rem;font-weight:600;padding:.75rem .85rem .75rem 2rem;color:#0f172a;letter-spacing:-.3px}.form-field-amount .input-prefix{font-size:1.1rem;font-weight:500}.form-field-amount label{font-size:.8rem}.form-divider{height:1px;background:#f1f5f9;margin:.15rem 0}.label-optional{font-weight:400;color:#94a3b8}.required-mark{color:#ef4444;font-weight:700;margin-left:.1rem}.form-field input,.form-field select{padding:.55rem .75rem;border:1.5px solid #e2e8f0;border-radius:8px;font-size:.875rem;color:#1e293b;background:#f8fafc;outline:none;transition:all .15s ease;width:100%}.form-field input:hover,.form-field select:hover{border-color:#cbd5e1}.form-field input:focus,.form-field select:focus{border-color:#4f46e5;background:#fff;box-shadow:0 0 0 3px #4f46e514}.form-field input::placeholder{color:#94a3b8}.form-field select{cursor:pointer;min-width:90px}.input-with-prefix{position:relative;display:flex;align-items:center}.input-prefix{position:absolute;left:.75rem;color:#94a3b8;font-size:.875rem;font-weight:500;pointer-events:none;z-index:1}.input-with-prefix input{padding-left:1.6rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn-primary{background:linear-gradient(135deg,#4f46e5,#6d28d9);color:#fff;padding:.8rem 2rem}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #4f46e54d}.btn-pay{width:100%;padding:.75rem;background:linear-gradient(135deg,#4f46e5,#6d28d9);color:#fff;font-size:.95rem;border-radius:9px;margin-top:.15rem}.btn-pay:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 14px #4f46e559}.btn-pay:disabled{opacity:.65;cursor:not-allowed;transform:none}.btn-loading{display:flex;align-items:center;gap:.5rem}.spinner{width:18px;height:18px;border:2.5px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.form-footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem;background:#f8fafc;border-top:1px solid #f1f5f9;font-size:.72rem;color:#94a3b8;font-weight:500}.form-footer-secure{display:flex;align-items:center;gap:.35rem}.alert{display:flex;align-items:center;gap:.6rem;padding:.75rem 1rem;border-radius:10px;font-size:.85rem;margin:0 1.75rem;animation:slideDown .25s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.alert-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.alert span{flex:1}.alert-dismiss{background:none;border:none;font-size:1.2rem;cursor:pointer;color:inherit;opacity:.5;padding:0 .25rem;line-height:1}.alert-dismiss:hover{opacity:1}.result-card{width:100%;max-width:420px;background:#fff;border-radius:16px;box-shadow:0 1px 3px #0000000f,0 4px 16px #0000000a;border:1px solid #e2e8f0;padding:2.5rem 2rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1rem;animation:fadeUp .35s ease}@keyframes fadeUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.result-icon{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:.25rem}.result-icon-success{background:#f0fdf4;color:#16a34a;border:2px solid #bbf7d0}.result-icon-cancel{background:#fffbeb;color:#d97706;border:2px solid #fde68a}.result-title{font-size:1.35rem;font-weight:700;color:#0f172a}.result-text{font-size:.9rem;color:#64748b;line-height:1.5;max-width:320px}.footer{border-top:1px solid #e2e8f0;background:#fff}.footer-inner{max-width:720px;margin:0 auto;padding:1.25rem 1.5rem;display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.8rem;color:#94a3b8}.footer-dot{color:#cbd5e1}.modal-overlay{position:fixed;inset:0;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-container{background:#fff;border-radius:16px;box-shadow:0 24px 64px #0000004d;width:100%;max-width:560px;height:680px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;animation:slideUp .25s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1.25rem;border-bottom:1px solid #e2e8f0;flex-shrink:0;background:#f8fafc}.modal-header-brand{display:flex;align-items:center;gap:.4rem;color:#16a34a}.modal-title{font-size:.85rem;font-weight:600;color:#475569}.modal-close{background:none;border:none;font-size:1.4rem;line-height:1;cursor:pointer;color:#94a3b8;padding:.15rem .4rem;border-radius:6px;transition:all .15s ease}.modal-close:hover{background:#e2e8f0;color:#475569}.modal-iframe{flex:1;border:none;width:100%}.modal-container-pending{height:auto;max-width:420px}.modal-pending{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:2.5rem 2rem;text-align:center}.modal-pending-icon{width:56px;height:56px;border-radius:50%;background:#eff6ff;border:2px solid #bfdbfe;color:#3b82f6;display:flex;align-items:center;justify-content:center}.modal-pending-title{font-size:1rem;font-weight:700;color:#0f172a}.modal-pending-text{font-size:.85rem;color:#64748b;line-height:1.6}.btn-outline{background:#fff;border:1.5px solid #4f46e5;color:#4f46e5;font-size:.875rem;font-weight:600;padding:.6rem 1.25rem;border-radius:8px;cursor:pointer;transition:all .15s ease}.btn-outline:hover{background:#eef2ff}@media(max-width:560px){.header-inner{padding:.75rem 1rem}.header-secure{display:none}.main{padding:1.25rem .75rem}.form-header{padding:1rem 1.25rem 0}.form-header h1{font-size:1.2rem}.form-body{padding:1rem 1.25rem}.form-row{grid-template-columns:1fr}.alert{margin:0 1.25rem}.form-footer{padding:.65rem 1.25rem}.result-card{padding:2rem 1.5rem}}
