import { StyleSheet } from 'react-native'; import { ThemeColors } from '../../theme'; export const getStyles = (colors: ThemeColors) => StyleSheet.create({ customerCard: { backgroundColor: colors.card, borderRadius: 14, padding: 16, marginBottom: 12, shadowColor: '#0F172A', shadowOffset: { width: 0, height: 2 }, shadowOpacity: 0.05, shadowRadius: 4, elevation: 2, }, cardHeader: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-start', borderBottomWidth: 1, borderBottomColor: colors.border, paddingBottom: 12, marginBottom: 12, }, cardHeaderRight: { flexDirection: 'row', alignItems: 'center', gap: 10, }, deleteButton: { padding: 2, }, cardHeaderLeft: { flexDirection: 'row', alignItems: 'flex-start', flex: 1, marginRight: 10, }, avatarCircle: { width: 42, height: 42, borderRadius: 21, backgroundColor: colors.icon, justifyContent: 'center', alignItems: 'center', marginRight: 10, }, avatarInitial: { color: '#FFFFFF', fontSize: 16, fontWeight: '700', }, cardInfo: { flex: 1, }, customerName: { fontSize: 15, fontWeight: '700', color: colors.text, }, contactPerson: { fontSize: 12, color: colors.textSecondary, marginTop: 2, }, location: { fontSize: 12, color: colors.textMuted, marginTop: 3, }, badge: { paddingHorizontal: 8, paddingVertical: 3, borderRadius: 20, }, activeBadge: { backgroundColor: '#D1FAE5', }, inactiveBadge: { backgroundColor: '#FEE2E2', }, badgeText: { fontSize: 11, fontWeight: '700', }, activeBadgeText: { color: '#059669', }, inactiveBadgeText: { color: '#DC2626', }, cardFooter: { flexDirection: 'row', gap: 10, }, actionButton: { flexDirection: 'row', alignItems: 'center', justifyContent: 'center', flex: 1, height: 36, borderRadius: 8, borderWidth: 1, }, callButton: { borderColor: `${colors.icon}30`, backgroundColor: `${colors.icon}10`, }, callButtonText: { color: colors.icon, fontWeight: '600', fontSize: 13, marginLeft: 5, }, emailButton: { borderColor: colors.border, backgroundColor: colors.surface, }, emailButtonText: { color: colors.textSecondary, fontWeight: '600', fontSize: 13, marginLeft: 5, }, });