body, html {
    margin: 0;
    min-height: 100%;
    height: 100%;
}

#app-side-nav-outer-toolbar {
    flex-direction: column;
    display: flex;
    height: 100%;
    width: 100%;
}

.layout-header {
    flex: 0 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    position: relative;
    z-index: 1501;
}

.master-detail-caption {
    padding: 0 0 5px 10px;
    font-size: 14px;
    font-weight: bold;
}

#toolapp {
    background-image: url('../images/merged_head_home_large.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: auto;
    padding: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
}

#toolpag {
    height: 50px !important;
    align-items: center;
}

#toolapp {
    height: 130px !important;
    align-items: center;
}


.dx-toolbar .dx-toolbar-item.menu-button > .dx-toolbar-item-content .dx-button-text {
    padding: 0;
    color: #fff;
    text-transform: none;
}

.dx-toolbar .dx-toolbar-item.menu-button > .dx-toolbar-item-content .dx-icon {
    color: white;
}
/*
 seccion x .dx-card {
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    border-radius: 4px;
    background-color: #fff;
    margin: 2px 2px 3px;
}

.dx-card.wide-card {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    border-right: 0;
    border-left: 0;
}
     */
.with-footer > div > div > .dx-scrollable-content {
    height: 100%;
}

.with-footer > div > div > .dx-scrollable-content > .dx-scrollview-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}


.layout-body {
    background-color: #ffff;
    flex: 1;
    height: 100%;
    min-height: 0;
}

    .layout-body .menu-container {
        height: 100%;
        width: 280px;
    }

    .layout-body .content {
        flex-grow: 1;
        height: 100%;
        line-height: 1.5;
    }

        .layout-body .content h2 {
            font-size: 30px;
            font-weight: 300;
            letter-spacing: -.5px;
        }

    .layout-body .content-block {
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 20px;
    }

.imgLinkExcel {
    background: url('../images/excelfile.png') center center no-repeat;
    text-align: right;
    font-family: RobotoFallback;
    font-style: normal;
    font-weight: 500;
    text-decoration: wavy;
    display: flex;
    background-size: 30px 30px;
    height: 30px;
    width: 250px;
    justify-content: center;
    align-items: center;
}

.imgLinkTexto {
    background: url('../images/textFile1.png') center center no-repeat;
    text-align: right;
    font-family: RobotoFallback;
    font-style: normal;
    font-weight: 500;
    text-decoration: wavy;
    display: flex;
    background-size: 40px 40px;
    height: 40px;
    width: 250px;
    justify-content: center;
    align-items: center;
}

.imgLinkPdf {
    background: url('../images/pdffile.png') center center no-repeat;
    text-align: right;
    font-family: RobotoFallback;
    font-style: normal;
    font-weight: 500;
    text-decoration: wavy;
    display: flex;
    background-size: 40px 40px;
    height: 40px;
    width: 250px;
    justify-content: center;
    align-items: center;
}

.imgLinkZip {
    background: url('../images/zipfile.jpg') center center no-repeat;
    text-align: right;
    font-family: RobotoFallback;
    font-style: normal;
    font-weight: 500;
    text-decoration: wavy;
    display: flex;
    background-size: 40px 40px;
    height: 40px;
    width: 250px;
    justify-content: center;
    align-items: center;
}

.imgLinkGuia {
    background: url('../images/textFile1.png') center center no-repeat;
    text-align: left;
    font-family: RobotoFallback;
    font-style: normal;
    font-weight: 500;
    text-decoration: wavy;
    display: flex;
    background-size: 40px 40px;
    height: 40px;
    width: 200px;
    justify-content: center;
    align-items: center;
}

.footer-gradient {
    background: linear-gradient(to right, #1ea1aa, #367aa9);
    margin: 0;
    padding: 7px; /* Reducido un 10% adicional, de 10px a 9px */
}

.layout-body .content-footer {
    display: block;
    color: white;
    border-top: none;
    padding-top: 7px; /* Reducido un 10% adicional, de 10px a 9px */
    padding-bottom: 9px; /* Reducido un 10% adicional, de 12px a 11px */
}


#footer {
    text-align: right; /* Cambiado de center a left */
    font-size: 0.9em;
    line-height: 1.2;
    padding-right: 20px; /* Añadido para dar un poco de espacio desde el borde derecho */
}

.layout-body .responsive-paddings {
    padding: 20px;
}

.layout-body-hidden {
    visibility: hidden;
}


@media screen and (min-width: 600px) {
    .layout-body .content-block {
        margin-left: 40px;
        margin-right: 40px;
    }
}

@media screen and (min-width: 1280px) {
    .layout-body .responsive-paddings {
        padding: 40px;
    }
}

.menu-container {
    background: #fafcfe;
}

.menu-container .dx-widget {
    font-size: 13px;
    font-family: Roboto,RobotoFallback,Helvetica,Arial,sans-serif;
    line-height: 24px;
}

.menu-container .dx-treeview {
    white-space: nowrap;
}

.menu-container .dx-treeview .dx-treeview-item {
    padding-left: 0;
    padding-right: 0;
}

    .menu-container .dx-treeview .dx-treeview-item .dx-icon {
        width: 60px !important;
        margin: 0 !important;
    }

.menu-container .dx-treeview .dx-treeview-node {
    padding: 0 0 !important;
}

.menu-container .dx-treeview .dx-treeview-toggle-item-visibility {
    right: 10px;
    left: auto;
}

.menu-container .dx-treeview .dx-rtl .dx-treeview-toggle-item-visibility {
    left: 10px;
    right: auto;
}

.menu-container .dx-treeview .dx-treeview-node[aria-level="1"] {
    font-weight: 400;
    border-bottom: 1px solid #2a6c77;
}

.menu-container .dx-treeview .dx-treeview-node[aria-level="2"] .dx-treeview-item-content {
    font-weight: normal;
    padding: 0 60px;
}

.menu-container .dx-treeview .dx-treeview-node-container .dx-treeview-node.dx-state-selected:not(.dx-state-focused) > .dx-treeview-item {
    background: transparent;
}

.menu-container .dx-treeview .dx-treeview-node-container .dx-treeview-node.dx-state-selected > .dx-treeview-item * {
    color: #47bdd1;
}

.menu-container .dx-treeview .dx-treeview-node-container .dx-treeview-node:not(.dx-state-focused) > .dx-treeview-item.dx-state-hover {
    background-color: #47bdd1;
}

.cerrarSesion .dx-icon {
    background-color: #3F3F4B;
    color: white !important;
}


.label-white-compania {
    color: white;
    text-align: center;
    font-weight: 300 !important;
    font-size: 10pt !important;
}

.label-white-correo {
    color: white;
    font-weight: 300 !important;
    font-size: 10pt !important;
}

.label-red-correo {
    color: red;
    font-weight: 300 !important;
    font-size: 10pt !important;
}

.note-upload {
    font-size: 10pt !important;
    color: #484848 !important;
    font-weight: 700 !important;
}

.note-result {
    font-size: 12pt !important;
    color: #484848 !important;
    font-weight: 700 !important;
}

.main-block-upload-products {
    max-width: 900px;
    min-width: 700px;
}


.welcome-title {
    color: #000000;
    border-bottom: 3px solid #d4ebfb;
    font-family: var(--typography_fonts_headings);
    font-style: normal;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.view-title {
    color: #000000;
    font-family: var(--typography_fonts_headings);
    font-style: normal;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/*Ajustes a gridview*/
.grid-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

#gridContainer {
    width: 100%;
    overflow-x: auto;
}

.grid-title {
    font-size: 24px !important;
    font-weight: bold;
    margin: 0;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 20px;
}

/*.dx-toolbar-before {
    flex-grow: 1;
}

.dx-datagrid-header-panel {
    padding: 10px 0;
}

.dx-datagrid-header-panel .dx-toolbar {
    margin-bottom: 10px;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Nuevo estilo para ajustar el contenedor del grid   */
.dx-card.wide-card {
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border-radius: 4px;
    background-color: white;
    margin: 0 auto;
}

.dx-datagrid-header-panel .dx-toolbar {
    margin-bottom: 10px;
}

/*--Adicionar footer*/

.modern-footer {
    background: linear-gradient(to right, #1ea1aa, #367aa9);
    color: white;
    padding: 10px 20px;
    font-family: var(--typography_fonts_headings);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 30px;
}

.footer-copyright {
    font-size: 0.9em;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    transition: opacity 0.3s ease;
}

    .footer-link:hover {
        opacity: 0.8;
    }

.social-icon {
    font-size: 1.1em;
}


/*Upload files styles*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.import-container {
    max-width: 600px;
    margin: 10px auto;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.import-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.import-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #3F3F4B;
    background-color: #ffffff;
    border: 1px solid #3498db;
}

    .import-button:hover {
        background-color: #f7fbfe;
    }

    .import-button i {
        margin-right: 8px;
        color: #3498db;
    }

.import-title {
    font-size: 22px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0 0 15px 0;
    text-align: center;
}

.dropzone {
    border: none;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #f7f9fc;
    position: relative;
    overflow: hidden;
}

    .dropzone::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 2px dashed #bdc3c7;
        border-radius: 12px;
        opacity: 0.5;
    }

    .dropzone:hover, .dropzone-active {
        background-color: #e8f0fe;
    }

        .dropzone:hover::before, .dropzone-active::before {
            border-color: #3498db;
            opacity: 1;
        }

.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dropzone-icon {
    font-size: 36px;
    color: #3498db;
    margin-bottom: 10px;
}

.file-uploader-asist-container {
    margin-bottom: 20px;
}

.file-uploader-container {
    margin-bottom: 20px;
}

.dx-fileuploader-input-wrapper {
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dx-fileuploader-input-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.dx-fileuploader-button {
    background-color: #3498db;
    color: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: 8px 15px;
}

    .dx-fileuploader-button:hover {
        background-color: #2980b9;
    }

.dx-fileuploader-files-container {
    padding: 8px 0;
    width: 100%;
}


.dx-fileuploader-file {
    padding: 8px;
    background-color: #f7f9fc;
    border-radius: 5px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.dx-fileuploader-file-name {
    color: #2c3e50;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 30px);
}

.dx-fileuploader-file-size {
    color: #7f8c8d;
    font-size: 12px;
    margin-left: 10px;
}


.dx-fileuploader-button-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    margin-left: 10px;
}

    .dx-fileuploader-button-remove:hover {
        color: #c0392b;
    }

.file-type-note {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 8px;
}

#toast {
    font-size: 14px;
}

/*css de pagina de error de asistencias*/
.import-container.compact {
    max-width: 500px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.import-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.result-info {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.result-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}


.result-header h3 {
    margin: 0;
    font-size: 18px;
    color: #e74c3c;
}

.result-details {
    font-size: 14px;
}

.detail-row {
    display: flex;
    margin-bottom: 10px;
    align-items: flex-start;
}

.detail-label {
    flex: 0 0 80px;
    font-weight: 600;
    color: #34495e;
}

.detail-value {
    flex: 1;
    color: #2c3e50;
}

.volver-button {
    width: 100%;
    margin-top: 10px;
}


/*Estilos adicionales en importar guía de valores*/
.form-group {
    margin-bottom: 20px;
}

.d-flex {
    display: flex;
}

.align-items-end {
    align-items: flex-end;
}

.flex-grow-1 {
    flex-grow: 1;
}

.me-2 {
    margin-right: 0.5rem;
}

#nivelDropDown, #yearDropDown, #monthDropDown {
    width: 100%;
}

#yearDropDown {
    margin-right: 0.5rem;
}

label {
    display: block;
    margin-bottom: 5px;
}

#viewContainer {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.import-container {
    flex: 1;
}

#toast {
    z-index: 9999;
}

.dx-toast-content {
    min-width: 200px;
    max-width: 80%;
}

.file-uploader-container {
    margin-bottom: 20px;
}

#upload-button {
    margin-top: 10px;
}
/* Oculta el botón de carga del FileUploader */
#file-uploader .dx-fileuploader-upload-button {
    display: none !important;
}
/* Ajusta el espaciado del contenedor de entrada */
#file-uploader .dx-fileuploader-input-wrapper {
    padding: 0;
}
/* Centra el botón de selección */
#file-uploader .dx-fileuploader-input-container {
    text-align: center;
}



/* Reducir el espacio entre el ícono y el texto en el área de arrastrar y soltar */
.dx-fileuploader-dragover .dx-fileuploader-input .dx-fileuploader-input-label {
    padding-top: 5px;
}

.dx-fileuploader-dragover .dx-fileuploader-input .dx-fileuploader-input-label-text {
    margin-top: 5px;
}

.dx-placeholder::before {
    font-size: 13px !important;
    font-weight: 300 !important;
    color: #999 !important;
}

.modern-select-box {
    background-color: white !important;
    border: 1px solid #e0e0e0 !important;
    /*    border-radius: 2px !important;*/
    transition: all 0.3s ease;
}

    .modern-select-box .dx-texteditor-input {
        padding: 8px 10px !important; /* Reducido el padding */
        font-size: 14px !important; /* Reducido el tamaño de la fuente */
        color: #333;
        font-weight: 400 !important; /* Hace la fuente más delgada */
    }

    .modern-select-box .dx-dropdowneditor-icon {
        width: 24px;
        height: 24px;
        background-color: transparent;
        color: #3F3F4B;
        font-size: 18px;
    }

    .modern-select-box .dx-dropdowneditor {
        border: 1px solid #e0e0e0 !important;
    }

    .modern-select-box:hover, .modern-select-box.dx-state-focused {
        border-color: #bbb !important;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
    }

#idTextBox {
    background-color: white !important;
}

.form-group-inline {
    display: flex;
    align-items: flex-end;
    gap: 15px; /* Reducido el espacio entre los elementos */
    margin-bottom: 15px;
}

    .form-group-inline label {
        font-size: 12px;
        color: #666;
        margin-bottom: 4px;
    }

.select-container {
    display: flex;
    flex-direction: column;
}

    .select-container label {
        font-size: 12px; /* Reducido el tamaño de la fuente */
        color: #666;
        margin-bottom: 3px;
        font-weight: 300; /* Hace la fuente más delgada */
    }


.grid-title-container {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-cell {
    text-align: center !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100%;
}


@media screen and (max-width: 480px) {
    #toolapp {
        min-height: 150px;
    }

    .icontoolbar {
        max-width: 120px;
    }

    .label-white, .label-white-correo, .label-red-correo {
        font-size: 10px !important;
    }

    .dx-datagrid-headers .dx-datagrid-table .dx-row > td {
        padding: 3px;
    }

    .dx-datagrid-rowsview .dx-row > td {
        padding: 3px;
    }

    .grid-title {
        padding: 5px;
        font-size: 18px !important;
        margin-bottom: 15px;
    }
}


@media (max-width: 480px) {
    .import-container.compact {
        padding: 15px;
    }

    .result-info {
        padding: 15px;
    }

    .detail-row {
        flex-direction: column;
    }

    .detail-label {
        margin-bottom: 5px;
    }

    .import-container {
        padding: 10px;
    }

    .import-actions {
        flex-direction: column;
        gap: 10px;
    }

    .import-button {
        width: 100%;
        justify-content: center;
    }

    .dropzone {
        padding: 15px;
    }

    .file-uploader-asist-container {
        max-width: 100%;
    }

    .file-uploader-container {
        max-width: 100%;
    }

    .form-group-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .select-container label {
        margin-bottom: 3px; /* Reducir el valor según sea necesario */
        font-size: 12px; /* Opcional: ajustar el tamaño de la fuente si es necesario */
    }

    .select-container {
        width: 100%; /* Ocupa el ancho completo */
        margin-bottom: 10px; /* Agrega un margen inferior entre los SelectBox */
    }

    .modern-select-box {
        width: 5px; /* Asegurar que el SelectBox ocupe el ancho del contenedor */
    }

        .modern-select-box .dx-texteditor-input {
            padding: 0px 0px !important; /* Ajustar el padding interno si es necesario */
        }

    .select-container label {
        margin-bottom: 0px; /* Reducir el valor según sea necesario */
        font-size: 14px; /* Opcional: ajustar el tamaño de la fuente si es necesario */
    }
}

@media screen and (max-width: 768px) {
    #toolapp {
        height: auto !important;
        min-height: 130px;
    }

    .dx-toolbar-items-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .dx-toolbar-item {
        margin: 5px 0;
    }

    .icontoolbar {
        max-width: 150px;
        height: auto;
    }


    .menu-button {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .dx-datagrid-headers .dx-datagrid-table .dx-row > td,
    .dx-datagrid-rowsview .dx-row > td {
        padding: 5px;
    }

    .grid-title {
        padding: 5px;
        font-size: 18px !important;
        margin-bottom: 15px;
    }


    .dx-card.wide-card,
    .grid-title-container {
        padding-left: 10px;
        padding-right: 10px;
        padding: 0 5px;
    }

    #gridContainer {
        overflow-x: auto;
    }

    /* Estilos para la vista de importación y detalles del resultado */
    .import-container.compact,
    .result-info {
        padding: 15px;
    }

    .import-title {
        font-size: 18px;
        text-align: center;
    }

    .success-icon {
        font-size: 2rem;
        margin-bottom: 10px;
        color: #28a745;
    }

    .result-details {
        text-align: left;
    }

    .detail-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .detail-label {
        display: block;
        width: 100%;
        margin-bottom: 2px;
        font-weight: bold;
    }

    .detail-value {
        display: block;
        width: 100%;
        margin-top: 0;
    }

    .volver-button,
    .modern-select-box,
    .select-container {
        width: 100%;
        margin-top: 20px;
    }

    /* Estilos para form-group-inline y select-container */
    .form-group-inline {
        flex-direction: column !important;
        align-items: stretch !important;
    }

        .form-group-inline .select-container .dx-dropdowneditor {
            width: 100% !important;
        }

    .select-container label {
        margin-bottom: 3px; /* Reducir el valor según sea necesario */
        font-size: 12px; /* Opcional: ajustar el tamaño de la fuente si es necesario */
    }

    .modern-select-box .dx-texteditor-input {
        padding: 8px 10px !important; /* Ajustar el padding interno si es necesario */
    }

    .modern-select-box {
        margin-bottom: 5px; /* Ajustar según sea necesario */
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-links {
        margin-top: 10px;
    }
}

.import-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px; /* Ajusta según sea necesario */
}

.import-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0; /* Quita el margen por defecto del h2 */
    padding-left: 10px; /* Espaciado entre el ícono y el título */
}


.error-icon {
    color: #E53935; /* Color rojo para indicar error */
    font-size: 30px;
}

.success-icon {
    color: #4CAF50; /* Color verde para indicar éxito */
    font-size: 30px; /* Ajusta el tamaño del ícono según sea necesario */
}

/* Reducir el espacio entre los elementos de formulario y los grupos */
.dx-form .dx-field-item, .dx-form .dx-field-item-label, .dx-form .dx-field-item-content {
    margin-bottom: 5px; /* Reduce el espacio entre los campos del formulario */
    padding: 2px 0; /* Reduce el relleno dentro de los elementos del formulario */
}

/* Reducir el espacio entre los grupos de campos */
.dx-form .dx-fieldset-header {
    padding: 2px 0; /* Reduce el relleno en los encabezados de los grupos */
}

/* Ajustar el relleno dentro de los grupos para compactar los elementos */
.dx-form .dx-fieldset {
    padding: 4px 0; /* Reduce el relleno en los grupos de campos */
}

/* Si estás usando grupos, ajusta también el margen entre grupos */
.dx-form .dx-field-item.dx-field-group {
    margin-bottom: 10px; /* Ajusta según sea necesario para espaciar los grupos */
}

/* Estilos base para logos */
.logo-container {
    /* Alinea el contenido en el centro horizontalmente */
    text-align: center;
    /* Asegúrate de que el contenedor tenga un tamaño adecuado o se ajuste al contenido */
    width: 100%; /* o puedes especificar un tamaño fijo si es necesario */
    /* Ajusta verticalmente si es necesario */
    display: flex;
    align-items: center; /* Esta propiedad alinea los hijos flex en el centro verticalmente */
    justify-content: center; /* Esta propiedad alinea los hijos flex en el centro horizontalmente */
}

/* Estilos base para logos */
.logo-desktop, .logo-mobile {
    display: none; /* Ocultamos ambos logos por defecto */
    max-width: 100%; /* Limitamos el tamaño máximo para que no exceda el contenedor */
    height: auto; /* Mantenemos la relación de aspecto original */
}

/* Estilo para dispositivos móviles */
@media (max-width: 767px) {
    .logo-desktop {
        display: none!important;
        ; /* El logo de escritorio se oculta en dispositivos móviles */
    }

    .logo-mobile {
        display: block !important;
        min-width: 100px;
        min-height: 40px;
        width: auto;
        height: auto;
    }
}

/* Estilo para escritorio */
@media (min-width: 768px) {
    .logo-desktop {
        display: block!important; /* El logo de escritorio se muestra en pantallas más grandes */
    }

    .logo-mobile {
        display: none!important; /* El logo móvil se oculta en pantallas más grandes */

    }
}

.logo-css {
    width: 160px;
    height: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url('../images/logo-fasecolda.png');
}

/* En móvil, cambia al logo móvil */
@media (max-width: 767px) {
    .logo-css {
        width: 40px; /* o ajusta a 100px si quieres aún más pequeño */
        height: 20px;
        background-image: url('../images/logo-movil-fasecolda.png');
    }
    .label-white-compania {
        color: white;
        text-align: center;
        font-weight: 200 !important;
        font-size: 8pt !important;
    }
}


@media (max-width: 767.98px) {

    .controls-pane {
        margin-top: 30px; /* Aumentar el espacio superior en dispositivos móviles */
    }
}


/* Ajustes para el botón de exportación */
.controls-pane {
    display: flex;
    justify-content: center; /* Centrar el botón horizontalmente */
    align-items: center; /* Centrar el botón verticalmente */
    margin-top: 20px;
    margin-bottom: 20px; /* Espacio debajo del botón */
}

.controls-pane .dx-button {
    background-color: #393975; /* Color de fondo para el botón */
    color: #ffffff; /* Color de texto para el botón */
    border: none; /* Eliminar el borde del botón */
    border-radius: 4px; /* Bordes redondeados para el botón */
    padding: 10px 20px; /* Ajustar el tamaño del botón */   
    box-sizing: border-box; /* Para incluir el padding y el borde en el ancho total */
}

.controls-pane .dx-button:hover {
    background-color: #4a4a8e; /* Color de fondo al pasar el ratón por encima para el botón */
}

.dx-header-row td {
    text-align: center !important;
}

.content-charts {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px; /* O el ancho máximo que prefieras */
}

.charts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Asegura que haya espacio alrededor de cada gráfico */
}

.charts {
    flex: 1 1 calc(40% - 10px); /* 20% más pequeño que 50% */
    margin: 5px; /* Añade un pequeño margen alrededor de cada gráfico */
    max-width: calc(40% - 10px); /* Límite máximo para el ancho, ajusta según sea necesario */
    box-sizing: border-box; /* Asegura que el padding y border estén incluidos en el ancho */
}

.export-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .charts {
        flex: 0 0 100%; /* Cada gráfico toma el ancho completo en pantallas pequeñas */
        max-width: 100%; /* Establece un límite máximo del 100% para pantallas pequeñas */
    }
}

.toolbar-link-password {
    color: white;
    font-weight: 500;
    padding: 6px 12px;
    text-decoration: none;
}

.toolbar-link-password:hover {
    text-decoration: underline;
}

/*estilos de forma de cambio de contraseña y crear usuario*/
.form-container {
    max-width: 400px;
    margin: auto;
    margin-top: 30px; /* Ajuste para el margen superior */
    padding-bottom: 20px; /* Espacio adicional en la parte inferior si es necesario */
}

.button-container {
    text-align: center; /* Centra el botón dentro del contenedor */
    margin-top: 20px; /* Espacio adicional encima del botón si es necesario */
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .form-container {
        margin: 10px;
    }
}
