.custom-form-container{max-width:700px;margin:0 auto;padding:40px 20px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.custom-form-description{margin-bottom:30px;padding:20px;background:#f8f9fa;border-radius:12px;border-left:4px solid #273f91;color:#374151;font-size:16px;line-height:1.6}.custom-form-container .custom-form{background:#fff !important;border-radius:16px !important;box-shadow:0 4px 25px rgba(0,0,0,.08) !important;padding:40px !important;border:1px solid #e5e7eb !important;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif !important}.custom-form *{box-sizing:border-box !important}.custom-form input,.custom-form textarea,.custom-form select{margin:0 !important;line-height:normal !important}.custom-form-fields{display:grid;gap:24px}.custom-form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.custom-form-field{margin-bottom:0}.custom-form-field-full{grid-column:1/-1}.custom-form .custom-form-label,.custom-form label.custom-form-label{display:block !important;margin-bottom:8px !important;font-weight:600 !important;color:#374151 !important;font-size:15px !important;letter-spacing:-.025em !important;font-family:inherit !important}.custom-form-required{color:#ef4444;margin-left:3px}.custom-form-input-wrapper{position:relative}.custom-form .custom-form-input,.custom-form input.custom-form-input,.custom-form textarea.custom-form-input,.custom-form select.custom-form-input{width:100% !important;padding:16px 18px !important;border:2px solid #e5e7eb !important;border-radius:12px !important;font-size:16px !important;transition:all .2s ease !important;box-sizing:border-box !important;background:#fff !important;color:#374151 !important;font-family:inherit !important;outline:none !important;-webkit-appearance:none !important;-moz-appearance:none !important;appearance:none !important}.custom-form .custom-form-input::placeholder,.custom-form input.custom-form-input::placeholder,.custom-form textarea.custom-form-input::placeholder{color:#9ca3af !important}.custom-form .custom-form-input:focus,.custom-form input.custom-form-input:focus,.custom-form textarea.custom-form-input:focus,.custom-form select.custom-form-input:focus{outline:none !important;border-color:#273f91 !important;box-shadow:0 0 0 3px rgba(27,63,147,.1) !important;transform:translateY(-1px) !important}.custom-form .custom-form-input:hover:not(:focus),.custom-form input.custom-form-input:hover:not(:focus),.custom-form textarea.custom-form-input:hover:not(:focus),.custom-form select.custom-form-input:hover:not(:focus){border-color:#d1d5db !important}.custom-form .custom-form-input.error,.custom-form input.custom-form-input.error,.custom-form textarea.custom-form-input.error,.custom-form select.custom-form-input.error{border-color:#ef4444 !important;box-shadow:0 0 0 3px rgba(239,68,68,.1) !important}.custom-form .custom-form-input-textarea,.custom-form textarea.custom-form-input,.custom-form-field-textarea .custom-form-input{min-height:120px !important;resize:vertical !important;font-family:inherit !important}.custom-form .custom-form-input-email,.custom-form input.custom-form-input-email{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3e%3cpath d='M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z'/%3e%3cpath d='M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z'/%3e%3c/svg%3e") !important;background-repeat:no-repeat !important;background-position:right 16px center !important;background-size:20px !important;padding-right:50px !important}.custom-form .custom-form-input-tel,.custom-form input.custom-form-input-tel{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3e%3cpath d='M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z'/%3e%3c/svg%3e") !important;background-repeat:no-repeat !important;background-position:right 16px center !important;background-size:20px !important;padding-right:50px !important}.custom-form .custom-form-input-select,.custom-form select.custom-form-input-select{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3e%3cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3e%3c/svg%3e") !important;background-repeat:no-repeat !important;background-position:right 16px center !important;background-size:20px !important;padding-right:50px !important;cursor:pointer !important}.custom-form .custom-form-input-file,.custom-form input.custom-form-input-file{padding:12px 16px !important;background:#f9fafb !important;border:2px dashed #d1d5db !important;border-radius:12px !important;cursor:pointer !important;transition:all .2s ease !important}.custom-form .custom-form-input-file:hover,.custom-form input.custom-form-input-file:hover{border-color:#273f91 !important;background:#f3f4f6 !important}.custom-form .custom-form-input-file:focus,.custom-form input.custom-form-input-file:focus{border-color:#273f91 !important;border-style:solid !important;background:#fff !important}.custom-form-field-checkbox{margin-top:24px}.custom-form-checkbox-label{display:flex;align-items:flex-start;cursor:pointer;margin-bottom:0;font-weight:400;color:#6b7280;font-size:15px;line-height:1.5}.custom-form-checkbox-label input{margin-right:12px;margin-top:2px;width:18px;height:18px;accent-color:#4f46e5;cursor:pointer}.custom-form-submit{text-align:left;margin-top:40px}.custom-form-submit-btn{background:linear-gradient(135deg,#273f91 0%,#5c6995 100%);color:#fff;border:none;padding:16px 32px;font-size:16px;font-weight:600;border-radius:12px;cursor:pointer;transition:all .2s ease;min-width:140px;box-shadow:0 4px 14px rgba(79,70,229,.3);font-family:inherit;letter-spacing:-.025em}.custom-form-submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#4338ca 0%,#6d28d9 100%);transform:translateY(-2px);box-shadow:0 8px 25px rgba(79,70,229,.4)}.custom-form-submit-btn:active{transform:translateY(0)}.custom-form-submit-btn:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.custom-form-messages{margin-top:24px}.custom-form-success{padding:16px 20px;background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0;border-radius:12px;margin-bottom:16px;border-left:4px solid #10b981;font-weight:500}.custom-form-error{padding:16px 20px;background:#fef2f2;color:#991b1b;border:1px solid #fecaca;border-radius:12px;margin-bottom:16px;border-left:4px solid #ef4444;font-weight:500}.custom-form-field-error{color:#ef4444;font-size:14px;margin-top:6px;font-weight:500}.custom-form-admin .postbox{border:1px solid #e5e7eb;box-shadow:0 1px 3px rgba(0,0,0,.1);border-radius:8px}.custom-form-admin .postbox-header{border-bottom:1px solid #e5e7eb;background:#f9fafb;border-radius:8px 8px 0 0}.field-item{border:1px solid #e5e7eb;margin-bottom:16px;padding:20px;background:#fff;border-radius:12px;transition:all .2s ease}.field-item:hover{background:#f9fafb;border-color:#4f46e5;box-shadow:0 2px 8px rgba(79,70,229,.1)}.field-item h4{margin:0 0 8px;color:#111827;font-size:16px;font-weight:600}.field-item p{margin:4px 0;color:#6b7280;font-size:14px}.field-actions{margin-top:16px;border-top:1px solid #e5e7eb;padding-top:16px}.field-actions .button{margin-right:8px;border-radius:6px}.field-required{color:#ef4444;font-weight:600}#field-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);z-index:9999;display:flex;align-items:center;justify-content:center}.field-modal-content{background:#fff;padding:0;border-radius:16px;max-width:700px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.3)}.modal-header{padding:24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;background:#f9fafb;border-radius:16px 16px 0 0}.modal-header h2{margin:0;color:#111827;font-weight:600}.modal-body{padding:24px}.modal-footer{padding:24px;border-top:1px solid #e5e7eb;text-align:right;background:#f9fafb;border-radius:0 0 16px 16px}.custom-form-list{max-width:800px;margin:0 auto}.custom-form-item{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;margin-bottom:20px;box-shadow:0 2px 8px rgba(0,0,0,.06);transition:all .2s ease}.custom-form-item:hover{box-shadow:0 8px 25px rgba(0,0,0,.1);transform:translateY(-2px);border-color:#4f46e5}.custom-form-title{margin-top:0;color:#111827;font-size:24px;font-weight:700}@media (max-width:768px){.custom-form-container{padding:20px 16px}.custom-form{padding:24px;border-radius:12px}.custom-form-row{grid-template-columns:1fr;gap:16px}.custom-form-submit-btn{width:100%;padding:18px 24px}.field-modal-content{width:95%;margin:20px;border-radius:12px}.custom-form-item{padding:20px}}@media (max-width:480px){.custom-form-container{padding:16px 12px}.custom-form{padding:20px}.custom-form-label{font-size:16px}.custom-form-title{font-size:20px}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.submit-loading:before{content:"";display:inline-block;width:16px;height:16px;border:2px solid #fff;border-radius:50%;border-top-color:transparent;animation:spin 1s ease-in-out infinite;margin-right:8px}@media print{.custom-form-submit,.custom-form-messages{display:none}.custom-form{box-shadow:none;border:1px solid #000}}