/* The demo version: the page of the access code and of the choice of the person */
/* the window stays in the middle of the page and never gets higher than the page: the logo and the text stay, only the list of the
   people scrolls inside it (without a visible scroll bar, by the wheel or the finger; the bottom fades out while more people follow) */
.login.demo { top: calc(50% + 11px); max-width: 380px; max-height: calc(100vh - 62px); max-height: calc(100dvh - 62px); display: flex; flex-direction: column; }
.demo .auth-panels { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.demo .demo-panel:not(.hidden) { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.demo .demo-panel > .padding { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.demo .demo-people { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.demo .demo-people::-webkit-scrollbar { display: none; }
.demo .demo-people.more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); }
.demo .auth-panel.hidden { display: none; }
.demo .demo-intro { margin: 0 0 14px; font-size: 13px; opacity: 0.8; }
.demo .demo-group { margin: 16px 0 6px; font-size: 13px; font-weight: bold; opacity: 0.65; }
.demo .demo-group:first-child { margin-top: 0; }
/* the people are not buttons of the login (no colour, no capitals): a quiet list of cards */
.demo .demo-person { display: block; width: 100%; margin: 0 0 6px; padding: 9px 12px; border: 1px solid #E0E0E0; border-radius: 3px; background: none; color: inherit; font-weight: normal; text-transform: none; text-align: left; cursor: pointer; }
.demo .demo-person:hover { opacity: 1; border-color: var(--color); background: rgba(127, 127, 127, 0.06); }
.demo .demo-person b { display: block; font-size: 14px; }
.demo .demo-person small { display: block; font-size: 12px; opacity: 0.7; }
.ui-dark .demo .demo-person { border-color: #353535; }
.ui-dark .demo .demo-person:hover { border-color: var(--color); background: rgba(127, 127, 127, 0.06); }
