/* LOGIN   - INICIO */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /*  #AAB565; Color de fondo */
    background-color: var(--color-fondo-sidebar);
}

.btnEntrar {
    font-family: Helvetica, sans-serif !important;
    color: #6b6969 !important;
}

.bg-login {
    background-color: #6D744C;
}

.cuadroLogin {
    margin: 5px !important;
    padding: 25px !important;
    background-color: #eaeaea;
}

.etiquetaLogin {
    font-family: Helvetica, sans-serif !important;
    font-size: 15px !important;
    color: #6b6969 !important;
}

.imagenLogin {
    width: 320px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.tituloLogin {
    color: white;
    font-size: 50px;
}

/* LOGIN   - FIN */

/*POR DEFECTO DE BLAZOR*/
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #ccc;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #ffffff;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    color: white;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Cargando");
    }
/*FIN POR DEFECTO BLAZOR*/


code {
    color: #c02d76;
}

body {
    font-family: sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ===== Variables de Color ===== */
:root {
    --color-fondo-sidebar: #446e9b;
    --color-fuente-iconos: #4c5b30;
    --color-titulos: #495057;
    --color-fondo-container: #e4f2c9;
    --color-hover-bg: #d5d5d5;
    --color-body-bg: #b5ca90;
    --color-fondo-validacion: #fcfff7;
}



.sidebar {
    width: 250px;
    background: var(--color-fondo-sidebar);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.sidebar-header {
    height: 80px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-fondo-container);
    font-size:0.8rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: white;
}

/* Zona scrollable (solo contenido) */
.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.nav-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

.disabled-link {
    opacity: 0.6;
    pointer-events: none;
}

/* Footer siempre al fondo */
.sidebar-footer {
    flex-shrink: 0;
    padding: 0rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
/* Estilo para la barra de desplazamiento */
::-webkit-scrollbar {
    width: 5px; /* Ancho de la barra de desplazamiento */
    height: 5px; /* Altura de la barra de desplazamiento horizontal */
}

/* Estilo para el fondo de la barra de desplazamiento */
::-webkit-scrollbar-track {
    background: white; /* Color de fondo de la pista */
    border-radius: 10px;
}

/* Estilo para el "thumb" (la parte que puedes arrastrar) */
::-webkit-scrollbar-thumb {
    background: grey; /* Color del "thumb" */
    border-radius: 10px;
}

    /* Estilo para el "thumb" al pasar el mouse */
    ::-webkit-scrollbar-thumb:hover {
        background: #555; /* Color del "thumb" cuando pasas el ratón por encima */
    }


/* ===== Sidebar Navigation ===== */
.sidebar-nav ul {
    list-style: none;
    padding: 5px;
    margin: 0;
}

.sidebar-nav .title {
    color: var(--color-fondo-container);
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.nav-section-title {
    color: white;
    padding: 1rem 1rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.8;
    margin-left: 0.1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 0.75rem 1rem;
    color: var(--color-titulos);
    text-decoration: none;
    transition: background 0.2s ease;
}

    .nav-link i {
        color: var(--color-titulos);
        width: 25px;
        text-align: center;
        font-size: 20px; /* tamaño de los iconos*/
    }

.sidebar .nav-link:hover {
    background: var(--color-hover-bg);
    border-radius: 7px;
    color: var(--color-fuente-iconos) !important;
}

a.nav-link:hover {
    color: var(--color-titulos) !important;
}

.nav-link.active {
    color: var(--color-titulos);
}



/* ===== Contenido Principal ===== */
.main-content {
    flex: 1;
    margin-left: 250px;
    transition: margin-left 0.3s ease;
}

.content {
    padding: 1.5rem;
    background: var(--color-body-bg);
    min-height: calc(100vh - 60px);
}



/* ===== Responsive ===== */
@media (max-width: 1024px) {
    /* Asegurar que el contenido principal se expande cuando el sidebar está oculto */
    .main-content {
        margin-left: 0 !important; /* Elimina cualquier margen izquierdo */
        width: 100%; /* Ocupa todo el ancho disponible */
        transition: margin-left 0.3s ease;
    }

    /* Ajuste cuando el sidebar está abierto */
    .sidebar.open + .main-content {
        margin-left: 250px !important;
        width: calc(100% - 250px);
    }
    /* Sidebar colapsado */
    .sidebar:not(.open) {
        transform: translateX(-100%);
    }

    .sidebar.open + .main-content {
        margin-left: 0 !important;
        width: 100%;
    }
    /* Asegurar que el contenido no tenga desplazamiento horizontal */
    body, html {
        overflow-x: hidden;
    }
    .sidebar.open {
        z-index: 2000 !important; /* Asegura que está por encima del botón flotante */
    }
}

/* --- Sidebar en desktop (estado colapsado/expandido) --- */
@media (min-width: 1025px) {
    .main-content {
        margin-left: 70px; /* Igual al ancho del sidebar colapsado */
        transition: margin-left 0.3s ease; /* Misma transición que el sidebar */
    }

    /* Sidebar colapsado (solo íconos) */
    .sidebar:not(.open) {
        width: 70px; /* Ancho reducido */
        overflow: hidden;
        transition: width 0.3s ease;
    }

        .sidebar:not(.open) .user-info {
            display: none !important;
        }
        /* Ocultar texto y títulos cuando está colapsado */
        .sidebar:not(.open) .user-info span,
        .sidebar:not(.open) .title,
        .sidebar:not(.open) .nav-link span:not(.fa-solid) {
            display: none !important;
            width: 0;
            height: 0;
            overflow: hidden;
            opacity: 0;
        }

        /* Centrar íconos cuando está colapsado */
        .sidebar:not(.open) .nav-link {
            justify-content: center;
            padding: 0.75rem 0;
            position: relative;
        }
            /* Asegurar que los íconos se centren */
            .sidebar:not(.open) .nav-link i {
                margin: 0 auto;
            }

            /* Tooltip opcional para íconos */
            .sidebar:not(.open) .nav-link:hover::after {
                content: attr(data-title);
                position: absolute;
                left: 100%;
                top: 50%;
                transform: translateY(-50%);
                background: #333;
                color: white;
                padding: 0.5rem 1rem;
                border-radius: 4px;
                white-space: nowrap;
                z-index: 1000;
                margin-left: 1rem;
                font-size: 0.9rem;
            }

            .sidebar:not(.open) .nav-section-title {
    display: none !important;
}


    /* Ocultar botón de la cabecera (menu-toggle) en desktop */
    .top-bar .menu-toggle {
        display: none;
    }
}

/* --- Sidebar expandido (ancho completo) --- */
.sidebar.open + .main-content {
    margin-left: 250px; /* Cuando el sidebar está expandido */
}



/* ===== Top Bar ===== */
.header {
    width: 100%;
    padding: 1px;
}

.top-bar {
    background: var(--color-fondo-sidebar);
    padding: 0.5rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 90;
    width: 100%;
    height: 80px
}


.toggle-btn, .menu-toggle {
    background: none;
    border: none;
    color: var(--color-fondo-container);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

.icono-titulo {
    margin-right: 1rem; /* Separacion icono-nombre en los titulos */
}



/* ===== Componente Header ===== */
.header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.5rem 0.5rem;
    justify-content: space-between;
    width: 100%;
    height: 80px;
}
.header-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center; 
    min-width: 0;
}

.header-info {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 2px;
    font-size: 1rem;
    color: var(--color-titulos);
    margin-top: 0.1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.1rem;
    color: var(--color-titulos);
    font-size: 0.9rem
}



.nav-btn { /*Botones cambiar dia calendario*/
    background: none;
    border: none;
    color: var(--color-titulos);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

    .nav-btn:hover {
        background-color: var(--color-hover-bg);
    }

.date-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

    .date-control:hover {
        background-color: #d0d0d0;
    }

.date-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
}

.date-picker {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .date-picker input {
        padding: 0.5rem;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    .date-picker button {
        padding: 0.5rem;
        background-color: var(--color-fondo-sidebar);
        color:white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

.date-control.today {
    font-weight: bold;
    color: #2c3e50;
}






/* ===== Componente Resumen ===== */
.resumen-container {
    background-color: var(--color-fondo-container);
    padding: 0.75rem;
    border: solid;
    border-width: 1px;
    border-radius: 7px;
    border-color: var(--color-fondo-sidebar)
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
}

.resumen-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto; /* icon | label | valor | botón/switch */
    align-items: center;
    gap: 0rem;
    padding: 0.1rem 0.25rem;
    color: var(--color-fuente-iconos);
    max-width: 100%;
}

    .resumen-item i {
        text-align: center;
        min-width: 1.5rem;
    }

.resumen-label {
    text-align: left;
}

.resumen-valor {
    text-align: center;
    min-width: 3rem;
    justify-content: flex-end;
    align-items: center;
}

.col-side-ficha-resumen {
    display: flex;
    justify-content: left;
    min-width: 2.5rem;
}

.btn-editar-resumen {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-fuente-iconos);
    width: 10%;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 50%;
    align-items: center;
}


/* ===== Componente VistaParte ===== */
.vistaparte-container {
    background-color: #f6ffeb;
    padding: 0.3rem;
    border: solid;
    border-width: 1px;
    border-color: var(--color-fondo-sidebar);
    border-radius: 7px;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
}

.parte-propio {
    background-color: #f6ffeb;
    border-left: 4px solid var(--color-fuente-iconos);
}
.etiqueta-propio {
    font-size: 0.65rem;
    color: var(--color-fuente-iconos);
    text-align: center;
    margin-top: 4px;
    font-weight: 600;
    word-break: break-word;
}
.checkbox-vistobueno-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
}

.col-side {
    width: 11%;
    color: var(--color-fuente-iconos);
    font-size: 1rem;
}

.col-side-right {
    width: 22%;
    color: var(--color-fuente-iconos);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}
 

.numero-en-circulo {
    width: 30px; 
    height: 30px; 
    border: 2px solid;
    border-radius: 50%;
    display: flex;
    justify-content: center; /* Centra el número horizontalmente */
    align-items: center; /* Centra el número verticalmente */
    font-size: 14px; /* Tamaño más pequeño del número */
    font-weight: bold; /* Opcional: Hacer el número en negrita */
}

.col-center-ficha {
    width: 67%;
    color: var(--color-fuente-iconos);
    padding: 0.3rem 0.5rem;
    line-height: 1.7; 
}



.fila-segunda {
    font-size: 1.1rem;
}

.fila-tercera {
    font-size: 0.95rem;
}

.fila-cuarta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-top:0.3rem;
}
.vp-icono-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: center;
}

.vp-icono {
    position: relative;
    font-size: 1.2rem;
}

.vp-badge {
    position: absolute;
    top: -6px;
    right: -9px;
    background-color: tomato;
    color: white;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-weight: bold;
    line-height: 16px; /* igual a la altura para centrar verticalmente */
    text-align: center;
}

    /*.fila-cuarta > div {
        width: 48%;*/ /* Cada columna en la cuarta fila ocupará 48% */
    /*}*/

.content {
    padding: 0.75rem;
}


/* ===== Page ResumenDiario ===== */
.separador-resumen {
    height: 2rem;
    background-color: var(--color-fondo-sidebar);
    margin: 10px -15px;
    border-radius: 2px;
    text-align: center;
    color: white;
    padding: 5px;
}

.separator p {
    margin: 0;
    text-align: center;
}

.add-button,
.add-button-resumen {
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--color-fondo-sidebar);
    font-size: 50px;
    border: none;
    border-radius: 10%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    line-height: 50px;
    transition: all 0.3s ease;
    transform-origin: center center;
}

/* Estilo específico del botón normal */
.add-button {
    display: block;
    margin: 20px auto;
}

/* Estilo específico del botón resumen */
.add-button-resumen {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
    .add-button:hover,
    .add-button-resumen:hover {
        background-color: #f8fff0; /* Verde muy claro */
        color: #9ab973; /* Verde más intenso */
        box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
    }
    .add-button:active,
    .add-button-resumen:active {
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    }
.add-button:hover,
.add-button:active {
    transform: scale(1.1) rotate(90deg);
}
.add-button-resumen:hover {
    transform: translateX(-50%) scale(1.1) rotate(90deg);
}
.add-button-resumen:active {
    transform: translateX(-50%) scale(0.95) rotate(90deg);
}


/* ===== Page ParteTrabajo ===== */

.green-container {
    background-color: var(--color-fondo-container);
    padding: 0.75rem;
    border: solid;
    border-width:1px;
    border-color:var(--color-fondo-sidebar);
    border-radius: 7px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
}

.white-container {
    background-color: #fcfff7;
    padding: 0.2rem;
    border: solid;
    border-width: 1px;
    border-color: var(--color-fondo-sidebar);
    border-radius: 7px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
}

.col-center2 {
    width: 75%;
    color: var(--color-fuente-iconos);
    align-items: center;
    padding: 0.3rem 0.5rem;
}

.col-side1 {
    width: 15%;
    color: var(--color-fuente-iconos);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: center;
    padding: 0.1rem 0.1rem;
}

.col-side2 {
    width: 10%;
    color: var(--color-fuente-iconos);
    align-items: center;
}


.fila-unica {
    font-size: 1.2rem;
    align-items: center;
}

.fila-doble {
    font-size: 1.2rem;
    display: flex;
    justify-content: flex-start;
    gap:3rem;
}

    .fila-doble > div {
        width: 48%;
    }


.fila-triple {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 3rem;
    row-gap: 0.1rem;
}

.icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: center;
}

.icon-label {
    font-size: 0.66rem;
    margin-bottom: 4px;
    text-align: center;
}

.icono {
    position: relative;
    font-size: 1.5rem;
}

.badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: tomato;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
    line-height: 1;
}



.guardar-btn, .borrar-btn, .volver-btn {
    padding: 0.75rem;
    border-radius: 7px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 1rem;
    background-color: white;
    color: var(--color-fuente-iconos);
    font-size: 1.2rem;
    transition: all 0.3s ease; 
    cursor: pointer;
    min-width: 150px;
}

    .guardar-btn:hover, .borrar-btn:hover, .volver-btn:hover {
        background-color: var(--color-fondo-container); 
        color: var(--color-fuente-iconos);
        transform: translateY(-1px); /* Efecto de levantar */
        box-shadow: 0 3px 8px rgba(0,0,0,0.15); /* Sombra más pronunciada */
    }

    /*.borrar-btn:hover {
        background-color: #ffebee;*/ /* Rojo muy claro */
        /*color: #c62828;*/ /* Rojo más oscuro */
        /*transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }*/

    /* Efecto al hacer clic (opcional) */
    .guardar-btn:active, .borrar-btn:active, .volver-btn:active {
        transform: translateY(0);
        box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    }

.btn-editar, .btn-borrar {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-fuente-iconos);
    font-size: 1.5rem;
    transition: all 0.2s ease;
    border-radius: 50%;
    align-items: center;
}

    .btn-editar:hover {
        color: #3d4a26; /* Color más oscuro */

        transform: scale(1.2); /* Ligero aumento de tamaño */
    }

    .btn-editar:active {
        transform: scale(0.95);
    }


    .btn-borrar:hover {
        color: #c62828; /* Color más oscuro */

        transform: scale(1.2); /* Ligero aumento de tamaño */
    }

    .btn-borrar:active {
        transform: scale(0.95);
    }

.btn-deshacer {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-fuente-iconos);
    font-size: 15px;
    transition: all 0.2s ease;
   /* border-radius: 50%;*/
    align-items: center;
    margin-left: 50px;
    padding-top:0px;
  
}
/*.btn-deshacer:hover {
    color: #3d4a26;  Color más oscuro 

    transform: scale(1.2);  Ligero aumento de tamaño 
}

.btn-deshacer:active {
    transform: scale(0.95);
*/}
.botonera {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente (si el contenedor tiene altura definida) */
    gap: 1rem; /* Espacio entre botones */
    margin-top: 1rem;
}
.botonera-dividir {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}


.container-cuadro {
    color: var(--color-fuente-iconos);
    background-color: var(--color-fondo-container);
    border: solid;
    border-width: 1px;
    border-color: var(--color-fondo-sidebar);
    border-radius: 7px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
    margin-top: 1rem;
    min-height: 60vh;
    height: auto;
    overflow-y: auto;
    padding-bottom: 1rem;
    padding: 0.5rem;
}

.items-cuadro {
    padding-left: 0rem;
    padding-bottom: 2rem;
    padding-right: 0rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    gap: 10px;
}

.icono-cuadro {
    font-size: 35px;
    width: 75px;
    height: 75px;
    line-height: 75px;
    display: inline-block;
    color: var(--color-fuente-iconos);
    text-align: center;
    padding: 1rem;
}

.encabezado-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.titulo-container {
    margin: 0;
    font-size: 1.2rem;
}



/* ===== CAMARA ===== */

/* Estilos para el componente Camera */
.camera-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#videoElement {
    width: 100%;
    max-height: calc(60vh - 150px); /* Ajusta según la altura del contenedor padre */
    object-fit: contain;
    border-radius: 5px;
    background-color: #000;
}

.camera-controls {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    padding: 0.5rem;
    width: 100%;
}

.photo-preview {
    width: 100%;
    display: flex;
    justify-content: center;
}

    .photo-preview img {
        max-height: 200px;
        border-radius: 5px;
        border: 1px solid var(--color-fuente-iconos);
    }

/*NUEVO CAMARA*/
/* Modal fondo */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}
    .photo-modal.hide {
        animation: fadeOut 0.3s forwards;
    }
    @keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeOut {
  to { opacity: 0; }
}

/* Contenido modal */
.photo-modal-content {
    background-color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    text-align: center;
}

    /* Imagen dentro del modal */
    .photo-modal-content img.modal-photo {
        max-width: 100%;
        max-height: 70vh;
        height: auto;
        object-fit: contain;
        border-radius: 5px;
        margin: 1rem 0;
    }

/* Botones modal */
.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

@media (max-width: 576px) {
    .photo-modal-content {
        max-width: 95vw;
        max-height: 80vh;
        padding: 1rem;
    }

        .photo-modal-content img.modal-photo {
            max-height: 60vh;
        }
}



/* Estilos para los botones de la cámara (puedes ajustar colores) */
.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

/*.btn-primary {
    background-color: var(--color-fuente-iconos);
    color: white;
}*/

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-outline-success {
    background-color: transparent;
    color: var(--color-fuente-iconos);
    border: 1px solid var(--color-fuente-iconos);
}

.btn-success {
    background-color: #28a745;
    color: white;
}

/* Estilos para la botonera (si necesitas ajustarlos) */
.botonera {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.guardar-btn, .borrar-btn, .volver-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
    color: var(--color-fuente-iconos);
    border: none;
}

/*Formulario Usuario*/
.container-form-usuario {
    color: var(--color-fuente-iconos);
    background-color: var(--color-fondo-container);
    border: solid;
    border-width: 1px;
    border-color: var(--color-fondo-sidebar);
    border-radius: 7px;
    margin-top: 1rem;
    padding: 1rem;
}


.btn-add-maquinaria {
    background-color: var(--color-fuente-iconos);
    color: white;
}

/* Formulario Roles*/
.bgSeccion{
     background-color:#b5ca90 !important;
}


/*---------------------------------------*/
/*--------------- LABELS ----------------*/

.lblinfo
{
    font-size:12px;
}
.lblform {
    font-size: 0.85rem !important;
}




/*******************************************/


/*---------------------------------------*/
/*--------------- VALIDACIONES ----------------*/

.filtros-container {
    background-color: var(--color-fondo-validacion);
    padding: 0.75rem;
    border: solid;
    border-width: 1px;
    border-color: var(--color-fondo-sidebar);
  
    
 
    border-radius: 7px;
    
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
    margin-top: 1rem;
    /* display: flex;
    justify-content: space-between;*/
}

/*******************************************/



/*----------ServceWorker----------*/
.floating-update-button {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    padding: 1rem 1.5rem;
    animation: fadein 2s ease-out;
}

@keyframes fadein {
    from {
        right: -100%;
    }

    to {
        right: 2rem;
    }
}

/*------------------------------*/





/*--------------- FICHA VALIDACIONES ----------------*/


.validacion-container {
    display: flex;
    flex-direction: column;
    border-radius: 7px;
    padding: 0rem;
    gap: 0.1rem;
    margin: auto;
    width: 100%;
    max-width: none;
    color: var(--color-fuente-iconos);
    border: solid;
    border-width: 1px;
   
    border-color: var(--color-fondo-sidebar)
}

.validacion-top {
    background-color: var(--color-fondo-validacion);
    border-radius: 5px;
    width: 100%;
    padding: 0.4rem;
    display: grid;
    grid-template-columns: 0.05fr 0.8fr 0.3fr 0.6fr 0.3fr;
    flex-wrap: wrap;
    gap: 0.1rem;
}

.validacion-bloques {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 0.1rem;
}

.validacion-bloque {
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    padding: 0.1rem, 0.3rem, 0,0.3rem;
    width: 100%;
    box-sizing: border-box;
}

.bloque-info {
    display: grid;
    grid-template-columns: 30px 1fr;
    flex: 1;
    padding: 0.5rem;
    background-color: var(--color-fondo-validacion);
    border-radius: 4px;
    margin-bottom: 1px;
}

.bloque-acciones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.1rem;
    padding:0;
}


.columna-icono {
    display: flex;
    justify-content: flex-start;
    font-size: 1.3rem;
}

.columna-contenido {
    margin-top:0.4rem;
    display: flex;
    flex-direction: column;
}

.icono-alerta {
    display: flex;
    color: tomato;
    font-size: 1.2rem;
    justify-content: center;
    align-items: center;
}


/*------  ValidacionTop(espacio y actvidad ---------*/
.col-numero {
    display: flex;
    justify-content: center;
}
.col-info {
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.fila-primera {
    display: flex;
    justify-content:flex-start ;
    align-items: center;
    font-size: 0.95rem;
    gap:2rem;
}

.fila-segunda {
    font-size: 1.2rem;
    padding: 0.2rem 0; /* Espaciado vertical */
}

.fila-tercera {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 0.95rem;
    gap: 4.5rem; /* Espacio entre elementos */
}

    .fila-tercera span {
        display: flex;
        align-items: center;
        gap: 0.1rem; /* Espacio entre icono y texto */
    }

    
    .fila-tercera i {
        font-size: 0.9rem;
    }

.col-acciones {
    
    display: flex;
    gap: 3rem;
    padding:0.5rem;
}

.col-estado {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items:center;
    justify-content:center;
}
.col-validacion {
    display: flex;
}

.btn-validar {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-fuente-iconos);
    border: none; 
    outline: none;
    background: none; 
    cursor: pointer;
}

.btn-validar:hover {
    transform: translateY(-2px);
}

/*------  ValidacionTop PANTALLA PEQUENYA ---------*/


@media (max-width: 768px) {
    .validacion-top {
        display: grid;
        grid-template-areas:
            "numero estado estado"
            "parte parte parte"
            "espacio espacio espacio"
            "actividad actividad actividad"
            "acciones acciones validar";
        grid-template-columns: auto 1fr auto;
        gap: 0.4rem;
        padding: 0.6rem;
        align-items: center;
    }

    .col-numero {
        grid-area: numero;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0;
    }

    .col-info {
        grid-area: parte;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .fila-primera {
        font-size: 0.9rem;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5rem;
        justify-content:space-between;
        margin-right:1rem;
    }

    .fila-segunda {
        grid-area: espacio;
        font-size: 0.85rem;
        text-align: left;
    }

    .fila-tercera {
        font-size: 0.9rem;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5rem;
        justify-content: space-between;
        margin-right: 1rem;
    }

    .actividad-fila span {
        font-size: 0.95rem;
        white-space: normal;
    }

    .detalle-fila {
        display: flex;
        justify-content: flex-start;
        gap: 1rem;
        font-size: 0.85rem;
        align-items: center;
        flex-wrap: wrap;
    }

        .detalle-fila:has(span:first-child:last-child) {
            justify-content: flex-start; /* cuando solo hay 1 span */
            width: 100%;
        }


        .detalle-fila span {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            justify-content: flex-start;
        }

    .col-estado {
        grid-area: estado;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
    }

    .col-acciones {
        grid-area: acciones;
        display: flex;
        justify-content: center;
        gap: 0.6rem;
    }

        .col-acciones button {
            font-size: 0.95rem;
            padding: 0.2rem 0.4rem;
        }

    .col-validacion {
        grid-area: validar;
        display: flex;
        justify-content: center;
    }

    .btn-validar {
        font-size: 0.85rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .numero-en-circulo {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
}


/*-------FIN PATALLA PEQUENYA-----------*/


/*--------fichas-----------*/
.alerta-centro {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px; /* Ajusta la altura mínima si es necesario */
    font-size: 1rem;
    color: #333; /* o el color que uses */
    text-align: center;
    gap: 0.5rem;
}

.contenido-trabajadores {
    overflow-y: hidden;
    max-height: calc(4 * 30px);
    transition: max-height 0.3s ease;
}

    .contenido-trabajadores.expandido {
        max-height: none;
        overflow-y: visible;
    }

.fila-trabajador, .fila-maquina, .fila-articulo {
    display: grid;
    gap: 0.1rem;
    align-items: center;
    padding: 5px 0;
    font-size: 0.8rem;
}
.fila-parcela {
    display: grid;
    gap: 0.1rem;
    align-items: center;
    padding: 2px 0;
    margin-left:5px;
    margin-bottom:0px;
    margin-top:0px;
    font-size: 0.8rem;
}
.fila-cultivo {
    display: grid;
    gap: 0.1rem;
    align-items: center;
    //padding: 3px 0;
    font-size: 0.7rem;
    margin:1px;
}
.fila-trabajador {
    grid-template-columns: 2fr 0.6fr 0.7fr 0.3fr 0.4fr;
}

.fila-maquina {
    grid-template-columns: 2.5fr 0.8fr 0.4fr;
}

.fila-articulo {
    grid-template-columns: 1.2fr 1.2fr 1fr 0.9fr 0.4fr;
}



.columna {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    color: var(--color-fuente-iconos);
}

.nombre {
    text-align: left;
  /*  font-weight: bold;*/
}

.horas, .horas-extra {
    text-align: center;
}

.columna.horas, .columna.dosis {
    text-align: center;
}

.columna.cantidad{
    text-align: start;
}

.columna.almacen {
    text-align: left;
}

.icono-horas-extra i,
.coche i {
    font-size: 1rem;
    color: #333;
}

.icono-alerta {
    color: tomato;
    font-size: 1rem;
}

/*----- Botones validacion ----*/
.btn-val {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    color: gray;
    background-color: var(--color-fondo-validacion);
    border: solid;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.valida {
    border-color: green;
}
.revisa {
    border-color: tomato;
}
.no {
    border-color: grey;
}

    .btn-val:hover {
        transform: translateY(-2px);
    }

.btn-icon {
    width: 62px;
    height: 62px;
    object-fit: contain;
}



    .btn-val.active {
        box-shadow: 0 0 5px rgba(0,0,0,0.2);
        transform: scale(1.02);
    }

.btn-val.valida.active {
    border-color: #4CAF50;
    background-color: rgba(232, 245, 233, 0.7);
}

.btn-val.revisa.active {
    background-color: rgba(255, 210, 190, 0.7);
}

.btn-val.no.active {
    background-color: lightgray;
}


/****************************************************/


/*---------DASHBOARD------------*/
.chart-title-custom {
    color: var(--color-fuente-iconos) !important;
    font-size: 0.9rem !important;
    font-weight: bold;
}

/* Estilo para leyendas */
.chart-legend-custom {
    color: var(--color-fuente-iconos) !important;
    font-size: 0.8rem !important;
}

/* Estilo para tooltips */
.chart-tooltip-custom {
    color: var(--color-fuente-iconos) !important;
    background-color: #f8f9fa !important;
}


.dashboard-container {
    background-color: #fcfff7;
    padding: 0.3rem;
    border: solid;
    border-width: 1px;
    border-color: var(--color-fondo-sidebar);
    border-radius: 7px;
}

.chart-center-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  /*  width: 130px; 
    height: 130px;
    border-radius: 50%; */
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--color-fuente-iconos);
    pointer-events: none;
    margin-top: 10px;
}

    .chart-center-label small {
        font-size: 0.8rem;
        color: var(--color-fuente-iconos);
    }



/* index modales */
.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}




/*---------REPARTO GASOIL------------*/

.container-gasoil {
    background-color: #fcfff7;
    padding: 0.5rem;
    border: solid;
    border-width: 1px;
    border-color: var(--color-fondo-sidebar);
    border-radius: 7px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
    display: flex;
    flex-direction:column;
}

.vistaparte-gasoil {
    background-color: #fcfff7;
    padding: 0.3rem;
    border: solid;
    border-width: 1px;
    border-color: var(--color-fondo-sidebar);
    border-radius: 7px;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
}


.col-side-gasoil {
    width:10%;
    color: var(--color-fuente-iconos);
    font-size: 1rem;
}


.col-center-gasoil {
    width: 80%;
    color: var(--color-fuente-iconos);
    padding: 0.3rem 0.5rem;
    line-height: 1.7;
}


.fila-uno {
    font-size: 0.95rem;
    display:flex;
    flex-direction:row;
    gap:2rem;
    justify-content:space-between;
}
.fila-dos {
    font-size: 1.1rem;
    padding: 0.2rem 0;
}

.fila-tres {
    font-size: 0.95rem;
    display: flex;
    flex-direction: row;
    gap: 0.4rem;
    justify-content: space-between;
}
.f3{
    display:flex;
    flex-direction:column;
    flex:1;

}
.f3-label{
    display:flex;
    flex-direction:row;
    justify-content:center;
    font-size:0.9rem;
    
}
.f3-body {
    display: flex;
    flex-direction: column;
    background-color: var(--color-fondo-sidebar);
    padding: 0rem 0rem 0rem 0rem;
    border-radius: 5px;
    gap: 0rem;
    box-shadow: 0 2px 1px rgba(0,0,0,0.1);
    flex: 1;
    color:white;
}

.f3b1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0;
    padding: 0;
    gap: 0;
    font-size: 0.8rem;
    min-height: 1.05rem;
    flex: 1;
}
.f3b2 {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    gap:0;
    font-weight: bold;
    justify-content: center;
    font-size: 1.1rem;
}
.f3b1 .stexto {
    margin: 0.2rem 0rem 0rem 0rem;  
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
    display: inline-block;
}


.botonera-reparto {
    display: flex;
    flex-direction:row;
    justify-content: center;
    gap: 0.2rem;
    margin-top: 1rem;
}
.reparto-btn {
    padding: 0.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 1rem;
    background-color: var(--color-fondo-sidebar);
    color:white;
    font-size: 0.9rem;
    transition: all 0.3s ease; /* Transición suave */
    cursor: pointer;
    min-width: 110px;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    border: none;
}

.reparto-btn:hover {
    background-color: var(--color-fondo-container);
    color: grey;
    transform: translateY(-1px); /* Efecto de levantar */
    box-shadow: 0 3px 8px rgba(0,0,0,0.15); /* Sombra más pronunciada */
}

.reparto-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

    .reparto-btn.activo {
        background-color: cornflowerblue;
        color: white;
    }




.resumen-reparto {
    max-height: 60vh;
    overflow-y: auto;
}

.total-litros {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.tipo-reparto {
    margin-bottom: 1rem;
}

.detalle-reparto {
    margin: 1rem 0;
}

    .detalle-reparto h5 {
        margin-bottom: 0.5rem;
    }

.confirmacion-text {
    margin-top: 1rem;
    font-weight: bold;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
}

    .table th, .table td {
        padding: 0.3rem;
        text-align: left;
        border-bottom: 1px solid #dee2e6;
    }

    .table th {
        background-color: #f8f9fa;
    }






/*---------DIVISION--------------*/
.col-center-ficha-division {
    width: 88%;
    color: var(--color-fuente-iconos);
    padding: 0.3rem 0.5rem;
    line-height: 1.7;
}

.col-side-right-division {
    width: 1%;
    color: var(--color-fuente-iconos);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.fila-segunda-division {
    font-size: 1.3rem;
}




.hide-expand-button .dxbl-grid-expand-button {
    display: none !important;
}

/*.no-detail-row .dxbl-grid-expand-button {
    display: none !important;
}*/

@media (max-width: 576px) {
    .grid-small {
        font-size: 0.8rem; /* más pequeño */
    }

        .grid-small .dxbl-grid-header {
            font-size: 0.75rem; /* cabeceras un poco más chicas */
        }

        .grid-small .dxbl-grid-data-row td {
            padding: 2px 4px; /* menos espacio entre celdas */
        }
}

.no-detail-row  {
    display: none !important;
}

/*.dxbl-grid-expand-button {
    display: none !important;
}*/


.rotacion-aviso {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffc107; /* color amarillo llamativo */
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 9999;
    animation: fadeInOut 5s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}



