/* ── DEDICATED FTMO STYLING EXTENSION ── */

/* Progress Bar container for Drawdowns */
.drawdown-progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
    margin: 8px 0 4px 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.drawdown-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gain-color);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    box-shadow: 0 0 6px var(--gain-glow);
}

/* Color stages based on percentage warning levels */
.drawdown-progress-bar.warning {
    background: var(--accent-amber);
    box-shadow: 0 0 8px rgba(255, 158, 0, 0.4);
}

.drawdown-progress-bar.critical {
    background: var(--loss-color);
    box-shadow: 0 0 8px rgba(255, 51, 102, 0.5);
}

/* Drawdown metrics label layout */
.drawdown-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
}

.drawdown-labels span.limit-label {
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

/* Navigation button styling (Switch back/forth) */
.nav-switch-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.nav-switch-btn:hover {
    color: var(--accent-amber);
    border-color: rgba(255, 158, 0, 0.3);
    background: rgba(255, 158, 0, 0.03);
}

.nav-switch-btn i {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-speed);
}

.nav-switch-btn:hover i {
    transform: translateX(-3px);
}

/* Protector Status badge custom glow */
.badge.protector-status {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge.protector-status.status-normal {
    color: var(--gain-color);
    border-color: rgba(0, 255, 136, 0.25);
    background: rgba(0, 255, 136, 0.02);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.04);
}

.badge.protector-status.status-blocked {
    color: var(--loss-color);
    border-color: rgba(255, 51, 102, 0.35);
    background: rgba(255, 51, 102, 0.03);
    box-shadow: 0 0 12px rgba(255, 51, 102, 0.08);
}

/* Layout tweaks for Watchlist inside asymmetric grid */
.watchlist-compact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.watchlist-compact-item:last-child {
    border-bottom: none;
}

.watchlist-compact-ticker {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.85rem;
}

.watchlist-compact-price {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
}

.watchlist-compact-indicators {
    display: flex;
    gap: 8px;
}

.indicator-tag {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.indicator-tag.bullish {
    color: var(--gain-color);
    border-color: rgba(0, 255, 136, 0.15);
    background: rgba(0, 255, 136, 0.02);
}

.indicator-tag.bearish {
    color: var(--loss-color);
    border-color: rgba(255, 51, 102, 0.15);
    background: rgba(255, 51, 102, 0.02);
}
