<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Your Login Credentials</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
        }
        .email-wrapper {
            max-width: 600px;
            margin: 0 auto;
            background-color: #ffffff;
        }
        .email-header {
            background-color: #4f46e5;
            color: #ffffff !important;
            padding: 30px 20px;
            text-align: center;
        }
        .email-header h1 {
            margin: 0;
            font-size: 24px;
            font-weight: 600;
        }
        .email-body {
            padding: 40px 30px;
        }
        .greeting {
            font-size: 16px;
            margin-bottom: 20px;
            color: #333;
        }
        .content {
            font-size: 15px;
            color: #555;
            margin-bottom: 30px;
        }
        .credentials-box {
            background-color: #f8f9fa;
            border-left: 4px solid #4f46e5;
            padding: 20px;
            margin: 25px 0;
            border-radius: 4px;
        }
        .credential-item {
            margin-bottom: 15px;
        }
        .credential-item:last-child {
            margin-bottom: 0;
        }
        .credential-label {
            font-weight: 600;
            color: #333;
            font-size: 14px;
            margin-bottom: 5px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .credential-value {
            font-size: 16px;
            color: #1f2937;
            font-family: 'Courier New', monospace;
            background-color: #ffffff;
            padding: 10px 15px;
            border-radius: 4px;
            border: 1px solid #e5e7eb;
            word-break: break-all;
        }
        .login-button {
            display: inline-block;
            background-color: #4f46e5;
            color: #ffffff !important;              
            text-decoration: none !important;
            padding: 12px 30px;
            border-radius: 6px;
            font-weight: 600;
            margin: 20px 0;
            text-align: center;
        }
        .login-button:hover {
            background-color: #4338ca;
        }
        .security-notice {
            background-color: #fef3c7;
            border-left: 4px solid #f59e0b;
            padding: 15px;
            margin: 25px 0;
            border-radius: 4px;
            font-size: 14px;
            color: #92400e;
        }
        .email-footer {
            background-color: #f9fafb;
            padding: 25px 30px;
            text-align: center;
            border-top: 1px solid #e5e7eb;
        }
        .email-footer p {
            margin: 5px 0;
            font-size: 13px;
            color: #6b7280;
        }
        .app-url {
            color: #4f46e5;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <div class="email-wrapper">
        <div class="email-header">
            <h1>{{ $siteName }}</h1>
        </div>
        
        <div class="email-body">
            <div class="greeting">
                Hello {{ $name }},
            </div>
            
            <div class="content">
                <p>Your account has been successfully created. Below are your login credentials to access your account:</p>
            </div>
            
            <div class="credentials-box">
                <div class="credential-item">
                    <div class="credential-label">Email Address</div>
                    <div class="credential-value">{{ $email }}</div>
                </div>
                <div class="credential-item">
                    <div class="credential-label">Password</div>
                    <div class="credential-value">{{ $password }}</div>
                </div>
            </div>
            
            <div style="text-align: center;">
                <a href="{{ $appUrl }}/login" class="login-button">Login to Your Account</a>
            </div>
            
            <div class="security-notice">
                <strong>Security Notice:</strong> For your security, please change your password after your first login. Keep your credentials confidential and do not share them with anyone.
            </div>
            
            <div class="content">
                <p>If you have any questions or need assistance, please don't hesitate to contact our support team.</p>
            </div>
        </div>
        
        <div class="email-footer">
            <p><strong>{{ $siteName }}</strong></p>
            <p>Visit us at: <a href="{{ $appUrl }}" class="app-url">{{ $appUrl }}</a></p>
            <p style="margin-top: 15px; font-size: 12px;">This is an automated message, please do not reply to this email.</p>
        </div>
    </div>
</body>
</html>

