import { StyleSheet } from 'react-native'
import {
  windowHeight,
  windowWidth,
  fontSizes,
} from '../../../theme/appConstant'
import appFonts from '../../../theme/appFonts'
import appColors from '../../../theme/appColors'

const styles = StyleSheet.create({
  addressContainer: {
    backgroundColor: appColors.white,
    shadowColor: appColors.black,
    shadowOffset: {
      width: windowHeight(0),
      height: 1,
    },
    shadowOpacity: 0.18,
    shadowRadius: 1.0,
    elevation: 1,
    borderRadius: 6,
    paddingHorizontal: windowWidth(12),
    paddingVertical: windowHeight(6),
  },
  dashedLine: {
    height: 0.1,
    width: '100%',
    borderBottomWidth: windowHeight(0.2),
    borderColor: appColors.border,
    borderStyle: 'dashed',
    marginVertical: windowHeight(2),
  },
  iconStar: {
    marginHorizontal: windowWidth(3),
    marginVertical: windowHeight(3),
  },
  pickUpLocationStyles: {
    fontFamily: appFonts.regular,
    fontSize: fontSizes.FONT17,
    color: appColors.secondaryFont,
    fontWeight: '400',
  },
  itemStyle: {
    fontFamily: appFonts.regular,
    fontSize: fontSizes.FONT17,
    color: appColors.secondaryFont,
    fontWeight: '400',
  },
  container: {
    marginHorizontal: windowHeight(2),
    marginTop: windowHeight(2.3),
    backgroundColor: 'red',
  },
  rideInfoContainer: {
    width: '90%',
    borderRadius: windowWidth(5),
    paddingTop: windowHeight(2.3),
    borderWidth: windowWidth(0.45),
    alignSelf: 'center',
    marginTop: windowHeight(3),
  },
  profileInfoContainer: {
    alignItems: 'center',
  },
  profileImage: {
    width: windowWidth(13.5),
    height: windowWidth(13.5),
    resizeMode: 'cover',
    borderRadius: windowWidth(13.5),
    overflow: 'hidden',
  },

  profileTextContainer: {
    marginBottom: windowWidth(1),
  },
  profileName: {
    fontFamily: appFonts.medium,
    fontSize: fontSizes.FONT4,
    color: appColors.primaryFont,
  },
  carInfoContainer: {
    marginTop: windowHeight(0.1),
  },
  carInfoText: {
    fontFamily: appFonts.regular,
    fontSize: fontSizes.FONT17,
    color: appColors.secondaryFont,
  },
  ratingText: {
    fontFamily: appFonts.medium,
    fontSize: fontSizes.FONT17,
    color: appColors.primaryFont,
  },
  tripImage: {
    width: windowWidth(12),
    height: windowHeight(4),
    resizeMode: 'contain',
  },
  tripTextContainer: {
    paddingHorizontal: windowHeight(2),
    height: windowHeight(4.5),
    backgroundColor: 'red',
    alignItems: 'center',
    borderRadius: windowWidth(21),
    justifyContent: 'center',
  },
  tripIDText: {
    fontWeight: '400',
    fontFamily: appFonts.medium,
    fontSize: fontSizes.FONT17,
    color: appColors.primaryFont,
  },
  tripCostText: {
    fontFamily: appFonts.medium,
    fontSize: fontSizes.FONT4HALF1,
    color: appColors.price,
    marginVertical: windowHeight(1.3),
  },
  tripDateText: {
    fontFamily: appFonts.regular,
    fontSize: fontSizes.FONT3HALF,
    color: appColors.secondaryFont,
    fontWeight: '400',
  },
  iconContainer: {
    flexDirection: 'row',
    justifyContent: 'space-between',
    marginHorizontal: windowHeight(14),
  },
  userImage: {
    width: windowWidth(11.6),
    height: windowWidth(12),
    resizeMode: 'stretch',
  },
  listContainer: {
    flex: 1,
    bottom: windowHeight(1.8),
  },
  iconContainer1: {
    alignItems: 'flex-end',
    justifyContent: 'space-between',
  },
  clock: { marginHorizontal: windowWidth(0) },
  calanderSmall: { marginHorizontal: windowWidth(1) },
  containerIcon: { alignItems: 'center' },
  service_category_Container: {
    backgroundColor: appColors.lightPurpal,
    paddingHorizontal: windowWidth(3),
    paddingVertical: windowHeight(0.3),
    alignItems: 'center',
    justifyContent: 'center',
    borderRadius: windowHeight(2),
    marginHorizontal: windowWidth(3),
    alignSelf: 'center',
    alignContent: 'center',
  },
  serviceName: {
    color: appColors.primary,
    fontFamily: appFonts.regular,
  },
  serviceContainer: {
    backgroundColor: appColors.primaryBg,
    paddingHorizontal: windowWidth(3),
    paddingVertical: windowHeight(0.3),
    alignItems: 'center',
    justifyContent: 'center',
    borderRadius: windowHeight(2),
  },
  containerService: {
    marginTop: windowHeight(2),
    paddingHorizontal: windowHeight(0.5),
  },
  callContainer: {
    borderRadius: windowHeight(5.5),
    height: windowHeight(5.5),
    width: windowHeight(5.5),
    alignItems: 'center',
    justifyContent: 'center',
    backgroundColor: appColors.black,
  },
  acceptedContainer: {
    width: windowWidth(23),
    justifyContent: 'space-between',
  },
  reviews_count: {
    color: appColors.secondaryFont,
    fontFamily: appFonts.regular,
    marginHorizontal: windowWidth(0.7),
  },
  rating_count: {
    fontFamily: appFonts.regular,
  },
  noDataContainer: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    height: windowHeight(65),
  },
  noDataImage: {
    width: windowHeight(33),
    height: windowWidth(55),
    resizeMode: 'contain',
  },
  noDataText: {
    fontSize: fontSizes.FONT4HALF,
    fontFamily: appFonts.bold,
    color: appColors.primaryFont,
  },
  noDataDesc: {
    fontFamily: appFonts.regular,
    color: appColors.darkBorderBlack,
    marginTop: windowHeight(1),
  },
  bottomView: { marginBottom: windowHeight(55) },
  line: {
    height: windowHeight(0.6),
    width: '100%',
    marginVertical: windowHeight(1.5),
  },
  smallLine: {
    width: windowWidth(0.55),
    height: windowHeight(2),
    backgroundColor: appColors.iconColor,
    marginHorizontal: windowWidth(1),
    marginBottom: windowHeight(0.2),
  },
})
export { styles }
