@blackcode_sa/metaestetics-api 1.14.61 → 1.14.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2054,195 +2054,139 @@ var patientAppointmentConfirmedTemplate = `
2054
2054
  <meta charset="UTF-8">
2055
2055
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
2056
2056
  <title>Appointment Confirmed</title>
2057
- <style>
2058
- body {
2059
- margin: 0;
2060
- padding: 0;
2061
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
2062
- background: linear-gradient(135deg, #a48a76 0%, #67574A 100%);
2063
- min-height: 100vh;
2064
- }
2065
- .email-container {
2066
- max-width: 600px;
2067
- margin: 0 auto;
2068
- background: #ffffff;
2069
- border-radius: 20px;
2070
- overflow: hidden;
2071
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
2072
- margin-top: 40px;
2073
- margin-bottom: 40px;
2074
- }
2075
- .header {
2076
- background: linear-gradient(135deg, #a48a76 0%, #67574A 100%);
2077
- padding: 40px 30px;
2078
- text-align: center;
2079
- color: white;
2080
- }
2081
- .header h1 {
2082
- margin: 0;
2083
- font-size: 28px;
2084
- font-weight: 300;
2085
- letter-spacing: 1px;
2086
- }
2087
- .header .subtitle {
2088
- margin: 10px 0 0 0;
2089
- font-size: 16px;
2090
- opacity: 0.9;
2091
- font-weight: 300;
2092
- }
2093
- .content {
2094
- padding: 40px 30px;
2095
- }
2096
- .greeting {
2097
- font-size: 18px;
2098
- color: #333;
2099
- margin-bottom: 25px;
2100
- font-weight: 400;
2101
- }
2102
- .appointment-card {
2103
- background: linear-gradient(135deg, #f8f6f5 0%, #f5f3f2 100%);
2104
- border-radius: 15px;
2105
- padding: 30px;
2106
- margin: 25px 0;
2107
- border-left: 5px solid #a48a76;
2108
- }
2109
- .appointment-title {
2110
- font-size: 20px;
2111
- color: #a48a76;
2112
- margin-bottom: 20px;
2113
- font-weight: 600;
2114
- }
2115
- .appointment-details {
2116
- display: grid;
2117
- gap: 15px;
2118
- }
2119
- .detail-row {
2120
- display: flex;
2121
- align-items: center;
2122
- padding: 8px 0;
2123
- }
2124
- .detail-label {
2125
- font-weight: 600;
2126
- color: #555;
2127
- min-width: 120px;
2128
- font-size: 14px;
2129
- }
2130
- .detail-value {
2131
- color: #333;
2132
- font-size: 16px;
2133
- font-weight: 500;
2134
- }
2135
- .procedure-name {
2136
- color: #67574A;
2137
- font-weight: 600;
2138
- }
2139
- .clinic-name {
2140
- color: #a48a76;
2141
- font-weight: 600;
2142
- }
2143
- .success-icon {
2144
- text-align: center;
2145
- margin: 20px 0;
2146
- font-size: 48px;
2147
- }
2148
- .footer {
2149
- background: #f8f9fa;
2150
- padding: 25px 30px;
2151
- text-align: center;
2152
- color: #666;
2153
- font-size: 14px;
2154
- border-top: 1px solid #eee;
2155
- }
2156
- .logo {
2157
- font-size: 24px;
2158
- font-weight: 700;
2159
- color: white;
2160
- margin-bottom: 5px;
2161
- }
2162
- .divider {
2163
- height: 2px;
2164
- background: linear-gradient(90deg, #a48a76, #67574A);
2165
- margin: 25px 0;
2166
- border-radius: 1px;
2167
- }
2168
- .thank-you {
2169
- background: linear-gradient(135deg, #f0ede8 0%, #ebe6e0 100%);
2170
- border-radius: 15px;
2171
- padding: 25px;
2172
- margin: 25px 0;
2173
- text-align: center;
2174
- border-left: 5px solid #4CAF50;
2175
- }
2176
- </style>
2057
+ <!--[if mso]>
2058
+ <noscript>
2059
+ <xml>
2060
+ <o:OfficeDocumentSettings>
2061
+ <o:PixelsPerInch>96</o:PixelsPerInch>
2062
+ </o:OfficeDocumentSettings>
2063
+ </xml>
2064
+ </noscript>
2065
+ <![endif]-->
2177
2066
  </head>
2178
- <body>
2179
- <div class="email-container">
2180
- <div class="header">
2181
- <div class="logo">MetaEstetics</div>
2182
- <h1>Appointment Confirmed</h1>
2183
- <div class="subtitle">Your Beauty Journey Awaits</div>
2184
- </div>
2185
-
2186
- <div class="content">
2187
- <div class="success-icon">\u2728</div>
2188
-
2189
- <div class="greeting">
2190
- Dear <strong>{{patientName}}</strong>,
2191
- </div>
2192
-
2193
- <p style="color: #555; font-size: 16px; line-height: 1.6; margin-bottom: 25px;">
2194
- We're delighted to confirm your appointment! Your journey to enhanced beauty and confidence is just around the corner.
2195
- </p>
2196
-
2197
- <div class="appointment-card">
2198
- <div class="appointment-title">\u{1F4C5} Your Appointment Details</div>
2199
- <div class="appointment-details">
2200
- <div class="detail-row">
2201
- <div class="detail-label">Procedure:</div>
2202
- <div class="detail-value procedure-name">{{procedureName}}</div>
2203
- </div>
2204
- <div class="detail-row">
2205
- <div class="detail-label">Date:</div>
2206
- <div class="detail-value">{{appointmentDate}}</div>
2207
- </div>
2208
- <div class="detail-row">
2209
- <div class="detail-label">Time:</div>
2210
- <div class="detail-value">{{appointmentTime}}</div>
2211
- </div>
2212
- <div class="detail-row">
2213
- <div class="detail-label">Practitioner:</div>
2214
- <div class="detail-value">{{practitionerName}}</div>
2215
- </div>
2216
- <div class="detail-row">
2217
- <div class="detail-label">Location:</div>
2218
- <div class="detail-value clinic-name">{{clinicName}}</div>
2219
- </div>
2220
- </div>
2221
- </div>
2222
-
2223
- <div class="divider"></div>
2224
-
2225
- <div class="thank-you">
2226
- <h3 style="margin: 0 0 10px 0; color: #4caf50; font-weight: 600;">Thank You for Choosing MetaEstetics!</h3>
2227
- <p style="margin: 0; color: #555; font-size: 14px;">
2228
- We look forward to providing you with exceptional care and outstanding results.
2229
- </p>
2230
- </div>
2231
-
2232
- <p style="color: #555; font-size: 14px; line-height: 1.6; margin-top: 25px;">
2233
- <strong>Important:</strong> Please arrive 15 minutes early for your appointment. If you need to reschedule or have any questions, please contact us as soon as possible.
2234
- </p>
2235
- </div>
2236
-
2237
- <div class="footer">
2238
- <p style="margin: 0 0 10px 0;">
2239
- <strong>MetaEstetics</strong> - Premium Aesthetic Services
2240
- </p>
2241
- <p style="margin: 0; font-size: 12px; color: #999;">
2242
- This is an automated message. Please do not reply to this email.
2243
- </p>
2244
- </div>
2245
- </div>
2067
+ <body style="margin: 0; padding: 0; background-color: #f8f6f5; font-family: Georgia, 'Times New Roman', serif;">
2068
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #f8f6f5;">
2069
+ <tr>
2070
+ <td align="center" style="padding: 40px 20px;">
2071
+ <table role="presentation" width="600" cellspacing="0" cellpadding="0" border="0" style="max-width: 600px; background-color: #ffffff; border-radius: 2px; box-shadow: 0 1px 3px rgba(103, 87, 74, 0.08);">
2072
+
2073
+ <!-- Header -->
2074
+ <tr>
2075
+ <td style="padding: 48px 48px 32px 48px; border-bottom: 1px solid #f0ebe6;">
2076
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2077
+ <tr>
2078
+ <td>
2079
+ <h1 style="margin: 0; font-size: 24px; font-weight: 400; color: #67574A; letter-spacing: 2px; text-transform: uppercase; font-family: Georgia, 'Times New Roman', serif;">MetaEstetics</h1>
2080
+ </td>
2081
+ </tr>
2082
+ </table>
2083
+ </td>
2084
+ </tr>
2085
+
2086
+ <!-- Confirmed Banner -->
2087
+ <tr>
2088
+ <td style="padding: 0;">
2089
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #00BB38;">
2090
+ <tr>
2091
+ <td style="padding: 20px 48px;">
2092
+ <p style="margin: 0; font-size: 13px; font-weight: 600; color: #ffffff; letter-spacing: 1.5px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Appointment Confirmed</p>
2093
+ </td>
2094
+ </tr>
2095
+ </table>
2096
+ </td>
2097
+ </tr>
2098
+
2099
+ <!-- Main Content -->
2100
+ <tr>
2101
+ <td style="padding: 40px 48px;">
2102
+
2103
+ <!-- Greeting -->
2104
+ <p style="margin: 0 0 24px 0; font-size: 17px; color: #333333; line-height: 1.6; font-family: Georgia, 'Times New Roman', serif;">
2105
+ Dear {{patientName}},
2106
+ </p>
2107
+
2108
+ <p style="margin: 0 0 32px 0; font-size: 16px; color: #555555; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2109
+ Your appointment has been confirmed. We look forward to seeing you.
2110
+ </p>
2111
+
2112
+ <!-- Appointment Details Card -->
2113
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #faf9f7; border-left: 3px solid #00BB38;">
2114
+ <tr>
2115
+ <td style="padding: 24px;">
2116
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #868686; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Procedure</p>
2117
+ <p style="margin: 0 0 20px 0; font-size: 18px; color: #67574A; font-weight: 500; font-family: Georgia, 'Times New Roman', serif;">{{procedureName}}</p>
2118
+
2119
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2120
+ <tr>
2121
+ <td style="padding-bottom: 16px;">
2122
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #868686; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Date & Time</p>
2123
+ <p style="margin: 0; font-size: 15px; color: #333333; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{appointmentDate}}</p>
2124
+ <p style="margin: 4px 0 0 0; font-size: 14px; color: #67574A; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{appointmentTime}}</p>
2125
+ </td>
2126
+ </tr>
2127
+ <tr>
2128
+ <td style="padding-bottom: 16px;">
2129
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #868686; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Practitioner</p>
2130
+ <p style="margin: 0; font-size: 15px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{practitionerName}}</p>
2131
+ </td>
2132
+ </tr>
2133
+ <tr>
2134
+ <td>
2135
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #868686; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Location</p>
2136
+ <p style="margin: 0; font-size: 15px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{clinicName}}</p>
2137
+ </td>
2138
+ </tr>
2139
+ </table>
2140
+ </td>
2141
+ </tr>
2142
+ </table>
2143
+
2144
+ <!-- Divider -->
2145
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2146
+ <tr>
2147
+ <td style="height: 1px; background-color: #e8e4df;"></td>
2148
+ </tr>
2149
+ </table>
2150
+
2151
+ <!-- Important Notice -->
2152
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 24px;">
2153
+ <tr>
2154
+ <td style="padding: 20px 24px; background-color: #faf9f7; border-left: 3px solid #a48a76;">
2155
+ <p style="margin: 0 0 8px 0; font-size: 13px; font-weight: 600; color: #67574A; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Before Your Visit</p>
2156
+ <p style="margin: 0; font-size: 14px; color: #555555; line-height: 1.6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2157
+ Please arrive 15 minutes early. If you need to reschedule or cancel, contact us through the MetaEstetics app.
2158
+ </p>
2159
+ </td>
2160
+ </tr>
2161
+ </table>
2162
+
2163
+ <!-- Thank You -->
2164
+ <p style="margin: 0; font-size: 14px; color: #868686; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2165
+ Thank you for choosing {{clinicName}}. We look forward to providing you with exceptional care.
2166
+ </p>
2167
+
2168
+ </td>
2169
+ </tr>
2170
+
2171
+ <!-- Footer -->
2172
+ <tr>
2173
+ <td style="padding: 32px 48px; background-color: #faf9f7; border-top: 1px solid #f0ebe6;">
2174
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2175
+ <tr>
2176
+ <td>
2177
+ <p style="margin: 0 0 8px 0; font-size: 14px; font-weight: 500; color: #67574A; font-family: Georgia, 'Times New Roman', serif;">{{clinicName}}</p>
2178
+ <p style="margin: 0 0 16px 0; font-size: 13px; color: #868686; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Premium Aesthetic Services</p>
2179
+ <p style="margin: 0; font-size: 11px; color: #aaaaaa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">This is an automated message from MetaEstetics. Please do not reply directly to this email.</p>
2180
+ </td>
2181
+ </tr>
2182
+ </table>
2183
+ </td>
2184
+ </tr>
2185
+
2186
+ </table>
2187
+ </td>
2188
+ </tr>
2189
+ </table>
2246
2190
  </body>
2247
2191
  </html>
2248
2192
  `;
@@ -2454,295 +2398,165 @@ var appointmentCancelledTemplate = `
2454
2398
  <meta charset="UTF-8">
2455
2399
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
2456
2400
  <title>Appointment Cancelled</title>
2457
- <style>
2458
- body {
2459
- margin: 0;
2460
- padding: 0;
2461
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
2462
- background: linear-gradient(135deg, #d4736c 0%, #b85450 100%);
2463
- min-height: 100vh;
2464
- }
2465
- .email-container {
2466
- max-width: 600px;
2467
- margin: 0 auto;
2468
- background: #ffffff;
2469
- border-radius: 20px;
2470
- overflow: hidden;
2471
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
2472
- margin-top: 40px;
2473
- margin-bottom: 40px;
2474
- }
2475
- .header {
2476
- background: linear-gradient(135deg, #d4736c 0%, #b85450 100%);
2477
- padding: 40px 30px;
2478
- text-align: center;
2479
- color: white;
2480
- }
2481
- .header h1 {
2482
- margin: 0;
2483
- font-size: 28px;
2484
- font-weight: 300;
2485
- letter-spacing: 1px;
2486
- }
2487
- .header .subtitle {
2488
- margin: 10px 0 0 0;
2489
- font-size: 16px;
2490
- opacity: 0.9;
2491
- font-weight: 300;
2492
- }
2493
- .content {
2494
- padding: 40px 30px;
2495
- }
2496
- .greeting {
2497
- font-size: 18px;
2498
- color: #333;
2499
- margin-bottom: 25px;
2500
- font-weight: 400;
2501
- }
2502
- .cancellation-notice {
2503
- background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
2504
- border-radius: 15px;
2505
- padding: 25px;
2506
- margin: 25px 0;
2507
- border-left: 5px solid #d4736c;
2508
- }
2509
- .cancellation-notice p {
2510
- margin: 0;
2511
- color: #c62828;
2512
- font-size: 15px;
2513
- font-weight: 500;
2514
- line-height: 1.6;
2515
- }
2516
- .cancelled-by-info {
2517
- background: #fafafa;
2518
- border-radius: 10px;
2519
- padding: 15px 20px;
2520
- margin-top: 15px;
2521
- }
2522
- .cancelled-by-info .label {
2523
- font-size: 12px;
2524
- color: #757575;
2525
- text-transform: uppercase;
2526
- letter-spacing: 0.5px;
2527
- margin-bottom: 5px;
2528
- }
2529
- .cancelled-by-info .value {
2530
- font-size: 14px;
2531
- color: #424242;
2532
- font-weight: 500;
2533
- }
2534
- .reason-box {
2535
- background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
2536
- border-radius: 15px;
2537
- padding: 20px;
2538
- margin: 20px 0;
2539
- border-left: 5px solid #ffa000;
2540
- }
2541
- .reason-box .label {
2542
- font-size: 14px;
2543
- font-weight: 600;
2544
- color: #e65100;
2545
- margin-bottom: 8px;
2546
- }
2547
- .reason-box .reason-text {
2548
- font-size: 15px;
2549
- color: #424242;
2550
- line-height: 1.6;
2551
- font-style: italic;
2552
- }
2553
- .appointment-card {
2554
- background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
2555
- border-radius: 15px;
2556
- padding: 30px;
2557
- margin: 25px 0;
2558
- border-left: 5px solid #9e9e9e;
2559
- opacity: 0.9;
2560
- }
2561
- .appointment-title {
2562
- font-size: 20px;
2563
- color: #757575;
2564
- margin-bottom: 20px;
2565
- font-weight: 600;
2566
- }
2567
- .appointment-details {
2568
- display: grid;
2569
- gap: 15px;
2570
- }
2571
- .detail-row {
2572
- display: flex;
2573
- align-items: center;
2574
- padding: 8px 0;
2575
- }
2576
- .detail-label {
2577
- font-weight: 600;
2578
- color: #757575;
2579
- min-width: 120px;
2580
- font-size: 14px;
2581
- }
2582
- .detail-value {
2583
- color: #616161;
2584
- font-size: 16px;
2585
- font-weight: 500;
2586
- text-decoration: line-through;
2587
- }
2588
- .procedure-name {
2589
- color: #757575;
2590
- font-weight: 600;
2591
- }
2592
- .clinic-name {
2593
- color: #9e9e9e;
2594
- font-weight: 600;
2595
- }
2596
- .rebook-section {
2597
- background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
2598
- border-radius: 15px;
2599
- padding: 25px;
2600
- margin: 30px 0;
2601
- text-align: center;
2602
- border-left: 5px solid #4caf50;
2603
- }
2604
- .rebook-section h3 {
2605
- margin: 0 0 15px 0;
2606
- color: #2e7d32;
2607
- font-weight: 600;
2608
- font-size: 18px;
2609
- }
2610
- .rebook-section p {
2611
- margin: 0;
2612
- color: #555;
2613
- font-size: 15px;
2614
- line-height: 1.6;
2615
- }
2616
- .support-section {
2617
- background: #f8f9fa;
2618
- border-radius: 15px;
2619
- padding: 20px;
2620
- margin: 25px 0;
2621
- text-align: center;
2622
- }
2623
- .support-section h4 {
2624
- margin: 0 0 10px 0;
2625
- color: #555;
2626
- font-weight: 600;
2627
- font-size: 16px;
2628
- }
2629
- .support-section p {
2630
- margin: 0;
2631
- color: #757575;
2632
- font-size: 14px;
2633
- line-height: 1.6;
2634
- }
2635
- .footer {
2636
- background: #f8f9fa;
2637
- padding: 25px 30px;
2638
- text-align: center;
2639
- color: #666;
2640
- font-size: 14px;
2641
- border-top: 1px solid #eee;
2642
- }
2643
- .logo {
2644
- font-size: 24px;
2645
- font-weight: 700;
2646
- color: white;
2647
- margin-bottom: 5px;
2648
- }
2649
- .divider {
2650
- height: 2px;
2651
- background: linear-gradient(90deg, #d4736c, #b85450);
2652
- margin: 25px 0;
2653
- border-radius: 1px;
2654
- }
2655
- .icon {
2656
- text-align: center;
2657
- margin: 20px 0;
2658
- font-size: 48px;
2659
- }
2660
- </style>
2401
+ <!--[if mso]>
2402
+ <noscript>
2403
+ <xml>
2404
+ <o:OfficeDocumentSettings>
2405
+ <o:PixelsPerInch>96</o:PixelsPerInch>
2406
+ </o:OfficeDocumentSettings>
2407
+ </xml>
2408
+ </noscript>
2409
+ <![endif]-->
2661
2410
  </head>
2662
- <body>
2663
- <div class="email-container">
2664
- <div class="header">
2665
- <div class="logo">MetaEstetics</div>
2666
- <h1>Appointment Cancelled</h1>
2667
- <div class="subtitle">We're Sorry to See This Change</div>
2668
- </div>
2411
+ <body style="margin: 0; padding: 0; background-color: #f8f6f5; font-family: Georgia, 'Times New Roman', serif;">
2412
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #f8f6f5;">
2413
+ <tr>
2414
+ <td align="center" style="padding: 40px 20px;">
2415
+ <table role="presentation" width="600" cellspacing="0" cellpadding="0" border="0" style="max-width: 600px; background-color: #ffffff; border-radius: 2px; box-shadow: 0 1px 3px rgba(103, 87, 74, 0.08);">
2669
2416
 
2670
- <div class="content">
2671
- <div class="icon">&#10060;</div>
2417
+ <!-- Header -->
2418
+ <tr>
2419
+ <td style="padding: 48px 48px 32px 48px; border-bottom: 1px solid #f0ebe6;">
2420
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2421
+ <tr>
2422
+ <td>
2423
+ <h1 style="margin: 0; font-size: 24px; font-weight: 400; color: #67574A; letter-spacing: 2px; text-transform: uppercase; font-family: Georgia, 'Times New Roman', serif;">MetaEstetics</h1>
2424
+ </td>
2425
+ </tr>
2426
+ </table>
2427
+ </td>
2428
+ </tr>
2672
2429
 
2673
- <div class="greeting">
2674
- Dear <strong>{{recipientName}}</strong>,
2675
- </div>
2430
+ <!-- Cancellation Banner -->
2431
+ <tr>
2432
+ <td style="padding: 0;">
2433
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #fa003f;">
2434
+ <tr>
2435
+ <td style="padding: 20px 48px;">
2436
+ <p style="margin: 0; font-size: 13px; font-weight: 600; color: #ffffff; letter-spacing: 1.5px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Appointment Cancelled</p>
2437
+ </td>
2438
+ </tr>
2439
+ </table>
2440
+ </td>
2441
+ </tr>
2676
2442
 
2677
- <div class="cancellation-notice">
2678
- <p><strong>Your appointment has been cancelled.</strong> We wanted to let you know that the following appointment is no longer scheduled.</p>
2679
- <div class="cancelled-by-info">
2680
- <div class="label">Cancelled By</div>
2681
- <div class="value">{{cancelledByDisplay}}</div>
2682
- </div>
2683
- </div>
2443
+ <!-- Main Content -->
2444
+ <tr>
2445
+ <td style="padding: 40px 48px;">
2684
2446
 
2685
- {{#if cancellationReason}}
2686
- <div class="reason-box">
2687
- <div class="label">Reason for Cancellation</div>
2688
- <div class="reason-text">"{{cancellationReason}}"</div>
2689
- </div>
2690
- {{/if}}
2447
+ <!-- Greeting -->
2448
+ <p style="margin: 0 0 24px 0; font-size: 17px; color: #333333; line-height: 1.6; font-family: Georgia, 'Times New Roman', serif;">
2449
+ Dear {{recipientName}},
2450
+ </p>
2691
2451
 
2692
- <div class="appointment-card">
2693
- <div class="appointment-title">Cancelled Appointment Details</div>
2694
- <div class="appointment-details">
2695
- <div class="detail-row">
2696
- <div class="detail-label">Procedure:</div>
2697
- <div class="detail-value procedure-name">{{procedureName}}</div>
2698
- </div>
2699
- <div class="detail-row">
2700
- <div class="detail-label">Date:</div>
2701
- <div class="detail-value">{{appointmentDate}}</div>
2702
- </div>
2703
- <div class="detail-row">
2704
- <div class="detail-label">Time:</div>
2705
- <div class="detail-value">{{appointmentTime}}</div>
2706
- </div>
2707
- <div class="detail-row">
2708
- <div class="detail-label">Practitioner:</div>
2709
- <div class="detail-value">{{practitionerName}}</div>
2710
- </div>
2711
- <div class="detail-row">
2712
- <div class="detail-label">Location:</div>
2713
- <div class="detail-value clinic-name">{{clinicName}}</div>
2714
- </div>
2715
- </div>
2716
- </div>
2452
+ <p style="margin: 0 0 32px 0; font-size: 16px; color: #555555; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2453
+ We regret to inform you that your appointment has been cancelled. Please see the details below.
2454
+ </p>
2717
2455
 
2718
- <div class="divider"></div>
2456
+ <!-- Cancelled By Info -->
2457
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 24px;">
2458
+ <tr>
2459
+ <td style="padding: 16px 20px; background-color: #fef2f2; border-left: 3px solid #fa003f;">
2460
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #868686; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Cancelled By</p>
2461
+ <p style="margin: 0; font-size: 15px; color: #333333; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{cancelledByDisplay}}</p>
2462
+ </td>
2463
+ </tr>
2464
+ </table>
2719
2465
 
2720
- <div class="rebook-section">
2721
- <h3>Would You Like to Reschedule?</h3>
2722
- <p>
2723
- We'd love to see you! If you'd like to book a new appointment,
2724
- simply open the MetaEstetics app and browse available times that work for you.
2725
- </p>
2726
- </div>
2466
+ {{#if cancellationReason}}
2467
+ <!-- Cancellation Reason -->
2468
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2469
+ <tr>
2470
+ <td style="padding: 20px 24px; background-color: #faf9f7; border-left: 3px solid #a48a76;">
2471
+ <p style="margin: 0 0 8px 0; font-size: 11px; font-weight: 600; color: #868686; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Reason</p>
2472
+ <p style="margin: 0; font-size: 15px; color: #555555; line-height: 1.6; font-style: italic; font-family: Georgia, 'Times New Roman', serif;">"{{cancellationReason}}"</p>
2473
+ </td>
2474
+ </tr>
2475
+ </table>
2476
+ {{/if}}
2727
2477
 
2728
- <div class="support-section">
2729
- <h4>Need Assistance?</h4>
2730
- <p>
2731
- If you have any questions about this cancellation or need help rebooking,
2732
- please contact {{clinicName}} directly through the app or reach out to our support team.
2733
- </p>
2734
- </div>
2735
- </div>
2478
+ <!-- Cancelled Appointment Details -->
2479
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #f5f5f5; border-left: 3px solid #cccccc;">
2480
+ <tr>
2481
+ <td style="padding: 24px;">
2482
+ <p style="margin: 0 0 16px 0; font-size: 12px; font-weight: 600; color: #999999; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Cancelled Appointment</p>
2736
2483
 
2737
- <div class="footer">
2738
- <p style="margin: 0 0 10px 0;">
2739
- <strong>MetaEstetics</strong> - Premium Aesthetic Services
2740
- </p>
2741
- <p style="margin: 0; font-size: 12px; color: #999;">
2742
- This is an automated message. Please do not reply to this email.
2743
- </p>
2744
- </div>
2745
- </div>
2484
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2485
+ <tr>
2486
+ <td style="padding-bottom: 12px;">
2487
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #999999; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Procedure</p>
2488
+ <p style="margin: 0; font-size: 15px; color: #888888; text-decoration: line-through; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{procedureName}}</p>
2489
+ </td>
2490
+ </tr>
2491
+ <tr>
2492
+ <td style="padding-bottom: 12px;">
2493
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #999999; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Date & Time</p>
2494
+ <p style="margin: 0; font-size: 15px; color: #888888; text-decoration: line-through; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{appointmentDate}} at {{appointmentTime}}</p>
2495
+ </td>
2496
+ </tr>
2497
+ <tr>
2498
+ <td style="padding-bottom: 12px;">
2499
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #999999; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Practitioner</p>
2500
+ <p style="margin: 0; font-size: 15px; color: #888888; text-decoration: line-through; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{practitionerName}}</p>
2501
+ </td>
2502
+ </tr>
2503
+ <tr>
2504
+ <td>
2505
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #999999; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Location</p>
2506
+ <p style="margin: 0; font-size: 15px; color: #888888; text-decoration: line-through; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{clinicName}}</p>
2507
+ </td>
2508
+ </tr>
2509
+ </table>
2510
+ </td>
2511
+ </tr>
2512
+ </table>
2513
+
2514
+ <!-- Divider -->
2515
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2516
+ <tr>
2517
+ <td style="height: 1px; background-color: #e8e4df;"></td>
2518
+ </tr>
2519
+ </table>
2520
+
2521
+ <!-- Rebook Section -->
2522
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 24px; background-color: #f0faf4; border-left: 3px solid #00BB38;">
2523
+ <tr>
2524
+ <td style="padding: 24px;">
2525
+ <p style="margin: 0 0 8px 0; font-size: 14px; font-weight: 600; color: #00BB38; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Book a New Appointment</p>
2526
+ <p style="margin: 0; font-size: 14px; color: #555555; line-height: 1.6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2527
+ We'd love to see you again. Open the MetaEstetics app to browse available times and book a new appointment.
2528
+ </p>
2529
+ </td>
2530
+ </tr>
2531
+ </table>
2532
+
2533
+ <!-- Support Info -->
2534
+ <p style="margin: 0; font-size: 13px; color: #868686; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2535
+ If you have any questions about this cancellation, please contact {{clinicName}} through the MetaEstetics app.
2536
+ </p>
2537
+
2538
+ </td>
2539
+ </tr>
2540
+
2541
+ <!-- Footer -->
2542
+ <tr>
2543
+ <td style="padding: 32px 48px; background-color: #faf9f7; border-top: 1px solid #f0ebe6;">
2544
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2545
+ <tr>
2546
+ <td>
2547
+ <p style="margin: 0 0 8px 0; font-size: 14px; font-weight: 500; color: #67574A; font-family: Georgia, 'Times New Roman', serif;">{{clinicName}}</p>
2548
+ <p style="margin: 0 0 16px 0; font-size: 13px; color: #868686; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Premium Aesthetic Services</p>
2549
+ <p style="margin: 0; font-size: 11px; color: #aaaaaa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">This is an automated message from MetaEstetics. Please do not reply directly to this email.</p>
2550
+ </td>
2551
+ </tr>
2552
+ </table>
2553
+ </td>
2554
+ </tr>
2555
+
2556
+ </table>
2557
+ </td>
2558
+ </tr>
2559
+ </table>
2746
2560
  </body>
2747
2561
  </html>
2748
2562
  `;
@@ -2752,324 +2566,147 @@ var appointmentRescheduledProposalTemplate = `
2752
2566
  <head>
2753
2567
  <meta charset="UTF-8">
2754
2568
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
2755
- <title>Appointment Reschedule Proposal</title>
2756
- <style>
2757
- body {
2758
- margin: 0;
2759
- padding: 0;
2760
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
2761
- background: linear-gradient(135deg, #a48a76 0%, #67574A 100%);
2762
- min-height: 100vh;
2763
- }
2764
- .email-container {
2765
- max-width: 600px;
2766
- margin: 0 auto;
2767
- background: #ffffff;
2768
- border-radius: 20px;
2769
- overflow: hidden;
2770
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
2771
- margin-top: 40px;
2772
- margin-bottom: 40px;
2773
- }
2774
- .header {
2775
- background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
2776
- padding: 40px 30px;
2777
- text-align: center;
2778
- color: white;
2779
- }
2780
- .header h1 {
2781
- margin: 0;
2782
- font-size: 28px;
2783
- font-weight: 300;
2784
- letter-spacing: 1px;
2785
- }
2786
- .header .subtitle {
2787
- margin: 10px 0 0 0;
2788
- font-size: 16px;
2789
- opacity: 0.9;
2790
- font-weight: 300;
2791
- }
2792
- .content {
2793
- padding: 40px 30px;
2794
- }
2795
- .greeting {
2796
- font-size: 18px;
2797
- color: #333;
2798
- margin-bottom: 25px;
2799
- font-weight: 400;
2800
- }
2801
- .info-box {
2802
- background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
2803
- border-radius: 15px;
2804
- padding: 25px;
2805
- margin: 25px 0;
2806
- border-left: 5px solid #ff9800;
2807
- }
2808
- .info-box p {
2809
- margin: 0;
2810
- color: #e65100;
2811
- font-size: 15px;
2812
- font-weight: 500;
2813
- line-height: 1.6;
2814
- }
2815
- .time-comparison {
2816
- display: grid;
2817
- gap: 20px;
2818
- margin: 25px 0;
2819
- }
2820
- .time-card {
2821
- background: linear-gradient(135deg, #f8f6f5 0%, #f5f3f2 100%);
2822
- border-radius: 15px;
2823
- padding: 25px;
2824
- border-left: 5px solid #a48a76;
2825
- }
2826
- .time-card.old-time {
2827
- border-left-color: #9e9e9e;
2828
- opacity: 0.8;
2829
- }
2830
- .time-card.new-time {
2831
- border-left-color: #ff9800;
2832
- background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
2833
- }
2834
- .time-label {
2835
- font-size: 14px;
2836
- font-weight: 600;
2837
- color: #666;
2838
- text-transform: uppercase;
2839
- letter-spacing: 0.5px;
2840
- margin-bottom: 10px;
2841
- }
2842
- .time-label.old {
2843
- color: #757575;
2844
- }
2845
- .time-label.new {
2846
- color: #f57c00;
2847
- }
2848
- .appointment-card {
2849
- background: linear-gradient(135deg, #f8f6f5 0%, #f5f3f2 100%);
2850
- border-radius: 15px;
2851
- padding: 30px;
2852
- margin: 25px 0;
2853
- border-left: 5px solid #a48a76;
2854
- }
2855
- .appointment-title {
2856
- font-size: 20px;
2857
- color: #a48a76;
2858
- margin-bottom: 20px;
2859
- font-weight: 600;
2860
- }
2861
- .appointment-details {
2862
- display: grid;
2863
- gap: 15px;
2864
- }
2865
- .detail-row {
2866
- display: flex;
2867
- align-items: center;
2868
- padding: 8px 0;
2869
- }
2870
- .detail-label {
2871
- font-weight: 600;
2872
- color: #555;
2873
- min-width: 120px;
2874
- font-size: 14px;
2875
- }
2876
- .detail-value {
2877
- color: #333;
2878
- font-size: 16px;
2879
- font-weight: 500;
2880
- }
2881
- .procedure-name {
2882
- color: #67574A;
2883
- font-weight: 600;
2884
- }
2885
- .clinic-name {
2886
- color: #a48a76;
2887
- font-weight: 600;
2888
- }
2889
- .action-section {
2890
- background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
2891
- border-radius: 15px;
2892
- padding: 30px;
2893
- margin: 30px 0;
2894
- text-align: center;
2895
- border-left: 5px solid #4caf50;
2896
- }
2897
- .action-section h3 {
2898
- margin: 0 0 15px 0;
2899
- color: #2e7d32;
2900
- font-weight: 600;
2901
- font-size: 18px;
2902
- }
2903
- .action-section p {
2904
- margin: 0 0 20px 0;
2905
- color: #555;
2906
- font-size: 15px;
2907
- line-height: 1.6;
2908
- }
2909
- .action-required-box {
2910
- background: linear-gradient(135deg, #fff3e0 0%, #ffecb3 100%);
2911
- border: 2px solid #ff9800;
2912
- border-radius: 15px;
2913
- padding: 25px;
2914
- margin: 25px 0;
2915
- text-align: center;
2916
- }
2917
- .action-required-box h3 {
2918
- margin: 0 0 15px 0;
2919
- color: #e65100;
2920
- font-weight: 700;
2921
- font-size: 18px;
2922
- }
2923
- .action-required-box p {
2924
- margin: 0 0 12px 0;
2925
- color: #bf360c;
2926
- font-size: 15px;
2927
- line-height: 1.6;
2928
- }
2929
- .action-required-box p:last-child {
2930
- margin-bottom: 0;
2931
- }
2932
- .pending-notice {
2933
- background: #fff8e1;
2934
- border-radius: 8px;
2935
- padding: 12px 15px;
2936
- margin-top: 15px;
2937
- display: inline-block;
2938
- }
2939
- .pending-notice p {
2940
- margin: 0;
2941
- color: #f57c00;
2942
- font-size: 14px;
2943
- font-weight: 600;
2944
- }
2945
- .footer {
2946
- background: #f8f9fa;
2947
- padding: 25px 30px;
2948
- text-align: center;
2949
- color: #666;
2950
- font-size: 14px;
2951
- border-top: 1px solid #eee;
2952
- }
2953
- .logo {
2954
- font-size: 24px;
2955
- font-weight: 700;
2956
- color: white;
2957
- margin-bottom: 5px;
2958
- }
2959
- .divider {
2960
- height: 2px;
2961
- background: linear-gradient(90deg, #a48a76, #67574A);
2962
- margin: 25px 0;
2963
- border-radius: 1px;
2964
- }
2965
- .icon {
2966
- text-align: center;
2967
- margin: 20px 0;
2968
- font-size: 48px;
2969
- }
2970
- .arrow {
2971
- text-align: center;
2972
- font-size: 32px;
2973
- color: #ff9800;
2974
- margin: 10px 0;
2975
- }
2976
- </style>
2569
+ <title>Appointment Reschedule Request</title>
2570
+ <!--[if mso]>
2571
+ <noscript>
2572
+ <xml>
2573
+ <o:OfficeDocumentSettings>
2574
+ <o:PixelsPerInch>96</o:PixelsPerInch>
2575
+ </o:OfficeDocumentSettings>
2576
+ </xml>
2577
+ </noscript>
2578
+ <![endif]-->
2977
2579
  </head>
2978
- <body>
2979
- <div class="email-container">
2980
- <div class="header">
2981
- <div class="logo">MetaEstetics</div>
2982
- <h1>Appointment Reschedule Proposal</h1>
2983
- <div class="subtitle">Action Required</div>
2984
- </div>
2985
-
2986
- <div class="content">
2987
- <div class="icon">\u{1F4C5}</div>
2988
-
2989
- <div class="greeting">
2990
- Dear <strong>{{patientName}}</strong>,
2991
- </div>
2992
-
2993
- <p style="color: #555; font-size: 16px; line-height: 1.6; margin-bottom: 25px;">
2994
- We hope this message finds you well. We need to propose a new time for your upcoming appointment. Please review the details below and confirm if the new time works for you.
2995
- </p>
2996
-
2997
- <div class="info-box">
2998
- <p><strong>\u26A0\uFE0F Important:</strong> Please respond to this reschedule proposal as soon as possible. Your appointment will remain pending until you confirm or reject the new time.</p>
2999
- </div>
3000
-
3001
- <div class="appointment-card">
3002
- <div class="appointment-title">\u{1F4CB} Appointment Details</div>
3003
- <div class="appointment-details">
3004
- <div class="detail-row">
3005
- <div class="detail-label">Procedure:</div>
3006
- <div class="detail-value procedure-name">{{procedureName}}</div>
3007
- </div>
3008
- <div class="detail-row">
3009
- <div class="detail-label">Practitioner:</div>
3010
- <div class="detail-value">{{practitionerName}}</div>
3011
- </div>
3012
- <div class="detail-row">
3013
- <div class="detail-label">Location:</div>
3014
- <div class="detail-value clinic-name">{{clinicName}}</div>
3015
- </div>
3016
- </div>
3017
- </div>
3018
-
3019
- <div class="time-comparison">
3020
- <div class="time-card old-time">
3021
- <div class="time-label old">Previous Time</div>
3022
- <div style="font-size: 18px; font-weight: 600; color: #424242; margin-bottom: 8px;">{{previousDate}}</div>
3023
- <div style="font-size: 16px; color: #616161;">{{previousTime}}</div>
3024
- </div>
3025
-
3026
- <div class="arrow">\u2193</div>
3027
-
3028
- <div class="time-card new-time">
3029
- <div class="time-label new">Proposed New Time</div>
3030
- <div style="font-size: 18px; font-weight: 600; color: #e65100; margin-bottom: 8px;">{{newDate}}</div>
3031
- <div style="font-size: 16px; color: #f57c00; font-weight: 500;">{{newTime}}</div>
3032
- </div>
3033
- </div>
3034
-
3035
- <div class="divider"></div>
2580
+ <body style="margin: 0; padding: 0; background-color: #f8f6f5; font-family: Georgia, 'Times New Roman', serif;">
2581
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #f8f6f5;">
2582
+ <tr>
2583
+ <td align="center" style="padding: 40px 20px;">
2584
+ <table role="presentation" width="600" cellspacing="0" cellpadding="0" border="0" style="max-width: 600px; background-color: #ffffff; border-radius: 2px; box-shadow: 0 1px 3px rgba(103, 87, 74, 0.08);">
3036
2585
 
3037
- <div class="action-required-box">
3038
- <h3>Your Response is Required</h3>
3039
- <p>
3040
- <strong>Missed our notification?</strong> Please open the MetaEstetics app to confirm or reject this reschedule request.
3041
- </p>
3042
- <p>
3043
- Please respond as soon as possible so we can finalize your appointment.
3044
- </p>
3045
- <div class="pending-notice">
3046
- <p>Your appointment will remain pending until you respond.</p>
3047
- </div>
3048
- </div>
2586
+ <!-- Header -->
2587
+ <tr>
2588
+ <td style="padding: 48px 48px 32px 48px; border-bottom: 1px solid #f0ebe6;">
2589
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2590
+ <tr>
2591
+ <td>
2592
+ <h1 style="margin: 0; font-size: 24px; font-weight: 400; color: #67574A; letter-spacing: 2px; text-transform: uppercase; font-family: Georgia, 'Times New Roman', serif;">MetaEstetics</h1>
2593
+ </td>
2594
+ </tr>
2595
+ </table>
2596
+ </td>
2597
+ </tr>
3049
2598
 
3050
- <div class="action-section">
3051
- <h3>How to Respond</h3>
3052
- <p>
3053
- Open the MetaEstetics app and navigate to your appointments.
3054
- If the new time works for you, simply tap "Accept Reschedule".
3055
- If not, you can reject it and we'll work with you to find an alternative time.
3056
- </p>
3057
- </div>
2599
+ <!-- Action Required Banner -->
2600
+ <tr>
2601
+ <td style="padding: 0;">
2602
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #a48a76;">
2603
+ <tr>
2604
+ <td style="padding: 20px 48px;">
2605
+ <p style="margin: 0; font-size: 13px; font-weight: 600; color: #ffffff; letter-spacing: 1.5px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Action Required</p>
2606
+ </td>
2607
+ </tr>
2608
+ </table>
2609
+ </td>
2610
+ </tr>
3058
2611
 
3059
- <p style="color: #555; font-size: 14px; line-height: 1.6; margin-top: 25px;">
3060
- <strong>Need Help?</strong> If you have any questions or concerns about this reschedule, please contact us directly through the app or reach out to {{clinicName}}.
3061
- </p>
3062
- </div>
3063
-
3064
- <div class="footer">
3065
- <p style="margin: 0 0 10px 0;">
3066
- <strong>MetaEstetics</strong> - Premium Aesthetic Services
3067
- </p>
3068
- <p style="margin: 0; font-size: 12px; color: #999;">
3069
- This is an automated message. Please do not reply to this email.
3070
- </p>
3071
- </div>
3072
- </div>
2612
+ <!-- Main Content -->
2613
+ <tr>
2614
+ <td style="padding: 40px 48px;">
2615
+
2616
+ <!-- Greeting -->
2617
+ <p style="margin: 0 0 24px 0; font-size: 17px; color: #333333; line-height: 1.6; font-family: Georgia, 'Times New Roman', serif;">
2618
+ Dear {{patientName}},
2619
+ </p>
2620
+
2621
+ <p style="margin: 0 0 32px 0; font-size: 16px; color: #555555; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2622
+ {{clinicName}} has proposed a new time for your upcoming appointment. Please review the details below and respond at your earliest convenience.
2623
+ </p>
2624
+
2625
+ <!-- Appointment Info Card -->
2626
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #faf9f7; border-left: 3px solid #a48a76;">
2627
+ <tr>
2628
+ <td style="padding: 24px;">
2629
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #868686; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Procedure</p>
2630
+ <p style="margin: 0 0 16px 0; font-size: 18px; color: #67574A; font-weight: 500; font-family: Georgia, 'Times New Roman', serif;">{{procedureName}}</p>
2631
+
2632
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #868686; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Practitioner</p>
2633
+ <p style="margin: 0; font-size: 15px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{practitionerName}}</p>
2634
+ </td>
2635
+ </tr>
2636
+ </table>
2637
+
2638
+ <!-- Time Comparison -->
2639
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2640
+ <!-- Original Time (Strikethrough) -->
2641
+ <tr>
2642
+ <td style="padding: 20px 24px; background-color: #f5f5f5; border-left: 3px solid #cccccc;">
2643
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #999999; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Original Appointment</p>
2644
+ <p style="margin: 0; font-size: 16px; color: #999999; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration: line-through;">{{previousDate}}</p>
2645
+ <p style="margin: 4px 0 0 0; font-size: 14px; color: #999999; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration: line-through;">{{previousTime}}</p>
2646
+ </td>
2647
+ </tr>
2648
+
2649
+ <!-- Spacer -->
2650
+ <tr>
2651
+ <td style="height: 12px;"></td>
2652
+ </tr>
2653
+
2654
+ <!-- New Proposed Time -->
2655
+ <tr>
2656
+ <td style="padding: 24px; background-color: #f8f6f5; border-left: 3px solid #00BB38;">
2657
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #00BB38; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Proposed New Time</p>
2658
+ <p style="margin: 0; font-size: 18px; color: #333333; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{newDate}}</p>
2659
+ <p style="margin: 4px 0 0 0; font-size: 15px; color: #67574A; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{newTime}}</p>
2660
+ </td>
2661
+ </tr>
2662
+ </table>
2663
+
2664
+ <!-- Divider -->
2665
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2666
+ <tr>
2667
+ <td style="height: 1px; background-color: #e8e4df;"></td>
2668
+ </tr>
2669
+ </table>
2670
+
2671
+ <!-- Response Instructions -->
2672
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #faf9f7;">
2673
+ <tr>
2674
+ <td style="padding: 28px;">
2675
+ <p style="margin: 0 0 8px 0; font-size: 14px; font-weight: 600; color: #67574A; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">How to Respond</p>
2676
+ <p style="margin: 0; font-size: 14px; color: #555555; line-height: 1.6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2677
+ Open the MetaEstetics app to accept or decline this reschedule request. Your appointment will remain pending until you respond.
2678
+ </p>
2679
+ </td>
2680
+ </tr>
2681
+ </table>
2682
+
2683
+ <!-- Response Notice -->
2684
+ <p style="margin: 0; font-size: 13px; color: #868686; line-height: 1.6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2685
+ Please respond at your earliest convenience so we can finalize your appointment. If you have questions, contact {{clinicName}} through the app.
2686
+ </p>
2687
+
2688
+ </td>
2689
+ </tr>
2690
+
2691
+ <!-- Footer -->
2692
+ <tr>
2693
+ <td style="padding: 32px 48px; background-color: #faf9f7; border-top: 1px solid #f0ebe6;">
2694
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2695
+ <tr>
2696
+ <td>
2697
+ <p style="margin: 0 0 8px 0; font-size: 14px; font-weight: 500; color: #67574A; font-family: Georgia, 'Times New Roman', serif;">{{clinicName}}</p>
2698
+ <p style="margin: 0 0 16px 0; font-size: 13px; color: #868686; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Premium Aesthetic Services</p>
2699
+ <p style="margin: 0; font-size: 11px; color: #aaaaaa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">This is an automated message from MetaEstetics. Please do not reply directly to this email.</p>
2700
+ </td>
2701
+ </tr>
2702
+ </table>
2703
+ </td>
2704
+ </tr>
2705
+
2706
+ </table>
2707
+ </td>
2708
+ </tr>
2709
+ </table>
3073
2710
  </body>
3074
2711
  </html>
3075
2712
  `;