@charset "utf-8";

/* ==========================================================================
   VARIABLES CSS ROOT - Valores reutilizables
   ========================================================================== */
:root {
    /* Colores corporativos - Paleta black, gold, white */
    --color-brown: #845600;/*#824212;*/
    --color-brown-menu: #c78023;
    --color-brown-light: #F5EDDF;
    --color-brown-shiny: #FDF0D5;
    --color-black: #373737;
    --color-black-dark: #323639;
    --color-white: #ffffff;
    --color-gold: #E3A217;

    /* Colores de estado */
    --color-red: #d62f2f;
    --color-green: #19b111;
    --color-green-gray: #179e0f;
    --color-green-dark: #16990e;
    --color-yellow: #f7d449;
    --color-blue: #1976D2;
    --color-blue-gray: #1565C0;
    --color-blue-dark: #0D47A1;
    --color-blue-light: #EDF5FA;

    /* Colores de fondo */
    --bg-body: #e1e4fa;
    --bg-content: #ECEBEE;
    --bg-gray: #ccc;
    --bg-gray-light: #f7f7f7;
    --bg-gray-medium: #eee;

    /* Colores de texto */
    --text-primary: #373737;
    --text-secondary: #646569;
    --text-placeholder: #ccc;

    /* Sombras */
    --shadow-sm: 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
    --shadow-md: 0px 1px 2px 0px rgba(85, 85, 85, 0.5);
    --shadow-lg: 0px 2px 7px -1px rgba(0, 0, 0, 0.5);
    --shadow-dark: 0px 2px 7px -1px rgba(0, 0, 0, 1);

    /* Bordes */
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 50px;
    --border-color: #c6c6c6;
    --border-color-light: #dad9da;
    --border-width: 1px;
    --border-width-thick: 2px;

    /* Espaciado */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 25px;
    --spacing-xxl: 50px;

    /* Tipografía */
    --font-family-primary: 'gothamBook', sans-serif;
    --font-family-secondary: 'proximaNovaRegular', sans-serif;
    --font-family-open: 'Open Sans', sans-serif;
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-md: 16px;
    --font-size-lg: 20px;
    --font-size-xl: 22px;
    --font-size-xxl: 24px;

    /* Z-index */
    --z-index-base: 1;
    --z-index-dropdown: 6;
    --z-index-overlay: 7;
    --z-index-header: 777;
    --z-index-modal: 7777;
    --z-index-modal-high: 7778;

    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s ease;
}

/* ==========================================================================
   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-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}

/* ==========================================================================
   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;
}

.alignMiddle {
    vertical-align: middle;
    display: inline-block;
}

/* Márgenes */
.marginTop15 {
    margin-top: var(--spacing-md);
}

/* ==========================================================================
   SOMBRAS
   ========================================================================== */
.wrapperShadow {
    box-shadow: var(--shadow-md);
}

.wrapperShadow:active,
.wrapperShadow:focus {
    box-shadow: none;
}

.wrapperShadowPush:active,
.wrapperShadowPush: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);
}

.shadowOff {
    box-shadow: none !important;
}

.innerShadow {
    box-shadow: inset 0px 1px 1px 0px rgba(55, 55, 55, 0.65);
}

/* ==========================================================================
   BORDES Y RADIOS
   ========================================================================== */
.roundCorners {
    border-radius: var(--border-radius-sm);
}

.roundCornersCarte {
    border-radius: var(--border-radius-md);
}

.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);
}

.botRightRoundCorners {
    border-bottom-right-radius: var(--border-radius-md);
}

.leftRoundCorners {
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
}

.rightRoundCorners {
    border-top-right-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
}

.border {
    border: var(--border-width) var(--border-color) solid;
}

.borderFantom {
    border: var(--border-width-thick) solid rgba(0, 0, 0, 0);
}

.borderWrong {
    border: var(--border-width-thick) solid var(--color-red) !important;
}

/* ==========================================================================
   COLORES DE FONDO
   ========================================================================== */
.bWhite {
    background-color: var(--color-white) !important;
}

.bBlack {
    background-color: var(--color-black-dark) !important;
}

.bBrown {
    background-color: var(--color-brown);
}

.bBrownClare {
    background-color: var(--color-brown-light);
}

.bBrownShiny {
    background-color: var(--color-brown-shiny);
}

.bBody {
    background-color: var(--bg-body);
}

.bContentBackground {
    background-color: var(--bg-content);
}

.bRed {
    background-color: var(--color-red);
}

.bYellow {
    background-color: var(--color-yellow);
}

.bGreen {
    background-color: var(--color-green);
}

.bBlue {
    background-color: var(--color-blue);
}

.bBlueHard {
    background-color: var(--color-blue-dark);
}

/* Estados de elementos */
.bComplete {
    background-color: rgb(154, 224, 150) !important;
    border: var(--border-width-thick) solid rgb(144, 208, 140) !important;
}

.bIncomplete {
    background-color: rgb(247, 212, 73) !important;
    border: var(--border-width-thick) solid rgb(253, 198, 0) !important;
}

/* Producto de carta ajena (edición limitada: solo activar/desactivar) */
.bExternalCarte {
    background-color: rgb(220, 235, 255) !important;
}

.bDisabled {
    background-color: #faf7f3 !important;
    border: var(--border-width-thick) solid rgb(189, 190, 197) !important;
}

/* Deshabilitado y oculto predominan sobre bExternalCarte (carta ajena) */
.elementWrapper.bIncomplete,
.groupWrapper.bIncomplete {
    background-color: rgb(247, 212, 73) !important;
    border: var(--border-width-thick) solid rgb(253, 198, 0) !important;
}
.elementWrapper.bDisabled,
.groupWrapper.bDisabled {
    background-color: rgb(197, 199, 208) !important;
    border: var(--border-width-thick) solid rgb(189, 190, 197) !important;
}

.bWrong {
    background-color: rgb(255, 160, 160) !important;
    border: var(--border-width-thick) solid rgb(245, 114, 114) !important;
}

.bOffer {
    background-color: rgb(227, 162, 23) !important;
    border: var(--border-width-thick) solid rgb(227, 162, 23) !important;
}

.bMenu {
    background-color: var(--color-white) !important;
    border: var(--border-width-thick) solid rgb(245, 245, 245) !important;
}

.bGreyscale {
    filter: grayscale(100%);
}

/* Colores de texto */
.cd62f2f {
    color: var(--color-red) !important;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
/* ==========================================================================
   BOTONES - Sistema unificado de botones
   ========================================================================== */

/* Botón base - Estilo corporativo (marrón) */
.button {
    max-width: min(45%, 200px);
    background: var(--color-blue);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.14);
    min-width: 120px;
    display: block;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
}

.button:hover {
    background: var(--color-blue-gray);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.button:active {
    background: var(--color-blue-dark);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.3);
}


/* Botón para añadir - Azul (acción positiva secundaria) */
.button-add {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
    box-shadow: 0 4px 15px rgba(56, 185, 215, 0.3);
}

.button-add:hover {
    box-shadow: 0 6px 20px rgba(56, 185, 215, 0.4);
    background: linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-blue) 100%);
}

.button-add:active {
    box-shadow: 0 2px 10px rgba(56, 185, 215, 0.3);
}

.btn {
    background-color: var(--color-brown);
    color: var(--color-white);
    text-align: center;
    padding: var(--spacing-sm);
    cursor: pointer;
}

.roundBtn {
    background-color: var(--color-white);
    color: var(--text-primary);
    text-align: center;
    padding: var(--spacing-sm);
    font-family: var(--font-family-primary);
}

.roundBtnBrown {
    background-color: var(--color-brown-shiny);
    color: var(--color-brown);
    text-align: center;
    padding: 2px;
    font-family: var(--font-family-primary);
}

.btnColor {
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-xs);
    font-size: var(--font-size-xl);
    text-decoration: none;
    margin: var(--spacing-sm) 0;
    color: var(--color-white);
    position: relative;
    display: inline-block;
}

.btnColor:active {
    transform: translate(0px, 5px);
    box-shadow: 0px 1px 0px 0px;
    color: var(--color-white);
}

.blue {
    background-color: #55acee;
    box-shadow: 0px 5px 0px 0px #3C93D5;
}

.blue:hover {
    background-color: #6FC6FF;
}


/* ==========================================================================
   FORMULARIOS E INPUTS
   ========================================================================== */
input,
textarea,
select {
    border: var(--border-width) solid rgba(130, 66, 18, 0.33);
}

input,
select {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-md);
    font-style: normal;
    color: var(--text-primary);
    display: inline-block;
    box-sizing: border-box;
    background-color: var(--color-white);
    border: none;
    outline: none;
    font-weight: 600;
}

select {
    text-align: center;
    text-align-last: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

option {
    text-align: left;
}

.txtInput {
    font-family: var(--font-family-secondary);
    width: 100%;
    /*height: 35px;*/
    display: block;
    box-sizing: border-box;
    padding: 0 var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    line-height: 40px;
    border: var(--border-width) solid var(--bg-gray);
    background: var(--color-white);
    outline: none;
    color: var(--text-primary);
    font-size: var(--font-size-md);
    text-align: center;
}

.txtInput:hover,
.txtInput:active,
.txtInput:focus,
.inputLogin:active,
.inputLogin:focus {
    outline: none;
}

.txtInput::-webkit-input-placeholder {
    color: var(--text-placeholder);
}

.txtInput:-moz-placeholder {
    color: var(--text-placeholder);
    opacity: 1;
}

.txtInput::-moz-placeholder {
    color: var(--text-placeholder);
    opacity: 1;
}

.txtInput:-ms-input-placeholder {
    color: var(--text-placeholder);
}

.txtAreaRestaurant {
    width: 100%;
    max-height: 300px;
    display: block;
    box-sizing: border-box;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    background: var(--color-white);
    outline: none;
    font-family: var(--font-family-open);
    color: var(--text-primary);
    font-size: var(--font-size-base);
}

.txtAreaRestaurant:hover,
.txtAreaRestaurant:active,
.txtAreaRestaurant:focus {
    outline: none;
}

.sizePricesInput {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0 var(--spacing-sm);
    line-height: 40px;
    border: none;
    background: var(--color-white);
    outline: none;
    color: var(--text-primary);
    font-size: var(--font-size-md);
    font-weight: 600;
}

.sizePricesInput:hover,
.sizePricesInput:active,
.sizePricesInput:focus {
    outline: none;
}

/* ==========================================================================
   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);
}

.checkbox-three-white {
    background-image: url(../img/iconCheckBoxWhite.png);
    background-size: 16px 16px;
    background-repeat: no-repeat;
    padding-left: 30px;
    background-position: 0px 4px;
    margin-bottom: var(--spacing-sm);
}

.checkbox-three-checked-white {
    background-image: url(../img/iconCheckBoxCWhite.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 {
    background-image: url(../img/iconCheckBox.png);
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: var(--spacing-xl) center;
    cursor: pointer;
}

.selection-checkbox-checked {
    background-image: url(../img/iconCheckBoxC.png);
}

/* ==========================================================================
   LOADERS Y ANIMACIONES
   ========================================================================== */
.loadingScreen {
    position: absolute;
    top: 0;
    left: 55px;
    right: 55px;
    text-align: center;
    line-height: 50px;
}

.loadingScreenGif {
    display: none;
}

.loadingScreenGif span {
    display: inline-block;
    vertical-align: middle;
    width: 10px;
    height: 10px;
    margin-right: 3px;
    transform: scale(0.3);
    border-radius: 50%;
    animation: ptr-loading var(--transition-base) infinite alternate;
}

#l1 {
    animation-delay: 0;
}

#l2 {
    animation-delay: 0.2s;
}

#l3 {
    animation-delay: 0.4s;
}

@keyframes ptr-loading {
    0% {
        transform: translateY(0) scale(0.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        background-color: var(--color-white);
        opacity: 1;
    }
}

#uploadingGif {
    z-index: var(--z-index-overlay);
    position: absolute;
    margin-top: var(--spacing-xl);
    width: 100%;
    height: 100%;
}

.uploadingGifHCenter {
    display: table;
    margin: var(--spacing-xs) auto 0px auto;
}

.uploadingGifVCenter {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    background-color: var(--bg-gray);
}

.uGVCUploadGif {
    background-image: url('../img/uploading.gif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50px;
}

/* ==========================================================================
   COMPONENTES DE INTERFAZ
   ========================================================================== */

.companyTitle{
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}
/* Header */
.header {
    display: none;
    z-index: var(--z-index-header);
    height: 48px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 68px;
    background-color: var(--color-brown-menu);
    border-bottom: #c78023 solid var(--border-width-thick);
    font-family: var(--font-family-primary);
    font-size: var(--font-size-md);
    color: var(--color-white);
}

.headerButtonWrapper {
    position: absolute;
    left: var(--spacing-sm);
    top: 7px;
    height: 36px;
    width: 36px;
    background-image: url('../img/iconMenu.png');
    background-repeat: no-repeat;
    background-size: 36px;
    cursor: pointer;
    border-radius: 18px;
}

.logoutButton {
    position: absolute;
    line-height: 15px;
    width: 32px;
    height: 37px;
    top: 5px;
    right: var(--spacing-md);
    border-radius: 7px;
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url(../img/iconLogoutWhite.png);
    background-size: 32px;
    cursor: pointer;
}

.backButton {
    position: absolute;
    left: var(--spacing-sm);
    top: 7px;
    height: 36px;
    width: 36px;
    background-image: url('../img/iconBack.png');
    background-repeat: no-repeat;
    background-size: 36px;
    cursor: pointer;
    border-radius: 18px;
}

.headerTextWrapper {
    display: table;
    margin: 0;
    height: 48px;
    overflow: hidden;
    width: 100%;
}

.headerText {
    display: table-cell;
    vertical-align: middle;
    line-height: 18px;
    text-align: center;
}

/* Login */
.startingScreenTwo {
    position: absolute;
    top: 15vh;
    width: 100%;
    text-align: center;
}

.loginLogo {
    margin: 0 auto;
    height: auto;
    max-width: 100%;
    max-height: 100px;
}

.inputLoginWrapper {
    box-sizing: border-box;
    width: 100%;
    margin-top: var(--spacing-md);
    padding: 0px var(--spacing-md) 0px var(--spacing-md);
}

.inputLogin {
    width: 90%;
    max-width: 300px;
    text-align: center;
    line-height: 40px;
    height: 40px;
    border: 0px solid var(--bg-gray);
    padding: 0px var(--spacing-xs) 0px var(--spacing-xs);
    background: var(--color-white);
    outline: none;
}

.loginButton {
    width: 90%;
    max-width: 300px;
    display: table;
    cursor: pointer;
    margin: 0 auto;
    padding: var(--spacing-sm) 0;
    background: #EA7504;
    color: var(--color-white);
}

.loginOther {
    box-sizing: border-box;
    float: left;
    width: 100%;
    color: var(--color-white);
    text-align: center;
    margin: var(--spacing-sm) 0;
}

.loginOther:hover,
.loginOther:active,
.loginOther:focus {
    color: yellow !important;
}

.termsAndCond {
    overflow-y: scroll;
    height: 300px;
    width: 100%;
    border: var(--border-width) solid #DDD;
    box-sizing: border-box;
    padding: var(--spacing-sm);
    background-color: var(--color-white);
    text-align: justify;
    margin-bottom: var(--spacing-md);
}

.backgroundLogin {
    background-image: url('../img/background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Content */
.content {
    margin: 0 var(--spacing-lg);
}

.contentHeader {
    display: block;
    width: 100%;
    padding: var(--spacing-md) auto var(--spacing-sm) auto;
}

.contentBody {
    display: table;
    width: 80%;
    margin: 0 auto;
}

/* Título de sección - Estilo profesional y sofisticado */
.section-title {
    text-align: center;
    color: var(--color-black);
    font-size: var(--font-size-lg);
    font-family: var(--font-family-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    float: none;
    clear: both;
    padding: var(--spacing-md) 0;
    margin: 0 0 var(--spacing-md) 0;
    border-bottom: 2px solid var(--color-gold);
    position: relative;
    background: linear-gradient(to right, transparent 0%, rgba(227, 162, 23, 0.1) 50%, transparent 100%);
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);*/
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}


.section-description {
    flex: 1;
    margin-bottom: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--color-blue);
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow-y: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: 60px;
    max-height: 200px;
}

.contentFloat {
    float: left;
    text-align: right;
}

/* Fieldset */
.fieldset {
    border: var(--border-width) #f5ebdc solid;
    display: table;
    border-radius: var(--border-radius-sm);
    background-color: #f7f7f7;
    padding: 0 0 50px 0;
    max-width: 750px;
    min-width: 290px;
    margin: 0 auto;
}

.fieldsetList {
    border: var(--border-width) var(--border-color) solid;
    display: table;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-brown-light);
    padding: var(--spacing-md) 0px;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

/* Popups */
#validationPopUp,
#cardsPopUp {
    margin: 0 auto;
    display: none;
}

.validationPopUpContent {
    max-width: 450px;
    box-sizing: border-box;
    margin: 0 var(--spacing-sm);
    padding: var(--spacing-md);
    text-align: center;
}

.popUpButtonsWrapper {
    display: table;
    border-collapse: separate;
    border-spacing: var(--spacing-xs);
    width: 100%;
    margin-top: var(--spacing-xs);
}

.poUpButton {
    display: table-cell;
    box-sizing: border-box;
    padding: 2px;
    vertical-align: middle;
    height: 40px;
    cursor: pointer !important;
    width: 33%;
    border-radius: var(--border-radius-sm);
}

.popUpLoginEmailWrapper {
    display: none;
    z-index: var(--z-index-modal-high);
    width: 80%;
    max-width: 450px;
    box-sizing: border-box;
    padding: var(--spacing-md);
    text-align: center;
}

.popUpLoginError {
    text-align: center;
    margin-top: var(--spacing-sm);
}

.popUpLoginButtonWrapper {
    display: table;
    border-collapse: separate;
    border-spacing: var(--spacing-md);
    width: 50%;
    margin-top: var(--spacing-sm);
    margin: 0 auto;
}

#barraaceptacion {
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: var(--z-index-modal);
}

.inner {
    text-align: center;
    box-sizing: border-box;
    padding: var(--spacing-sm);
}

.inner .ok {
    display: inline-block;
    padding: 0 var(--spacing-sm);
    cursor: pointer;
}

.inner .info {
    text-decoration: none;
    color: var(--color-yellow);
    padding: 0 var(--spacing-sm);
}

/* ==========================================================================
   COMPONENTES ESPECÍFICOS
   ========================================================================== */

/* Navegación */
.landing-navigation a {
    margin-left: var(--spacing-md);
    margin-right: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.nav-overlay {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border: none !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


.publishButton {
    display: block;
    margin: var(--spacing-md) 0;
    padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-sm) 55px !important;
    background-image: url('../img/iconPublish.png');
    background-position: var(--spacing-lg) center;
    background-repeat: no-repeat;
    background-size: 18px;
    line-height: 50px;
    max-width: 150px;
    margin: var(--spacing-xl) auto;
}

/* Botones de acción */
.saveButton {
    width: 50%;
    padding: var(--spacing-sm) 0px;
    text-decoration: none;
    text-align: center;
}

.save {
    background-color: var(--color-green);
    float: left;
}

.cancel {
    float: right;
    background-color: var(--color-red);
}

.buttonEdit,
.buttonCopy,
.buttonErase,
.buttonEditWhite20,
.buttonCopyWhite20,
.buttonEraseWhite20 {
    display: table-cell;
    width: 50px;
    height: 30px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 20px;
    cursor: pointer;
}

.buttonEdit {
    background-image: url('../img/iconEdit.png');
}

.buttonCopy {
    background-image: url('../img/iconCopy.png');
}

.buttonErase {
    background-image: url('../img/iconDelete.png');
}


.buttonEditWhite20 {
    background-image: url('../img/iconEditWhite20.png');
}

.buttonCopyWhite20 {
    background-image: url('../img/iconCopyWhite20.png');
}

.buttonEraseWhite20 {
    background-image: url('../img/iconDeleteWhite20.png');
}

.buttonEditNotif {
    background-image: url('../img/iconEditNotif.png');
    width: 35px;
    height: 35px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    cursor: pointer;
}

.buttonSendNotif {
    background-image: url('../img/iconSendNotif.png');
    width: 35px;
    height: 35px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    cursor: pointer;
}

.buttonEraseNotif {
    background-image: url('../img/iconDeleteNotif.png');
    width: 35px;
    height: 35px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    cursor: pointer;
}

.buttonEdit:active,
.buttonEdit:focus,
.buttonCopy:active,
.buttonCopy:focus,
.buttonErase:active,
.buttonErase:focus {
    z-index: var(--z-index-dropdown);
}

/* Elementos de menú */
.sizePricesWrapper {
    display: table;
    width: 100%;
    margin-top: var(--spacing-xs);
}

.sizePricesSelection, .offerPricesSelection {
    display: table-cell;
    padding: 0 0 0 var(--spacing-lg);
    vertical-align: middle;
    cursor: pointer;
}

.avatarButton {
    float: left;
    width: 49%;
    margin: var(--spacing-xs) auto 0px auto;
    line-height: 40px;
    min-height: 40px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer !important;
    margin-top: var(--spacing-xs);
}

/* Horarios */
.pixel-picker-row {
    margin: 0;
    width: 100%;
    display: table;
    clear: both;
    text-align: center;
}

.pixel-picker-cell {
    display: table-cell;
    box-sizing: border-box;
    cursor: pointer;
    height: 60px;
    background-color: var(--color-brown-light);
}

/* Selección */

.newGroupButtonCarte {
    padding: var(--spacing-sm);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.addGroupButton,
.addElementButton {
    text-align: center;
}

.addGroupButtonTwo {
    display: inline-block;
    padding: var(--spacing-sm);
}

.groupAllContentsWrapper {
    margin-bottom: var(--spacing-xl);
    /*margin-left: 45px;*/
}

.categoryWrapper,
.groupWrapper {
    position: relative;
    display: table;
    width: 100%;
    height: 100px;
    background-color: var(--color-white);
}


.categoryWrapper {
    margin-top: var(--spacing-xxl);
}

.arrowsWrapper {
    position: absolute;
    top: 30px;
    bottom: 30px;
    width: 30px;
    margin: -32px -32px -32px -42px;
}

.moveUp,
.moveDown {
    display: table-cell;
    width: 20px;
    height: 33%;
    cursor: pointer;
    background-repeat: no-repeat;
}

.moveUp {
    background-position: center bottom;
    background-image: url('../img/iconCatUp.png');
}

.moveDown {
    background-position: center top;
    background-image: url('../img/iconCatDown.png');
}

.moveUp:hover,
.moveUp:active,
.moveUp:focus,
.moveDown:hover,
.moveDown:active,
.moveDown:focus {
    background-color: var(--color-white);
}

.moveNumber {
    display: table-cell;
    box-sizing: border-box;
    padding-bottom: 2px;
    width: 20px;
    height: 20%;
    vertical-align: middle;
    text-align: center;
}

.categoryBox {
    background-color: var(--color-white);
    width: 100%;
}

.group {
    width: 100%;
    height: 100%;
}

.categoryTxt,
.groupTxt {
    box-sizing: border-box;
    padding: var(--spacing-sm) var(--spacing-xs);
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    height: 100%;
}

.categoryTxtTitle,
.groupTxtTitle {
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: var(--spacing-sm);
}

.groupTxtTitle {
    text-align: center;
}

.groupButtons,
.elementButtons {
    display: table-cell;
    width: 50px;
}

.unionBar {
    margin: 0 auto;
    width: 1px;
    height: var(--spacing-sm);
    border-left: var(--border-width) solid #814212;
    background-color: var(--color-white);
}

.groupElementsWrapper {
    box-sizing: border-box;
}

.menuWrapper {
    width: 100%;
    box-sizing: border-box;
    background-color: var(--color-white);
}

.elementWrapper {
    position: relative;
    width: 100%;
    display: table;
    box-sizing: border-box;
    margin: 0 0 7px 0px;
    height: 85px;
    background-color: var(--color-white);
    box-shadow: 1px 1px var(--bg-gray);
}

.notifWrapper {
    position: relative;
    background-color: var(--color-white);
}

.elementImg {
    display: table-cell;
    width: 85px;
    height: 85px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: #777;
}

.elementTxtWrapper {
    position: relative;
    display: table-cell;
    border: none !important;
    vertical-align: middle;
    text-align: center;
}

.elementTxt {
    box-sizing: border-box;
    padding: 7px 2px;
}

.elementInfo {
    box-sizing: border-box;
    padding: var(--spacing-xs) 2px;
}

.elementTxtCover {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}

.newSelectionButton {
    position: relative;
    box-sizing: border-box;
    padding: var(--spacing-xs);
    margin-top: var(--spacing-xs);
    text-align: center;
    padding: 12px 0;
    font-size: var(--font-size-base) !important;
}

.otherPostalCodeWrapper {
    position: relative;
    margin-top: var(--spacing-sm);
}

.postalCodeDelete {
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px;
}

.iconDelete {
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px;
}

.selectionContainer {
    padding: var(--spacing-sm) 0 var(--spacing-xs) 0;
}

.selectionTitleContainer {
    display: table;
    width: 100%;
    line-height: 30px;
}

.selectionIconDelete {
    width: 40px;
    background-image: url('../img/iconDelete.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px;
}

.selectionItemsContainer {
    padding: var(--spacing-sm) 0 0 var(--spacing-sm);
    height: 250px;
    overflow-y: scroll;
    border: none !important;
}

.selectionCategoryTitleContainer {
    line-height: 30px;
    cursor: pointer;
}

.selectionElementTitleContainer {
    line-height: 23px;
    padding-left: 55px;
    margin-bottom: var(--spacing-sm);
}

.variantTitle {
    padding-left: var(--spacing-xl);
    margin-bottom: 0px;
}

.variant {
    margin-left: calc(var(--spacing-sm) * -1);
    margin-bottom: var(--spacing-xs);
    cursor: pointer;
}

.selectionCategorySeparator {
    padding: var(--spacing-md) 0 var(--spacing-sm) 0;
    margin-right: var(--spacing-sm);
    background-image: url(../img/lineaSeparadora.png);
    background-position: center left;
    background-repeat: repeat-x;
}

/* Resumen y órdenes */

.summaryWrapper {
    box-sizing: border-box;
    padding: var(--spacing-xs);
    background-color: var(--bg-gray-medium);
    margin: var(--spacing-xs) 0;
}

.summary {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    padding: var(--spacing-sm) var(--spacing-lg);
}

.summaryRowSeparator {
    display: table;
    width: 100%;
    height: var(--spacing-xs);
}

.summaryLine {
    display: table;
    width: 10%;
    height: 1px;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    margin-left: 90%;
    background-color: var(--border-color);
}

.summaryRow {
    display: table;
    width: 100%;
    padding-bottom: var(--spacing-xs);
}

.summaryVoteProductButton {
    display: table-cell;
    height: 25px;
    width: 35px;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    background-position: center center;
    cursor: pointer;
}

.summaryProductInfo {
    display: table-cell;
    vertical-align: middle;
}

.summaryProductPrice {
    display: table-cell;
    text-align: right;
    vertical-align: middle;
    width: 50px;
}

.summaryStep {
    display: table-cell;
    box-sizing: border-box;
    padding-left: var(--spacing-md);
    vertical-align: middle;
}

.summaryStepExtras {
    display: table-cell;
    box-sizing: border-box;
    padding-left: 30px;
    vertical-align: middle;
}

.summaryExtra {
    display: inline-block;
}

/* Imágenes */
.noImg {
    background-image: url('../img/noImg.jpg');
    background-repeat: no-repeat;
}

.imageSelectHover {
    box-sizing: border-box;
    margin: -2px 0 0 -2px;
    border: var(--border-width) solid #e8ddd2;
    cursor: pointer;
    outline: none;
    width: 100%;
    height: 100%;
}

.imageSelectHover:hover,
.imageSelectHover:active,
.imageSelectHover:focus {
    border: var(--border-width) solid var(--color-yellow);
    opacity: 0.75;
    outline: none;
}

.profilePic {
    background-repeat: no-repeat;
    background-size: cover;
    width: 40px;
    height: 40px;
    position: relative;
    left: 0px;
    top: 0px;
    z-index: 0;
}

.platformPic {
    right: var(--spacing-xs);
    bottom: var(--spacing-sm);
    z-index: 77;
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    border-radius: 12px;
    opacity: 0.9;
}

.profilePicWhite {
    background-image: url('../img/user_unknown_bgwhite.png');
}

.profilePicBrown {
    background-image: url('../img/user_unknown_bgbrown.png');
}

.downArrowIcon {
    background-image: url('../img/downarrowicon.png');
}

.headerImg {
    /*background-image: url('../img/imgHeader.jpg?20260126');*/
    background-repeat: repeat;
    vertical-align: top;
    /* El menú lateral (#leftColumn) usa width:15% con min-width:220px en posición fixed.
       Reservamos el mismo ancho aquí para que el contenido nunca quede tapado por el menú,
       respetando el min-width de 220px en viewports estrechos (~816px–1466px). */
    padding-left: max(15%, 220px);
    height: 100vh;
}

.dogImg {
    background-image: url('../img/dogScreen.png');
    background-repeat: no-repeat;
    vertical-align: bottom;
    background-size: cover;
    width: 300px;
    height: 373px;
    background-position-x: center;
}

/* Iconos */
.iconOk {
    background-image: url('../img/iconOk.png');
}

.iconKo {
    background-image: url('../img/iconKo.png');
}

.iconOk,
.iconKo {
    width: 16px;
    height: 16px;
    background-size: 16px 16px;
    background-repeat: no-repeat;
}

.arrow {
    border: solid #4d4d4d;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: var(--spacing-xs);
    color: #4d4d4d;
    cursor: pointer;
}

.up {
    transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
}

/* Croppie */
.croppie-container .cr-viewport {
    position: absolute;
    box-sizing: border-box;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    box-shadow: 0 0 0 899px rgba(231, 231, 231, 0.9);
    background-color: transparent;
    z-index: 0;
    outline: none;
}

.croppie-container .cr-image,
.croppie-container .cr-overlay,
.croppie-container .cr-viewport {
    transform: translateZ(0);
}

/* Menú principal */
.circleMenu {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    float: left;
    top: 76px;
    left: 72px;
    position: relative;
    color: #fdfaf4;
    font-size: var(--font-size-lg);
    font-weight: bolder;
    font-family: initial;
}

.circle {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    float: left;
    text-align: center;
    font-family: initial;
}

.circleOrder {
    border-radius: 50%;
    width: 12px;
    height: 12px;
    text-align: center;
    font-family: initial;
}

.circleOrderBig {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    font-family: initial;
}

.iconBoxWidth {
    width: 33%;
}

.jsDetailOrder {
    margin-left: var(--spacing-xl);
    margin-right: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.sMenuTitle {
    font-size: var(--font-size-xs);
}

.btnTopOn {
    color: var(--color-white);
}

.btnTopOff {
    color: var(--color-blue-dark);
}

.decoration {
    display: table;
    border-bottom: var(--border-width) solid #ddd;
    width: 90%;
    margin: 0 auto;
}

.ui-datepicker-calendar {
    background-color: var(--color-brown-light);
}

/* Layout */
#leftContainer {
    width: 100%;
    vertical-align: top;
}

#rightContainer {
    width: 100%;
    vertical-align: top;
}

.separator50smartphone {
    float: none;
    clear: both;
    height: var(--spacing-xxl);
}

.separator50pc {
    float: none;
    clear: both;
    height: 0;
}

#leftColumn {
    left: 0;
    z-index: var(--z-index-base);
    width: 15%;
    height: 100vh;
    vertical-align: top;
    min-width: 220px;
    position: fixed;
    margin: 0;
}

#chartWidth {
    width: 40vw;
    height: 20vw;
}

.scrollable {
    overflow-y: scroll;
    max-height: 100vh;
    width: 100%;
}

.scrollable::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

#footer {
    position: fixed;
    left: 15%;
    bottom: 0px;
    height: 45px;
    width: 85%;
    border: var(--border-width) var(--bg-gray) solid;
    background-color: var(--color-white);
    font-size: var(--font-size-md);
}

#map {
    height: 100%;
    width: 85%;
    position: absolute;
    top: 0px;
    bottom: 0;
    right: 0;
    left: 15%;
}

#configmap {
    padding: var(--spacing-sm) 0 var(--spacing-lg) 0;
    max-width: 400px;
    display: table;
    margin: 0 auto;
}

canvas#lineChart,
#lineChartOrders7Days,
#lineChartOrders30Days,
#lineChartOrders90Days,
#lineChartUserDownloads,
#lineChartUserAccess,
#lineChartUserRegistered {
    width: 100% !important;
}

.ordersSelectWrapper {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: var(--spacing-md);
}

.ordersSelect {
    height: 40px;
    width: 90%;
    text-align: center;
    text-align-last: center;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: var(--color-white);
}

/* ==========================================================================
   DASHBOARD VIEW SYSTEM
   --------------------------------------------------------------------------
   Estructura visual unificada para todas las vistas del panel.

   Patrón de uso recomendado:

   <div class="table" style="width:100%">
     <div id="leftColumn" class="cell bBlack"> ...menu lateral... </div>
     <div class="cell headerImg">

       <div class="dash-view">                       <- Contenedor principal de la vista

         <div class="dash-header">                   <- Cabecera de la vista
           <div class="dash-title">Mi título</div>
           <div class="dash-subtitle">Descripción corta</div>
         </div>

         <div class="dash-note"> Aviso opcional </div>

         <div class="dash-kpi-grid">                 <- Rejilla de KPIs (opcional)
           <div class="dash-kpi-card">
             <div class="dash-kpi-label">Etiqueta</div>
             <div class="dash-kpi-value">123<span class="dash-kpi-suffix">€</span></div>
           </div>
         </div>

         <section class="dash-block">                <- Sección de contenido
           <div class="dash-block-header">
             <span class="dash-block-title">Título de sección</span>
             <span class="dash-block-subtitle">subtítulo opcional</span>
           </div>
           <div class="dash-card"> ...contenido... </div>
         </section>

         <div class="dash-empty"> Sin datos </div>   <- Estado vacío

       </div>
     </div>
   </div>

   Para cambiar la apariencia global (tamaño de tipografía, color, radio de
   tarjetas, etc.) basta con tocar los tokens --dash-* o las reglas .dash-*
   de esta sección; el cambio se propaga a todas las vistas migradas.
   ========================================================================== */

:root {
    --dash-max-width: 1200px;
    --dash-side-padding: 20px;
    --dash-bottom-padding: 60px;

    --dash-bg-card: #ffffff;
    --dash-border-card: rgba(0, 0, 0, 0.04);
    --dash-border-soft: #efe6dd;
    --dash-border-divider: rgba(78, 52, 46, 0.15);

    --dash-text-strong: #4e342e;
    --dash-text-medium: #7d6c63;
    --dash-text-muted: #8d7d77;
    --dash-accent: var(--color-gold);

    --dash-radius-card: 14px;
    --dash-shadow-card: 0 2px 5px rgba(0, 0, 0, 0.03);
    --dash-shadow-card-hover: 0 8px 18px rgba(78, 52, 46, 0.07);

    --dash-title-size: 30px;
    --dash-subtitle-size: 14px;
    --dash-block-title-size: 15px;
    --dash-block-subtitle-size: 12px;
    --dash-kpi-label-size: 11px;
    --dash-kpi-value-size: 24px;
    --dash-kpi-suffix-size: 14px;

    --dash-font-display: 'proximaNovaRegular', 'Proxima Nova', 'Helvetica Neue', Arial, sans-serif;

    /* === Paleta del menú lateral (clara) ===
       Cambiar aquí cualquier color del menú propaga al resto de la app. */
    --menu-bg:                #ffffff;
    --menu-border-right:      #efe6dd;
    --menu-text:              #4e342e;
    --menu-text-muted:        #7d6c63;
    --menu-hover-bg:          #faf3e7;
    --menu-section-active-bg: #f7eed8;
    --menu-section-active-tx: #4e342e;
    --menu-subitem-active-bg: #f1e2bd;
    --menu-subitem-active-tx: #4e342e;
    --menu-subitem-text:      #7d6c63;
    --menu-accent:            var(--color-gold);
}

.dash-view {
    font-family: var(--font-family-secondary), Arial, sans-serif;
    max-width: var(--dash-max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--dash-side-padding) var(--dash-bottom-padding);
    color: var(--dash-text-strong);
    box-sizing: border-box;
}

.dash-header {
    text-align: center;
    margin-bottom: 25px;
    margin-top: 50px;
}
.dash-title {
    font-family: var(--dash-font-display);
    font-size: var(--dash-title-size);
    font-weight: 700;
    color: var(--dash-text-strong);
    letter-spacing: -0.2px;
    line-height: 1.15;
}
.dash-subtitle {
    font-family: var(--dash-font-display);
    font-size: var(--dash-subtitle-size);
    color: var(--dash-text-muted);
    margin-top: 8px;
    font-style: normal;
    font-weight: 400;
}

.dash-note {
    position: relative;
    background: var(--dash-bg-card);
    border: 1px solid var(--dash-border-soft);
    border-left: 3px solid var(--dash-accent);
    border-radius: 12px;
    padding: 14px 18px 14px 56px;
    margin-bottom: 22px;
    font-size: 13px;
    color: var(--dash-text-medium);
    line-height: 1.5;
}
.dash-note::before {
    content: "i";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(227, 162, 23, 0.15);
    color: var(--dash-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Times New Roman", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}
.dash-note strong { color: var(--dash-text-strong); }
.dash-note.dash-note-danger {
    background: #fdecec;
    border-color: #f5c4c4;
    border-left-color: #c0392b;
    color: #a83232;
}
.dash-note.dash-note-danger::before {
    background: rgba(192, 57, 43, 0.12);
    color: #c0392b;
}

/* Catálogo (carte.php): leyenda carta propia / maestra y nota con icono bombilla */
.dash-view .dash-carte-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-width: 640px;
}
.dash-view .dash-carte-legend-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--dash-text-medium);
}
.dash-view .dash-carte-legend-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}
.dash-view .dash-note.dash-carte-tip {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    margin-bottom: 18px;
}
.dash-view .dash-note.dash-carte-tip::before {
    display: none;
}
.dash-view .dash-carte-tip-icon {
    flex-shrink: 0;
    line-height: 0;
}
.dash-view .dash-carte-tip-text {
    flex: 1;
    min-width: 0;
}
.dash-view .dash-carte-tip-text strong {
    color: var(--dash-text-strong);
    font-weight: 600;
}

.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
.dash-view .dash-kpi-grid--pair {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;
}
.dash-kpi-card {
    background: var(--dash-bg-card);
    border-radius: var(--dash-radius-card);
    padding: 20px;
    border: 1px solid var(--dash-border-card);
    border-left: 4px solid var(--dash-accent);
    box-shadow: var(--dash-shadow-card);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.dash-kpi-card:hover {
    box-shadow: var(--dash-shadow-card-hover);
    border-color: rgba(227, 162, 23, 0.3);
    border-left-color: var(--dash-accent);
}
.dash-kpi-label {
    font-size: var(--dash-kpi-label-size);
    color: var(--dash-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: bold;
    margin-bottom: 8px;
}
.dash-kpi-value {
    font-size: var(--dash-kpi-value-size);
    color: var(--dash-text-strong);
    font-weight: bold;
    line-height: 1.1;
}
.dash-kpi-suffix {
    font-size: var(--dash-kpi-suffix-size);
    color: var(--dash-text-muted);
    margin-left: 4px;
    font-weight: normal;
}

.dash-block { margin-bottom: 30px; }
.dash-block-header {
    border-bottom: 1px solid var(--dash-border-divider);
    margin-bottom: 16px;
    padding-bottom: 8px;
    display: flex;
    align-items: baseline;
}
.dash-block-title {
    font-weight: bold;
    font-size: var(--dash-block-title-size);
    color: var(--dash-text-strong);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.dash-block-subtitle {
    font-size: var(--dash-block-subtitle-size);
    color: var(--dash-text-muted);
    margin-left: 15px;
    font-style: italic;
}

.dash-card {
    background: var(--dash-bg-card);
    border-radius: var(--dash-radius-card);
    padding: 22px 24px;
    border: 1px solid var(--dash-border-card);
    box-shadow: var(--dash-shadow-card);
    margin-bottom: 18px;
    border: 1px solid #efe6dd;
    box-shadow: 0 1px 2px rgba(78, 52, 46, 0.04);
}
.dash-card canvas { width: 100% !important; }

.dash-empty {
    text-align: center;
    padding: 50px 20px;
    background: var(--dash-bg-card);
    border-radius: var(--dash-radius-card);
    border: 1px dashed #d9c9bb;
    box-shadow: var(--dash-shadow-card);
    color: var(--dash-text-muted);
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Overrides de formulario para reutilizar clases legacy dentro de .dash-view
   (cBrown, txtInput, multipleCheckboxes, decoration, button, fieldset...)
   -------------------------------------------------------------------------- */
.dash-view fieldset { border: 0; margin: 0; padding: 0; }
.dash-view .section-title {
    font-size: var(--dash-block-title-size);
    font-weight: bold;
    color: var(--dash-text-strong);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--dash-border-divider);
}
/*.dash-view .cBrown {
    color: var(--dash-text-muted);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.2px;
    margin-top: 14px;
    margin-bottom: 6px;
}*/
.dash-view .txtInput.bWrong,
.dash-view .txtAreaRestaurant.bWrong {
    border: 1px solid #f06464 !important;
    background-color: #fff2f2 !important;
}
.dash-view .txtInput,
.dash-view .txtAreaRestaurant {
    border: 1px solid #e8ddd2 !important;
    border-radius: 10px !important;
    color: var(--dash-text-strong);
}
.dash-view .txtInput:focus,
.dash-view .txtAreaRestaurant:focus {
    border-color: var(--dash-accent) !important;
    box-shadow: 0 0 0 2px rgba(227, 162, 23, 0.12);
    outline: none;
}
.dash-view .multipleCheckboxes {
    border: 1px solid #e8ddd2 !important;
    border-radius: 10px !important;
    padding: 8px;
}
.dash-view .decoration { height: 1px; background: var(--dash-border-soft); }
.dash-view .button {
    border-radius: 999px !important;
    background: var(--dash-accent) !important;
    color: #fff !important;
    font-weight: 700;
    border: none !important;
    box-shadow: 0 3px 10px rgba(227, 162, 23, 0.25);
    padding: 12px 28px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}
.dash-view .button:hover {
    background: #c98e15 !important;
    box-shadow: 0 5px 14px rgba(227, 162, 23, 0.32);
}
/* Variante secundaria: acciones complementarias dentro de un bloque */
.dash-view .button.dash-button-secondary {
    background: #fff !important;
    color: var(--dash-accent) !important;
    border: 1px solid var(--dash-accent) !important;
    box-shadow: none;
}
.dash-view .button.dash-button-secondary:hover {
    background: #fbf2dc !important;
    box-shadow: none;
}
/* Botón pequeño en línea (acciones secundarias compactas) */
.dash-view .button.dash-button-sm {
    min-width: 0;
    padding: 8px 18px;
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   Bloque de código (.dash-code-block) — para mostrar snippets copiables
   -------------------------------------------------------------------------- */
.dash-view .dash-code-block {
    background: #1f2933;
    color: #e6edf3;
    padding: 14px 16px;
    border-radius: 10px;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 12px;
    line-height: 1.6;
    word-break: break-all;
    overflow-wrap: anywhere;
    border: 1px solid #0f1419;
    user-select: all;
    -webkit-user-select: all;
}

/* ==========================================================================
   MENÚ LATERAL (.dash-menu-*) — Paleta clara estandarizada
   Todo el color/hover/active se controla con los tokens --menu-* del :root.
   Las clases se aplican desde includes/left_menu.php.
   ========================================================================== */
#leftColumn {
    background-color: var(--menu-bg) !important;
    border-right: 1px solid var(--menu-border-right);
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.02);
}

.dash-menu {
    width: 100%;
    background: var(--menu-bg);
    color: var(--menu-text);
    font-family: var(--dash-font-display);
    padding: 12px 0 24px 0;
    box-sizing: border-box;
}

/* Cabecera con datos del comercio */
.dash-menu-account {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--menu-border-right);
}
.dash-menu-account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--menu-section-active-bg) no-repeat center/22px;
    flex-shrink: 0;
}
.dash-menu-account-info {
    min-width: 0;
    line-height: 1.25;
}
.dash-menu-account-name {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: var(--menu-text);
    letter-spacing: 0.2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dash-menu-account-mail {
    display: block;
    font-size: 11px;
    color: var(--menu-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Ítem principal del menú */
.dash-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    margin: 2px 8px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--menu-text);
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.18s ease, color 0.18s ease;
    user-select: none;
}
.dash-menu-item:hover {
    background-color: var(--menu-hover-bg);
    color: var(--menu-text);
}
.dash-menu-item.is-active {
    background-color: var(--menu-section-active-bg);
    color: var(--menu-section-active-tx);
    font-weight: 600;
}
.dash-menu-item-icon {
    width: 22px;
    height: 22px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
    opacity: 0.85;
}
.dash-menu-item.is-active .dash-menu-item-icon { opacity: 1; }
.dash-menu-item-label {
    flex: 1;
    min-width: 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Grupo de subopciones de un módulo */
.dash-menu-suboptions {
    padding: 4px 0 8px 0;
    margin: 0 8px 2px 8px;
}
.dash-menu-subitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px 7px 50px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--menu-subitem-text);
    font-size: 13px;
    font-weight: 400;
    transition: background-color 0.18s ease, color 0.18s ease;
}
.dash-menu-subitem:hover {
    background-color: var(--menu-hover-bg);
    color: var(--menu-text);
}
.dash-menu-subitem.is-active {
    background-color: var(--menu-subitem-active-bg);
    color: var(--menu-subitem-active-tx);
    font-weight: 600;
}

/* Burbuja de estado (incompleto / verificación pendiente) */
.dash-menu-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dash-menu-bullet.is-incomplete { background-color: var(--color-red); }
.dash-menu-bullet.is-pending    { background-color: var(--color-yellow); }

/* Pie del menú */
.dash-menu-footer {
    margin-top: 12px;
    padding: 14px 18px 0;
    border-top: 1px solid var(--menu-border-right);
    text-align: center;
    font-size: 11px;
    color: var(--menu-text-muted);
}
.dash-menu-footer a {
    color: var(--menu-text-muted);
    text-decoration: none;
}
.dash-menu-footer a:hover { text-decoration: underline; }

/* Compatibilidad con el partial legacy de left_menu: cuando se anida dentro
   de #leftColumn, fuerza fondo blanco aunque venga marcado como bBlack. */
#leftColumn .bBlack { background-color: var(--menu-bg) !important; }

/* Form grid: dos columnas en escritorio, una en móvil */
.dash-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 4px;
}
/* Form grid: tres columnas (la primera más ancha) */
.dash-field-row-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 18px;
    margin-top: 4px;
}
.dash-field { display: flex; flex-direction: column; }
.dash-field .cBrown { margin-top: 0; margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   Toggle switch reutilizable (.dash-toggle)
   Pensado para reemplazar visualmente checkboxes legacy basados en
   .checkbox-three / .checkbox-three-checked. El JS sigue alternando la
   clase .checkbox-three-checked, sin cambios.
   -------------------------------------------------------------------------- */
.dash-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background: #d9c9bb;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.22s ease;
    vertical-align: middle;
    overflow: hidden;
    text-indent: -9999px;
    box-sizing: border-box;
    flex-shrink: 0;
}
.dash-toggle::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.22s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.dash-toggle.checkbox-three-checked {
    background: var(--dash-accent);
}
.dash-toggle.checkbox-three-checked::before {
    transform: translateX(20px);
}
.dash-toggle-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    vertical-align: middle;
}
.dash-toggle-text {
    font-size: 13px;
    color: var(--dash-text-medium);
    text-indent: 0;
}

/* --------------------------------------------------------------------------
   Field con icono circular a la izquierda (.dash-field-with-icon)
   Permite mostrar de forma coherente teléfono, email, redes, etc.
   -------------------------------------------------------------------------- */
.dash-field-with-icon {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 0;
}
.dash-field-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #faf6f1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--dash-accent);
}
.dash-field-icon img,
.dash-field-icon svg {
    width: 22px;
    height: 22px;
}
.dash-field-with-icon .dash-field-body {
    flex: 1;
    min-width: 0;
}
.dash-field-with-icon .cBrown,
.dash-field-with-icon {
    margin: 0 0 4px 0;
    color: var(--dash-text-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.dash-field-with-icon {
    font-size: 14px;
    color: var(--dash-text-strong);
    font-weight: 600;
}
.dash-field-with-icon .inputRegisterDirWrapper { margin: 0; }
.dash-field-with-icon .txtInput { width: 100%; }

/* --------------------------------------------------------------------------
   Selector de modo en mosaico (.dash-mode-selector + .dash-mode-tile)
   Sustituye a "Por códigos postales / Por mapa" y similares.
   Compatible con .checkbox-three / .checkbox-three-checked.
   -------------------------------------------------------------------------- */
.dash-mode-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
}
.dash-view .dash-mode-tile {
    background-image: none !important;
    padding: 14px 18px !important;
    text-align: center !important;
    border: 1px solid var(--dash-border-soft);
    border-radius: 10px;
    background-color: #fff;
    color: var(--dash-text-medium);
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
    line-height: 1.4 !important;
}
.dash-view .dash-mode-tile:hover {
    border-color: var(--dash-accent);
    background-color: #faf3e7;
    color: var(--dash-text-strong);
}
.dash-view .dash-mode-tile.checkbox-three-checked {
    border-color: var(--dash-accent);
    background-color: var(--menu-section-active-bg);
    color: var(--dash-text-strong);
    font-weight: 600;
    background-image: none !important;
}

/* --------------------------------------------------------------------------
   Grid de formas de pago (.dash-payways + .dash-payway)
   Cada item conserva .checkbox-three para que el JS siga gestionando estado.
   -------------------------------------------------------------------------- */
.dash-payways {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.dash-view .dash-payway {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 38px !important;
    border: 1px solid var(--dash-border-soft);
    border-radius: 10px;
    background-color: #fff;
    color: var(--dash-text-medium);
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
    line-height: 1.3 !important;
    background-position: 10px center !important;
    background-size: 18px 18px !important;
    margin: 0 !important;
}
.dash-view .dash-payway:hover {
    border-color: var(--dash-accent);
    background-color: #faf6f1;
}
.dash-view .dash-payway.checkbox-three-checked {
    border-color: var(--dash-accent);
    background-color: #fbf2dc;
    color: var(--dash-text-strong);
    font-weight: 600;
}
.dash-view .dash-payway img {
    width: 24px;
    height: auto;
    flex-shrink: 0;
}
.dash-view .dash-payway span {
    flex: 1;
    font-size: 13px;
    text-transform: capitalize;
}

/* --------------------------------------------------------------------------
   Subtítulo opcional dentro de un .dash-mode-tile (e.g. shop_charges.php)
   Mantiene la apariencia de la tile y añade una línea descriptiva.
   -------------------------------------------------------------------------- */
.dash-view .dash-mode-tile .dash-mode-tile-subtitle {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 400;
    color: var(--dash-text-muted);
}
.dash-view .dash-mode-tile.checkbox-three-checked .dash-mode-tile-subtitle {
    color: var(--dash-text-medium);
}

/* --------------------------------------------------------------------------
   Tarjeta de cargo adicional (shop_charges.php): índice + cuerpo en grid
   Se apoya en .dash-card y .dash-field/.dash-field-row ya existentes.
   -------------------------------------------------------------------------- */
.dash-view .dash-charge-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 22px;
    align-items: start;
    margin-bottom: 18px;
}
.dash-view .dash-charge-aside {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.dash-view .dash-charge-index {
    height: 70px;
    border: 1px solid var(--dash-border-soft);
    border-radius: 12px;
    background-color: #fff;
    color: var(--dash-text-strong);
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dash-view .dash-charge-delete {
    height: 38px;
    border-radius: 10px;
    background: #fdecec center / 16px no-repeat;
    background-image: url('../img/iconDelete.png');
    border: 1px solid #f5c4c4;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}
.dash-view .dash-charge-delete:hover {
    background-color: #f8d6d6;
    border-color: #e89797;
}
.dash-view .dash-charge-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.dash-view .dash-charge-body hr {
    border: 0;
    border-top: 1px solid var(--dash-border-soft);
    margin: 4px 0 2px;
}

@media (max-width: 1000px) {
    .dash-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .dash-field-row,
    .dash-field-row-3 { grid-template-columns: 1fr; }
    .dash-view .dash-charge-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .dash-view .dash-charge-aside {
        flex-direction: row;
        align-items: center;
    }
    .dash-view .dash-charge-index { flex: 1; height: 52px; font-size: 17px; }
    .dash-view .dash-charge-delete { width: 52px; flex-shrink: 0; }
}

/* --------------------------------------------------------------------------
   Lista de clientes (company_customers_list.php + contenedor en company_customers)
   -------------------------------------------------------------------------- */
.dash-view .dash-customer-list-wrap {
    width: 100%;
    max-width: 100%;
    text-align: left;
}
.dash-view .dash-customer-card {
    margin-bottom: 12px;
    padding: 16px 20px;
}
.dash-view .dash-customer-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    cursor: pointer;
    text-align: left;
    min-height: 52px;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
}
.dash-view .dash-customer-summary:focus-visible {
    outline: 2px solid var(--dash-accent);
    outline-offset: 3px;
    border-radius: 8px;
}
.dash-view .dash-customer-index {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--dash-border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--dash-text-strong);
    background: #fff;
}
.dash-view .dash-customer-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e8ddd2;
}
.dash-view .dash-customer-main {
    flex: 1;
    min-width: 0;
}
.dash-view .dash-customer-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dash-text-strong);
    line-height: 1.25;
}
.dash-view .dash-customer-meta {
    font-size: 12px;
    color: var(--dash-text-muted);
    margin-top: 4px;
}
.dash-view .dash-customer-meta span {
    color: var(--dash-text-medium);
}
.dash-view .dash-customer-stats {
    flex-shrink: 0;
    text-align: right;
    padding-left: 8px;
}
.dash-view .dash-customer-stats-total {
    font-size: 15px;
    font-weight: 700;
    color: var(--dash-text-strong);
}
.dash-view .dash-customer-stats-points {
    font-size: 12px;
    color: var(--dash-text-muted);
    margin-top: 2px;
}
.dash-view .dash-customer-detail {
    margin: 14px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--dash-border-soft);
}
.dash-view .dash-customer-detail-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: flex-start;
    justify-content: space-between;
}
.dash-view .dash-customer-detail-main {
    flex: 1;
    min-width: 200px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--dash-text-strong);
}
.dash-view .dash-customer-detail-main > div + div {
    margin-top: 2px;
}
.dash-view .dash-customer-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
.dash-view .dash-customer-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 104px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--dash-border-soft);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.dash-view .dash-customer-action:hover {
    border-color: var(--dash-accent);
    box-shadow: 0 2px 8px rgba(78, 52, 46, 0.08);
}
.dash-view .dash-customer-action-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--dash-text-strong);
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 640px) {
    .dash-view .dash-customer-summary {
        flex-wrap: wrap;
    }
    .dash-view .dash-customer-stats {
        width: 100%;
        text-align: left;
        padding-left: 58px;
        margin-top: 4px;
    }
}

@media (max-width: 500px) {
    .dash-view       { padding: var(--spacing-md) var(--spacing-md) 40px; }
    .dash-kpi-grid   { grid-template-columns: 1fr; }
    .dash-block-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .dash-block-subtitle { margin-left: 0; margin-top: 4px; }
    .dash-title          { font-size: 18px; }
}

/* ==========================================================================
   MEDIA QUERIES - Responsive
   ========================================================================== */
@media (min-width: 816px) {
    #leftColumn {
        transform: none !important;
    }

    #chartWidth {
        width: 90vw;
        height: 20vw;
    }

    .widthContainer {
        width: 80%;
    }
}

@media (max-width: 816px) {
    .landing-navigation a {
        margin-left: var(--spacing-xl);
        margin-right: var(--spacing-xl);
    }

    .nav-overlay {
        width: 75px;
        height: 75px;
    }

    .navOff {
        display: none;
    }

    .stepStatus {
        width: 100px;
        font-size: var(--font-size-sm);
        padding-top: var(--spacing-md);
    }

    .menuButton {
        font-size: var(--font-size-md);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .fieldset,
    .fieldsetList {
        border: none !important;
        border-radius: 0 !important;
    }

    .croppie-container .cr-viewport {
        box-shadow: 0 0 0 899px rgba(225, 228, 250, 0.9);
    }

    .circleMenu {
        border-radius: 50%;
        width: 10px;
        height: 10px;
        float: left;
        top: 57px;
        left: 57px;
        position: relative;
    }

    .sMenuTitle {
        font-size: var(--font-size-sm);
    }

    .contentFloat {
        float: left;
        width: 95%;
        height: auto;
        text-align: left;
    }

    .content50,
    .content33 {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .txtInput {
        text-align: left;
    }

    .oneCheckbox {
        display: table;
    }

    .jsDetailOrder {
        margin: 0;
    }

    #leftColumn {
        top: 50px;
        left: -220px;
        position: fixed;
        transition: left 0.22s ease;
        z-index: var(--z-index-overlay);
    }
    #leftColumn.jsVisible {
        left: 0;
        box-shadow: 0 0 18px rgba(0, 0, 0, 0.18);
    }

    #calendarContainer {
        width: auto;
        float: none;
    }

    #reservationsContainer {
        width: auto;
        float: none;
    }

    .header {
        display: block;
    }

    #map {
        width: 100% !important;
        left: 0 !important;
    }

    #configmap {
        padding: 65px 0 var(--spacing-lg) 0 !important;
        max-width: 400px;
        display: table;
        margin: 0 auto;
    }

    .conectorOpenConfig {
        border: none !important;
    }

    #leftContainer {
        width: 100%;
        vertical-align: top;
        float: none;
        margin-left: 0%;
    }

    #rightContainer {
        width: 100%;
        vertical-align: top;
        float: none;
        margin-right: 0%;
    }

    .separator50smartphone {
        float: none;
        clear: both;
        height: 0;
    }

    .separator50pc {
        float: none;
        clear: both;
        height: var(--spacing-xxl);
    }

    #footer {
        position: fixed;
        left: 0 !important;
        height: 35px !important;
        width: 100% !important;
        font-size: var(--font-size-sm) !important;
    }

    .checkbox-three {
        font-size: var(--font-size-sm) !important;
    }

    .headerImg {
        padding-left: 0% !important;
    }

    .widthContainer {
        width: 100%;
    }
}

/* ==========================================================================
   NOTA: Clase .breakTxt
   Para romper el texto con guiones. Introducir clase directamente al texto
   mediante <span> o <p>, no al div o no funcionará.
   Declarado mediante JQuery en jquery.hypher.es.js
   ========================================================================== */

.breakTxt {
    overflow-wrap: anywhere;
}

/* ==========================================================================
   TABLAS MODERNAS - Estilo profesional para tablas de datos
   ========================================================================== */

.modern-table {
    width: 100%;
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.modern-table-header {
    background: linear-gradient(135deg, #37474F 0%, #455A64 100%);
    color: var(--color-white);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.modern-table-header .cell {
    padding: 16px 20px;
    text-align: left;
    vertical-align: middle;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-family-primary);
}

.modern-table-header .cell:last-child {
    border-right: none;
}

.modern-table-header .cell.text-right {
    text-align: right;
}

.modern-table-body {
    display: block;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.modern-table-body::-webkit-scrollbar {
    width: 10px;
}

.modern-table-body::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 0;
}

.modern-table-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #b0bec5 0%, #90a4ae 100%);
    border-radius: 5px;
    border: 2px solid #f8f9fa;
}

.modern-table-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #90a4ae 0%, #78909c 100%);
}

.modern-table-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: table;
    width: 100%;
    table-layout: fixed;
}

.modern-table-row:hover {
    background-color: #f8f9fa;
    box-shadow: inset 0 0 0 1px rgba(25, 118, 210, 0.08);
}

.modern-table-row:last-child {
    border-bottom: none;
}

.modern-table-row .cell {
    padding: 16px 20px;
    color: var(--text-primary);
    font-size: 14px;
    vertical-align: middle;
    border-right: 1px solid rgba(0, 0, 0, 0.04);
    font-family: var(--font-family-secondary);
}

.modern-table-row .cell:last-child {
    border-right: none;
}

.modern-table-row .cell.wB {
    font-weight: 600;
    color: var(--text-primary);
}

.modern-table-row .cell.text-right {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================================================
   TARJETAS DE PROMOCIÓN - Layout horizontal con imagen vertical
   ========================================================================== */

.promotion-card {
    display: flex;
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
}

.promotion-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.promotion-card-image {
    flex: 0 0 200px;
    min-height: 350px;
    max-height: 450px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.promotion-card-image.hidden {
    display: none;
}

.promotion-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
}

.promotion-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 350px;
    max-height: 450px;
    overflow: hidden;
}

.promotion-card-disabled {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    text-align: center;
    padding: 12px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.promotion-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: var(--font-family-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.promotion-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.promotion-card-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: #f8f9fa;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    min-height: 65px;
}

.promotion-card-action:hover {
    background: var(--color-white);
    border-color: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.promotion-card-action-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.promotion-card-action-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: var(--font-family-primary);
    text-align: center;
}

.promotion-card-action-edit {
    background-image: url('../img/iconEdit.png');
}

.promotion-card-action-send {
    background-image: url('../img/iconSend.png');
}

.promotion-card-action-delete {
    background-image: url('../img/iconDelete.png');
}

.promotion-card-action:hover .promotion-card-action-label {
    color: var(--color-blue);
}

/* ==========================================================================
   RESPONSIVE - Ajustes para dispositivos móviles
   ========================================================================== */

@media (max-width: 768px) {
    /* Tarjetas de promoción en smartphone */
    .promotion-card-image {
        flex: 0 0 160px;
        max-height: none;
    }

    .promotion-card-content {
        padding: 15px;
    }

    .promotion-card-actions {
        display: block;
        padding-top: 0;
        border-top: none;
    }

    .promotion-card-action {
        padding: 0;
        width: 100%;
        margin-bottom: 8px;
    }

    .promotion-card-action:last-child {
        margin-bottom: 0;
    }
}
