:root{--bg:#0b0710;--panel:#fff;--ink:#24132d;--muted:#6f6177;--line:#eadfed;--pink:#ff4ecd;--gold:#ffc857;--violet:#8f5cff;--green:#1d8b4b;--red:#be2a44;--yellow:#9a6700}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:#f8f3fa;color:var(--ink)}a{text-decoration:none;color:inherit}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;background:linear-gradient(180deg,#17071e,#0b0710);color:#fff;padding:24px;box-shadow:20px 0 70px rgba(30,5,40,.14)}.admin-brand{display:flex;align-items:center;gap:12px;margin-bottom:30px}.admin-brand span{width:42px;height:42px;border-radius:15px;background:linear-gradient(135deg,var(--pink),var(--gold));display:grid;place-items:center;color:#210318;font-weight:1000}.sidebar nav{display:grid;gap:8px}.sidebar nav a{padding:13px 14px;border-radius:16px;color:#eadcf1}.sidebar nav a:hover{background:rgba(255,255,255,.09);color:#fff}.admin-main{margin-left:260px;padding:34px;min-height:100vh}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.kicker{text-transform:uppercase;letter-spacing:.2em;font-size:12px;color:#9d799e;font-weight:900;margin:0 0 4px}h1{font-size:42px;letter-spacing:-.04em;margin:0}.pill,.badge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;background:#fff;border:1px solid var(--line);font-weight:800;font-size:12px;color:#6b5671}.badge-success{background:#e6fff0;color:#176536;border-color:#bceccc}.badge-warning{background:#fff7df;color:#8a5e00;border-color:#ffe39c}.badge-danger{background:#ffe7ed;color:#982038;border-color:#ffc4d0}.flash{padding:14px 16px;border-radius:16px;margin:0 0 18px;font-weight:800}.flash.success{background:#e7fff0;color:#155b31}.flash.error{background:#ffe9ee;color:#922238}.grid{display:grid;gap:18px}.stats{grid-template-columns:repeat(4,1fr)}.card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:22px;box-shadow:0 24px 70px rgba(40,10,48,.08)}.stat strong{display:block;font-size:36px;letter-spacing:-.04em}.stat span{color:var(--muted);font-weight:800}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:0 24px 70px rgba(40,10,48,.08)}table{width:100%;border-collapse:collapse;min-width:980px}th,td{text-align:left;padding:14px;border-bottom:1px solid #f1e7f3;vertical-align:middle}th{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#8b6f90;background:#fdf9fe}td{color:#36223e}.thumb{width:92px;height:58px;object-fit:cover;border-radius:12px;background:#12091a}.actions{display:flex;gap:8px;flex-wrap:wrap}.btn,button{border:0;border-radius:999px;padding:10px 14px;font-weight:900;cursor:pointer;background:#24132d;color:#fff;display:inline-flex;align-items:center;justify-content:center}.btn.primary{background:linear-gradient(135deg,var(--pink),var(--gold));color:#210318}.btn.ghost{background:#f4eaf6;color:#38223d}.btn.danger{background:var(--red)}.btn.success{background:var(--green)}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid.full{grid-template-columns:1fr}label{font-weight:900;color:#321a38}input,select,textarea{display:block;width:100%;margin-top:7px;border:1px solid var(--line);border-radius:16px;padding:13px 14px;font:inherit;background:#fff;color:#24132d}textarea{resize:vertical}.help{color:#7b6a82;line-height:1.55}.preview{max-width:320px;border-radius:18px;overflow:hidden;background:#14081d}.preview img,.preview video{display:block;width:100%;max-height:230px;object-fit:cover}.inline-form{display:inline}.section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}@media(max-width:1000px){.sidebar{position:static;width:auto}.admin-main{margin-left:0;padding:22px}.stats{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.admin-top{align-items:flex-start;flex-direction:column}}@media(max-width:640px){.stats{grid-template-columns:1fr}h1{font-size:34px}}
.admin-brand img{display:block;height:44px;width:auto}.admin-brand span{flex:0 0 auto}.table-note{color:var(--muted);font-size:12px;line-height:1.45}.location-request{display:grid;gap:4px}.location-request strong{text-transform:uppercase}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.review-grid .full{grid-column:1/-1}@media(max-width:720px){.review-grid{grid-template-columns:1fr}.review-grid .full{grid-column:auto}}
.form-grid .full{grid-column:1/-1}.ad-link-pill{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;background:#fff7df;color:#8a5e00;border:1px solid #ffe39c;font-size:12px;font-weight:900}
@media(max-width:720px){.form-grid .full{grid-column:auto}}

/* V25 admin polish: safer preview, badges, filters, and mobile tables. */
.compact-stats .stat strong{font-size:32px}.filter-card{margin-bottom:22px;padding:16px}.filters-v25{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:12px;align-items:end;margin:0}.filters-v25 label{font-size:12px}.filter-actions{display:flex;gap:8px;align-items:center}.media-cell{display:grid;gap:7px;align-items:start}.badge-photo{background:#edf7ff;color:#1f5b83;border-color:#c8e7ff}.badge-gif{background:#fff1fb;color:#9b236f;border-color:#ffc7ec}.badge-video{background:#f1eeff;color:#4b37a6;border-color:#d7cdff}.badge-ad{background:#fff7df;color:#8a5e00;border-color:#ffe39c;margin-top:5px}.admin-preview{box-shadow:0 20px 70px rgba(40,10,48,.16)}.admin-preview img,.admin-preview video{max-height:360px}.thumb{box-shadow:0 10px 24px rgba(28,8,38,.12)}.table-wrap table small{color:#74617b}.sidebar nav a[href$="diagnostics.php"]{background:rgba(255,255,255,.05)}
@media(max-width:1180px){.filters-v25{grid-template-columns:repeat(3,minmax(150px,1fr))}}
@media(max-width:760px){.filters-v25{grid-template-columns:1fr}.filter-actions .btn{flex:1}.admin-main{padding:16px}.card{border-radius:20px;padding:17px}.table-wrap{border-radius:20px}table{min-width:860px}.sidebar{padding:18px}.sidebar nav{grid-template-columns:1fr 1fr}.sidebar nav a{padding:11px 12px;font-size:13px}.admin-brand img{height:38px}.admin-top .pill{max-width:100%;overflow:hidden;text-overflow:ellipsis}.stat strong{font-size:30px}}

/* V26 paid booking inventory */
.form-grid select[multiple],.review-grid select[multiple]{min-height:170px;padding:10px}.card h2+ .help{margin-top:-4px}.badge-warning{white-space:nowrap}@media(max-width:720px){.form-grid select[multiple],.review-grid select[multiple]{min-height:140px}}


/* V26.2 mobile-friendly country picker */
.country-field{display:block;font-weight:900;color:var(--ink)}.field-label{font-weight:900;color:var(--ink);margin-bottom:7px}.field-label small{display:block;margin-top:6px;color:var(--muted);font-weight:700}.country-picker{margin-top:7px;border:1px solid var(--line);border-radius:22px;background:#fff;padding:12px;display:grid;gap:10px}.country-picker-top{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.country-picker .country-search{margin:0;border-radius:999px;background:#fff}.country-clear{border:0;border-radius:999px;padding:12px 14px;font-weight:1000;cursor:pointer;background:var(--ink);color:#fff}.country-selected-summary{border-radius:16px;background:#fff7df;color:#7a5200;padding:10px 12px;font-weight:900;font-size:13px}.country-picker-help{font-size:12px;color:var(--muted);font-weight:800}.country-group-label{text-transform:uppercase;letter-spacing:.12em;font-size:11px;color:#8b6f90;font-weight:1000}.country-quick-list,.country-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.country-check-grid{max-height:230px;overflow:auto;padding-right:3px}.country-option{display:flex !important;align-items:center;gap:8px;margin:0 !important;padding:10px 11px;border:1px solid var(--line);border-radius:16px;background:#fff;cursor:pointer;font-weight:900;color:var(--ink)}.country-option input{width:auto !important;margin:0 !important;flex:0 0 auto;accent-color:#8f2bbd}.country-option span{line-height:1.2}.country-option small{display:inline;margin:0 0 0 3px;color:#907b98;font-size:11px}.country-option:has(input:checked){border-color:#ffc857;background:linear-gradient(135deg,#fff7dd,#fff)}@media(max-width:760px){.country-picker{padding:10px}.country-picker-top{grid-template-columns:1fr}.country-clear{width:100%}.country-quick-list,.country-check-grid{grid-template-columns:1fr}.country-check-grid{max-height:260px}.country-option{padding:12px 11px}}

/* V26.3 country picker readability fix: smaller, lighter, easier to scan */
.country-field{display:block;font-weight:500;color:var(--ink)}
.field-label{font-size:15px;font-weight:700;color:var(--ink);margin-bottom:6px;line-height:1.25}
.field-label small{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:500;line-height:1.35}
.country-picker{margin-top:7px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:10px;display:grid;gap:9px}
.country-picker-top{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.country-picker .country-search{margin:0;border-radius:12px;background:#fff;font-size:14px;font-weight:500;padding:10px 12px;min-height:40px}
.country-clear{border:0;border-radius:12px;padding:10px 12px;font-size:13px;font-weight:700;line-height:1;cursor:pointer;background:var(--ink);color:#fff;min-height:40px}
.country-selected-summary{border-radius:12px;background:#fff9e8;color:#6b4a05;padding:8px 10px;font-size:12.5px;font-weight:600;line-height:1.35}
.country-picker-help{font-size:12px;color:var(--muted);font-weight:500;line-height:1.35}
.country-group-label{text-transform:uppercase;letter-spacing:.08em;font-size:10px;color:#8a487c;font-weight:700;line-height:1.2;margin-top:2px}
.country-quick-list,.country-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.country-check-grid{max-height:230px;overflow:auto;padding-right:3px}
.country-option{display:flex !important;align-items:center;gap:7px;margin:0 !important;padding:8px 9px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;font-size:13px;font-weight:500;color:var(--ink);line-height:1.25;min-height:38px;box-shadow:none}
.country-option input{width:15px !important;height:15px !important;margin:0 !important;flex:0 0 auto;accent-color:#8f2bbd}
.country-option span{display:block;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
.country-option small{display:inline-flex;align-items:center;margin:0 0 0 5px;padding:1px 5px;border-radius:999px;background:#f5eef8;color:#6c5870;font-size:10px;font-weight:600;line-height:1.2;vertical-align:middle}
.country-option:has(input:checked){border-color:#d0a6e0;background:#fbf5ff;color:var(--ink)}
.country-option:focus-within{outline:2px solid rgba(143,43,189,.22);outline-offset:1px}
@media(max-width:980px){.country-quick-list,.country-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.country-picker{padding:9px;border-radius:15px}.country-picker-top{grid-template-columns:1fr}.country-clear{width:100%}.country-quick-list,.country-check-grid{grid-template-columns:1fr;gap:6px}.country-check-grid{max-height:250px}.country-option{padding:8px 10px;font-size:13px;min-height:37px}.country-selected-summary{font-size:12px}}


/* V26.4 country picker layout fix: prevents country names from breaking into letters in narrow form columns */
.country-picker,
.country-picker *{
  box-sizing:border-box;
}
.country-picker{
  width:100%;
  max-width:100%;
  overflow:hidden;
}
.country-quick-list,
.country-check-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)) !important;
  gap:7px !important;
  width:100%;
  min-width:0;
}
.country-option{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  gap:8px !important;
  text-align:left !important;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}
.country-option input{
  flex:0 0 16px !important;
  width:16px !important;
  min-width:16px !important;
  height:16px !important;
}
.country-option span{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  line-height:1.25 !important;
}
.country-option small{
  flex:0 0 auto !important;
  margin:0 !important;
  white-space:nowrap !important;
}
@media(max-width:760px){
  .country-quick-list,
  .country-check-grid{
    grid-template-columns:1fr !important;
  }
  .country-option span{
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
  }
}
