/* --- View Tabs (Workouts / Custom / Power Control) --- */
.view-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    background: #151821;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.view-tab {
    flex: 1;
    padding: 14px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #5c6078;
    background: #151821;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.view-tab:hover {
    background: #1C1F2A;
    color: #8b8fa3;
}

.view-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: rgba(102, 126, 234, 0.06);
}

.view-tab.requires-connection {
    position: relative;
}

.view-tab.requires-connection.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.view-panel {
    display: none;
}

.view-panel.active {
    display: block;
}
