﻿.stats-container {
    height: 100% !important;
    box-sizing: border-box;
}

.neural-scroll-container {
    height: calc(100vh - 200px); /* Ajusta según el tamaño deseado */
    overflow-y: auto; /* Activa el scroll vertical */
}

.full-height {
    height: 100%;
    display: flex !important;
    flex-direction: column;
}

.tab-content {
    flex-grow: 1;
    height: 100%;
}

.overflow-y-auto {
    overflow-y: auto; /* Activa el scroll vertical */
}

.full-height-calc-grid {
    height: calc(100vh - 300px);
}

.h-0 {
    height: 0%;
}

.h-15 {
    height: 15%;
}

.h-30 {
    height: 30%;
}

.h-40 {
    height: 40%;
}

.h-45 {
    height: 45%;
}

.h-60 {
    height: 60%;
}

.h-80 {
    height: 80%;
}

.h-90 {
    height: 90%;
}

.vh-60 {
    height: 60vh;
}

.vh-50 {
    height: 50vh;
}

.w-30 {
    width: 30%;
}

.height-tree-view {
    max-height: 25vh;
}

.dx-chart-tooltip {
    position: fixed !important;
}

.img-logo {
    width: auto;
    max-height: 100px;
}

.bg-color-help {
    background-color: #ADD8E6;
}

.text-color-help {
    color: #ADD8E6;
}

.text-danger {
    color: #cc4744 !important
}

.dx-chart-tooltip:has(.hide-tooltip) {
    display: none !important;
}

.dxbl-grid-header-content:has(.center-content) {
    justify-content: center !important;
}

/* Chat */
.chat-container {
    width: 100%;
    margin: 40px auto 10px auto;
    background: #EDEADE;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    height: 40vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.message {
    color: black;
    display: flex;
    flex-direction: column;
    max-width: 70%;
    margin: 8px 0;
    padding: 8px 12px;
    border-radius: 7.5px;
    position: relative;
}

.no-messages {
    margin: auto;
    text-align: center;
    color: #888;
    font-size: 16px;
    font-style: italic;
}

.message-content {
    font-size: 14px;
    line-height: 1.4;
}

.timestamp {
    font-size: 11px;
    color: #555;
    align-self: flex-end;
    margin-top: 4px;
}

.received {
    background-color: #FAF9F6;
    align-self: flex-start; /* Mensaje del otro usuario, a la izquierda */
    border: 1px solid #ccc;
}

.sent {
    background-color: #dcf8c6;
    align-self: flex-end; /* Mensaje del usuario, a la derecha */
}

.cropper-height {
    height: 33vh;
}

.cropper-no-image-loaded {
    font-size: 10rem;
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    height: 100%; /* Ocupa toda la altura del contenedor padre */
    width: 100%;
}

.hide-detail-row-button .dxbl-grid-expand-button-cell .dxbl-grid-expand-button {
    visibility: hidden;
}

.scrollable-content {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
}

.dxbl-modal-content, .dxbl-tabs-content-panel {
    height: calc(100% - 36px);
}

.min-height-0 {
    min-height: 0;
}

.gap-0 {
    gap: 0 !important;
}

.gap-1 {
    gap: 0.25rem !important; /* 4px si la fuente base es 16px */
}

.gap-2 {
    gap: 0.5rem !important; /* 8px */
}

.gap-3 {
    gap: 1rem !important; /* 16px */
}

.gap-4 {
    gap: 1.5rem !important; /* 24px */
}

.gap-5 {
    gap: 3rem !important; /* 48px */
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-help {
    cursor: help;
}

.image-loader-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.new-row-grid {
    height: 150px;
}

.chart-legend-right {
    height: 90%;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 !important;
    padding-left: 0 !important;
}

.responsive-panel-50 {
    height: 50%; /* Mantiene el 50/50 en pantallas grandes */
    min-height: 600px; /* Altura mínima para pantallas pequeñas. Ajusta este valor si es necesario. */
}

.dxbl-grid-edit-form > form {
    height: 90%;
}

.font-size-small {
    font-size: small;
}

.badge-tab {
    font-size: xx-small;
    padding: 0.29rem 0.3rem;
}
