/* Container */
.signalfx-list {
    padding: 12px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

/* Card */
.sf-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
}

/* Pair */
.sf-pair {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

/* Type */
.sf-type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.sf-type.buy,
.sf-type.buy_limit,
.sf-type.buy_stop {
    background: #dcfce7;
    color: #166534;
}

.sf-type.sell,
.sf-type.sell_limit,
.sf-type.sell_stop {
    background: #fee2e2;
    color: #991b1b;
}

/* Status */
.sf-status {
    font-size: 13px;
    opacity: 0.7;
}

/* Popup */
.sf-popup {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.sf-popup.active {
    display: flex;
}

/* Popup Header */
.sf-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
}

#sfBack {
    font-size: 18px;
    cursor: pointer;
}

/* Popup Body */
.sf-popup-body {
    padding: 16px;
    overflow-y: auto;
}
