body {
    padding-top: 75px;
}

.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card {
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #212529;
}

.card-header {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-icon-link {
    font-size: 1.1rem; /* Aumenta o tamanho do ícone e do badge */
    line-height: 1;    /* Melhora o alinhamento vertical do ícone */
}

.company-name {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.8;
}

.card-body {
    padding: 1rem;
    font-size: 0.8rem;
}

.price-line,
.metrics-line,
.mm-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.15rem 0.15rem;
}

.price {
    font-size: 2.00rem;
    font-weight: bold;
}

.variation {
    font-size: 1.5rem;
    font-weight: 500;
}

.metrics-line > span {
    font-size: 0.75rem;
    flex-basis: 33.33%;
    text-align: center;
}
.metrics-line > span:first-child { text-align: left; }
.metrics-line > span:last-child { text-align: right; }


.card-footer {
    font-size: 0.75rem;
    opacity: 0.5;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.text-green {
    color: #198754 !important;
    font-weight: bold;
}

.text-red {
    color: #dc3545 !important;
    font-weight: bold;
}

.text-white {
    color: #f8f9fa !important;
}

.status-badge {
    padding: 0.2em 0.5em;
    border-radius: 0.25rem;
    font-weight: normal;
}

.status-badge.compra {
    background-color: rgba(25, 135, 84, 0.2);
    color: #198754;
}

.status-badge.venda {
    background-color: rgba(220, 53, 69, 0.2);
     color: #dc3545;
}

.status-badge.neutro {
    background-color: rgba(255, 255, 255, 0.2);
     color: #f8f9fa;
}