.authContainer { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: var(--c-bg); padding: 1.5rem 1.5rem 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow: auto; } .authCard { width: min(26rem, 96vw); max-height: 96vh; padding: 2.5rem 2rem; display: flex; justify-content: center; background-color: var(--auth-card-bg); border-radius: 1.25rem; box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.12); overflow-y: auto; overflow-x: hidden; } .authCard::-webkit-scrollbar { display: none; /* WebKit browsers (Chrome, Safari, Edge) */ } .authContent { max-width: 22rem; /* 352px */ width: 100%; }