diff --git a/static/js/customers-modern.js b/static/js/customers-modern.js
new file mode 100644
index 0000000..345e1ba
--- /dev/null
+++ b/static/js/customers-modern.js
@@ -0,0 +1,426 @@
+// Modern helper functions for customer details modal
+
+function formatCustomerPhonesModern(phones) {
+ if (!phones || phones.length === 0) {
+ return `
+
+ ${addressParts.map(part => `
${part}
`).join('')}
+
+ `;
+}
+
+// Ultra-compact formatting functions for minimal space usage
+function formatCustomerPhonesUltraCompact(phones) {
+ if (!phones || phones.length === 0) {
+ return `
+
+ ${addressParts.map(part => `
${part}
`).join('')}
+
+ `;
+}
+
+// Legacy formatting functions to match the old system layout
+function formatCustomerPhonesLegacy(phones) {
+ if (!phones || phones.length === 0) {
+ return `
+ ${addressParts.map(part => `
${part}
`).join('')}
+
+ `;
+}
+
+// Legacy formatting functions with larger text
+function formatCustomerPhonesLegacyLarger(phones) {
+ if (!phones || phones.length === 0) {
+ return `
+ ${addressParts.map(part => `
${part}
`).join('')}
+
+ `;
+}
+
+// Make functions globally available
+window.formatCustomerPhonesModern = formatCustomerPhonesModern;
+window.formatCustomerAddressModern = formatCustomerAddressModern;
+window.formatCustomerPersonalInfo = formatCustomerPersonalInfo;
+window.formatCustomerPhonesCompact = formatCustomerPhonesCompact;
+window.formatCustomerAddressCompact = formatCustomerAddressCompact;
+window.formatCustomerPhonesUltraCompact = formatCustomerPhonesUltraCompact;
+window.formatCustomerAddressUltraCompact = formatCustomerAddressUltraCompact;
+window.formatCustomerPhonesLegacy = formatCustomerPhonesLegacy;
+window.formatCustomerAddressLegacy = formatCustomerAddressLegacy;
+window.formatCustomerPhonesLegacyLarger = formatCustomerPhonesLegacyLarger;
+window.formatCustomerAddressLegacyLarger = formatCustomerAddressLegacyLarger;
+window.showCustomerDetailsModal = showCustomerDetailsModal;
\ No newline at end of file
diff --git a/static/js/customers-tailwind.js b/static/js/customers-tailwind.js
index 1c0d3af..0d654b3 100644
--- a/static/js/customers-tailwind.js
+++ b/static/js/customers-tailwind.js
@@ -61,8 +61,8 @@ function displayCustomers(customers) {