/* Sidebar market quotes — FXT Child */

.fxt-market-widget {
    --fxt-mw-green: #1e8f5c;
    --fxt-mw-green-muted: #def7ea;
    --fxt-mw-border: #cfd8dc;
    font-family: inherit;
    margin-bottom:0;
    border: 1px solid var(--fxt-mw-border);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.fxt-market-widget__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid var(--fxt-mw-border);
    background: #fafafa;
}

.fxt-market-widget__tab {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.5rem 0.35rem;
    margin: 0;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: #111;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.fxt-market-widget__tab:hover {
    background: #f0f0f0;
}

.fxt-market-widget__tab.is-active {
    background: var(--fxt-mw-green-muted);
    border-bottom-color: #4a4a4a;
}

.fxt-market-widget__panel {
    padding: 0.75rem 0.6rem 0.5rem;
}

.fxt-market-widget__panel.is-hidden {
    display: none;
}

.fxt-market-widget__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.75rem;
    align-items: center;
}

.fxt-market-widget__cell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.25rem 0.4rem;
    align-items: center;
    font-size: 0.75rem;
    line-height: 1.3;
}

.fxt-market-widget__arrow {
    font-size: 0.7rem;
    font-weight: 700;
    width: 1em;
    text-align: center;
}

.fxt-market-widget__arrow.is-up {
    color: #00B050;
}

.fxt-market-widget__arrow.is-down {
    color: #c62828;
}

.fxt-market-widget__arrow.is-flat {
    color: #9e9e9e;
}

.fxt-market-widget__sym {
    font-weight: 600;
    color: #111;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fxt-market-widget__price {
    font-variant-numeric: tabular-nums;
    text-align: right;
    color: #333;
}

.fxt-market-widget__fresh {
    margin: 0 0.6rem;
    padding: 0 0 0.35rem;
    font-size: 0.65rem;
    line-height: 1.3;
    color: #757575;
    text-align: center;
}

.fxt-market-widget__cta {
    display: block;
    margin: 1.5rem 0rem 0rem;
    padding: 0.6rem 0.75rem;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #00B050;
    text-decoration: none;
    border: 1px solid #00B050;
    border-radius: 3px;
    background: #fff;
    transition: background 0.15s, color 0.15s;
}

.fxt-market-widget__cta:hover,
.fxt-market-widget__cta:focus {
    background: var(--fxt-mw-green-muted);
    color: #146b45;
    outline: none;
}

@media (min-width: 1024px) {
    .fxt-market-widget__tab {
        font-size: 0.7rem;
        padding: 0.75rem 0.25rem;
    }
}
