import { StyleSheet } from 'react-native';
import { Colors } from 'src/theme';
import { getFontSize } from 'src/utils';

export const styles = StyleSheet.create({
  container: {
    flex: 1
  },
  wrapper: {
    marginLeft: '5%',
    marginRight: '5%',
    alignItems: 'center'
  },
  map: {
    ...StyleSheet.absoluteFillObject
  },
  searchContainer: {
    gap: 16,
    flexDirection: 'row',
    alignItems: 'center',
    marginBottom: 8
  },
  regionSelector: {
    flexDirection: 'row',
    alignItems: 'center',
    paddingHorizontal: 16,
    borderRadius: 4,
    height: 36,
    backgroundColor: 'rgba(250, 250, 250, 1)',
    justifyContent: 'flex-start',
    gap: 10,
    flex: 1
  },
  regionText: {
    fontSize: 15,
    fontWeight: '500',
    color: Colors.LIGHT_GRAY
  },
  saveBtn: {
    borderRadius: 20,
    paddingVertical: 10,
    paddingHorizontal: 16,
    borderWidth: 1
  },
  saveBtnActive: {
    borderColor: Colors.ORANGE,
    backgroundColor: Colors.ORANGE
  },
  saveBtnDisabled: {
    borderColor: Colors.LIGHT_GRAY
  },
  popupWrapper: {
    marginHorizontal: 24,
    position: 'absolute',
    bottom: 25,
    left: 0,
    right: 0
  },
  popupContainer: {
    alignItems: 'center',
    justifyContent: 'center',
    alignSelf: 'center',
    paddingVertical: 8,
    paddingHorizontal: 16,
    backgroundColor: 'rgba(33, 37, 41, 0.8)',
    borderRadius: 100
  },
  popupText: {
    color: Colors.WHITE,
    fontSize: getFontSize(12),
    fontWeight: '600'
  }
});
