<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Your Services Have Been Updated</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            color: #333;
            margin: 0;
            padding: 0;
            background-color: #f4f7fc;
        }
        .email-container {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            background-color: #ffffff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        h1 {
            color: #2c3e50;
            font-size: 24px;
            margin-bottom: 20px;
        }
        p {
            font-size: 16px;
            line-height: 1.6;
            color: #555555;
        }
        ul {
            list-style-type: none;
            padding-left: 0;
        }
        li {
            background-color: #ecf0f1;
            margin: 8px 0;
            padding: 8px 12px;
            border-radius: 4px;
        }
        .footer {
            margin-top: 20px;
            font-size: 14px;
            color: #7f8c8d;
            text-align: center;
        }
        .app-name {
            color: #2980b9;
            font-weight: bold;
        }
        .highlight {
            color: #e74c3c;
            font-weight: bold;
        }
        .date-time {
            font-size: 14px;
            color: #7f8c8d;
            margin-bottom: 15px;
        }
    </style>
</head>
<body>
    <div class="email-container">
        <h1>Dear {{ $user->name }},</h1>
        <p><strong>{{ config('app.name') }}</strong> is pleased to inform you that your services have been successfully updated.</p>
        <p class="date-time"><em>Updated on: {{ \Carbon\Carbon::now()->format('l, F j, Y, g:i A') }}</em></p>

        <p>We received the request from your side to update the following services:</p>

        <ul>
            @foreach ($services as $service)
                <li>{{ $service }}</li>
            @endforeach
        </ul>

        <p>These changes have been successfully applied, and you can now view the updated services on your vendor dashboard.</p>

        <p>Thank you for using <span class="app-name">{{ config('app.name') }}</span> to manage your services. We are committed to providing you with the best experience possible.</p>

        <div class="footer">
            <p>If you did not request this change or have any concerns, please contact us at <span class="highlight">info@drycleaneo.com</span>.</p>
        </div>
    </div>
</body>
</html>
