@charset "utf-8";

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
}

:root {
    /* Twins */
    --vcss_bc_d_index: #ffffff7a;

    /* colores: */
    --vcss_color_texto: #000;
    --vcss_color_fondo: #fff;
    --vcss_color_fondo_trans: rgba(255, 255, 255, 0.7);
    --vcss_color_naranja: #ff982b;
    --vcss_header_height: 54px;
    --vcss_fc_menu_negocio: #c2c7d0;
    --vcss_bc_menu_negocio: #343a40;

    /* round / rect */
    --vcss_border_1: none;
    --vcss_border_radius_1: 0px;
    --vcss_margin_1: 0px;

    /* web de e-waiter vwe = Variable para Web para Negocios */
    --vwn_color_texto: #000;
    --vwn_color_ewaiter: #714f87;

    /* variables para app de clientes */
    --vcss_app_c_color_texto: #000;
    --vcss_app_c_color_fondo: #f4f6f9;
    --vcss_app_c_color_fondo_trans: rgba(255, 255, 255, 0.7);
    --vcss_app_c_color_naranja: #ff982b;
    --vcss_app_c_header_height: 54px;
    --vcss_app_c_fc_menu_negocio: #c2c7d0;
    --vcss_app_c_bc_menu_negocio: #343a40;

    /* Variables para Negocios - Menú Top */
    --vcss_n_mt_height: 60px;
    --vcss_n_mt_bakcground_color: #000;
    --vcss_n_mt_color: #fff;


    /* Variables para Negocios - Menú left */
    --vcss_n_ml_width: 340px;
    --vcss_n_ml_padding: 0px;
    --vcss_n_ml_bakcground_color: #fff;
    --vcss_n_ml_color: #c2c7d0;
    
    /* Variables para Negocios - Menú left - Items */
    --vcss_n_ml_i_border_radius: 10px;
    --vcss_n_ml_i_box_shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    --vcss_n_ml_i_height: 50px;
    --vcss_n_ml_i_margin: 10px;
    --vcss_n_ml_i_color: #4f4f4f;

    --vcss_n_ml_i_icon_size: 28px;

}


/* Animaciones >>> --------------------------------------------------------------------------------------------------------------- */
.css_animate_top_1{position:relative;-webkit-animation:animatetop 1s;animation:animatetop 1s}
@-webkit-keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}

.css_animate_bottom_1{position:relative;-webkit-animation:animatebottom1 1s;animation:animatebottom1 1s}
@-webkit-keyframes animatebottom1{from{bottom:-300px;opacity:0} to{bottom:0px;opacity:1}}
@keyframes animatebottom1{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}}

.css_animate_bottom_2{position:relative;-webkit-animation:animatebottom2 1s;animation:animatebottom2 1s}
@-webkit-keyframes animatebottom2{from{bottom:-300px;} to{bottom:0px;}}
@keyframes animatebottom2{from{bottom:-300px;} to{bottom:0;}}

.css_animate_right_2{position:relative;-webkit-animation:animateright2 1s;animation:animateright2 1s}
@-webkit-keyframes animateright2{from{right:-300px;opacity:0;} to{right:0;opacity:1;}}
@keyframes animateright2{from{right:-300px;opacity:0;} to{right:0;opacity:1;}}

.css_animate_m_right_1{position:relative;-webkit-animation:animatemright1 1s;animation:animatemright1 1s}
@-webkit-keyframes animatemright1{from{margin-left:300px;} to{margin-left:0px;}}
@keyframes animatemright1{from{margin-left:300px;} to{margin-left:0px;}}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}
.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ccc;
    margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
    background: red;
}
.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
    .lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
    }
    .lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
    }
    .lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
    }
    .lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
    }
    .lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
    }
    .lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
    }
    .lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
    }
    .lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
    }
    .lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
    }
    .lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
    }
    .lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
    }
    .lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
    }
    .lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
    }
    @keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ex animate-spin */
.css_animate_spin {
    animation: spin 2s infinite linear;
    display: inline-block;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Animaciones <<< --------------------------------------------------------------------------------------------------------------- */


/* Text Inputs >>> --------------------------------------------------------------------------------------------------------------- */
.css_input_2 {
	background-color: #fbfbfb;
	font-size: 16px;
	padding:8px;
	border:1px solid #ccc;
	border-radius:4px;
	outline: none;
    flex-grow: 1;
    width: 100%;
}
.css_input_2:focus { 
    border-color: #2c84d3;
    background-color: #eff4fa;
}


/* Botones >>> */
.css_btn_test {
    margin: 5px;
    padding: 10px;
    font-size: 12pt;
}

.css_button_wait {
    display: none; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    align-items: center; 
    justify-content: center; 
    background: inherit; 
    background-color: inherit;
    border-radius: inherit;
}

/* Copiado de Claude.ai >>> */
.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}
/* Copiado de Claude.ai <<< */

.css_btn_icono_1 {
    font-size: 24px;
    padding: 3px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: all 0.4s ease-out;
}
.css_btn_icono_1:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.css_btn_app_1 {
    display: flex; cursor: pointer; align-items: center; justify-content: center;
    width: 35px; height: 35px;
    border-radius: 6px;
    background-color: #e7e7e7;
    font-size: 22px;
}

/* botones <<< */



/* 07/12/2025 */
/* Responsive >>> ---------------------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 800px) { .csr_hide_olt_800 { display: none; } }
@media screen and (min-width: 800px) { .csr_hide_olt_800 { display: flex; } }

@media screen and (max-width: 800px) { .csr_show_olt_800 { display: flex; } }
@media screen and (min-width: 800px) { .csr_show_olt_800 { display: none; } }

@media screen and (max-width: 1000px) { .csx_hide_on_small { display: none; } }
@media screen and (min-width: 1000px) { .csx_hide_on_small { display: flex; } }

@media screen and (max-width: 1000px) { .csx_show_on_small { display: flex; } }
@media screen and (min-width: 1000px) { .csx_show_on_small { display: none; } }

/* Menos de 800px, se ve en columnas, sino, en línea */
@media screen and (max-width: 800px) { .csr_row_col_olt_800 { flex-direction: column; } }
@media screen and (min-width: 800px) { .csr_row_col_olt_800 { flex-direction: row; } }

/* Menos de 800px, margin-bottom:10px, sino, margin-right:10px */
@media screen and (max-width: 800px) { .csr_margin_10_olt_800 { margin-bottom: 10px; } }
@media screen and (min-width: 800px) { .csr_margin_10_olt_800 { margin-right: 10px; } }

/* Se muestra si es < 800px */
@media screen and (max-width: 800px) { .csr_less_800 { display: flex; } }
@media screen and (min-width: 800px) { .csr_less_800 { display: none; } }

/* Se muestra si es >= 800px */
@media screen and (max-width: 800px) { .csr_more_800 { display: none; } }
@media screen and (min-width: 800px) { .csr_more_800 { display: flex; } }

/* Si es < 800px: width 100%, sino, width:600px */
@media screen and (max-width: 800px) { .csr_ncc_width { width: 100% !important; } }

/* Si es < 800px: margin:10px, sino, margin:20px */
@media screen and (max-width: 800px) { .csr_ncc_margin { margin: 0px 0px 20px 0px; } }
@media screen and (min-width: 800px) { .csr_ncc_margin { margin: 25px; } }

/* Si es < 800px: margin:10px, sino, margin:20px */
@media screen and (max-width: 800px) { .csr_ncc_padding { padding: 15px; } }
@media screen and (min-width: 800px) { .csr_ncc_padding { padding: 0px; } }

/* Menos de 800px ================================================================================================================ */
.csr_control {min-height: 10px; min-width: 10px; border-radius: 10px; background-color: red;}
.csr_hide_on_small {
    display: none;
}
.csr_show_on_small {
    display: flex;
}
.csr_width_1 {
    width: 100%;
}



/* 800px a 1199 ================================================================================================================== */
@media screen and (min-width: 800px) {
    .csr_control {min-height: 10px; min-width: 10px; border-radius: 10px; background-color: orange;}
    .csr_hide_on_small {
        display: none;
    }
    .csr_show_on_small {
        display: flex;
    }
    .csr_width_1 {
        width: 100%;
    }
}

/* 1200px ó más ================================================================================================================== */
@media screen and (min-width: 900px) {
    .csr_control {min-height: 10px; min-width: 10px; border-radius: 10px; background-color: green;}
    .csr_hide_on_small {
        display: flex;
    }
    .csr_show_on_small {
        display: none;
    }
    .csr_width_1 {
        width: 80%;
        margin-left: 10%;
    }
}

/* Responsive <<< ---------------------------------------------------------------------------------------------------------------- */


/* Header de secciones para negocios. >>> */
/* Menos de 800px ================================================================================================================ */
.csr_n_header_ewaiter {
    display: none;
}
.csr_n_header_section {
    display: flex; 
    align-items: center; 
    flex-shrink: 0; 
    /* height: 40px;  */
    padding: 10px;
    background-color: #353535; 
    background: linear-gradient(48deg,rgba(0, 0, 0, 1) 0%, rgba(46, 46, 46, 1) 69%, rgba(84, 84, 84, 1) 100%);
    color: #fff;
}

.csr_n_menu_right_big {
    display: none;
}

.csr_n_menu_left {
    display: none;
}
.csr_n_menu_right {
    display: flex;
}
.csr_n_menu_big {
    display: none;
}

/* 800px o más =================================================================================================================== */
@media screen and (min-width: 800px) {

    .csr_n_header_ewaiter {
        display: flex;
    }    
    .csr_n_header_section {
        display: flex; 
        align-items: center; 
        flex-shrink: 0; 
        /* background-color: transparent;  */
        background-color: #fff;
        background: none;
        color: #000;
        padding: 20px;
    }
    .csr_n_menu_right_big {
        display: flex;
    }
    
    .csr_n_menu_left {
        display: flex;
    }
    .csr_n_menu_right {
        display: none;
    }
    .csr_n_menu_big {
        display: flex;
    }
    
}

/* Menos de 800px ================================================================================================================ */
.csr_n_title {
    font-size: 16px;
}

/* 800px o más =================================================================================================================== */
@media screen and (min-width: 800px) {
    .csr_n_title {
        font-size: 24px;
    }
}

/* Header de secciones para negocios. <<< */

/* Marcadores de secciones abiertas en n_blk_sections */
.css_marker_section {
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    margin: 0px 8px;
}

.css_box_home_2 {
    display: flex;
    flex-shrink: 0;
    height: 140px;
    width: 300px;
    align-items: center;
    margin: 15px;
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    border-radius: 10px;
}
.css_box_home_2_img {
    margin: 0px 15px;
    padding: 0px;
}
.css_box_home_2_text_1 {
    font-size: 15pt;
    color: #000;
    margin-bottom: 5px;
}
.css_box_home_2_text_2 {
    display: flex;
    flex-wrap: wrap;
    margin-right: 10px;
    font-size: 12pt;
    color: #787878;
}


.css_box_home_4 {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: relative;
    height: 166px;
    width: 282px;
    margin: 15px;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    transition: all 0.5s ease-out 0s;;
}
.css_box_home_4_top {
    flex-grow: 0;
    flex-shrink: 0;
    margin: 0px;
    padding: 0px;
    height: 42px;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.css_box_home_4_icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
    flex-shrink: 0;
    position: relative;
    top: -15px;
    left: 20px;
    height: 30px;
    width: 30px;
    border: 3px solid #fff;
    border-radius: 7px;
}
.css_box_home_4_bottom {
    position: relative;
    top: -10px;
    display: flex;
    flex-direction: column;
    margin: 0px;
    padding: 10px 20px;
}
.css_box_home_4_text_1 {
    font-size: 15pt;
    color: #000;
    margin-bottom: 5px;
}
.css_box_home_4_text_2 {
    display: flex;
    flex-wrap: wrap;
    margin-right: 10px;
    font-size: 12pt;
    color: #787878;
}

.css_box_home_4:hover {
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
}

/* Grillas 2025 >>> */

.css_row_2 {
    box-sizing: border-box;
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 5px;
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: all .4s linear;
}

.css_row_2:hover {
    background: rgba(0, 0, 0, 0.247);
}

.css_row_2_selected {
    border-left: 4px solid rgb(255, 153, 0);
}

.css_row_2:last-child {
    margin-bottom: 0px;
}

.css_cell_2 {
    box-sizing: border-box;
    float: left;
    padding: 1px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.css_grid_3 {
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
    margin: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    position: relative;
}


/* Grillas 2025 <<< */


/* Cards 2025 >>> */
.css_card_1 {
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.css_card_2 {
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    border-radius: 10px;
    padding: 15px;
    background-color: #fff;
}

.css_card_3 {
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    border-radius: 10px;
    padding: 2px 8px;
    background-color: #fff;
}
/* Cards 2025 <<< */


/* Contenedores para animaciones >>> */

/* Estilos del contenedor que hace la animación */
.css_blk_slide_1 {
    display: grid;
    grid-template-rows: 0fr; /* Estado inicial: cerrado */
    transition: grid-template-rows 0.4s ease-out; /* La animación suave */
}

/* Clase para abrir el div */
.css_blk_slide_1.open {
    grid-template-rows: 1fr; /* Estado final: abierto al 100% del contenido */
}

/* IMPORTANTE: El hijo directo debe tener overflow hidden */
.css_blk_slide_2 {  
    overflow: hidden;
}

/* --- Estilos opcionales para que se vea lindo --- */
.css_blk_slide_3 {
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 12px;
    margin: 10px;
    border: 1px solid #ccc;
}

/* Contenedores para animaciones <<< */


/* Sistema de Ayuda Reutilizable - Clases Base >>> */
.css_ayuda_container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background-color: var(--vcss_color_fondo);
    flex-direction: column;
}

.css_ayuda_header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ccc;
    background-color: #f8f8f8;
    flex-shrink: 0;
}

.css_ayuda_content {
    flex-grow: 1;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

.css_ayuda_wrapper {
    display: flex;
    transition: transform 0.4s ease-out;
    height: 100%;
}

.css_ayuda_slide {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.css_ayuda_footer {
    flex-shrink: 0;
    background-color: #f8f8f8;
    border-top: 1px solid #ccc;
}

.css_ayuda_navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
}

.css_ayuda_btn_nav {
    cursor: pointer;
    font-size: 28px;
    user-select: none;
    transition: color 0.3s ease;
}

.css_ayuda_dots_container {
    display: flex;
    gap: 8px;
}

.css_ayuda_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.css_ayuda_dot:hover {
    transform: scale(1.2);
}

.css_ayuda_dot_active {
    width: 12px !important;
    height: 12px !important;
}

/* Responsive para Sistema de Ayuda */
@media (max-width: 600px) {
    .css_ayuda_slide h2 {
        font-size: 18pt !important;
    }
    .css_ayuda_slide p,
    .css_ayuda_slide li {
        font-size: 13pt !important;
    }
    .css_ayuda_slide h3 {
        font-size: 15pt !important;
    }
    .css_ayuda_slide i.material-icons,
    .css_ayuda_slide i.material-symbols-outlined {
        font-size: 48px !important;
    }
}
/* Sistema de Ayuda Reutilizable - Clases Base <<< */

/* Menu app drivers >>> */
.css_box_menu {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    transition: all 0.5s ease-out 0s;
    /* background-color: #ffffffc4; */
    background-color: #ffffff3d;
    border: 1px solid #ccc;
    backdrop-filter: blur(3px);
}
.css_box_menu_active {
    border-radius: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
    position: fixed !important;
    top: 0px !important;
    left: 0px !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1000;
    transition: all 0.5s ease-out 0s;
}

/* Se muestra al activar su contenedor, por defecto no se muestra */
.css_show_on_active {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, max-height 0.3s ease-in-out;
}
.css_box_menu_active .css_show_on_active {
    display: flex;
    opacity: 1;
}


.css_hide_on_active {
    display: flex;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, max-height 0.3s ease-in-out;
}
.css_box_menu_active .css_hide_on_active {
    display: none;
    opacity: 0;
}

/* Menu app drivers <<< */

.css_no_select {
  /* 1. Evita que el texto/ícono se seleccione */
  -webkit-user-select: none; /* Safari / Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE 10+ */
  user-select: none;         /* Estándar */

  /* 2. Quita el color de fondo (flash) al tocar en móviles */
  -webkit-tap-highlight-color: transparent;

  /* 3. Muestra la manito en desktop (opcional pero recomendado) */
  cursor: pointer;
}


/* Loader 6: Ondas múltiples */
.loader-6 {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.loader-6::before,
.loader-6::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        #00BCD4,
        transparent);
    animation: multiwave 2s ease-in-out infinite;
}

.loader-6::after {
    animation-delay: 1s;
}

@keyframes multiwave {
    0% { left: -50%; }
    100% { left: 100%; }
}


/* ================================================================================================================== */
/* Estilos para modal de configuración de grillas                                                                     */
/* ================================================================================================================== */

.g_cfg_grid_modal {
    position: fixed;
    z-index: 10003;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    min-width: 320px;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.g_cfg_grid_header {
    background: #6D9B63;
    color: #fff;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    user-select: none;
}

.g_cfg_grid_header_title {
    font-weight: 600;
    font-size: 14px;
}

.g_cfg_grid_header_btns {
    display: flex;
    gap: 8px;
}

.g_cfg_grid_header_btns button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.g_cfg_grid_header_btns button:hover {
    background: rgba(255,255,255,0.3);
}

.g_cfg_grid_options {
    padding: 12px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.g_cfg_grid_options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
}

.g_cfg_grid_options input[type="number"] {
    width: 60px;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
}

.g_cfg_grid_cols_list {
    flex: 1;
    overflow-y: auto;
    max-height: 300px;
    padding: 10px 0;
}

.g_cfg_grid_col_row {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: grab;
    transition: background-color 0.15s;
    user-select: none;
}

.g_cfg_grid_col_row:hover {
    background-color: #f5f5f5;
}

.g_cfg_grid_col_row.dragging {
    opacity: 0.5;
    background-color: #e3f2fd;
}

.g_cfg_grid_col_row.drag-over {
    border-top: 2px solid #6D9B63;
}

.g_cfg_grid_col_drag_handle {
    color: #999;
    margin-right: 10px;
    cursor: grab;
}

.g_cfg_grid_col_checkbox {
    margin-right: 10px;
}

.g_cfg_grid_col_checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.g_cfg_grid_col_name {
    flex: 1;
    font-size: 13px;
    color: #333;
}

.g_cfg_grid_col_name.hidden {
    color: #999;
    font-style: italic;
}

.g_cfg_grid_col_ancho_container {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 4px;
}

.g_cfg_grid_col_ancho {
    width: 55px;
    padding: 3px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
    text-align: right;
}

.g_cfg_grid_col_ancho:focus {
    border-color: #6D9B63;
    outline: none;
}

.g_cfg_grid_col_ancho_label {
    font-size: 11px;
    color: #888;
}

.g_cfg_grid_status {
    padding: 10px 15px;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid #eee;
    min-height: 20px;
}

.g_cfg_grid_status.success {
    color: #28a745;
    background: #d4edda;
}

.g_cfg_grid_status.error {
    color: #dc3545;
    background: #f8d7da;
}

.g_cfg_grid_status.loading {
    color: #856404;
    background: #fff3cd;
}

/* Overlay oscuro detrás del modal - no bloquea interacción con la grilla */
.g_cfg_grid_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.15);
    z-index: 10002;
    pointer-events: none;
}

/* El modal sí debe recibir eventos */
.g_cfg_grid_modal {
    pointer-events: auto;
}

/* Estilos para redimensionamiento de columnas en el header */
.g_grid_cell_h {
    position: relative;
    border-right: 2px solid #a0c896;
    user-select: none;
}

.g_grid_cell_h:last-child {
    border-right: none;
}

/* Durante el redimensionamiento */
body.g_grid_resizing {
    cursor: col-resize !important;
    user-select: none;
}

body.g_grid_resizing * {
    cursor: col-resize !important;
}

/* Drag de columnas para reordenar */
.g_grid_cell_h {
    cursor: grab;
}

.g_grid_col_dragging {
    opacity: 0.5;
    background-color: #e3f2fd !important;
}

body.g_grid_col_reordering {
    cursor: grabbing !important;
    user-select: none;
}

body.g_grid_col_reordering * {
    cursor: grabbing !important;
}

.g_grid_col_drag_ghost {
    position: fixed;
    padding: 8px 12px;
    background: #6D9B63;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    pointer-events: none;
    z-index: 10010;
    white-space: nowrap;
}

.g_grid_col_drag_over_left {
    border-left: 3px solid #2196F3 !important;
}

.g_grid_col_drag_over_right {
    border-right: 3px solid #2196F3 !important;
}

/* ===============================================
   Estilos base para filas y celdas de grilla
   =============================================== */

/* Contenedor de la grilla - permite scroll en ambas direcciones */
.g_grid_container {
    overflow-x: auto;
    overflow-y: auto;
    width: 100%;
    position: relative;
    /* Firefox - scrollbar siempre visible */
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* Chrome, Safari, Edge - scrollbar siempre visible */
.g_grid_container::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    display: block;
}

.g_grid_container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.g_grid_container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

.g_grid_container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.g_grid_container::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

/* Header sticky - se queda fijo arriba al hacer scroll vertical */
.g_grid_row_h {
    position: sticky;
    top: 0;
    z-index: 10;
    min-width: fit-content;
    background-color: #fff;
}

/* Body de la grilla */
.g_grid_body {
    min-width: fit-content;
}

/* Fila de la grilla */
.g_grid_row {
    min-width: fit-content;
    border: 1px solid transparent;
}
.g_grid_row:hover {
    background-color: #b5b4c4 !important;
}
.g_grid_row_selected {
    border: 1px solid #000 !important;
}

/* Celda de la grilla - no se comprime */
.g_grid_cell {
    flex-shrink: 0;
}

/* Placeholder del botón config - no se comprime */
.g_grid_cell_cfg_placeholder {
    flex-shrink: 0;
}

/* Celda del header - no se comprime */
.g_grid_cell_h {
    flex-shrink: 0;
}

/* Search ori des copiado desde telered >>>  */

.blk_search {
	padding: 2px;
	float: left;
	border: 2px solid #FFCC00;
	width: 200px;
	background-color: #FFF3C6;
	position: absolute;
	z-index: 8000;
}
.blk_search_row {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	float: left;
	width: 200px;
	padding-top: 3px;
	padding-bottom: 3px;
	cursor: pointer;
}
.blk_search_row_sel {
	background-color: #FFCC00;
}

.css_blk_search_ori_des {
	float: left;
	border: 2px solid #FFCC00;
	width: 200px;
	background-color: #fff;
	position: absolute;
	z-index: 8000;
}
.css_blk_search_row_ori_des {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	float: left;
	width: 100%;
	padding-top: 4px;
	padding-bottom: 4px;
	cursor: pointer;
	border-bottom: 1px solid #DFDFDF;
}
.css_blk_search_row_ori_des_google {
	background-color: #F0EEF4;	
}
.css_blk_search_row_dirs_here {
	background-color: #FCF8E3;	
}
.css_blk_search_logo_google {
	float: left;
	width: 100%;
	height: 18px;
	margin-top: 6px;
	margin-bottom: 6px;
	background-image: url('imagenes_s/powered_by_google_on_white.png');
	background-repeat: no-repeat;
	background-position: center;
	background-color: #fff;
}
.css_blk_search_cell_origen {
	margin-left: 4px;
}
.css_blk_search_row_ori_des_sel {
	background-color: #FFCC00;
}

/* Search ori des copiado desde telered <<<  */
