/*
 * One look in both StayLedger apps (owner 2026-11-16).
 * IDENTICAL copies: rds-migration/app/public/css/look.css and
 * pg-tenant-portal/public/css/look.css. Loaded last. Only the shared building blocks:
 * buttons, cards, pills, message boxes and text boxes get the same corners, padding
 * and text size. Colours stay as each app already had them (they already match).
 */
.btn { border-radius: 12px; }
.btn-sm { border-radius: 10px; }
.card { border-radius: 20px; }
.pill { border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.msg { border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
/* 16 px text in boxes: iPhone never zooms the page when a box is tapped. */
input.input, select.select, select.input, textarea.textarea, textarea.input { border-radius: 12px; font-size: 16px; }
/* Form buttons: always one row, the way out (Close/Cancel) on the left and the action on
   the right, on every screen including 320 px phones (owner 2026-11-16). */
#modalRoot .modal-foot > .btn, #modalRoot .modal-foot > button, #modalRoot .modal-foot > a.btn { white-space: nowrap; }
@media (max-width: 359px) {
  #modalRoot .modal-foot > .btn, #modalRoot .modal-foot > button, #modalRoot .modal-foot > a.btn {
    flex: 1 1 0 !important; min-width: 0 !important; font-size: 13.5px; padding-left: 6px; padding-right: 6px; }
}

/* ------------------------------------------------------------------------
   No scroll bars anywhere inside the installed apps (owner 2026-11-17, both
   apps, Android and iPhone): pages, lists, tables, the staff sidebar, sheets.
   Scrolling itself is unchanged. A normal browser (website) keeps them.
   ------------------------------------------------------------------------ */
html[data-in-app], html[data-in-app] * { scrollbar-width: none !important; -ms-overflow-style: none !important; }
html[data-in-app]::-webkit-scrollbar, html[data-in-app] *::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; background: transparent !important; }
