@charset "utf-8";

/* login */

.nologin footer {
	display: block;
}

main h3 {
	width: calc(100% + 2em);
	margin-left: -1em;
	padding: 2rem 0;
	text-align: center;
}

main h3 img {
	width: 25%;
}

main form {
	max-width: 428px;
	margin: auto;
}

.input_list dd {
	margin: 0.5em 0;
}

.email_wrap,
.password_wrap {
	position: relative;
	display: inline-block;
	width: 100%;
}

.password_wrap a {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 2em;
	height: 1.35em;
	margin: auto;
	text-decoration: none;
}

.email_wrap::before,
.password_wrap::before,
.password_wrap a::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0.5em;
	width: 1em;
	height: 1em;
	line-height: 1em;
	margin: auto;
	font-family: "Font Awesome 6 Free";
	font-size: 135%;
	font-weight: 900;
	color: #f4c01b;
	text-align: center;
}

.email_wrap::before {
	content: "\f0e0";
}

.password_wrap::before {
	content: "\f023";
}

.password_wrap a::after {
	content: "\f06e";
	left: 0;
	right: 0;
	width: 100%;
	font-weight: normal;
	text-align: center;
}

.password_wrap a.show::after {
	content: "\f070";
}

.input_list input[type=text],
.input_list input[type=password] {
	padding: 0.5em 2.5em;
	border-bottom: 1px solid #f4c01b;
	border-radius: 0;
}

.btns a {
	width: 100%;
	margin-top: 0.5em;
}

a.btn_fb {
	display: inline-flex;
	font-size: 100%;
	line-height: calc(1.5 * 1.25);
	justify-content: center;
	align-items: center;
}

a.btn_fb::before {
	content: "\f39e";
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	margin-right: 0.5em;
	background: #1877f2;
	border-radius: 0.25em;
	font-family: "Font Awesome 6 Brands";
	font-weight: 900;
	color: #fff;
	line-height: 1.5em;
	text-align: center;
}

/* dark theme */
.dark .input_list input[type=text],
.dark .input_list input[type=password] {
	background: #000;
}

/* light theme */
.light .input_list input[type=text],
.light .input_list input[type=password] {
	background: #fafafa;
}
