/* YiwuPets Inquiry Management V49.2.5 — universal warm form component */
.ypiqm-form{display:grid;gap:14px;width:100%;color:#182238}
.ypiqm-form .ypiqm-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 22px}
.ypiqm-form .ypiqm-full{grid-column:1/-1}
.ypiqm-form label{display:block;margin:0;color:#182238}
.ypiqm-form .ypiqm-label{display:block;margin:0 0 7px;font-size:13px;line-height:1.35;font-weight:800;color:#182238}
.ypiqm-form .ypiqm-label b{color:#c94d00;font:inherit}
.ypiqm-form label em{font-style:normal;font-weight:500;color:#5f6b7d}
.ypiqm-control{position:relative;display:block}
.ypiqm-control-icon{position:absolute;z-index:2;left:14px;top:50%;width:18px;height:18px;color:#b94700;transform:translateY(-50%);pointer-events:none}
.ypiqm-control-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ypiqm-form input,.ypiqm-form textarea,.ypiqm-form select{width:100%;min-height:51px;padding:12px 14px;border:1px solid #d6dbe4;border-radius:8px;background:#fffdfa;color:#182238;font:inherit;line-height:1.4;box-shadow:0 1px 2px rgba(15,23,42,.03);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.ypiqm-control input,.ypiqm-control select{padding-left:42px}
.ypiqm-form select{appearance:none;padding-right:40px;cursor:pointer}
.ypiqm-control-select:after{content:"";position:absolute;right:15px;top:50%;width:7px;height:7px;border-right:1.5px solid #596579;border-bottom:1.5px solid #596579;transform:translateY(-65%) rotate(45deg);pointer-events:none}
.ypiqm-form input::placeholder,.ypiqm-form textarea::placeholder{color:#667085;opacity:1}
.ypiqm-form input:hover,.ypiqm-form textarea:hover,.ypiqm-form select:hover{border-color:#d99869;background:#fff}
.ypiqm-form input:focus,.ypiqm-form textarea:focus,.ypiqm-form select:focus{outline:0;border-color:#c94d00;background:#fff;box-shadow:0 0 0 3px rgba(201,77,0,.14)}
.ypiqm-form input:not([type="checkbox"]):invalid:not(:placeholder-shown),.ypiqm-form textarea:invalid:not(:placeholder-shown){border-color:#c2414b}
.ypiqm-form textarea{min-height:118px;resize:vertical}
.ypiqm-form small{display:block;margin-top:6px;color:#5f6b7d;font-size:11.5px;line-height:1.45}
.ypiqm-message-help.is-valid{color:#34704a}
.ypiqm-form .ypiqm-upload-field>.ypiqm-label{margin-bottom:8px}
.ypiqm-upload-box{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;min-height:78px;padding:16px;border:1px dashed #d99869;border-radius:8px;background:#fff8f1;color:#26334b;text-align:center;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
.ypiqm-upload-box:hover,.ypiqm-upload-box:focus-within{border-color:#c94d00;background:#fff3e8;box-shadow:0 0 0 3px rgba(201,77,0,.10)}
.ypiqm-upload-box>svg{width:22px;height:22px;flex:0 0 auto;fill:none;stroke:#b94700;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ypiqm-upload-copy{display:block;margin:0;color:#26334b;font-size:13px;font-weight:700}
.ypiqm-upload-title{display:block;color:#26334b;font-size:13px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.ypiqm-upload-box small{margin:3px 0 0;color:#5f6b7d;font-size:11px;font-weight:500}
.ypiqm-upload-box input[type=file]{position:absolute;inset:0;width:100%;height:100%;min-height:0;padding:0;opacity:0;cursor:pointer}
.ypiqm-form .ypiqm-privacy{display:flex;align-items:flex-start;gap:10px;font-weight:400;color:#5f6b7d}
.ypiqm-form .ypiqm-privacy input{width:17px;height:17px;min-height:0;margin:3px 0 0;flex:0 0 auto;accent-color:#c94d00}
.ypiqm-form .ypiqm-privacy>span{display:block;margin:0;color:#5f6b7d;font-size:12px;font-weight:500;line-height:1.55}
.ypiqm-form .ypiqm-privacy a{color:#a84000;font-weight:700;text-decoration:none}
.ypiqm-form .ypiqm-privacy a:hover{text-decoration:underline}
.ypiqm-form .yp-btn{width:100%;min-height:52px;margin-top:18px;border:0;border-radius:7px;background:#c94d00;color:#fff;font-size:14px;font-weight:800;box-shadow:0 8px 18px rgba(169,63,0,.18);cursor:pointer;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}
.ypiqm-form .yp-btn:hover{background:#a93f00;transform:translateY(-1px);box-shadow:0 12px 24px rgba(169,63,0,.24)}
.ypiqm-form .yp-btn:focus-visible{outline:3px solid rgba(201,77,0,.28);outline-offset:3px}
.ypiqm-form button[disabled]{cursor:not-allowed;opacity:.65;transform:none}
.ypiqm-alert{padding:14px 16px;border-radius:9px;margin-bottom:18px;font-size:14px}
.ypiqm-alert ul{margin:8px 0 0 20px}
.ypiqm-success{background:#ecfdf3;border:1px solid #86efac;color:#166534}
.ypiqm-error{background:#fff1f2;border:1px solid #fda4af;color:#9f1239}
.ypiqm-hp{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}
.ypiqm-token-status{position:relative;margin-top:13px;min-height:18px;text-align:center;color:#596579;font-size:11.5px;line-height:18px}
.ypiqm-token-status:before{content:"";display:inline-block;width:13px;height:13px;margin:-2px 7px 0 0;vertical-align:middle;border:1.5px solid #667085;border-radius:50%;background:linear-gradient(135deg,transparent 45%,#667085 46% 54%,transparent 55%)}
.ypiqm-token-status.is-error{color:#9f1239}
.yp-inquiry-intent{margin:0 0 4px;color:#596579;font-size:12px;line-height:1.4}
.yp-inquiry-intent strong{color:#26334b}
@media(max-width:700px){.ypiqm-form .ypiqm-row{grid-template-columns:1fr;gap:15px}.ypiqm-form .ypiqm-full{grid-column:auto}.ypiqm-form input,.ypiqm-form textarea,.ypiqm-form select{font-size:16px}.ypiqm-upload-box{min-height:72px;padding:14px 10px}.ypiqm-form .yp-btn{margin-top:14px}}
