/*
 * jQuery UI structural styles for the NetMail skin.
 *
 * Only layout/behaviour rules live here, inside the "base" cascade layer, so the
 * skin's own component styles (skins/netmail/src/forms.css) always win.
 */
@layer base {
    .ui-helper-hidden { display: none; }
    .ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
    .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
    .ui-helper-clearfix::before, .ui-helper-clearfix::after { content: ""; display: table; border-collapse: collapse; }
    .ui-helper-clearfix::after { clear: both; }
    .ui-front { z-index: 100; }
    .ui-state-disabled { cursor: default !important; pointer-events: none; }
    .ui-icon { display: inline-block; vertical-align: middle; position: relative; overflow: hidden; text-indent: -99999px; width: 16px; height: 16px; }
    .ui-widget-overlay { position: fixed; inset: 0; }
    .ui-widget-icon-block { left: 50%; margin-left: -8px; display: block; }

    .ui-draggable-handle, .ui-resizable-handle, .ui-sortable-handle { touch-action: none; }
    .ui-resizable { position: relative; }
    .ui-resizable-handle { position: absolute; font-size: .1px; display: block; }
    .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
    .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
    .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
    .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
    .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
    .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
    .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
    .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
    .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px; }
    .ui-selectable { touch-action: none; }
    .ui-selectable-helper { position: absolute; z-index: 100; border: 1px dotted currentColor; }

    .ui-dialog { position: absolute; top: 0; left: 0; outline: 0; }
    .ui-dialog .ui-dialog-titlebar { position: relative; }
    .ui-dialog .ui-dialog-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ui-dialog .ui-dialog-content { position: relative; overflow: auto; }
    .ui-dialog .ui-resizable-n { height: 2px; top: 0; }
    .ui-dialog .ui-resizable-e { width: 2px; right: 0; }
    .ui-dialog .ui-resizable-s { height: 2px; bottom: 0; }
    .ui-dialog .ui-resizable-w { width: 2px; left: 0; }
    .ui-dialog .ui-resizable-se, .ui-dialog .ui-resizable-sw, .ui-dialog .ui-resizable-ne, .ui-dialog .ui-resizable-nw { width: 7px; height: 7px; }
    .ui-dialog .ui-resizable-se { right: 0; bottom: 0; }
    .ui-dialog .ui-resizable-sw { left: 0; bottom: 0; }
    .ui-dialog .ui-resizable-ne { right: 0; top: 0; }
    .ui-dialog .ui-resizable-nw { left: 0; top: 0; }
    .ui-draggable .ui-dialog-titlebar { cursor: move; }

    .ui-menu { list-style: none; padding: 0; margin: 0; display: block; outline: 0; }
    .ui-menu .ui-menu { position: absolute; }
    .ui-menu .ui-menu-item { margin: 0; cursor: pointer; }
    .ui-menu .ui-menu-item-wrapper { position: relative; padding: 3px 1em 3px .4em; }
    .ui-autocomplete { position: absolute; top: 0; left: 0; cursor: default; }

    .ui-datepicker { display: none; }
    .ui-datepicker .ui-datepicker-header { position: relative; }
    .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position: absolute; cursor: pointer; }
    .ui-datepicker .ui-datepicker-title { text-align: center; }
    .ui-datepicker table { width: 100%; border-collapse: collapse; }
    .ui-datepicker td a, .ui-datepicker td span { display: block; text-align: center; text-decoration: none; }
    .ui-datepicker .ui-datepicker-buttonpane button { cursor: pointer; }

    .ui-progressbar { overflow: hidden; text-align: left; }
    .ui-progressbar .ui-progressbar-value { height: 100%; }
    .ui-slider { position: relative; text-align: left; }
    .ui-slider .ui-slider-handle { position: absolute; z-index: 2; cursor: default; touch-action: none; }
    .ui-slider .ui-slider-range { position: absolute; z-index: 1; display: block; border: 0; }
    .ui-tooltip { padding: 6px 10px; position: absolute; z-index: 9999; max-width: 300px; }
    .ui-tabs .ui-tabs-nav { margin: 0; padding: 0; list-style: none; }
    .ui-tabs .ui-tabs-nav li { display: inline-block; }
    .ui-tabs .ui-tabs-panel { display: block; }
}
