import { StyleSheet } from 'react-native';

export const profileStyles = StyleSheet.create({
  container: {
    flex: 1,
  },
  scrollContent: {
    paddingHorizontal: 18,
    paddingTop: 16,
    paddingBottom: 50,
  },
  userCard: {
    borderRadius: 22,
    padding: 18,
    alignItems: 'center',
    marginBottom: 20,
    borderWidth: 1.5,
    shadowColor: '#000',
    shadowOffset: { width: 0, height: 6 },
    shadowOpacity: 0.1,
    shadowRadius: 8,
    elevation: 4,
  },
  userCardLight: {
    backgroundColor: '#FFFFFF',
    borderColor: '#E2E8F0',
  },
  userCardDark: {
    backgroundColor: '#0F172A',
    borderColor: '#1E293B',
  },
  avatarContainer: {
    position: 'relative',
    marginBottom: 10,
  },
  avatarImage: {
    width: 80,
    height: 80,
    borderRadius: 40,
    borderWidth: 3,
    borderColor: '#38BDF8',
  },
  editAvatarBadge: {
    position: 'absolute',
    bottom: 0,
    right: 0,
    backgroundColor: '#0B1F4D',
    width: 26,
    height: 26,
    borderRadius: 13,
    justifyContent: 'center',
    alignItems: 'center',
    borderWidth: 2,
    borderColor: '#FFFFFF',
  },
  userNameLight: {
    fontSize: 20,
    fontWeight: '900',
    color: '#0B1F4D',
    marginBottom: 2,
  },
  userNameDark: {
    fontSize: 20,
    fontWeight: '900',
    color: '#F8FAFC',
    marginBottom: 2,
  },
  userEmailLight: {
    fontSize: 13,
    fontWeight: '600',
    color: '#64748B',
    marginBottom: 4,
  },
  userEmailDark: {
    fontSize: 13,
    fontWeight: '600',
    color: '#94A3B8',
    marginBottom: 4,
  },
  userPhoneBadge: {
    backgroundColor: '#DBEAFE',
    paddingHorizontal: 10,
    paddingVertical: 3,
    borderRadius: 10,
    marginTop: 4,
  },
  userPhoneText: {
    fontSize: 12,
    fontWeight: '800',
    color: '#1D4ED8',
  },
  sectionTitleLight: {
    fontSize: 17,
    fontWeight: '900',
    color: '#0B1F4D',
    marginBottom: 10,
    marginLeft: 4,
  },
  sectionTitleDark: {
    fontSize: 17,
    fontWeight: '900',
    color: '#F8FAFC',
    marginBottom: 10,
    marginLeft: 4,
  },
  optionsGroup: {
    borderRadius: 18,
    borderWidth: 1.5,
    overflow: 'hidden',
    marginBottom: 20,
  },
  optionsGroupLight: {
    backgroundColor: '#FFFFFF',
    borderColor: '#E2E8F0',
  },
  optionsGroupDark: {
    backgroundColor: '#0F172A',
    borderColor: '#1E293B',
  },
  optionRow: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'space-between',
    paddingHorizontal: 16,
    paddingVertical: 14,
    borderBottomWidth: 1,
  },
  optionRowLight: {
    borderBottomColor: '#F1F5F9',
  },
  optionRowDark: {
    borderBottomColor: '#1E293B',
  },
  optionLeft: {
    flexDirection: 'row',
    alignItems: 'center',
    flex: 1,
  },
  optionIconBox: {
    width: 36,
    height: 36,
    borderRadius: 10,
    backgroundColor: '#F0F9FF',
    justifyContent: 'center',
    alignItems: 'center',
    marginRight: 12,
  },
  optionIconBoxDark: {
    width: 36,
    height: 36,
    borderRadius: 10,
    backgroundColor: '#1E293B',
    justifyContent: 'center',
    alignItems: 'center',
    marginRight: 12,
  },
  optionTitleLight: {
    fontSize: 15,
    fontWeight: '800',
    color: '#0B1F4D',
  },
  optionTitleDark: {
    fontSize: 15,
    fontWeight: '800',
    color: '#F8FAFC',
  },
  optionSubtitleLight: {
    fontSize: 11,
    fontWeight: '600',
    color: '#64748B',
  },
  optionSubtitleDark: {
    fontSize: 11,
    fontWeight: '600',
    color: '#94A3B8',
  },
  signOutBtn: {
    backgroundColor: '#FEE2E2',
    height: 50,
    borderRadius: 25,
    justifyContent: 'center',
    alignItems: 'center',
    flexDirection: 'row',
    marginTop: 10,
    borderWidth: 1,
    borderColor: '#FCA5A5',
  },
  signOutText: {
    fontSize: 15,
    fontWeight: '900',
    color: '#991B1B',
    marginLeft: 8,
  },
});
