svg {
    pointer-events: none;
}

.cardDark {
    background-color: #363c4e;
}

.divTradingView {
    height: 500px;
}

.divScroll {
    overflow: auto;
    max-height: 345px;
}

.tableFixHead {
    overflow: auto;
    height: 100px;
}

.tableFixHead thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

#tabContent {
    border-left: 0.0625rem solid #9ca3af;
    border-right: 0.0625rem solid #9ca3af;
    border-bottom: 0.0625rem solid #9ca3af;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.nav-tabs .nav-link {
    margin-bottom: 0px;
}

.divScrollArgos {
    overflow: auto;
    max-height: 400px;
}

#spanNoWrap {
    white-space: pre;
}

.divScrollBadges {
    overflow: auto;
    max-height: 100px;
}

/* Chat Styles */

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #1F2937 !important;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.offcanvas-custom {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background: #fff;
    border-left: 1px solid #dee2e6;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 1045;
    border-radius: 0.5rem 0 0 0.5rem;
    display: flex;
    flex-direction: column;
}

.offcanvas-custom.show {
    right: 0;
    opacity: 1;
}

.btnCloseChat {
    top: 10px;
    right: 10px;
    z-index: 1060;
}

.messages-container::-webkit-scrollbar {
    width: 6px;
}

.messages-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.messages-container::-webkit-scrollbar-track {
    background: transparent;
}

.divMessages {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    padding-bottom: 1rem;
    padding-right: 10px;
    margin-right: -10px;
}

.divDefaultMessage {
    font-size: 11px;
}

.divDefaultMessage ul li {
    font-size: 11px;
}

.divChatInput {
    position: sticky;
    bottom: 0;
}

.spanChatRow {
    font-size: 11px;
    max-width: "80%";
}

.spanChatRow p {
    font-size: 11px;
    margin: 0;
}

.spanChatRow ul li {
    font-size: 11px;
}

.spanChatRow h3 {
    font-size: 11px;
    font-weight: bold;
}

/* Report Styles */

/* Card estilizado */
.card.bg-custom-dark {
    background-color: #1f2937 !important;
    /* fundo grafite */
    border: 1px solid #374151;
    /* borda sutil */
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    color: #f9fafb;
    /* texto branco suave */
}

/* Área do gráfico */
.ct-chart-sales-value {
    background-color: transparent !important;
}

/* Linha do gráfico */
.ct-series-a .ct-line {
    stroke: #3b82f6 !important;
    /* azul moderno */
    stroke-width: 2.5px;
}

/* Pontos */
.ct-series-a .ct-point {
    stroke: #60a5fa !important;
    /* azul mais claro */
    stroke-width: 8px;
}

/* Área preenchida */
.ct-series-a .ct-area {
    fill: #3b82f6 !important;
    fill-opacity: 0.2;
}

/* Labels do gráfico (eixo X e Y) */
.ct-label {
    color: #e5e7eb !important;
    /* cinza bem claro (Tailwind gray-200) */
    fill: #e5e7eb !important;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Valor acima do gráfico (título ou valor destacado) */
.card.bg-custom-dark .fs-3,
.card.bg-custom-dark h2 {
    color: #f9fafb !important;
    /* quase branco */
}

/* Ajustar grid para ser mais discreta */
.ct-grid {
    stroke: #6b7280 !important;
    /* cinza médio */
    stroke-width: 1px;
    stroke-dasharray: 2px;
    opacity: 0.5;
}

/* Base para todos os cards no modo dark */
.card-dark {
    background-color: #111827 !important;
    /* cinza quase preto */
    border: 1px solid #1f2937;
    /* cinza-800 */
    border-radius: 0.75rem;
    color: #f9fafb;
    /* texto principal */
}

/* Títulos / labels menores */
.card-dark .small,
.card-dark .fw-bold,
.card-dark span {
    color: #9ca3af !important;
    /* cinza claro */
}

/* Cores específicas */
.card-dark.buy {
    border-left: 4px solid #10b981;
    /* verde */
}

.card-dark.sell {
    border-left: 4px solid #ef4444;
    /* vermelho */
}

.card-dark.orders {
    border-left: 4px solid #3b82f6;
    /* azul */
}