
/* v1.0.423 – Consistent responsive table and filter design */
:root{--d46-table-ink:#183653;--d46-table-muted:#64748b;--d46-table-line:#e2e8f0;--d46-table-head:#f1f5f9;--d46-table-blue:#173d68}
.d46p-hotel-table-wrap,.d46p-stay-unit-table-wrap,.d46p-ss-admin .widefat,.d46p-ss-admin table,
.d46p-stay-manager table,.d46p-hotel-categories table,.d46p-hotel-bookings table,
.d46p-hotel-finance table,.d46p-hotel-guests table,.d46p-hotel-reports table{
  width:100%;max-width:100%;overflow-x:auto;border:1px solid var(--d46-table-line);
  border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(15,35,60,.045)
}
.d46p-hotel-table-wrap table,.d46p-stay-unit-table-wrap table,.d46p-ss-admin table,
.d46p-stay-manager table,.d46p-hotel-categories table,.d46p-hotel-bookings table,
.d46p-hotel-finance table,.d46p-hotel-guests table,.d46p-hotel-reports table{
  width:100%;border:0;border-collapse:separate;border-spacing:0;margin:0;background:#fff;color:var(--d46-table-ink);font-size:14px;line-height:1.45
}
.d46p-hotel-table-wrap thead th,.d46p-stay-unit-table-wrap thead th,.d46p-ss-admin thead th,
.d46p-stay-manager thead th,.d46p-hotel-categories thead th,.d46p-hotel-bookings thead th,
.d46p-hotel-finance thead th,.d46p-hotel-guests thead th,.d46p-hotel-reports thead th{
  position:sticky;top:0;z-index:1;background:var(--d46-table-head);color:#263b53;
  font-weight:700;text-align:left;white-space:nowrap;padding:13px 14px;border:0;border-bottom:1px solid #dbe4ee
}
.d46p-hotel-table-wrap tbody td,.d46p-stay-unit-table-wrap tbody td,.d46p-ss-admin tbody td,
.d46p-stay-manager tbody td,.d46p-hotel-categories tbody td,.d46p-hotel-bookings tbody td,
.d46p-hotel-finance tbody td,.d46p-hotel-guests tbody td,.d46p-hotel-reports tbody td{
  padding:13px 14px;vertical-align:middle;border:0;border-bottom:1px solid #edf1f5;color:#334155
}
.d46p-hotel-table-wrap tbody tr:last-child td,.d46p-stay-unit-table-wrap tbody tr:last-child td,
.d46p-ss-admin tbody tr:last-child td{border-bottom:0}
.d46p-hotel-table-wrap tbody tr:hover,.d46p-stay-unit-table-wrap tbody tr:hover,
.d46p-ss-admin tbody tr:hover{background:#f8fbff}
.d46p-hotel-table-wrap td form,.d46p-stay-unit-table-wrap td form{margin:0}
.d46p-hotel-categories .d46p-hotel-category-create,.d46p-hotel-categories .d46p-hotel-category-edit,
.d46p-hotel-categories .d46p-stay-filter-form,.d46p-stay-filter-form{
  box-sizing:border-box;background:#fff;border:1px solid var(--d46-table-line);border-radius:12px;
  padding:16px;margin:14px 0;display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end
}
.d46p-hotel-categories .d46p-hotel-category-create,.d46p-hotel-categories .d46p-hotel-category-edit{display:block;padding:18px}
.d46p-hotel-categories .d46p-hotel-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.d46p-hotel-categories label,.d46p-stay-filter-form label{display:block;min-width:160px;flex:1;color:#334155;font-size:13px;font-weight:650}
.d46p-hotel-categories input,.d46p-hotel-categories select,.d46p-hotel-categories textarea,
.d46p-stay-filter-form input,.d46p-stay-filter-form select{
  box-sizing:border-box;width:100%;max-width:100%;min-height:42px;margin-top:6px;padding:9px 11px;
  border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172b42;font:inherit
}
.d46p-hotel-categories textarea{min-height:76px}
.d46p-hotel-categories .button,.d46p-stay-filter-form .button,.d46p-hotel-table-wrap .button,
.d46p-stay-unit-table-wrap .button,.d46p-ss-admin .button{
  min-height:38px;padding:8px 14px;border-radius:8px;font-weight:650;line-height:1.25
}
.d46p-hotel-categories h3,.d46p-hotel-categories h4,.d46p-ss-admin h2{color:#173653}
.d46p-hotel-table-wrap .tablenav,.d46p-stay-unit-table-wrap .tablenav{padding:12px 14px}
.d46p-hotel-table-wrap td[colspan],.d46p-stay-unit-table-wrap td[colspan]{padding:14px;background:#fbfdff}
.d46p-hotel-categories .d46p-hotel-category-edit .d46p-hotel-form-grid{margin-bottom:12px}
.d46p-hotel-categories .d46p-hotel-category-edit p{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 0}
.d46p-ss-admin .nav-tab-wrapper{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--d46-table-line);padding-bottom:8px}
.d46p-ss-admin .nav-tab{float:none;border-radius:8px 8px 0 0}
.d46p-ss-admin .tablenav .tablenav-pages{margin:12px 0}
.d46p-ss-admin .widefat th,.d46p-ss-admin .widefat td{box-sizing:border-box}
.d46p-stay-unit-table-wrap{overflow-x:auto}
.d46p-stay-unit-table-wrap table{min-width:720px}
.d46p-hotel-table-wrap table{min-width:760px}
.d46p-hotel-categories .d46p-hotel-category-edit{max-width:100%}
.d46p-hotel-categories .d46p-stay-filter-form{align-items:flex-end}
.d46p-hotel-categories .d46p-stay-filter-form input{min-width:180px}
.d46p-hotel-categories .d46p-stay-filter-form select{min-width:150px}
.d46p-hotel-categories .d46p-hotel-notice{padding:12px 15px;border-radius:9px;background:#eef8f1;color:#17623b;border:1px solid #ccebd7}
@media(max-width:900px){
 .d46p-hotel-categories .d46p-hotel-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .d46p-hotel-table-wrap,.d46p-stay-unit-table-wrap{overflow-x:auto}
}
@media(max-width:600px){
 .d46p-hotel-categories .d46p-hotel-form-grid{grid-template-columns:1fr}
 .d46p-hotel-categories .d46p-stay-filter-form{display:grid;grid-template-columns:1fr}
 .d46p-hotel-categories .d46p-stay-filter-form>*{width:100%;min-width:0}
 .d46p-hotel-table-wrap table,.d46p-stay-unit-table-wrap table{min-width:700px}
 .d46p-hotel-categories .d46p-hotel-category-create,.d46p-hotel-categories .d46p-hotel-category-edit{padding:13px}
}
