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

import {ELEMENT_HEIGHT} from '../VoiceRecordingPanel/components/VoiceRecordingPanelLocked/constants';

export const TRIANGLE_W = 12;
export const TRIANGLE_H = 6;

export const styles = StyleSheet.create({
  container: {
    alignItems: 'center',
    borderRadius: BORDER_RADIUS.s,
    bottom: ELEMENT_HEIGHT,
    columnGap: SPACING.x1,
    flexDirection: 'row',
    justifyContent: 'space-between',
    padding: SPACING.x1,
    paddingRight: SPACING['x1.5'],
    position: 'absolute',
    right: SPACING.x2,
    width: windowDimensions.width * 0.65,
    zIndex: 3,
  },
  title: {flexShrink: 1},
  triangle: {
    bottom: -TRIANGLE_H,
    position: 'absolute',
    right: 14,
  },
});
