/*! WebLogic client 5.0.23-preview+9b7162b | MIT | https://github.com/zyntal-com/CL.WebLogic2 */
.wl-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wl-toasts { position: fixed; right: 1rem; bottom: 1rem; z-index: 1080; display: flex; flex-direction: column; gap: .5rem; max-width: min(24rem, calc(100vw - 2rem)); }
.wl-toast { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem 1rem; border-radius: .5rem; background: #1f2937; color: #fff; box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .2); font: inherit; }
.wl-toast--success { background: #166534; }
.wl-toast--warning { background: #92400e; }
.wl-toast--danger, .wl-toast--error { background: #991b1b; }
.wl-toast--info, .wl-toast--primary { background: #1e40af; }
.wl-toast__text { flex: 1; overflow-wrap: anywhere; }
.wl-toast__close { background: none; border: 0; color: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; }

.wl-overlay { position: fixed; inset: 0; z-index: 1090; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .35); }
.wl-overlay__box { min-width: 16rem; max-width: 32rem; padding: 1.5rem; border-radius: .75rem; background: #fff; color: #111827; box-shadow: 0 1rem 3rem rgba(0, 0, 0, .3); }
.wl-overlay__title { display: block; margin-bottom: .5rem; font-size: 1.125rem; }
.wl-overlay--danger .wl-overlay__title, .wl-overlay--error .wl-overlay__title { color: #991b1b; }
.wl-overlay--success .wl-overlay__title { color: #166534; }

.wl-invalid { border-color: #dc2626 !important; outline-color: #dc2626; }
.wl-field-error { margin-top: .25rem; color: #b91c1c; font-size: .875em; }
.wl-form-summary { margin-bottom: 1rem; padding: .75rem 1rem; border: 1px solid #fecaca; border-radius: .5rem; background: #fef2f2; color: #991b1b; }

.wl-progress { position: fixed; top: 0; left: 0; z-index: 1100; height: 3px; width: 0; background: #2563eb; opacity: 0; transition: width .3s ease, opacity .3s ease; pointer-events: none; }
.wl-progress--active { width: 70%; opacity: 1; transition: width 8s cubic-bezier(.1, .7, .2, 1); }
.wl-progress--done { width: 100%; opacity: 0; }
.wl-progress--failed { width: 100%; opacity: 0; background: #dc2626; }


.wl-field, .wl-fieldset { margin: 0 0 1rem; }
.wl-fieldset { border: 0; padding: 0; }
.wl-label, .wl-legend { display: block; margin-bottom: .25rem; font-weight: 600; }
.wl-input { box-sizing: border-box; width: 100%; padding: .5rem .625rem; border: 1px solid #9ca3af; border-radius: .375rem; font: inherit; background: #fff; color: inherit; }
.wl-input:focus { outline: 2px solid #2563eb; outline-offset: 1px; }
.wl-check { display: flex; align-items: center; gap: .5rem; margin: .25rem 0; }
.wl-help { margin-top: .25rem; color: #4b5563; font-size: .875em; }
.wl-repeater__item { margin-bottom: .5rem; padding: .75rem; border: 1px solid #d1d5db; border-radius: .5rem; }
.wl-steps { display: flex; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.wl-step { padding: .25rem .75rem; border-radius: 999px; background: #e5e7eb; color: #374151; }
.wl-step--current { background: #2563eb; color: #fff; }
.wl-actions { display: flex; gap: .5rem; }
.wl-button { padding: .5rem 1rem; border: 1px solid #9ca3af; border-radius: .375rem; background: #fff; color: inherit; font: inherit; cursor: pointer; }
.wl-button--primary { border-color: #2563eb; background: #2563eb; color: #fff; }
.wl-button:disabled { opacity: .5; cursor: not-allowed; }
[data-wl-field] { position: relative; }
.wl-autocomplete { position: absolute; z-index: 1000; left: 0; right: 0; max-height: 16rem; overflow-y: auto; margin: .125rem 0 0; padding: .25rem 0; list-style: none; border: 1px solid #d1d5db; border-radius: .375rem; background: #fff; color: #111827; box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15); }
.wl-autocomplete [role="option"] { padding: .375rem .75rem; cursor: pointer; }
.wl-autocomplete [role="option"][aria-selected="true"], .wl-autocomplete [role="option"]:hover { background: #dbeafe; }
.wl-autocomplete [aria-disabled="true"] { opacity: .5; cursor: default; }


.wl-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.wl-dashboard-zone { display: flex; flex-direction: column; gap: 1rem; min-height: 3rem; }
[data-wl-dashboard-editing] .wl-dashboard-zone { outline: 2px dashed #9ca3af; outline-offset: .25rem; border-radius: .5rem; }
[data-wl-dashboard-editing] [data-wl-dashboard-item] { cursor: grab; }
[data-wl-dashboard-item][aria-grabbed="true"] { opacity: .5; }
[data-wl-dashboard-item]:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
[data-wl-dashboard-remove] { display: none; }
[data-wl-dashboard-editing] [data-wl-dashboard-remove] { display: inline-block; }

[aria-busy] { cursor: progress; }

@media (prefers-reduced-motion: reduce) {
  .wl-progress, .wl-progress--active { transition: none; }
}
