/* Base element styles + shared utilities, verbatim from the platform's global.css. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}
/* The Customer Portal runs on white, not the slate page background. */
body.portal { background: #fff; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); text-decoration: underline; }
input, select, button, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

[dir="rtl"] { font-family: var(--font-arabic), var(--font-body); }

.scroll::-webkit-scrollbar { width: 9px; height: 9px; }
.scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
.hidescroll::-webkit-scrollbar { display: none; }

.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
