@blackcode_sa/metaestetics-api 1.14.61 → 1.14.63

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.
@@ -2454,295 +2454,172 @@ var appointmentCancelledTemplate = `
2454
2454
  <meta charset="UTF-8">
2455
2455
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
2456
2456
  <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>
2457
+ <!--[if mso]>
2458
+ <noscript>
2459
+ <xml>
2460
+ <o:OfficeDocumentSettings>
2461
+ <o:PixelsPerInch>96</o:PixelsPerInch>
2462
+ </o:OfficeDocumentSettings>
2463
+ </xml>
2464
+ </noscript>
2465
+ <![endif]-->
2661
2466
  </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>
2467
+ <body style="margin: 0; padding: 0; background-color: #f8f6f5; font-family: Georgia, 'Times New Roman', serif;">
2468
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #f8f6f5;">
2469
+ <tr>
2470
+ <td align="center" style="padding: 40px 20px;">
2471
+ <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
2472
 
2670
- <div class="content">
2671
- <div class="icon">&#10060;</div>
2473
+ <!-- Header -->
2474
+ <tr>
2475
+ <td style="padding: 48px 48px 32px 48px; border-bottom: 1px solid #f0ebe6;">
2476
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2477
+ <tr>
2478
+ <td>
2479
+ <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>
2480
+ </td>
2481
+ </tr>
2482
+ </table>
2483
+ </td>
2484
+ </tr>
2672
2485
 
2673
- <div class="greeting">
2674
- Dear <strong>{{recipientName}}</strong>,
2675
- </div>
2486
+ <!-- Cancellation Banner -->
2487
+ <tr>
2488
+ <td style="padding: 0;">
2489
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #fa003f;">
2490
+ <tr>
2491
+ <td style="padding: 20px 48px;">
2492
+ <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>
2493
+ </td>
2494
+ </tr>
2495
+ </table>
2496
+ </td>
2497
+ </tr>
2676
2498
 
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>
2499
+ <!-- Main Content -->
2500
+ <tr>
2501
+ <td style="padding: 40px 48px;">
2684
2502
 
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}}
2503
+ <!-- Greeting -->
2504
+ <p style="margin: 0 0 24px 0; font-size: 17px; color: #333333; line-height: 1.6; font-family: Georgia, 'Times New Roman', serif;">
2505
+ Dear {{recipientName}},
2506
+ </p>
2691
2507
 
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>
2508
+ <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;">
2509
+ We regret to inform you that your appointment has been cancelled. Please see the details below.
2510
+ </p>
2717
2511
 
2718
- <div class="divider"></div>
2512
+ <!-- Cancelled By Info -->
2513
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 24px;">
2514
+ <tr>
2515
+ <td style="padding: 16px 20px; background-color: #fef2f2; border-left: 3px solid #fa003f;">
2516
+ <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>
2517
+ <p style="margin: 0; font-size: 15px; color: #333333; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{cancelledByDisplay}}</p>
2518
+ </td>
2519
+ </tr>
2520
+ </table>
2719
2521
 
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>
2522
+ {{#if cancellationReason}}
2523
+ <!-- Cancellation Reason -->
2524
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2525
+ <tr>
2526
+ <td style="padding: 20px 24px; background-color: #faf9f7; border-left: 3px solid #a48a76;">
2527
+ <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>
2528
+ <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>
2529
+ </td>
2530
+ </tr>
2531
+ </table>
2532
+ {{/if}}
2727
2533
 
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>
2534
+ <!-- Cancelled Appointment Details -->
2535
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #f5f5f5; border-left: 3px solid #cccccc;">
2536
+ <tr>
2537
+ <td style="padding: 24px;">
2538
+ <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
2539
 
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>
2540
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2541
+ <tr>
2542
+ <td style="padding-bottom: 12px;">
2543
+ <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>
2544
+ <p style="margin: 0; font-size: 15px; color: #888888; text-decoration: line-through; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{procedureName}}</p>
2545
+ </td>
2546
+ </tr>
2547
+ <tr>
2548
+ <td style="padding-bottom: 12px;">
2549
+ <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>
2550
+ <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>
2551
+ </td>
2552
+ </tr>
2553
+ <tr>
2554
+ <td style="padding-bottom: 12px;">
2555
+ <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>
2556
+ <p style="margin: 0; font-size: 15px; color: #888888; text-decoration: line-through; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{practitionerName}}</p>
2557
+ </td>
2558
+ </tr>
2559
+ <tr>
2560
+ <td>
2561
+ <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>
2562
+ <p style="margin: 0; font-size: 15px; color: #888888; text-decoration: line-through; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{clinicName}}</p>
2563
+ </td>
2564
+ </tr>
2565
+ </table>
2566
+ </td>
2567
+ </tr>
2568
+ </table>
2569
+
2570
+ <!-- Divider -->
2571
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2572
+ <tr>
2573
+ <td style="height: 1px; background-color: #e8e4df;"></td>
2574
+ </tr>
2575
+ </table>
2576
+
2577
+ <!-- Rebook Section -->
2578
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #f0faf4; border-left: 3px solid #00BB38;">
2579
+ <tr>
2580
+ <td style="padding: 28px;">
2581
+ <p style="margin: 0 0 12px 0; font-size: 15px; font-weight: 600; color: #00BB38; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Book a New Appointment</p>
2582
+ <p style="margin: 0 0 20px 0; font-size: 14px; color: #555555; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2583
+ We'd love to see you. Open the MetaEstetics app to browse available times and book a new appointment.
2584
+ </p>
2585
+ <table role="presentation" cellspacing="0" cellpadding="0" border="0">
2586
+ <tr>
2587
+ <td style="background-color: #67574A; border-radius: 2px;">
2588
+ <a href="#" style="display: inline-block; padding: 14px 32px; font-size: 13px; font-weight: 600; color: #ffffff; text-decoration: none; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Book New Appointment</a>
2589
+ </td>
2590
+ </tr>
2591
+ </table>
2592
+ </td>
2593
+ </tr>
2594
+ </table>
2595
+
2596
+ <!-- Support Info -->
2597
+ <p style="margin: 0; font-size: 13px; color: #868686; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2598
+ If you have any questions about this cancellation, please contact {{clinicName}} directly through the app.
2599
+ </p>
2600
+
2601
+ </td>
2602
+ </tr>
2603
+
2604
+ <!-- Footer -->
2605
+ <tr>
2606
+ <td style="padding: 32px 48px; background-color: #faf9f7; border-top: 1px solid #f0ebe6;">
2607
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2608
+ <tr>
2609
+ <td>
2610
+ <p style="margin: 0 0 8px 0; font-size: 14px; font-weight: 500; color: #67574A; font-family: Georgia, 'Times New Roman', serif;">{{clinicName}}</p>
2611
+ <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>
2612
+ <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>
2613
+ </td>
2614
+ </tr>
2615
+ </table>
2616
+ </td>
2617
+ </tr>
2618
+
2619
+ </table>
2620
+ </td>
2621
+ </tr>
2622
+ </table>
2746
2623
  </body>
2747
2624
  </html>
2748
2625
  `;
@@ -2752,324 +2629,160 @@ var appointmentRescheduledProposalTemplate = `
2752
2629
  <head>
2753
2630
  <meta charset="UTF-8">
2754
2631
  <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>
2632
+ <title>Appointment Reschedule Request</title>
2633
+ <!--[if mso]>
2634
+ <noscript>
2635
+ <xml>
2636
+ <o:OfficeDocumentSettings>
2637
+ <o:PixelsPerInch>96</o:PixelsPerInch>
2638
+ </o:OfficeDocumentSettings>
2639
+ </xml>
2640
+ </noscript>
2641
+ <![endif]-->
2977
2642
  </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>
2643
+ <body style="margin: 0; padding: 0; background-color: #f8f6f5; font-family: Georgia, 'Times New Roman', serif;">
2644
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #f8f6f5;">
2645
+ <tr>
2646
+ <td align="center" style="padding: 40px 20px;">
2647
+ <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
2648
 
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>
2649
+ <!-- Header -->
2650
+ <tr>
2651
+ <td style="padding: 48px 48px 32px 48px; border-bottom: 1px solid #f0ebe6;">
2652
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2653
+ <tr>
2654
+ <td>
2655
+ <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>
2656
+ </td>
2657
+ </tr>
2658
+ </table>
2659
+ </td>
2660
+ </tr>
3049
2661
 
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>
2662
+ <!-- Action Required Banner -->
2663
+ <tr>
2664
+ <td style="padding: 0;">
2665
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #a48a76;">
2666
+ <tr>
2667
+ <td style="padding: 20px 48px;">
2668
+ <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>
2669
+ </td>
2670
+ </tr>
2671
+ </table>
2672
+ </td>
2673
+ </tr>
3058
2674
 
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>
2675
+ <!-- Main Content -->
2676
+ <tr>
2677
+ <td style="padding: 40px 48px;">
2678
+
2679
+ <!-- Greeting -->
2680
+ <p style="margin: 0 0 24px 0; font-size: 17px; color: #333333; line-height: 1.6; font-family: Georgia, 'Times New Roman', serif;">
2681
+ Dear {{patientName}},
2682
+ </p>
2683
+
2684
+ <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;">
2685
+ {{clinicName}} has proposed a new time for your upcoming appointment. Please review the details below and respond at your earliest convenience.
2686
+ </p>
2687
+
2688
+ <!-- Appointment Info Card -->
2689
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #faf9f7; border-left: 3px solid #a48a76;">
2690
+ <tr>
2691
+ <td style="padding: 24px;">
2692
+ <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>
2693
+ <p style="margin: 0 0 16px 0; font-size: 18px; color: #67574A; font-weight: 500; font-family: Georgia, 'Times New Roman', serif;">{{procedureName}}</p>
2694
+
2695
+ <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>
2696
+ <p style="margin: 0; font-size: 15px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{practitionerName}}</p>
2697
+ </td>
2698
+ </tr>
2699
+ </table>
2700
+
2701
+ <!-- Time Comparison -->
2702
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2703
+ <!-- Original Time (Strikethrough) -->
2704
+ <tr>
2705
+ <td style="padding: 20px 24px; background-color: #f5f5f5; border-left: 3px solid #cccccc;">
2706
+ <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>
2707
+ <p style="margin: 0; font-size: 16px; color: #999999; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration: line-through;">{{previousDate}}</p>
2708
+ <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>
2709
+ </td>
2710
+ </tr>
2711
+
2712
+ <!-- Spacer -->
2713
+ <tr>
2714
+ <td style="height: 12px;"></td>
2715
+ </tr>
2716
+
2717
+ <!-- New Proposed Time -->
2718
+ <tr>
2719
+ <td style="padding: 24px; background-color: #f8f6f5; border-left: 3px solid #00BB38;">
2720
+ <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>
2721
+ <p style="margin: 0; font-size: 18px; color: #333333; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{newDate}}</p>
2722
+ <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>
2723
+ </td>
2724
+ </tr>
2725
+ </table>
2726
+
2727
+ <!-- Divider -->
2728
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2729
+ <tr>
2730
+ <td style="height: 1px; background-color: #e8e4df;"></td>
2731
+ </tr>
2732
+ </table>
2733
+
2734
+ <!-- Response Instructions -->
2735
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #faf9f7;">
2736
+ <tr>
2737
+ <td style="padding: 28px;">
2738
+ <p style="margin: 0 0 16px 0; font-size: 15px; font-weight: 600; color: #67574A; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">How to Respond</p>
2739
+ <p style="margin: 0 0 16px 0; font-size: 14px; color: #555555; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2740
+ Open the MetaEstetics app to accept or decline this reschedule request. Your appointment will remain pending until you respond.
2741
+ </p>
2742
+ <table role="presentation" cellspacing="0" cellpadding="0" border="0">
2743
+ <tr>
2744
+ <td style="background-color: #67574A; border-radius: 2px;">
2745
+ <a href="#" style="display: inline-block; padding: 14px 32px; font-size: 13px; font-weight: 600; color: #ffffff; text-decoration: none; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Open App</a>
2746
+ </td>
2747
+ </tr>
2748
+ </table>
2749
+ </td>
2750
+ </tr>
2751
+ </table>
2752
+
2753
+ <!-- Pending Notice -->
2754
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2755
+ <tr>
2756
+ <td style="padding: 16px 20px; background-color: #fff8f0; border: 1px solid #f0e6d9; border-radius: 2px;">
2757
+ <p style="margin: 0; font-size: 13px; color: #a48a76; line-height: 1.6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2758
+ <strong>Status:</strong> Pending your response. Please respond as soon as possible so we can confirm your appointment.
2759
+ </p>
2760
+ </td>
2761
+ </tr>
2762
+ </table>
2763
+
2764
+ </td>
2765
+ </tr>
2766
+
2767
+ <!-- Footer -->
2768
+ <tr>
2769
+ <td style="padding: 32px 48px; background-color: #faf9f7; border-top: 1px solid #f0ebe6;">
2770
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2771
+ <tr>
2772
+ <td>
2773
+ <p style="margin: 0 0 8px 0; font-size: 14px; font-weight: 500; color: #67574A; font-family: Georgia, 'Times New Roman', serif;">{{clinicName}}</p>
2774
+ <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>
2775
+ <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>
2776
+ </td>
2777
+ </tr>
2778
+ </table>
2779
+ </td>
2780
+ </tr>
2781
+
2782
+ </table>
2783
+ </td>
2784
+ </tr>
2785
+ </table>
3073
2786
  </body>
3074
2787
  </html>
3075
2788
  `;