import {StyleSheet} from 'react-native';
import {windowDimensions} from '@shared/constants';
import {SPACING} from '@shared/theme';

import {ELEMENT_HEIGHT} from './constants';

export const styles = StyleSheet.create({
  container: {
    alignSelf: 'center',
    paddingHorizontal: SPACING.x2,
    position: 'absolute',
    width: windowDimensions.width,
  },
  info: {
    alignItems: 'center',
    flexDirection: 'row',
    height: ELEMENT_HEIGHT,
  },
  waveform: {
    alignItems: 'flex-end',
    flex: 1,
    height: 40,
    marginLeft: SPACING['x2.5'],
    overflow: 'hidden',
  },
  controllers: {
    alignItems: 'center',
    flexDirection: 'row',
    height: ELEMENT_HEIGHT,
    justifyContent: 'space-between',
    width: '100%',
  },
});
