/* variables */

:root {
	--text-color: rgb(50, 50, 50);
	--brand-color: #fcac04;
	--brand-color-dark: #fc8304;
	--success-color: rgb(106, 149, 41);
	--error-color: rgb(208, 2, 27);
	--warning-color: rgb(252, 122, 30);
	--light-gray: rgb(200, 200, 200);
}

/* font imports */

@font-face {
	font-family: "Nunito Sans";
	src: url("../Nunito_Sans/NunitoSans-Regular.ttf") format("truetype");
	font-weight: normal;
}

@font-face {
	font-family: "Nunito Sans";
	src: url("../Nunito_Sans/NunitoSans-Bold.ttf") format("truetype");
	font-weight: bold;
}

/* boilerplate */

* {
	box-sizing: border-box;
}

body {
	font-size: 14px;
	font-family: "Nunito Sans", sans-serif;
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0 0 1rem 0;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

hr {
	background-color: var(--text-color);
}

label {
	font-size: 0.875rem;
	text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"] {
	display: block;
	width: 100%;
	color: rgb(0,0,0);
	background-color: rgba(0,0,0,0);
	border: 1px solid rgb(118, 118, 118);
	border-radius: 0.25rem;
	padding: 0.5rem;
}

input,
select {
	max-width: 24rem;
}

input:focus,
select:focus {
	outline: none;
	border: 1px solid var(--brand-color);
}

input[type="submit"],
button {
	width: 100%;
	border: none;
}

/* global styles */

.form-row,
.pb-1 {
	padding-bottom: 1rem;
}

.btn {
	/* redundant properties so that a, button,
	and input[type="submit"] all look the same */
	display: block;
	color: #fff;
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.875rem;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	background-color: var(--brand-color);
	border-radius: 0.375rem;
	padding: 0.5rem 1rem;
	transition: all 0.25s ease;
}

.btn:hover {
	background-color: var(--brand-color-dark);
	cursor: pointer;
}

.text-link {
	color:var(--brand-color-dark);
}

.text-link:hover {
	color: var(--brand-color);
	text-decoration: underline;
}

.display-none {
	display: none !important;
}

.error,
.error-color {
	color: var(--error-color);
}

.success-color {
	color: var(--success-color);
}

.captcha {
	vertical-align: middle;
}

/* layout */

.page {
	height: 100vh;
	min-width: 24rem;
	padding: 0 1.5rem;
	background-color: #909090;
}

main {
	display: flex;
	justify-content: center;
	padding-top: 3rem;
}

.auth-dialog {
	width: 24rem;
	padding: 1rem 1.5rem;
	background-color: #F6F6F6;
	box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
}

.auth-logo {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

.auth-logo > img {
	width: 12rem;
}

.top {
	min-height: 14rem;
}

.bottom {
	min-height: 6rem;
	font-size: 0.875rem;
}

.bottom a {
	font-weight: bold;
}

label[for="id_isInstaller"],
label[for="id_role_0"],
label[for="id_role_1"],
label[for="id_dailyReport"],
label[for="id_monthlyReport"] {
	text-transform: none;
}

/* status code pages */

.status-code li {
	padding-bottom: 1rem;
}
