html, body, form {
	margin: 0;
	padding: 0;
	font-family: 'Source Sans Pro', sans-serif;
	color: #333;
}

form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	min-height: 100vh;
}

.card {
	display: flex;
	flex-direction: column;
	justify-content: left;
	background-color: #ffffff;
	border: 0;
	border-radius: 2px;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px
		rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
	background-color: #ffffff;
}

.card__head {
	padding: 1em 1em 0 1em;
}

.card__content {
	padding: 0 1em 1em 1em;
}

.card__action {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	align-items: center;
	padding: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.sign-in {
	width: 90%;
	min-width: 200px;
	max-width: 600px;
	text-align: left;
}

.product-label {
	font-size: 1.2rem;
	margin-left: 30px;
	color: #8e259d;
	display: block;
}

.title {
	font-weight: 300;
	font-size: 1.2rem;
	margin-left: 8px;
}

.textfield {
	overflow: hidden;
	border: 0;
	position: relative;
	height: 48px;
	margin: 4px 0 0 0;
	margin: 8px;
}

.textfield__input {
	background: rgba(0, 0, 0, 0.04);
	border-radius: 4px 4px 0 0;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.42);
	color: rgba(0, 0, 0, 0.87);
	font-size: 1rem;
	font-weight: 400;
	width: 100%;
	height: 100%;
	line-height: 1.75rem;
	padding: 20px 16px 1px;
	box-sizing: border-box;
	display: block;
	outline: 0;
}

.textfield__input:focus {
	padding-bottom: 0;
	border-bottom: 2px solid #8e258d;
	background: rgba(0, 0, 0, 0.1);
}

.textfield__input:hover {
	background: rgba(0, 0, 0, 0.1);
}

.textfield__input:focus ~.textfield__label {
	color: #8e258d;
}

.textfield__label {
	position: absolute;
	top: 0;
	left: 10px;
	color: #757575;
	font-size: 0.8rem;
	font-weight: normal;
	pointer-events: none;
	transition: .2s ease all;
	-moz-transition: .2s ease all;
	-webkit-transition: .2s ease all;
}

.checkbox {
	margin: 8px;
}

.checkbox__input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.checkbox__span {
	position: relative;
	padding-left: 35px;
	cursor: pointer;
	display: inline-block;
	height: 20px;
	line-height: 20px;
	font-size: 0.8rem;
	user-select: none;
}

.checkbox__input+.checkbox__span:before, .checkbox__input+.checkbox__span:after
	{
	content: '';
	left: 0;
	position: absolute;
	transition: background-color .25s;
	z-index: 1;
}

.checkbox__input:checked+.checkbox__span:before {
	top: 0;
	left: 0;
	width: 5px;
	height: 12px;
	border-top: 2px solid transparent;
	border-left: 2px solid transparent;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotateZ(37deg);
	transform-origin: 100% 100%;
}

.checkbox__input:not(:checked)+.checkbox__span:after {
	top: 0;
	width: 16px;
	height: 16px;
	border: 2px solid #8d258e;
	background-color: transparent;
}

.checkbox__input:focus+.checkbox__span:after {
	background-color: rgba(0, 0, 0, 0.1);
}

.checkbox__input:checked+.checkbox__span:after {
	top: 0;
	width: 16px;
	height: 16px;
	border: 2px solid #8d258e;
	background-color: #8d258e;
	z-index: 0;
}

.button {
	text-decoration: none;
	color: #fff;
	background-color: #8d258e;
	text-align: center;
	letter-spacing: .5px;
	font-size: .8rem;
	border: 0;
	border-radius: 2px;
	height: 36px;
	line-height: 36px;
	padding: 0 16px;
	vertical-align: middle;
	text-transform: uppercase;
	outline: 0;
	box-shadow: 0 2px 2px 0 rgb(0 0 0/ 14%), 0 3px 1px -2px rgb(0 0 0/ 12%),
		0 1px 5px 0 rgb(0 0 0/ 20%);
	transition: background-color .2s ease-out;
	cursor: pointer;
}

.button:focus {
	background-color: #8d258ea6;
	box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px
		rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}

.button-flat, .button-flat:link, .button-flat:visited {
	background-color: transparent;
	color: #8e258d;
	box-shadow: none;
	transition: all .1s;
}

.button-flat:focus, .button-flat:hover {
	background-color: rgba(0, 0, 0, 0.08);
	color: #8e258d;
	box-shadow: none;
}

#errorMessage {
	color: #721c24;
	background-color: #f8d7da;
	border-radius: 2px;
	border: 1px solid #f5c6cb;
	padding: 8px;
	margin: 8px;
	font-size: 0.8rem;
}

#successMessage {
	color: #155724;
	background-color: #d4edda;
	border-radius: 2px;
	border: 1px solid #c3e6cb;
	padding: 8px;
	margin: 8px;
	font-size: 0.8rem;
}

.hidden {
	display: none;
}

footer {
	position: absolute;
	bottom: 0px;
	width: 100%;
	display: flex;
	justify-content: center;
}

footer>* {
	font-size: 0.75rem;
	color: rgba(0, 0, 0, 0.3);
	margin: 5px;
	text-decoration: none;
}