/* public-ui.css — หน้าสาธารณะ (แดชบอร์ด/แจ้งซ่อม/ล็อกอิน) ในดีไซน์เดียวกับหลังบ้าน (ms-ui.css) */
.pub-header { background: linear-gradient(180deg, #1c1611 0%, #17120d 100%); border-bottom: 0; box-shadow: 0 8px 24px -14px rgba(23,18,13,.6); position: sticky; top: 0; z-index: 50; }
.pub-header::after { content: ''; display: block; height: 3px; background: linear-gradient(90deg, #fb923c, #ea580c 60%, transparent); }
.pub-brand { border-left: 0; padding-left: 0; display: inline-flex; align-items: center; gap: 10px; }
.pub-brand .brand-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #fb923c, #ea580c); box-shadow: 0 6px 14px -6px rgba(249,115,22,.8); }
.pub-brand .brand-ic svg { width: 18px; height: 18px; color: #fff; }
.pub-nav a { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-weight: 500; transition: .15s; }
.pub-nav a svg { width: 15px; height: 15px; }
.pub-nav a:hover { background: rgba(255,255,255,.08); color: #fdba74; }
.pub-nav a.on { background: linear-gradient(135deg, #fb923c, #ea580c); color: #fff; box-shadow: 0 6px 16px -8px rgba(249,115,22,.9); }
.pub-main { padding: 28px 20px; }
.pub-card { background: var(--ms-card); border: 1px solid var(--ms-card-border); border-radius: 1.4rem; box-shadow: var(--ms-shadow); padding: 28px; }
.home-hero h2 { letter-spacing: -.02em; }
/* ตาราง DataTables หน้าสาธารณะ = แบบ ms-table */
table.dataTable { border-collapse: separate !important; border-spacing: 0 !important; }
table.dataTable thead th { background: #f8f6f4 !important; color: #6c757d !important; font-weight: 600 !important; font-size: .73rem; letter-spacing: .5px; border-bottom: 2px solid rgba(23,18,13,.05) !important; }
table.dataTable thead th:first-child { border-top-left-radius: .85rem; }
table.dataTable thead th:last-child { border-top-right-radius: .85rem; }
table.dataTable tbody td { border-top: 0 !important; border-bottom: 1px solid rgba(23,18,13,.05); }
table.dataTable tbody tr:hover td { background: #fff8f2; }
.dataTables_wrapper { padding: 0; }
.custom-upload { background: rgba(255,255,255,.7); border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #475569; }
.custom-upload svg { width: 16px; height: 16px; }
.pub-footer { color: #a8988a; }
@media (max-width: 576px) { .pub-header { position: static; } .pub-card { padding: 20px 16px; } }
