@charset "utf-8";
/* ==========================================================================
   APPLICATS · SISTEMA DE DISEÑO
   --------------------------------------------------------------------------
   Fuente de verdad: los módulos de public/includes/css/modules/ se editan
   directamente. Tras cambiar CSS o los JS base del header, sube
   css_modules_version() en app/Helpers/css_modules_helper.php.

   1. Tokens --ui-*      → valores de diseño (usar en código nuevo).
   2. Alias heredados    → --color-*, --dash-*, --menu-*… apuntan a --ui-*
                           para que el CSS existente herede la paleta.
   ========================================================================== */

:root {
    /* ---- Marca: dorado Applicats (acento y acción principal) ---- */
    --ui-primary:         #c98a12;
    --ui-primary-hover:   #b0780f;
    --ui-primary-active:  #96660c;
    --ui-primary-strong:  #8a5c0a;   /* texto de marca sobre fondo claro */
    --ui-primary-soft:    #fbf3e2;   /* fondos seleccionados / activos */
    --ui-primary-softer:  #fdf9f1;
    --ui-primary-border:  #eedcb4;
    --ui-primary-ring:    rgba(201, 138, 18, 0.28);
    --ui-on-primary:      #ffffff;

    /* ---- Neutros cálidos ---- */
    --ui-bg:              #f7f5f1;   /* fondo de página */
    --ui-surface:         #ffffff;   /* tarjetas, paneles */
    --ui-surface-2:       #faf8f5;   /* cabeceras de tabla, zonas secundarias */
    --ui-surface-3:       #f3efe9;   /* hover neutro */
    --ui-border:          #ebe5dc;
    --ui-border-strong:   #d9d0c3;
    --ui-text:            #2a2420;
    --ui-text-2:          #5f564e;
    --ui-text-3:          #8e847b;
    --ui-text-disabled:   #b9b0a6;
    --ui-ink:             #2a2420;   /* superficies oscuras (barra móvil) */

    /* ---- Semánticos (solo para estado, nunca decorativos) ---- */
    --ui-success:         #1f8a4c;
    --ui-success-soft:    #eaf6ee;
    --ui-success-border:  #b9e0c8;
    --ui-danger:          #c53030;
    --ui-danger-hover:    #a82828;
    --ui-danger-soft:     #fdeeee;
    --ui-danger-border:   #f3c4c4;
    --ui-warning:         #a8680f;
    --ui-warning-soft:    #fdf5e1;
    --ui-warning-border:  #f1d9a6;
    --ui-info:            #2b6cb0;
    --ui-info-hover:      #245a93;
    --ui-info-soft:       #eaf3fb;
    --ui-info-border:     #bcd6ee;

    /* ---- Tipografía ---- */
    --ui-font:            'proximaNovaRegular', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ui-font-brand:      'gothamBook', 'proximaNovaRegular', Arial, sans-serif;
    --ui-font-mono:       ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;
    --ui-fs-xs:           12px;
    --ui-fs-sm:           13px;
    --ui-fs-md:           14px;
    --ui-fs-lg:           16px;
    --ui-fs-xl:           20px;
    --ui-fs-2xl:          26px;
    --ui-lh:              1.5;

    /* ---- Espaciado (base 4px) ---- */
    --ui-space-1:         4px;
    --ui-space-2:         8px;
    --ui-space-3:         12px;
    --ui-space-4:         16px;
    --ui-space-5:         20px;
    --ui-space-6:         24px;
    --ui-space-8:         32px;
    --ui-space-10:        40px;

    /* ---- Forma y profundidad ---- */
    --ui-radius-sm:       6px;
    --ui-radius:          10px;
    --ui-radius-lg:       14px;
    --ui-radius-pill:     999px;
    --ui-shadow-xs:       0 1px 2px rgba(42, 36, 32, 0.05);
    --ui-shadow-sm:       0 1px 3px rgba(42, 36, 32, 0.07), 0 1px 2px rgba(42, 36, 32, 0.04);
    --ui-shadow-md:       0 8px 20px rgba(42, 36, 32, 0.08);
    --ui-shadow-lg:       0 18px 48px rgba(42, 36, 32, 0.18);
    --ui-focus-ring:      0 0 0 3px var(--ui-primary-ring);

    /* ---- Controles, movimiento y layout ---- */
    --ui-control-h:       40px;
    --ui-control-h-sm:    32px;
    --ui-ease:            cubic-bezier(0.2, 0, 0.2, 1);
    --ui-dur:             0.16s;
    --ui-sidebar-w:       264px;
    --ui-topbar-h:        52px;
    --ui-content-max:     1200px;

    /* ======================================================================
       ALIAS HEREDADOS (no usar en código nuevo)
       ====================================================================== */
    --color-brown:        var(--ui-primary-strong);
    --color-brown-light:  var(--ui-primary-soft);
    --color-black:        var(--ui-text);
    --color-white:        #ffffff;
    --color-red:          var(--ui-danger);
    --color-green:        var(--ui-success);
    --color-blue:         var(--ui-info);
    --color-blue-dark:    #1f4f82;

    --bg-content:         var(--ui-bg);
    --bg-gray:            var(--ui-border-strong);

    --text-primary:       var(--ui-text);

    --shadow-sm:          var(--ui-shadow-xs);
    --shadow-md:          var(--ui-shadow-sm);
    --shadow-lg:          var(--ui-shadow-md);
    --shadow-dark:        var(--ui-shadow-lg);

    --border-radius-sm:   var(--ui-radius-sm);
    --border-radius-md:   var(--ui-radius);
    --border-color:       var(--ui-border-strong);
    --border-width:       1px;
    --border-width-thick: 2px;

    --spacing-xs:         5px;
    --spacing-sm:         10px;
    --spacing-md:         15px;
    --spacing-lg:         20px;
    --spacing-xl:         25px;
    --spacing-xxl:        50px;

    --font-family-primary:   var(--ui-font);
    --font-size-sm:       13px;
    --font-size-base:     14px;
    --font-size-md:       16px;
    --font-size-lg:       20px;

    --z-index-overlay:    7;
    --z-index-header:     777;
    --z-index-modal:      7777;
    --z-index-modal-high: 7778;


    /* Vistas .dash-* */
    --dash-max-width:           var(--ui-content-max);
    --dash-side-padding:        var(--ui-space-8);
    --dash-bottom-padding:      64px;
    --dash-bg-card:             var(--ui-surface);
    --dash-border-card:         var(--ui-border);
    --dash-border-soft:         var(--ui-border);
    --dash-border-divider:      var(--ui-border);
    --dash-text-strong:         var(--ui-text);
    --dash-text-medium:         var(--ui-text-2);
    --dash-text-muted:          var(--ui-text-3);
    --dash-accent:              var(--ui-primary);
    --dash-radius-card:         var(--ui-radius-lg);
    --dash-shadow-card:         var(--ui-shadow-xs);
    --dash-shadow-card-hover:   var(--ui-shadow-md);
    --dash-title-size:          var(--ui-fs-2xl);
    --dash-subtitle-size:       var(--ui-fs-md);
    --dash-block-title-size:    var(--ui-fs-lg);
    --dash-block-subtitle-size: var(--ui-fs-sm);
    --dash-kpi-label-size:      var(--ui-fs-xs);
    --dash-kpi-value-size:      24px;
    --dash-kpi-suffix-size:     var(--ui-fs-md);
    --dash-font-display:        var(--ui-font);

    /* Menú lateral */
    --menu-bg:                  var(--ui-surface);
    --menu-border-right:        var(--ui-border);
    --menu-text:                var(--ui-text);
    --menu-text-muted:          var(--ui-text-3);
    --menu-hover-bg:            var(--ui-surface-3);
    --menu-section-active-bg:   var(--ui-primary-soft);
    --menu-section-active-tx:   var(--ui-primary-strong);
    --menu-subitem-active-bg:   var(--ui-primary-soft);
    --menu-subitem-active-tx:   var(--ui-primary-strong);
    --menu-subitem-text:        var(--ui-text-2);
}

/* ==========================================================================
   RESET Y BASE
   ========================================================================== */
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-family: var(--ui-font);
    font-size: var(--ui-fs-md);
    line-height: var(--ui-lh);
    color: var(--ui-text);
    background-color: var(--ui-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* El texto se puede seleccionar (copiar datos de pedidos, clientes…);
   los controles interactivos no, para evitar selecciones accidentales. */
button,
.button,
.btn,
.dash-menu,
.checkbox-three,
.dash-toggle,
.header {
    -webkit-user-select: none;
    user-select: none;
}

/* Texto seleccionado: dorado oscuro con texto blanco (el tono suave apenas se veía sobre blanco) */
::selection {
    background: var(--ui-primary-strong);
    color: var(--ui-on-primary);
}

/* Foco visible y coherente solo con teclado */
:focus-visible {
    outline: 2px solid var(--ui-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   UTILIDADES - Clases de ayuda reutilizables
   ========================================================================== */

/* Display */
.hidden {
    display: none !important;
}

.center {
    display: table;
    margin: 0 auto;
}

.table {
    display: table;
    margin: 0 auto;
}

.row {
    display: table-row;
}

.cell {
    display: table-cell;
    vertical-align: middle;
}

/* Texto */
.textAlignCenter {
    text-align: center !important;
}

/* Separadores */
.separator {
    float: none;
    clear: both;
}

.separator5 {
    float: none;
    clear: both;
    height: var(--spacing-xs);
}

.separator10 {
    float: none;
    clear: both;
    height: var(--spacing-sm);
}

.separator15 {
    float: none;
    clear: both;
    height: var(--spacing-md);
}

.separator20 {
    float: none;
    clear: both;
    height: var(--spacing-lg);
}

.separator25 {
    float: none;
    clear: both;
    height: var(--spacing-xl);
}

.separator50 {
    float: none;
    clear: both;
    height: var(--spacing-xxl);
}

/* Estados */
.deactivated {
    opacity: 0.5;
    text-decoration: line-through;
}

.pointer,
.cursor {
    cursor: pointer;
}

/* Márgenes */
.marginTop15 {
    margin-top: var(--spacing-md);
}

/* ==========================================================================
   SOMBRAS
   ========================================================================== */
.wrapperShadow {
    box-shadow: var(--shadow-md);
}

.wrapperShadow:active,
.wrapperShadow:focus {
    box-shadow: none;
}

.wrapperDarkShadow {
    box-shadow: var(--shadow-dark);
}

.wrapperLittleShadow {
    box-shadow: var(--shadow-sm);
}

.wrapperLittleShadow:active,
.wrapperLittleShadow:focus {
    box-shadow: none;
}

.wrapperKeepShadow {
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   BORDES Y RADIOS
   ========================================================================== */
.roundCorners {
    border-radius: var(--border-radius-sm);
}

.topRoundCorners {
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
}

.botRoundCorners {
    border-bottom-right-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
}

.leftRoundCorners {
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
}

.border {
    border: var(--border-width) var(--border-color) solid;
}

.borderWrong {
    border: var(--border-width-thick) solid var(--color-red) !important;
}

/* ==========================================================================
   COLORES DE FONDO
   ========================================================================== */
.bWhite {
    background-color: var(--color-white) !important;
}

.bBrownClare {
    background-color: var(--color-brown-light);
}

.bContentBackground {
    background-color: var(--bg-content);
}

.bRed {
    background-color: var(--color-red);
}

.bGreen {
    background-color: var(--color-green);
}

.bBlueHard {
    background-color: var(--color-blue-dark);
}

/* Estados de elementos */
.bComplete {
    background-color: #c9ebd5 !important;
    border: var(--border-width-thick) solid #8fd0a8 !important;
}

.bIncomplete {
    background-color: #fbe3a0 !important;
    border: var(--border-width-thick) solid #f2c94c !important;
}

/* Producto de carta ajena (edición limitada: solo activar/desactivar) */

.bDisabled {
    background-color: var(--ui-surface-2) !important;
    border: var(--border-width-thick) solid var(--ui-border-strong) !important;
}

/* Deshabilitado y oculto predominan sobre bExternalCarte (carta ajena) */

.bWrong {
    background-color: #f8cdcd !important;
    border: var(--border-width-thick) solid #ec9a9a !important;
}

.bOffer {
    background-color: var(--ui-primary) !important;
    border: var(--border-width-thick) solid var(--ui-primary) !important;
}

/* Colores de texto */
.cd62f2f {
    color: var(--color-red) !important;
}
/* ==========================================================================
   BOTONES — sistema unificado
   --------------------------------------------------------------------------
   .button                    → acción principal (dorado)
   .button.dash-button-secondary / .button-secondary → secundaria (contorno)
   .button.button-ghost       → terciaria (sin borde)
   .button.button-danger / .is-danger → destructiva
   .button.button-add         → añadir (mismo estilo que principal)
   .button.button-green       → confirmación positiva
   .button.dash-button-sm / .button-sm → compacto
   Se aplican igual dentro y fuera de .dash-view (antes había dos sistemas).
   ========================================================================== */
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ui-space-2);
    box-sizing: border-box;
    max-width: min(45%, 220px);
    min-width: 120px;
    min-height: var(--ui-control-h);
    margin: 0 auto;
    padding: 0 var(--ui-space-5);
    border: 1px solid var(--ui-primary);
    border-radius: var(--ui-radius);
    background: var(--ui-primary);
    color: var(--ui-on-primary);
    font-family: var(--ui-font);
    font-size: var(--ui-fs-md);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1px;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    box-shadow: var(--ui-shadow-xs);
    transition: background-color var(--ui-dur) var(--ui-ease),
                border-color var(--ui-dur) var(--ui-ease),
                box-shadow var(--ui-dur) var(--ui-ease),
                color var(--ui-dur) var(--ui-ease);
}
.button:hover {
    background: var(--ui-primary-hover);
    border-color: var(--ui-primary-hover);
    color: var(--ui-on-primary);
}
.button:active {
    background: var(--ui-primary-active);
    border-color: var(--ui-primary-active);
}
.button:focus-visible {
    outline: none;
    box-shadow: var(--ui-focus-ring);
}
.button[disabled],
.button.is-disabled,
.button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Secundario: contorno */
.button.dash-button-secondary,
.button.button-secondary,
.button.bWhite {
    background: var(--ui-surface) !important;
    border-color: var(--ui-border-strong);
    color: var(--ui-text);
    box-shadow: none;
}
.button.dash-button-secondary:hover,
.button.button-secondary:hover,
.button.bWhite:hover {
    background: var(--ui-surface-3) !important;
    border-color: var(--ui-border-strong);
    color: var(--ui-text);
}

/* Terciario: sin borde */
.button.button-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--ui-primary-strong);
    box-shadow: none;
}
.button.button-ghost:hover {
    background: var(--ui-primary-soft);
    border-color: transparent;
    color: var(--ui-primary-strong);
}

/* Destructivo */
.button.button-danger,
.button.is-danger {
    background: var(--ui-danger);
    border-color: var(--ui-danger);
    color: #fff;
}
.button.button-danger:hover,
.button.is-danger:hover {
    background: var(--ui-danger-hover);
    border-color: var(--ui-danger-hover);
}

/* Positivo */
.button.button-green {
    background: var(--ui-success);
    border-color: var(--ui-success);
}
.button.button-green:hover {
    filter: brightness(0.92);
}

/* Dentro de un contenedor que se ajusta al contenido (.center = display:table)
   un max-width en % se resuelve contra el propio botón y lo estrecha. */
.center > .button {
    max-width: none;
}

/* Compacto */
.button.dash-button-sm,
.button.button-sm {
    max-width: none;
    min-width: 0;
    white-space: nowrap;
    min-height: var(--ui-control-h-sm);
    padding: 0 var(--ui-space-4);
    font-size: var(--ui-fs-sm);
}

/* Botón de bloque genérico heredado (texto blanco sobre marca) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: var(--ui-control-h-sm);
    padding: var(--ui-space-2) var(--ui-space-4);
    border-radius: var(--ui-radius);
    background-color: var(--ui-primary);
    color: var(--ui-on-primary);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--ui-dur) var(--ui-ease);
}
.btn:hover {
    background-color: var(--ui-primary-hover);
}

.roundBtnBrown {
    background-color: var(--ui-primary-soft);
    color: var(--ui-primary-strong);
    text-align: center;
    padding: 2px;
}

/* Botones de icono (editar / copiar / eliminar) */

/* ==========================================================================
   FORMULARIOS E INPUTS
   ========================================================================== */
input,
select,
textarea,
button {
    font-family: inherit;
}

input,
select {
    font-size: var(--ui-fs-lg);
    font-style: normal;
    color: var(--ui-text);
    display: inline-block;
    box-sizing: border-box;
    background-color: var(--ui-surface);
    border: none;
    outline: none;
}

textarea {
    border: 1px solid var(--ui-border-strong);
}

select {
    text-align: center;
    text-align-last: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

option {
    text-align: left;
}

input::placeholder,
textarea::placeholder {
    color: var(--ui-text-3);
    opacity: 1;
}

/* Campo de texto del panel */
.txtInput,
.txtAreaRestaurant {
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--ui-border-strong);
    border-radius: var(--ui-radius);
    background: var(--ui-surface);
    color: var(--ui-text);
    font-family: var(--ui-font);
    font-size: var(--ui-fs-md);
    outline: none;
    transition: border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

.txtInput {
    min-height: var(--ui-control-h);
    padding: 0 var(--ui-space-3);
    line-height: calc(var(--ui-control-h) - 2px);
    text-align: left;
}

select.txtInput {
    text-align: left;
    text-align-last: left;
    padding-right: 36px;
    background-image: linear-gradient(45deg, transparent 50%, var(--ui-text-3) 50%),
                      linear-gradient(135deg, var(--ui-text-3) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.txtAreaRestaurant {
    max-height: 300px;
    padding: var(--ui-space-3);
    line-height: var(--ui-lh);
}

.txtInput:hover,
.txtAreaRestaurant:hover {
    border-color: var(--ui-text-3);
}

.txtInput:focus,
.txtAreaRestaurant:focus {
    border-color: var(--ui-primary);
    box-shadow: var(--ui-focus-ring);
    outline: none;
}

.txtInput[disabled],
.txtInput[readonly],
.txtAreaRestaurant[disabled],
.txtAreaRestaurant[readonly] {
    background: var(--ui-surface-2);
    color: var(--ui-text-2);
}

/* Campo con error de validación */
.txtInput.bWrong,
.txtAreaRestaurant.bWrong {
    border: 1px solid var(--ui-danger) !important;
    background-color: var(--ui-danger-soft) !important;
}

.sizePricesInput {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0 var(--spacing-sm);
    line-height: 40px;
    border: none;
    background: var(--ui-surface);
    outline: none;
    color: var(--ui-text);
    font-size: var(--ui-fs-lg);
    font-weight: 600;
}

/* ==========================================================================
   CHECKBOXES
   ========================================================================== */
.sizes-checkbox {
    background-image: url(../../img/iconCheckBox.png);
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: 0px center;
}

.sizes-checkbox-checked {
    background-image: url(../../img/iconCheckBoxC.png);
}

.checkbox-three {
    background-image: url(../../img/iconCheckBox.png);
    background-repeat: no-repeat;
    background-position: 0px;
    padding-left: 30px;
    text-align: left;
    cursor: pointer;
    line-height: 20px !important;
}

.checkbox-three-checked {
    background-image: url(../../img/iconCheckBoxC.png);
}

.oneCheckbox {
    width: 100%;
    display: table;
    line-height: 26px !important;
    box-sizing: border-box;
    clear: both;
    padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-sm) 45px !important;
    /*margin: 0 !important;*/
    cursor: pointer;
    background-position: var(--spacing-md) center !important;
    border: var(--border-width-thick) solid rgba(0, 0, 0, 0);
}

/* Listado de alérgenos: rejilla responsiva (2 columnas en escritorio, 1 en móvil)
   con todas las filas de la misma altura para que los títulos de 2 líneas no descuadren. */
#allergens {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: 58px;
    gap: 6px 8px;
}
/* Cada ítem es un flex-row: [checkbox icon (fondo) | icono | texto].
   Se mantiene `.checkbox-three` / `.checkbox-three-checked` para el marcado por JS. */
.allergen-item {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 4px 8px 4px 36px;
    margin: 0;
    font-weight: 700;
    background-color: #ffffff;
    border-radius: var(--border-radius-sm);
    border: var(--border-width-thick) solid rgba(0, 0, 0, 0);
    cursor: pointer;
    line-height: 1.15;
    background-repeat: no-repeat;
    background-position: 8px center;
}
.allergen-item > img {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
}
.allergen-item > span {
    flex: 1 1 auto;
    min-width: 0;
}

.oneCheckboxExpanded {
    border-top: none !important;
    padding: var(--spacing-xs);
    box-sizing: border-box;
}

.multipleCheckboxes {
    background-color: var(--color-white);
    padding: var(--spacing-sm) 0 0 var(--spacing-sm);
    margin-top: var(--spacing-xs);
    max-height: 200px;
    overflow-y: scroll;
}

.mUnitCheckBox {
    line-height: 23px;
    cursor: pointer;
}

.selection-checkbox-checked {
    background-image: url(../../img/iconCheckBoxC.png);
}

/* ==========================================================================
   LOADERS Y ANIMACIONES
   ========================================================================== */
.panel-screen-loader {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99989;
    background: rgba(42, 36, 32, 0.35);
    pointer-events: none;
}

.panel-screen-loader__container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: auto;
    max-width: calc(100% - 32px);
    padding: 24px 28px;
    border-radius: var(--ui-radius-lg);
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow-lg);
    pointer-events: auto;
}

.panel-screen-loader__spinner {
    display: block;
    width: 48px;
    height: 48px;
    max-width: none;
    flex-shrink: 0;
}

.panel-screen-loader__label {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: var(--ui-text-2);
}

/* Indicador de carga AJAX: barra fina en la parte superior.
   header.php muestra/oculta #loadingScreen en ajaxStart/ajaxStop. */
.loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: calc(var(--z-index-header) + 1);
    overflow: hidden;
    pointer-events: none;
}

.loadingScreenGif {
    display: none;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--ui-primary) 35%, var(--ui-primary) 65%, transparent 100%);
    background-size: 40% 100%;
    background-repeat: no-repeat;
    animation: ui-loading-bar 1.1s var(--ui-ease) infinite;
}

@keyframes ui-loading-bar {
    0%   { background-position: -40% 0; }
    100% { background-position: 140% 0; }
}

#uploadingGif {
    z-index: var(--z-index-overlay);
    position: absolute;
    margin-top: var(--spacing-xl);
    width: 100%;
    height: 100%;
}

