.ea-light-scheme .card__feature {
    border: 0;
    background-color: #f8fafc;
}

.ea-dark-scheme .card__feature {
    border: 0;
    background-color: #171717;
}

/* Estilos para gráficos */
.chart-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.chartjs-chart {
    max-width: 100%;
    max-height: 100%;
}

/* Estilo específico para cards con gráficos */
.card .card-body .chart-container {
    min-height: 300px;
}

#admin-filters {
    min-height: 4em;
}

/* Responsividad para gráficos */
@media (max-width: 768px) {
    .chart-container {
        height: 250px !important;
    }
}

@media (max-width: 576px) {
    .chart-container {
        height: 200px !important;
    }
}



/* Estilos para DataTables Responsive dark mode */

body.ea-dark-scheme table.dataTable>tbody>tr>td.dtr-control:before,
html[data-bs-theme=dark] table.dataTable>tbody>tr>td.dtr-control:before {
    border-left-color: rgba(255, 255, 255, 0.5) !important
}

body.ea-dark-scheme table.dataTable>tbody>tr>td.dtr-control.arrow-right::before,
html[data-bs-theme=dark] table.dataTable>tbody>tr>td.dtr-control.arrow-right::before {
    border-right-color: rgba(255, 255, 255, 0.5) !important
}

body.ea-dark-scheme table.dataTable>tbody>tr.dtr-expanded>td.dtr-control:before,
body.ea-dark-scheme table.dataTable>tbody>tr.dtr-expanded>th.dtr-control:before,
html[data-bs-theme=dark] table.dataTable>tbody>tr.dtr-expanded>td.dtr-control:before,
html[data-bs-theme=dark] table.dataTable>tbody>tr.dtr-expanded>th.dtr-control:before {
    border-top-color: rgba(255, 255, 255, 0.5) !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important
}

table.dataTable.table-bordered th.dtr-control.dtr-hidden+*,
table.dataTable.table-bordered td.dtr-control.dtr-hidden+* {
    border-left-width: 1px
}


/* Estilos personalizados para Quill en EasyAdmin */
.quill-editor-wrapper {
    background: white;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.quill-editor {
    min-height: 400px;
}

.ql-toolbar.ql-snow {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #ced4da;
}

.ql-container.ql-snow {
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    font-size: 1rem;
}

.ql-editor {
    min-height: 400px;
    font-family: inherit;
}

/* Asegurar que el contenedor tenga el ancho completo */
.field-quill-editor .quill-editor-wrapper {
    width: 100%;
}

/* Dark mode support for Quill */
body.ea-dark-scheme .quill-editor-wrapper,
html[data-bs-theme=dark] .quill-editor-wrapper {
    background: #1e1e1e;
    border-color: #444;
}

body.ea-dark-scheme .ql-toolbar.ql-snow,
html[data-bs-theme=dark] .ql-toolbar.ql-snow {
    background: #2d2d2d;
    border-color: #444;
}

body.ea-dark-scheme .ql-container.ql-snow,
html[data-bs-theme=dark] .ql-container.ql-snow {
    border-color: #444;
}

body.ea-dark-scheme .ql-editor,
html[data-bs-theme=dark] .ql-editor {
    color: #e0e0e0;
}


.content-raw-html {
}

.content-raw-html img {
    max-width: 100%;
    height: auto;
}
