@extends('mail.layouts.base')

@section('content')

    <div style="font-family:Apple SD Gothic Neo,Malgun Gothic,Segoe UI,Arial,sans-serif;color:#101828;">
        <div style="font-size:18px;font-weight:800;letter-spacing:-.2px;">
            {{ $title ?? '[PIN FOR YOU] 1:1 문의 등록 알림' }}
        </div>
        <div style="height:10px"></div>

        <div style="font-size:13px;line-height:1.8;color:#344054;">
            1:1 문의가 새로 등록되었습니다.<br>
            아래 내용을 확인해 주세요.
        </div>

        <div style="background:#F2F4F7;border:1px solid #EAECF0;border-radius:14px;padding:14px 14px;">
            <div style="font-size:13px;line-height:1.9;color:#101828;">
                <div><span style="color:#667085;">회원번호</span> : <strong>{{ $mem_no ?? '-' }}</strong></div>
                <div><span style="color:#667085;">요청자</span> : <strong>{{ $name ?: '-' }}</strong></div>
                <div><span style="color:#667085;">이메일</span> : {{ $email ?: '-' }}</div>
                <div><span style="color:#667085;">휴대폰</span> : {{ $cell ?: '-' }}</div>
                <div><span style="color:#667085;">등록 IP</span> : {{ $ip ?: '-' }}</div>
                <div><span style="color:#667085;">분류코드</span> : {{ $enquiry_code ?? '-' }}</div>
                <div><span style="color:#667085;">제목</span> : <strong>{{ $enquiry_title ?? '-' }}</strong></div>
                <div><span style="color:#667085;">회신요청</span> : {{ $return_type ?? '-' }}</div>
                <div><span style="color:#667085;">등록시간</span> : {{ $created_at ?? '-' }}</div>
            </div>
        </div>

        <div style="height:14px"></div>

        <div style="font-size:12px;line-height:1.7;color:#667085;">
            문의 내용
        </div>
        <div style="height:8px"></div>

        <div style="background:#FFFFFF;border:1px solid #EAECF0;border-radius:14px;padding:14px 14px;">
            <div style="font-size:13px;line-height:1.8;color:#101828;white-space:pre-wrap;word-break:break-word;">
                {{ $enquiry_content ?? '-' }}
            </div>
        </div>

        @if(!empty($adminUrl))
            <div style="height:16px"></div>
            <a href="{{ $adminUrl }}"
               style="display:inline-block;background:{{ $accent ?? '#E4574B' }};color:#fff;text-decoration:none;
                      font-size:13px;font-weight:700;padding:10px 14px;border-radius:12px;">
                관리자에서 확인하기
            </a>
        @endif

        <div style="height:14px"></div>

        <div style="font-size:12px;line-height:1.7;color:#667085;">
            이 메일은 시스템 알림입니다.
        </div>
    </div>
@endsection
