html {
	height: auto;
	overflow-y: auto;
}

body {
	background-color: var(--bgColor);
	display: flex;
	justify-content: center;
	align-items: top;
	min-height: calc(100vh - 120px);
	box-sizing: border-box;
	margin: 0;
	color: var(--color);
	overflow: auto;
}

.login-page {
	padding: 2em;
	margin-top: 0;
	max-height: calc(100vh - 120px);
}


.login-page .header-bar {
	justify-content: center;
	margin-bottom: 1em;
}


.login-page .auth-option {
	width: calc(100% - 2em);
}


.login-page .auth-form {
	text-align: center;
}

.login-page .auth-form button {
	width: 100%;
	display: block;
	margin: 0.5em auto;
}

.login-page .sticky-banner .auth-button {
	display: none;
}

.login-page .auth-form .auth-button {
        position: static;
        width: 100%;
        display: block;
        margin: 0.5em auto;
}

.login-page .auth-form .auth-button[disabled]
{
	opacity: 0.5;
	cursor: not-allowed;
}


.container {
	width: 100%;
	max-width: 360px;
}

h1 {
	font-size: 32px;
	font-weight: 700;
	margin: 8px 0 24px;
}

.subtext {
	color: #999;
	font-size: 14px;
}

input[type="email"],
input[type="password"] {
	width: 100%;
	padding: 14px 16px;
	margin-bottom: 16px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
}

.checkbox-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	font-size: 14px;
}

.checkbox-group label {
	display: flex;
	align-items: center;
	gap: 8px;
}

.checkbox-group a {
	text-decoration: none;
	color: #2979ff;
}

.google-button {
	width: 100%;
	padding: 0.7em;
	font-size: 14px;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #fff;
	border: none;
	background-color: var(--highlightColor);
	background-image: linear-gradient(45deg, var(--highlightColor), var(--accentColor));
	background-size: 0% 100%;
	background-repeat: no-repeat;
	background-position: left;
	transition: background-size 0.5s;
}

.google-button:hover {
	background-size: 100% 100%;
}

.footer {
	text-align: center;
	font-size: 14px;
	color: #999;
	margin-top: 16px;
	margin-bottom: 180px;
}

.footer a {
	color: #2979ff;
	text-decoration: none;
	margin-left: 4px;
}

.settings-option-section
{
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #ddd;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.settings-section-title
{
	font-size: 20px;
	margin: 0;
	font-weight: 600;
}

.two-factor-option,
.install-app-option
{
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.two-factor-status
{
	margin: 0;
}

.settings-option-section .auth-button
{
	position: static;
	display: block;
	width: 100%;
	margin: 0;
}

.settings-option-section .auth-button.install-complete
{
	opacity: 0.6;
	cursor: pointer;
}
