/*
 * Login / registration pages. Visual language ported from astral.rip
 * (XenForo + ThemeHouse io_dark): 33/67 label-value rows, #313742 cards,
 * #3B414B fields, 8px radii, gradient primary button.
 * Loaded only by login.php / register.php, after the forum style, so every
 * selector is scoped by .ae-auth to beat ".pun input[type=...]" rules.
 */

.ae-auth {
	color: #E0E6F0;
	font-size: 13px;
	line-height: 1.5;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	padding: 12px 0 40px;
	}

.ae-auth * {
	box-sizing: border-box;
	}

.ae-auth .ae-title {
	margin: 0 0 18px;
	padding: 0;
	font-size: 36px;
	font-weight: 400;
	line-height: 1.2;
	color: #E0E6F0;
	}

.ae-auth a {
	color: #C6CEDC;
	text-decoration: none;
	}

.ae-auth a:hover,
.ae-auth a:focus {
	color: #E0E6F0;
	text-decoration: underline;
	}

/* Flash messages --------------------------------------------------------- */

.ae-flash {
	position: relative;
	display: block;
	margin: 0 0 20px;
	padding: 14px 18px 14px 66px;
	min-height: 52px;
	background: #FDE9E9;
	color: #C84448;
	border-left: 2px solid #C84448;
	border-radius: 8px;
	box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
	}

.ae-flash .ae-flash-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	margin-top: -17px;
	width: 34px;
	height: 34px;
	color: #C84448;
	}

.ae-flash .ae-flash-title {
	display: block;
	font-weight: 700;
	margin-bottom: 4px;
	}

.ae-flash ul {
	list-style: none;
	margin: 0;
	padding: 0;
	}

.ae-flash li {
	margin: 2px 0;
	font-weight: 400;
	}

.ae-flash li strong {
	font-weight: 400;
	}

.ae-flash--info {
	background: #3B414B;
	color: #BDC6DB;
	border-left-color: #E0E6F0;
	}

.ae-flash--info .ae-flash-icon {
	color: #E0E6F0;
	}

/* Card ------------------------------------------------------------------- */

.ae-card {
	display: block;
	background: #313742;
	border-radius: 8px;
	box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
	overflow: hidden;
	}

.ae-card form {
	margin: 0;
	}

.ae-row {
	display: table;
	table-layout: fixed;
	width: 100%;
	}

.ae-row > .ae-label {
	display: table-cell;
	vertical-align: top;
	width: 33%;
	padding: 15px;
	text-align: right;
	background: #3B414B;
	border-right: 1px solid #4D5460;
	}

.ae-row > .ae-value {
	display: table-cell;
	vertical-align: top;
	width: 67%;
	padding: 15px;
	}

.ae-row--input > .ae-label {
	padding-top: 21px;
	}

.ae-auth .ae-label label,
.ae-auth .ae-label .ae-label-text {
	display: inline-block;
	padding: 0;
	margin: 0;
	font-weight: 600;
	font-size: 13px;
	color: #E0E6F0;
	background: none;
	border: none;
	cursor: pointer;
	}

.ae-auth .ae-label label:after {
	content: ":";
	}

.ae-auth .ae-label label.ae-label--sentence:after {
	content: "";
	}

.ae-auth .ae-req {
	display: block;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	color: #959FB4;
	}

.ae-auth .ae-explain {
	display: block;
	margin: 10px 0 0;
	font-size: 12px;
	font-weight: 400;
	color: #959FB4;
	}

/* Inputs ----------------------------------------------------------------- */

.ae-auth input.ae-input,
.ae-auth select.ae-input {
	display: block;
	width: 100%;
	margin: 0;
	padding: 7px 8px;
	font-size: 13px;
	font-family: inherit;
	line-height: 1.4;
	color: #E0E6F0;
	background-color: #3B414B;
	border: 1px solid #4D5460;
	border-radius: 8px;
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
	-webkit-appearance: none;
	appearance: none;
	transition: all .2s ease;
	}

.ae-auth input.ae-input:hover,
.ae-auth select.ae-input:hover {
	background-color: #3B414B;
	color: #E0E6F0;
	}

.ae-auth input.ae-input:focus,
.ae-auth select.ae-input:focus {
	border-color: #C6CEDC;
	background-color: #3B414B;
	color: #E0E6F0;
	outline: none;
	}

.ae-group {
	display: flex;
	align-items: stretch;
	width: 100%;
	}

.ae-group input.ae-input {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-right: none;
	}

.ae-auth .ae-toggle {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	max-width: none;
	margin: 0;
	padding: 0 12px;
	min-width: 62px;
	font-size: 12px;
	font-weight: 400;
	color: #E0E6F0;
	background: #3B414B;
	border: 1px solid #4D5460;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	}

.ae-auth .ae-toggle:hover {
	background: #3F454F;
	}

.ae-auth .ae-toggle svg {
	width: 15px;
	height: 15px;
	margin-right: 5px;
	flex: 0 0 auto;
	}

.ae-auth .ae-toggle .ae-eye-off {
	display: none;
	}

.ae-auth .ae-toggle.is-shown .ae-eye-on {
	display: none;
	}

.ae-auth .ae-toggle.is-shown .ae-eye-off {
	display: inline;
	}

.ae-auth .ae-check {
	display: inline-flex;
	align-items: center;
	padding: 0;
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	color: #E0E6F0;
	cursor: pointer;
	}

.ae-auth input[type=checkbox].ae-check-box {
	visibility: visible;
	position: static;
	width: 16px;
	height: 16px;
	margin: 0 8px 0 0;
	padding: 0;
	clip: auto;
	border: 1px solid #4D5460;
	border-radius: 4px;
	background-color: #3B414B;
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease;
	}

.ae-auth input[type=checkbox].ae-check-box:hover {
	border-color: #7C8698;
	}

.ae-auth input[type=checkbox].ae-check-box:checked {
	background-color: #C6CEDC;
	border-color: #C6CEDC;
	box-shadow: none;
	}

.ae-auth input[type=checkbox].ae-check-box:checked::after {
	content: "";
	display: block;
	width: 4px;
	height: 8px;
	margin: 1px auto 0;
	border: solid #2A2F3A;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	}

.ae-auth .ae-sub {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	}

/* Submit row ------------------------------------------------------------- */

.ae-row--submit {
	position: relative;
	display: block;
	}

.ae-submit-bar {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(63, 69, 79, 0.9);
	border-top: 1px solid #4D5460;
	}

.ae-submit-controls {
	position: relative;
	padding: 10px 15px;
	text-align: center;
	}

.ae-auth .ae-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	height: 35px;
	padding: 0 15px;
	font-size: 13px;
	font-family: inherit;
	line-height: 35px;
	color: #E0E6F0;
	background: rgba(224, 230, 240, 0.1);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
	transition: all .2s ease;
	}

.ae-auth .ae-btn--primary {
	color: #2A2F3A;
	background: linear-gradient(#E0E6F0, #C3CBD8);
	box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
	}

.ae-auth .ae-btn--primary:hover,
.ae-auth .ae-btn--primary:focus {
	background: linear-gradient(#B4BCCA, #A5AEBC);
	}

.ae-auth .ae-btn--primary:active {
	background: linear-gradient(#A5AEBC, #98A2B1);
	}

.ae-auth .ae-btn.is-disabled {
	color: #959FB4;
	background: rgba(0, 0, 0, 0.12);
	box-shadow: none;
	cursor: default;
	font-style: normal;
	}

.ae-btn svg {
	width: 15px;
	height: 15px;
	margin-right: 7px;
	}

/* Under the card --------------------------------------------------------- */

.ae-after {
	padding: 15px 0 0;
	text-align: center;
	font-size: 13px;
	}

/* Password strength ------------------------------------------------------ */

.ae-auth .ae-meter {
	display: block;
	width: 100%;
	height: 6px;
	margin: 8px 0 0;
	background: #A7AFC1;
	border: none;
	border-radius: 3px;
	overflow: hidden;
	-webkit-appearance: none;
	appearance: none;
	}

.ae-auth .ae-meter::-webkit-meter-bar {
	background: #A7AFC1;
	border: none;
	height: 6px;
	}

.ae-auth .ae-meter::-webkit-meter-even-less-good-value {
	background: #C84448;
	}

.ae-auth .ae-meter::-webkit-meter-suboptimum-value {
	background: #DCDA54;
	}

.ae-auth .ae-meter::-webkit-meter-optimum-value {
	background: #63B265;
	}

.ae-auth .ae-meter-label {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #959FB4;
	}

/* Modal (register) ------------------------------------------------------- */

.ae-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 400;
	background: rgba(0, 0, 0, 0.55);
	}

.ae-overlay {
	position: relative;
	z-index: 500;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	padding: 0 15px;
	}

.ae-modal .ae-card {
	box-shadow: none;
	}

.ae-modal .ae-flash {
	margin: 15px 15px 0;
	}

.ae-modal {
	display: block;
	width: 100%;
	max-width: 820px;
	background: #313742;
	border-radius: 8px;
	box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
	overflow: hidden;
	}

.ae-modal-title {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 15px;
	font-size: 17px;
	font-weight: 700;
	color: #E0E6F0;
	background: #3F454F;
	border-bottom: 1px solid #4D5460;
	}

.ae-auth .ae-modal-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	margin: 0 0 0 10px;
	color: #E0E6F0;
	background: none;
	border: none;
	cursor: pointer;
	text-decoration: none;
	}

.ae-auth .ae-modal-close:hover {
	color: #FFFFFF;
	}

.ae-auth .ae-modal-close svg {
	width: 16px;
	height: 16px;
	}

.ae-auth .ae-modal-foot {
	padding: 12px 15px;
	text-align: center;
	font-size: 13px;
	color: #959FB4;
	}

/* Inside the site's gate overlay the modal fills the panel ---------------- */

body.ae-embed {
	background: #313742;
	}

body.ae-embed .ae-backdrop {
	display: none;
	}

body.ae-embed .ae-auth {
	max-width: none;
	padding: 0;
	}

body.ae-embed .ae-overlay {
	padding: 0;
	}

body.ae-embed .ae-modal {
	max-width: none;
	border-radius: 0;
	box-shadow: none;
	}

/* reCAPTCHA / fluxBB hook markup inside the card ------------------------- */

.ae-auth .ae-value .inform {
	margin: 0;
	padding: 0;
	}

.ae-auth .ae-value fieldset {
	margin: 0;
	padding: 0;
	border: none;
	}

.ae-auth .ae-value legend {
	display: none;
	}

.ae-auth .ae-value .infldset {
	padding: 0;
	}

.ae-auth .ae-value .infldset p {
	margin: 0 0 10px;
	padding: 0;
	font-size: 13px;
	color: #E0E6F0;
	}

/* Narrow screens --------------------------------------------------------- */

@media (max-width: 720px) {
	.ae-row {
		display: block;
		}

	.ae-row > .ae-label,
	.ae-row > .ae-value {
		display: block;
		width: auto;
		padding: 8px 15px;
		text-align: left;
		border-right: none;
		}

	.ae-row > .ae-label {
		padding-bottom: 0;
		}

	.ae-row--input > .ae-label {
		padding-top: 8px;
		}

	.ae-auth .ae-label label {
		padding-bottom: 0;
		}

	.ae-auth .ae-title {
		font-size: 28px;
		}
	}
