/* Container for the Name + Price */
.finticker-wrapper {
    position: relative;
    display: inline-block;
    cursor: default;
    font-weight: 600; /* Make the company name slightly bold */
    border-bottom: 1px dotted #ccc;
}

/* The Price Badge */
.finticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.85em;
    font-weight: bold;
    line-height: 1;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Green for positive */
.finticker-badge.ft-up {
    background-color: #e6f4ea;
    color: #137333;
    border: 1px solid #ceead6;
}

/* Red for negative */
.finticker-badge.ft-down {
    background-color: #fce8e6;
    color: #c5221f;
    border: 1px solid #fad2cf;
}

/* Price Text */
.ft-price {
    margin-right: 2px;
}

/* Mobile Responsiveness: ensure it doesn't break layout */
@media (max-width: 480px) {
    .finticker-badge {
        font-size: 0.75em;
        padding: 1px 4px;
    }
}