/* ══════════════════════════════════════════════════════════════
   Trade Mode Switcher — Segmented control
   Used by Trades.razor to toggle between FullGUI, Detailed and
   Compact entry modes.
   ══════════════════════════════════════════════════════════════ */

.trade-mode-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.trade-mode-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.trade-mode-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
}

.trade-mode-btn.active {
    background: var(--cpd-gold);
    color: var(--cpd-dark);
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.trade-mode-btn .mode-shortcut {
    display: inline-block;
    font-size: 0.6rem;
    opacity: 0.5;
    margin-left: 0.3rem;
    font-weight: 400;
}

.trade-mode-btn.active .mode-shortcut {
    opacity: 0.7;
}
