@page
@model TaxBaik.Web.Pages.Admin.Inquiries.CreateModel
@{ ViewData["Title"] = "문의 등록"; }

<section class="admin-page-shell">
    @await Html.PartialAsync("_AdminPageHeader", new TaxBaik.Web.Models.AdminPageHeaderModel("Customer Requests", "문의 등록", "관리자가 직접 상담 요청을 등록할 수 있습니다.", null, null))

    <form method="post" class="card">
        <div class="card-body">
            @await Html.PartialAsync("_ValidationSummary")
            <div class="row g-3">
                <div class="col-md-6">
                    <label asp-for="Input.Name" class="form-label"></label>
                    <input asp-for="Input.Name" class="form-control" />
                </div>
                <div class="col-md-6">
                    <label asp-for="Input.Phone" class="form-label"></label>
                    <input asp-for="Input.Phone" class="form-control" />
                </div>
                <div class="col-md-6">
                    <label asp-for="Input.Email" class="form-label"></label>
                    <input asp-for="Input.Email" class="form-control" />
                </div>
                <div class="col-md-6">
                    <label asp-for="Input.ServiceType" class="form-label"></label>
                    <input asp-for="Input.ServiceType" class="form-control" />
                </div>
                <div class="col-12">
                    <label asp-for="Input.Message" class="form-label"></label>
                    <textarea asp-for="Input.Message" class="form-control" rows="8"></textarea>
                </div>
                <div class="col-md-6">
                    <label asp-for="Input.Status" class="form-label"></label>
                    <input asp-for="Input.Status" class="form-control" />
                </div>
                <div class="col-12">
                    <label asp-for="Input.AdminMemo" class="form-label"></label>
                    <textarea asp-for="Input.AdminMemo" class="form-control" rows="4"></textarea>
                </div>
            </div>
        </div>
        <div class="card-footer d-flex justify-content-end gap-2">
            <a class="btn btn-outline-secondary" href="/admin/inquiries">취소</a>
            <button class="btn btn-primary" type="submit">저장</button>
        </div>
    </form>
</section>









