<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>New Quote Request</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }
        .header {
            background-color: #060121;
            color: white;
            padding: 20px;
            text-align: center;
            border-radius: 5px 5px 0 0;
        }
        .content {
            background-color: #f9f9f9;
            padding: 20px;
            border: 1px solid #ddd;
        }
        .quote-info {
            background-color: white;
            padding: 15px;
            margin: 15px 0;
            border-radius: 5px;
        }
        .quote-info h3 {
            margin-top: 0;
            color: #060121;
        }
        .info-row {
            margin: 10px 0;
        }
        .info-label {
            font-weight: bold;
            color: #666;
        }
        .products-list {
            list-style: none;
            padding: 0;
        }
        .products-list li {
            padding: 10px;
            margin: 5px 0;
            background-color: #f5f5f5;
            border-left: 3px solid #060121;
        }
        .footer {
            text-align: center;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #ddd;
            color: #666;
            font-size: 12px;
        }
    </style>
</head>
<body>
    <div class="header">
        <h1>New Quote Request!</h1>
    </div>
    
    <div class="content">
        <div class="quote-info">
            <h3>Quote Details</h3>
            <div class="info-row">
                <span class="info-label">Quote Number:</span> {{ $quote->quote_number }}
            </div>
            <div class="info-row">
                <span class="info-label">Date:</span> {{ $quote->quote_date->format('M d, Y H:i') }}
            </div>
            <div class="info-row">
                <span class="info-label">Status:</span> {{ ucfirst($quote->status) }}
            </div>
        </div>

        <div class="quote-info">
            <h3>Customer Information</h3>
            <div class="info-row">
                <span class="info-label">Name:</span> {{ $quote->name }}
            </div>
            <div class="info-row">
                <span class="info-label">Email:</span> {{ $quote->email }}
            </div>
            <div class="info-row">
                <span class="info-label">Mobile:</span> {{ $quote->mobile }}
            </div>
        </div>

        @if($quote->description)
        <div class="quote-info">
            <h3>Description</h3>
            <p>{{ $quote->description }}</p>
        </div>
        @endif

        <div class="quote-info">
            <h3>Requested Products</h3>
            <ul class="products-list">
                @foreach($quote->items as $item)
                <li>{{ $item->product_title }}</li>
                @endforeach
            </ul>
        </div>
    </div>

    <div class="footer">
        <p>This is an automated notification. Please respond to the customer at {{ $quote->email }}</p>
    </div>
</body>
</html>
