﻿#toolbar.dx-toolbar {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0 12px;
}


.dx-toolbar-before,
.dx-toolbar-center,
.dx-toolbar-after {
    align-items: center;
}

.dx-toolbar-items-container {
}




.dx-widget {
    font-size: 12px !important; /* Ajusta el tamaño de la fuente */
}


.dx-drawer {
    min-height: 600px !important;
}



.dx-accordion-item-title {
    /*background-color: #8cc3ff !important;*/
    background-color: rgb(216, 216, 216, 0.78) !important;
}

.dx-accordion-item-title-caption {
    align-items: normal !important;
}

.dx-editor-cell .dx-texteditor .dx-texteditor-input {
    line-height: 14px !important;
}

.dx-textarea .dx-placeholder::before, .dx-textarea {
    line-height: 14px !important;
    min-height: 48px !important;
    /*    height: auto !important;
*/
}


.SeleccionDeHospital {
    display: grid;
    gap: 2px;
    grid-template-columns: 3fr 1fr 1fr;
    
}

.SeleccionDeHospital_solo {
    display: grid;
    gap: 2px;
    grid-template-columns: 4fr 1fr;
}


.dosColumnas {
    display: flex;
    flex-wrap: wrap;
}

.tresColumnas {
    flex: 1 1 calc(33% - 10px); /* Dos columnas */
    box-sizing: border-box;
}


.oddVisuaReceta {
    background-color: #ffffff;
}

.nonVisuaReceta {
    background-color: #f1f1f1;
}


.cajaVisualizacionReceta {
    display: flex;
    flex-wrap: wrap;

    
    border: 1px solid rgb(216, 216, 216, 0.78);
    width: 100%;
    
    border-radius: 4px;
    padding: 0px;
    margin: 0px;
    -webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
    font-weight: bold;
    /*    display: flex;
    flex-wrap: wrap;*/
    gap: 0px;
}

.dx-tab {
    padding: 5px 40px !important;
}


@font-face {
    font-family: 'Roboto';
    src: url('../DevExtreme/css/fonts/Roboto-300.woff') format('woff'), url('../DevExtreme/css/fonts/Roboto-300.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}


* {
    font-family: Roboto, Verdana, Segoe, sans-serif;
    /*    letter-spacing: .25px;
*/ font-size: 12px;
}



@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */
}

@supports not (-webkit-touch-callout: none) {
    /* CSS for other than iOS devices */
}


.wrapper {
    background-color: #f5f5f5;
    border-radius: 10px;
    box-sizing: border-box;
    /*width: 30%;*/
    min-height: 350px;
    margin: 0px auto;
    justify-content: flex-end;
}




@media (max-width: 800px) {

    .wrapper {
        width: 90%;
    }
}

@media (min-width: 800px) and (max-width: 1400px) {
    .wrapper {
        width: 30%;
    }
}

@media (min-width: 1401px) {
    .wrapper {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .SeleccionDeHospital {
        grid-template-columns: 1fr;
    }
}


.long-title {
    background: linear-gradient(135deg, #a2c8e5, #b3d1e8); /* Degradado de azul más tenue */

    font-weight: 400;
    font-size: 28px !important;
    text-align: center;
    margin: 5px 0px;
    padding: 2px 10px;
    width: 100%;
    border: 1px solid #e2e8f0; /* Color gris claro */
    border-radius: 8px; /* Bordes redondeados */
    /*background-color: #eeefef;*/ /* Fondo gris claro */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para darle altura */
    font-family: 'Roboto', sans-serif; /* Cambiar tipo de letra */
    /*border-radius: 10px;
    background-color: #e5e5e5;
    width: 100%;
    text-align: left;
    -webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 2px rgba(0,0,0,0.2);*/
}




.scroll_view_tratamiento {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
}



#drawer {
    z-index: 10000 !important;
}

/*.dx-datagrid-borders td {
    border: 1px solid #dcdcdc;
}*/




.dx-tabpanel-tabs {
    border-bottom: 1px solid #dbdbdb !important;
    border-right: 1px solid #dbdbdb !important;
    border-left: 1px solid #dbdbdb !important;
}


.dx-item .dx-tab {
}



.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* derecha (controles) */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tituloAtributos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 14px;
    margin: 6px 10px;
    background: linear-gradient(180deg, #f8fbff, #f1f7ff);
    border-radius: 14px;
    /* 🔥 esto es la clave */
    border: 1px solid rgba(59,130,246,0.12);
    box-shadow: 0 4px 12px rgba(59,130,246,0.08);
}



/* Título */
.soloTitulo {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    /* 🔥 micro detalle */
    letter-spacing: -0.01em;
}
/* Contenedor tipo pill */
.selector-pill {
    display: flex;
    align-items: center;

    background: white;
    border: 1px solid #e2e8f0;

    padding: 6px 10px;
    border-radius: 999px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.05);

    transition: all 0.2s ease;
}

/* Hover */
.selector-pill:hover {
    border-color: #94a3b8;
}

/* DevExtreme ajuste interno */
.selector-pill .dx-texteditor {
    border: none !important;
    background: transparent !important;
}


/* Tag/chip arriba */



/* Contenedor item */
.menuItem {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.75rem;
    cursor: pointer;
    user-select: none;
}

/* ITEM base */
.menuItem {
    transition: background 0.2s ease;
    border-radius: 10px;
}

/* ICONO base */
.menuIconMask {
    background-color: #6b7280;
    transition: background-color 0.2s ease;
}

/* ===================== */
/* HOVER */
/* ===================== */
.menuItem:hover {
    background: #e0ecff;
}

    .menuItem:hover .menuIconMask {
        background-color: #2563eb;
    }

/* ===================== */
/* ACTIVE */
/* ===================== */
.menuItem--active {
    background: white;
}

    .menuItem--active .menuIconMask {
        background-color: #1d4ed8;
    }



/* slate-200 */

/* Ícono por mask (se pinta con background-color) */
.menuIconMask {
    width: 22px;
    height: 22px;
    display: inline-block;
    /* el “color” real del icono */

    background-color: #4b5563;
    transition: background-color 0.2s ease;
    /* máscara */
    -webkit-mask-image: var(--icon-url);
    mask-image: var(--icon-url);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Ícono DevExtreme */
.menuDxIcon {
    font-size: 20px;
    color: #0f172a;
    flex: 0 0 auto;
}

/* Texto */
.menuText {
    font-size: 14px;
    color: #0f172a;
    white-space: nowrap;
}

/* Compacto (si luego quieres modo mini) */
.menuCompact .menuText {
    display: none;
}