<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Feedback Received - Village Share</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 20px;
      background-color: #f5f5f5;
    }
    .container {
      max-width: 600px;
      margin: 0 auto;
      background-color: white;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .header {
      text-align: center;
      border-bottom: 2px solid #e9ecef;
      padding-bottom: 20px;
      margin-bottom: 30px;
    }
    .logo {
      font-size: 24px;
      font-weight: bold;
      color: #333;
    }
    .content {
      line-height: 1.6;
      color: #555;
    }
    .success-box {
      background-color: #d4edda;
      border: 1px solid #c3e6cb;
      border-radius: 4px;
      padding: 15px;
      margin: 20px 0;
    }
    .success-box .icon {
      font-size: 32px;
      text-align: center;
      margin-bottom: 10px;
    }
    .success-box p {
      margin: 5px 0;
      color: #155724;
    }
    .feedback-preview {
      background-color: #f8f9fa;
      border-left: 4px solid #007bff;
      padding: 15px;
      margin: 20px 0;
      font-style: italic;
      color: #495057;
    }
    .footer {
      margin-top: 30px;
      padding-top: 20px;
      border-top: 1px solid #e9ecef;
      text-align: center;
      font-size: 12px;
      color: #6c757d;
    }
    .button {
      display: inline-block;
      background-color: #007bff;
      color: white;
      padding: 12px 24px;
      text-decoration: none;
      border-radius: 4px;
      margin: 20px 0;
    }
    h2 {
      color: #333;
      margin-top: 0;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="header">
      <div class="logo">Village Share</div>
    </div>
    <div class="content">
      <p>Hi {{userName}},</p>

      <div class="success-box">
        <div class="icon">✓</div>
        <p><strong>Thank You for Your Feedback!</strong></p>
        <p>We've received your feedback and our team will review it carefully.</p>
      </div>

      <h2>Your Feedback</h2>
      <div class="feedback-preview">
        {{feedbackText}}
      </div>

      <p><strong>Submitted:</strong> {{submittedAt}}</p>

      <p>Your input helps us improve Village Share for everyone. We take all feedback seriously and use it to make the platform better.</p>

      <p>If your feedback requires a response, our team will reach out to you directly at <strong>{{userEmail}}</strong>.</p>

      <p>Want to share more thoughts? Feel free to send us additional feedback anytime through the app.</p>
    </div>
    <div class="footer">
      <p>This email was sent from Village Share. If you have any questions, please contact support.</p>
      <p>&copy; {{year}} Village Share. All rights reserved.</p>
    </div>
  </div>
</body>
</html>
