<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Jadwal Kunjungan</title>
    <style>
        body {
            background-color: #f3f4f6;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 20px;
        }

        .email-container {
            max-width: 42rem;
            margin: 0 auto;
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
        }

        .header {
            border-bottom: 1px solid #e5e7eb;
            padding-bottom: 1rem;
            margin-bottom: 1.5rem;
        }

        .title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1f2937;
            margin: 0;
        }

        .subtitle {
            color: #4b5563;
            margin: 0.25rem 0 0 0;
        }

        .content-row {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }

        .content-row:last-child {
            margin-bottom: 0;
        }

        .label {
            width: 8rem;
            font-weight: 500;
            color: #374151;
        }

        .value {
            color: #111827;
            flex-grow: 1;
        }

        .footer {
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid #e5e7eb;
            font-size: 0.875rem;
            color: #6b7280;
        }

        @media (max-width: 640px) {
            .content-row {
                flex-direction: column;
                align-items: flex-start;
            }

            .label {
                margin-bottom: 0.5rem;
                width: auto;
            }
        }
    </style>
</head>
<body>
    <div class="email-container">
        <!-- Header -->
        <div class="header">
            <h1 class="title">Jadwal Kunjungan Penilaian</h1>
            <p class="subtitle">Dikirim melalui Sistem Penilaian</p>
        </div>

        <!-- Content -->
        <div class="content">
            <div class="content-row">
                <span class="label">ID Penilaian:</span>
                <span class="value">{{ $id }}</span>
            </div>

            <div class="content-row">
                <span class="label">Waktu Penilaian:</span>
                <span class="value">{{ \Carbon\Carbon::parse($waktu_penilaian)->format('d F Y H:i') }}</span>
            </div>

            <div class="content-row">
                <span class="label">Deskripsi:</span>
                <p class="value">{{ $deskripsi_penilaian }}</p>
            </div>
        </div>

        <!-- Footer -->
        <div class="footer">
            <p>Email ini dikirim secara otomatis, mohon tidak membalas email ini.</p>
            <p style="margin-top: 0.5rem;">&copy; {{ date('Y') }} Sistem Penilaian. All rights reserved.</p>
        </div>
    </div>
</body>
</html>
