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

const BUTTON_DIMENSIONS = SPACING.x5;
const BUTTON_SPACING = SPACING['x1.5'];

export const styles = StyleSheet.create({
  container: {
    alignItems: 'center',
    marginTop: SPACING['x1.25'],
    overflow: 'hidden',
  },
  spinnerContainer: {
    alignItems: 'center',
    flex: 1,
    height: '100%',
    justifyContent: 'center',
    opacity: 0.5,
    position: 'absolute',
    width: '100%',
    zIndex: 100,
  },
  deleteButton: {
    alignItems: 'center',
    borderRadius: BUTTON_DIMENSIONS / 2,
    borderWidth: SPACING['x0.5'],
    height: BUTTON_DIMENSIONS,
    justifyContent: 'center',
    position: 'absolute',
    right: BUTTON_SPACING,
    top: BUTTON_SPACING,
    width: BUTTON_DIMENSIONS,
  },
});
