﻿.auth-wrap {
	max-width: 980px;
	margin: 10px auto 30px;
}

.auth-card {
	display: grid;
	grid-template-columns: 5fr 7fr;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

/* Left panel */
.auth-aside {
	background: #1f2327;
	color: #cfd4da;
	padding: 36px 30px;
}

	.auth-aside h3 {
		color: #fff;
		font-weight: bold;
		margin: 0 0 8px;
	}

	.auth-aside .rule {
		width: 50px;
		height: 4px;
		background: #5cb85c;
		margin: 0 0 18px;
	}

.auth-points {
	list-style: none;
	padding: 0;
	margin: 22px 0 0;
}

	.auth-points li {
		display: flex;
		gap: 12px;
		margin-bottom: 16px;
		line-height: 1.5;
	}

	.auth-points .glyphicon {
		color: #5cb85c;
		margin-top: 3px;
	}

	.auth-points strong {
		color: #fff;
	}

/* Right panel */
.auth-main {
	padding: 36px 34px;
}

	.auth-main h2 {
		font-weight: bold;
		color: #1f2327;
		margin: 0 0 4px;
	}

.auth-sub {
	color: #777;
	margin-bottom: 22px;
}

.auth-field {
	margin-bottom: 16px;
}

	.auth-field label {
		font-weight: bold;
		font-size: 13px;
		color: #333;
	}

	.auth-field .form-control {
		height: 42px;
	}

.auth-hint {
	font-size: 12px;
	color: #888;
	margin-top: 4px;
}

.input-wrap {
	position: relative;
}

	.input-wrap .form-control.has-toggle {
		padding-right: 44px;
	}

.pw-toggle {
	position: absolute;
	right: 0;
	top: 0;
	width: 44px;
	height: 42px;
	border: 0;
	background: transparent;
	color: #888;
}

	.pw-toggle:hover, .pw-toggle:focus {
		color: #333;
	}

.field-status {
	font-size: 12px;
	margin-top: 4px;
	min-height: 16px;
}

	.field-status.ok {
		color: #3c763d;
	}

	.field-status.bad {
		color: #a94442;
	}

	.field-status.warn {
		color: #8a6d3b;
	}

.strength {
	height: 6px;
	background: #eee;
	border-radius: 3px;
	overflow: hidden;
	margin-top: 8px;
}

	.strength > div {
		height: 100%;
		width: 0;
		transition: width 0.2s ease, background-color 0.2s ease;
	}

.field-validation-error {
	display: block;
	color: #a94442;
	font-size: 12px;
	margin-top: 4px;
}

.input-validation-error {
	border-color: #a94442;
}

.validation-summary-errors ul {
	margin: 0;
	padding-left: 18px;
}

.auth-submit {
	height: 46px;
	font-size: 16px;
	font-weight: bold;
}

.auth-foot {
	text-align: center;
	margin-top: 18px;
	color: #777;
}

/* Spam trap: invisible to people */
.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 767px) {
	.auth-card {
		grid-template-columns: 1fr;
	}

	.auth-aside {
		padding: 22px 22px 16px;
	}

	.auth-points {
		display: none;
	}

	.auth-main {
		padding: 26px 20px;
	}
}

.auth-illustration {
	display: block;
	width: 100%;
	max-width: 320px;
	height: auto;
	margin: 24px auto 0;
	border-radius: 12px;
}


