/* ══════════════════════════════════════════════════════════════
   DREAMS UNIVERSE — shared responsive safety net (du-responsive.css)
   Loaded by every page of BOTH panels. It does not restyle anything on a
   wide screen; it only keeps text and content tidy when the window is
   made small (phones, narrow browser windows) or large again.
   ══════════════════════════════════════════════════════════════ */

/* 1. Tab bars and pill rows keep their icons and counts at full size. */
.tabs > .tab { flex: none; }
.tab i, .tab .count, .tab-count, .filter-tab i, .pill i, .badge i { flex-shrink: 0; }
/* (Targeted fixes live on the pages themselves — a blanket min-width:0 squashed icons and badges.) */

/* 2. Phones should not enlarge text on their own, and media never exceeds its box. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, video, canvas { max-width: 100%; }
body { overflow-wrap: break-word; }

/* 3. Long emails, addresses, booking codes and names wrap instead of running off the card. */
.val, .value, .booking-ref, .ref, .bmini-ref { overflow-wrap: anywhere; }

/* 4. Phones: form fields at 16px so iPhones do not zoom the page when a field is tapped. */
@media (max-width: 768px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]),
    select, textarea { font-size: 16px !important; }
}

/* 5. Small screens: buttons may wrap their label instead of cutting it off. */
@media (max-width: 480px) {
    .btn, button.btn, a.btn { white-space: normal !important; text-align: center; line-height: 1.25; }
}

@media (max-width: 360px) {
    .btn, button.btn, a.btn { padding-left: 0.8rem !important; padding-right: 0.8rem !important; }
}

/* 6. Smallest labels stay readable (nothing under 11px). */
.nav-group-label, .nav-group-title { font-size: max(11px, 0.68rem); }
