@keyframes ud-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes ud-slideIn{0%{opacity:0;transform:scale(.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes ud-spin{to{transform:rotate(360deg)}}.ud-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:1rem;background-color:#00000080;opacity:0;transition:opacity .2s ease;backdrop-filter:blur(2px)}.ud-overlay.ud-overlay-visible{opacity:1}.ud-dialog{position:relative;width:100%;max-height:calc(100vh - 2rem);overflow:hidden;display:flex;flex-direction:column;background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;opacity:0;transform:scale(.95) translateY(-10px);transition:all .2s ease}.ud-dialog.ud-dialog-visible{opacity:1;transform:scale(1) translateY(0)}.ud-dialog.ud-dialog-sm{max-width:360px}.ud-dialog.ud-dialog-md{max-width:480px}.ud-dialog.ud-dialog-lg{max-width:600px}.ud-dialog.ud-dialog-xl{max-width:800px}.ud-header{display:flex;align-items:flex-start;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid #e5e7eb}.ud-header-content{display:flex;align-items:center;gap:1rem}.ud-icon{flex-shrink:0;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:50%}.ud-icon svg{width:24px;height:24px}.ud-icon.ud-icon-confirm{background:#3b82f61a;color:#3b82f6}.ud-icon.ud-icon-delete{background:#dc26261a;color:#dc2626}.ud-icon.ud-icon-warning{background:#f59e0b1a;color:#f59e0b}.ud-icon.ud-icon-danger{background:#ef44441a;color:#ef4444}.ud-icon.ud-icon-success{background:#10b9811a;color:#10b981}.ud-icon.ud-icon-info{background:#6366f11a;color:#6366f1}.ud-icon.ud-icon-status{background:#8b5cf61a;color:#8b5cf6}.ud-icon.ud-icon-form{background:#0891b21a;color:#0891b2}.ud-title-group{flex:1;min-width:0}.ud-title{margin:0;font-size:1.125rem;font-weight:600;color:#1f2937;line-height:1.4}.ud-subtitle{margin:.25rem 0 0;font-size:.875rem;color:#6b7280;line-height:1.4}.ud-close{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;margin:-.25rem -.5rem 0 0;background:transparent;border:none;border-radius:6px;color:#6b7280;cursor:pointer;transition:all .15s ease}.ud-close svg{width:20px;height:20px}.ud-close:hover{background:#f9fafb;color:#1f2937}.ud-body{flex:1;overflow-y:auto;padding:1.5rem}.ud-message{margin:0;font-size:.9375rem;color:#6b7280;line-height:1.6;white-space:pre-line;max-height:46vh;overflow-y:auto;text-align:left}.ud-status-options{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}.ud-status-option{display:flex;align-items:center;gap:.875rem;width:100%;padding:1rem;background:#fff;border:2px solid #e5e7eb;border-radius:10px;cursor:pointer;text-align:left;transition:all .15s ease}.ud-status-option:hover{border-color:var(--status-color, #e5e7eb);background:var(--status-bg, #f9fafb)}.ud-status-option.ud-status-option-selected{border-color:var(--status-color, #3b82f6);background:var(--status-bg, rgba(59, 130, 246, .05))}.ud-status-indicator{flex-shrink:0;width:12px;height:12px;border-radius:50%;background:var(--status-color, #6b7280)}.ud-status-content{flex:1;min-width:0}.ud-status-label{display:block;font-size:.9375rem;font-weight:500;color:#1f2937}.ud-status-description{display:block;margin-top:.125rem;font-size:.8125rem;color:#6b7280}.ud-status-check{flex-shrink:0;width:20px;height:20px;color:var(--status-color, #3b82f6)}.ud-form{display:flex;flex-direction:column;gap:1.25rem;margin-top:.5rem}.ud-field{display:flex;flex-direction:column;gap:.375rem}.ud-field.ud-field-error .ud-field-input,.ud-field.ud-field-error .ud-field-select,.ud-field.ud-field-error .ud-field-textarea{border-color:#ef4444}.ud-field.ud-field-error .ud-field-input:focus,.ud-field.ud-field-error .ud-field-select:focus,.ud-field.ud-field-error .ud-field-textarea:focus{box-shadow:0 0 0 3px #ef444426}.ud-field-label{font-size:.875rem;font-weight:500;color:#1f2937}.ud-required{color:#ef4444}.ud-field-input,.ud-field-select,.ud-field-textarea{width:100%;padding:.625rem .875rem;font-size:.9375rem;color:#1f2937;background:#fff;border:1px solid #e5e7eb;border-radius:8px;transition:all .15s ease}.ud-field-input:focus,.ud-field-select:focus,.ud-field-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.ud-field-input:disabled,.ud-field-select:disabled,.ud-field-textarea:disabled{background:#f9fafb;cursor:not-allowed;opacity:.7}.ud-field-input::placeholder,.ud-field-select::placeholder,.ud-field-textarea::placeholder{color:#9ca3af}.ud-field-select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}.ud-field-textarea{resize:vertical;min-height:80px}.ud-field-error-text{font-size:.8125rem;color:#ef4444}.ud-field-checkbox-wrapper{flex-direction:row;align-items:center}.ud-checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.9375rem;color:#1f2937;cursor:pointer}.ud-checkbox-label input[type=checkbox]{position:absolute;opacity:0;width:0;height:0}.ud-checkbox-custom{flex-shrink:0;width:18px;height:18px;border:2px solid #e5e7eb;border-radius:4px;transition:all .15s ease;position:relative}.ud-checkbox-custom:after{content:"";position:absolute;top:2px;left:5px;width:5px;height:9px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg);opacity:0;transition:opacity .15s ease}input[type=checkbox]:checked+.ud-checkbox-custom{background:#3b82f6;border-color:#3b82f6}input[type=checkbox]:checked+.ud-checkbox-custom:after{opacity:1}input[type=checkbox]:focus+.ud-checkbox-custom{box-shadow:0 0 0 3px #3b82f626}.ud-radio-group{display:flex;flex-wrap:wrap;gap:1rem}.ud-radio-label{display:flex;align-items:center;gap:.5rem;font-size:.9375rem;color:#1f2937;cursor:pointer}.ud-radio-label input[type=radio]{position:absolute;opacity:0;width:0;height:0}.ud-radio-custom{flex-shrink:0;width:18px;height:18px;border:2px solid #e5e7eb;border-radius:50%;transition:all .15s ease;position:relative}.ud-radio-custom:after{content:"";position:absolute;top:50%;left:50%;width:8px;height:8px;background:#3b82f6;border-radius:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease}input[type=radio]:checked+.ud-radio-custom{border-color:#3b82f6}input[type=radio]:checked+.ud-radio-custom:after{transform:translate(-50%,-50%) scale(1)}input[type=radio]:focus+.ud-radio-custom{box-shadow:0 0 0 3px #3b82f626}.ud-footer{padding:1rem 1.5rem;border-top:1px solid #e5e7eb;background:#f9fafb}.ud-actions{display:flex;justify-content:flex-end;gap:.75rem}.ud-actions.ud-actions-reverse{flex-direction:row-reverse;justify-content:flex-start}.ud-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1.25rem;font-size:.9375rem;font-weight:500;border-radius:8px;border:none;cursor:pointer;transition:all .15s ease}.ud-btn:disabled{opacity:.6;cursor:not-allowed}.ud-btn-cancel{background:#fff;color:#1f2937;border:1px solid #e5e7eb}.ud-btn-cancel:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db}.ud-btn-confirm{color:#fff}.ud-btn-confirm.ud-btn-confirm{background:#3b82f6}.ud-btn-confirm.ud-btn-confirm:hover:not(:disabled){background:#1469f4}.ud-btn-confirm.ud-btn-delete{background:#dc2626}.ud-btn-confirm.ud-btn-delete:hover:not(:disabled){background:#bb1e1e}.ud-btn-confirm.ud-btn-warning{background:#f59e0b}.ud-btn-confirm.ud-btn-warning:hover:not(:disabled){background:#cf8508}.ud-btn-confirm.ud-btn-danger{background:#ef4444}.ud-btn-confirm.ud-btn-danger:hover:not(:disabled){background:#ec1e1e}.ud-btn-confirm.ud-btn-success{background:#10b981}.ud-btn-confirm.ud-btn-success:hover:not(:disabled){background:#0d9367}.ud-btn-confirm.ud-btn-info{background:#6366f1}.ud-btn-confirm.ud-btn-info:hover:not(:disabled){background:#3e41ee}.ud-btn-confirm.ud-btn-status{background:#8b5cf6}.ud-btn-confirm.ud-btn-status:hover:not(:disabled){background:#6f35f4}.ud-btn-confirm.ud-btn-form{background:#0891b2}.ud-btn-confirm.ud-btn-form:hover:not(:disabled){background:#06718b}.ud-btn-loading{display:flex;align-items:center;gap:.5rem}.ud-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:ud-spin .6s linear infinite}@media (max-width: 480px){.ud-overlay{padding:.5rem;align-items:flex-end}.ud-dialog{max-height:calc(100vh - 1rem);border-radius:12px 12px 0 0}.ud-header{padding:1rem}.ud-header-content{gap:.75rem}.ud-icon{width:40px;height:40px}.ud-icon svg{width:20px;height:20px}.ud-body,.ud-footer{padding:1rem}.ud-actions{flex-direction:column}.ud-actions .ud-btn{width:100%}.ud-actions.ud-actions-reverse{flex-direction:column-reverse}}
