html, body {
    height: 100%;
}

@media (max-width: 767.98px) {
    .dashboard-grid-with-contracts {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "item1"
            "item2"
            "item2_x"
            "item3"
            "item4"
            "item4_x"
            "item5"
            "item6"
            "item7" !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .dashboard-grid-standard {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "item1"
            "item2"
            "item3"
            "item4"
            "item5"
            "item6"
            "item7" !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        min-width: 0 !important;
    }
}

#applicationLoadingPanel {
    background-image: url('../images/slideshow1.jpg');
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.dxbl-theme-fluent .dxbl-expandable-container {
    margin-left: 8px
}

.dxbl-accordion-group-expand-btn-container .dxbl-group-expand-btn svg {
    width: 15px;
    height: 15px;
}

.header-logo {
    flex-shrink: 0;
    /*background-color: currentColor;*/
    background-image: url('../images/VortexERP_logo.png');
    background-size: 180px;
    background-repeat: no-repeat;
    /*-webkit-mask: url('../images/VortexERP_logo.png');*/
    /*mask: url('../images/VortexERP_logo.png');*/
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 250px;
    height: 50px;
    margin-top: 5px
}

:root {
    --dxbl-tabs-image-spacing: 0.2rem; /* Ajusta el valor en rem o px seg�n requieras */
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.logon-template-body {
    background-image: url('../images/slideshow1.jpg');
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

app {
    display: block;
    height: 100%;
}

    app .main-window-template-component {
        background-size: 0 0 !important;
        background-image: none;
    }

.loading-items-center > .bg-primary {
    background-color: #fcbba6 !important;
}

.loading-items-center > .border-primary {
    border-color: #c93422 !important;
}

.dxbl-toolbar-item > .dxbl-btn-primary:not(.dxbl-disabled) {
    background-color: #e53126 !important;
}

.dxbl-toolbar-item > .dxbl-btn-primary:not(.dxbl-disabled):hover {
    background-color: #fcbba6 !important;
}

/* Reduce el padding y la altura del encabezado del grupo */
.xaf-layout-group-header {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    min-height: unset !important;
}

    /* Ajusta el tama�o de la fuente y la altura de l�nea del t�tulo */
    .xaf-layout-group-header .dxbl-fl-group-caption {
        font-size: 0.9rem;
        line-height: 0.5;
    }

/* Ajusta la separaci�n de una agrupaci�n del layout*/
/*
dxbl-form-layout-group .dxbl-group-header {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 0.5rem !important;
    font-size: 15px !important;
}
*/

/* Ajusta la separaci�n de cada item*/
dxbl-form-layout-group dxbl-form-layout-item {
    margin-bottom: 2px !important;
    /* O un valor positivo peque�o si el default es muy grande */
}
/* 2. "Proteges" el contenedor de logon restaurando el margen */
.logon-main-container dxbl-form-layout-group dxbl-form-layout-item {
    margin-bottom: initial !important;
    /* O puedes poner el valor original, ej: 1rem */
}

.about-info {
    font-size: 0.7rem;
    line-height: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem !important;
    margin-right: 1rem;
    margin-left: 1rem;
    opacity: .5;
}

/* Organización actual en la cabecera */
.current-organization {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-width: 0;
    max-width: 16rem;
    padding: 0 .75rem;
    color: inherit;
}

.current-organization-icon {
    width: 1rem;
    height: 1rem;
    flex: none;
}

.current-organization-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .current-organization-name {
        max-width: 15ch;
        font-size: calc(1em - 1pt);
    }
}
