html {
	height: 100%;
}

body.signin {
	height: auto;
	min-height: 100%;
	background: #14110f;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

/* Mindifeels 轻奢登录 */
.mf-login {
	position: relative;
	overflow: hidden;
	font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	color: #f4efe6;
	background:
		radial-gradient(ellipse 80% 60% at 15% 20%, rgba(184, 146, 90, 0.22), transparent 55%),
		radial-gradient(ellipse 70% 50% at 85% 75%, rgba(90, 58, 42, 0.45), transparent 50%),
		linear-gradient(145deg, #1a1612 0%, #0e0c0b 48%, #1c1713 100%);
}

.mf-login__glow {
	position: fixed;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
	z-index: 0;
	animation: mfFloat 12s ease-in-out infinite;
}

.mf-login__glow--a {
	width: 420px;
	height: 420px;
	top: -80px;
	left: -60px;
	background: rgba(201, 162, 98, 0.18);
}

.mf-login__glow--b {
	width: 360px;
	height: 360px;
	right: -40px;
	bottom: -40px;
	background: rgba(120, 72, 48, 0.28);
	animation-delay: -4s;
}

.mf-login__grain {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.08;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes mfFloat {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(18px, -12px); }
}

.signinpanel {
	position: relative;
	z-index: 1;
	width: 860px;
	margin: 8% auto 0;
	color: rgba(244, 239, 230, 0.95);
}

.mf-panel__row {
	align-items: stretch;
}

.signinpanel .logopanel {
	float: none;
	width: auto;
	padding: 0;
	background: 0 0;
}

.mf-brand {
	padding: 28px 24px 20px 8px;
	animation: mfFadeUp 0.8s ease both;
}

.mf-brand__mark {
	width: 48px;
	height: 48px;
	border: 1px solid rgba(212, 175, 106, 0.65);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 22px;
	letter-spacing: 0.04em;
	color: #e8c985;
	margin-bottom: 22px;
	box-shadow: 0 0 0 6px rgba(212, 175, 106, 0.06);
}

.mf-brand__eyebrow {
	margin: 0 0 10px;
	font-size: 11px;
	letter-spacing: 0.32em;
	color: rgba(232, 201, 133, 0.75);
	font-weight: 400;
}

.mf-brand__name {
	margin: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 52px;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1;
	color: #f7f0e4;
}

.mf-brand__cn {
	margin: 12px 0 18px;
	font-size: 22px;
	font-weight: 300;
	letter-spacing: 0.28em;
	color: #d4af6a;
}

.mf-brand__desc {
	max-width: 340px;
	margin: 0 0 26px;
	font-size: 14px;
	line-height: 1.75;
	color: rgba(244, 239, 230, 0.68);
	font-weight: 300;
}

.signinpanel .signin-info ul,
.mf-brand__list {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.mf-brand__list li {
	margin: 10px 0;
	font-size: 13px;
	color: rgba(244, 239, 230, 0.78);
	letter-spacing: 0.04em;
}

.mf-brand__list .fa {
	color: #d4af6a;
	width: 18px;
}

.mf-brand a {
	color: #e8c985;
}

.signinpanel .form-control {
	display: block;
	margin-top: 15px;
	height: 42px;
	border: 1px solid rgba(212, 175, 106, 0.28);
	border-radius: 2px;
	box-shadow: none;
	background: rgba(255, 252, 246, 0.94);
	color: #2a241c;
}

.signinpanel .form-control:focus {
	border-color: #c9a262;
	box-shadow: 0 0 0 3px rgba(201, 162, 98, 0.18);
}

.signinpanel .uname {
	background: #fff url(../img/user.png) no-repeat 95% center;
	color: #333;
}

.signinpanel .pword {
	background: #fff url(../img/locked.png) no-repeat 95% center;
	color: #333;
}

.signinpanel .code {
	background: #fff no-repeat 95% center;
	color: #333;
	margin: 0 0 15px 0;
}

.signinpanel .btn {
	margin-top: 15px;
}

.signinpanel form,
.mf-form {
	background: rgba(32, 27, 22, 0.72);
	border: 1px solid rgba(212, 175, 106, 0.28);
	-moz-box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	-webkit-box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 34px 30px 30px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	animation: mfFadeUp 0.9s ease 0.12s both;
}

.mf-form__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 28px;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: #f7f0e4;
}

.mf-form__sub {
	margin-top: 8px !important;
	margin-bottom: 8px;
	font-size: 13px;
	color: rgba(244, 239, 230, 0.55);
	letter-spacing: 0.04em;
}

.mf-form__btn,
.mf-form .btn-success {
	background: linear-gradient(135deg, #c9a262 0%, #a67c3a 100%) !important;
	border: none !important;
	border-radius: 2px !important;
	height: 44px;
	font-size: 15px;
	letter-spacing: 0.28em;
	text-indent: 0.28em;
	color: #1a140e !important;
	font-weight: 500;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.mf-form__btn:hover,
.mf-form__btn:focus,
.mf-form .btn-success:hover,
.mf-form .btn-success:focus {
	filter: brightness(1.06);
	box-shadow: 0 10px 24px rgba(166, 124, 58, 0.35);
	transform: translateY(-1px);
	color: #1a140e !important;
}

.mf-form .checkbox-custom label {
	color: rgba(244, 239, 230, 0.7);
	font-weight: 300;
}

.signup-footer,
.mf-footer {
	border-top: solid 1px rgba(212, 175, 106, 0.2);
	margin: 24px 0;
	padding-top: 16px;
	font-size: 12px;
	letter-spacing: 0.04em;
	color: rgba(244, 239, 230, 0.45);
}

@keyframes mfFadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 768px) {
	.signinpanel,
	.signuppanel {
		margin: 0 auto;
		width: 380px !important;
		padding: 20px;
	}
	.signinpanel form {
		margin-top: 20px;
	}
	.signup-footer,
	.signuppanel .form-control {
		margin-bottom: 10px;
	}
	.signup-footer .pull-left,
	.signup-footer .pull-right {
		float: none !important;
		text-align: center;
	}
	.signinpanel .signin-info ul,
	.mf-brand__list {
		display: none;
	}
	.mf-brand__name {
		font-size: 40px;
	}
}

@media screen and (max-width: 320px) {
	.signinpanel,
	.signuppanel {
		margin: 0 20px;
		width: auto;
	}
}

.checkbox-custom {
	position: relative;
	padding: 0 15px 0 25px;
	margin-bottom: 7px;
	display: inline-block;
}

.checkbox-custom input[type="checkbox"] {
	opacity: 0;
	position: absolute;
	cursor: pointer;
	z-index: 2;
	margin: -6px 0 0 0;
	top: 50%;
	left: 3px;
}

.checkbox-custom label:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -9px;
	width: 18px;
	height: 17px;
	display: inline-block;
	border-radius: 2px;
	border: 1px solid #bbb;
	background: #fff;
}

.checkbox-custom input[type="checkbox"]:checked + label:after {
	position: absolute;
	display: inline-block;
	font-family: 'Glyphicons Halflings';
	content: "\e013";
	top: 42%;
	left: 3px;
	margin-top: -5px;
	font-size: 11px;
	line-height: 1;
	width: 16px;
	height: 16px;
	color: #a67c3a;
}

.checkbox-custom label {
	cursor: pointer;
	line-height: 1.2;
	font-weight: normal;
	margin-bottom: 0;
	text-align: left;
}
