/*
 * Control panel pages that wear the forum's layout (login.php).
 * Loaded after the forum's own stylesheets in ../forum-theme/; uses their variables only, so
 * palette changes follow the forum (dark only: data-theme="dark" on <html>). Keep in step with landing/css/main.css
 * ("Shared chrome" section) on the public website.
 */
.nav-main a[aria-current="page"] {
	color: var(--vc-pink);
	font-weight: 600;
}

.vc-header-address {
	float: right;
	margin: 38px 10px 0 0;
}

.headerbar .vc-header-address .button {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.28);
	color: #ffffff;
	padding: 6px 12px;
}

.headerbar .vc-header-address .button .icon {
	color: #ffffff;
}

.headerbar .vc-header-address .button:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: var(--vc-teal);
}

.vc-site .panel {
	border: 1px solid var(--border-color-1);
	margin-bottom: 12px;
	padding: 12px 16px;
}

.vc-site .panel h3 {
	margin-top: 0;
}

/* Messages printed by the login handler (.alert alert-danger / alert-success) */
.vc-site .alert {
	margin: 0 0 12px;
	padding: 10px 14px;
	border: 1px solid var(--border-color-2);
	border-left: 3px solid var(--color-error);
	border-radius: var(--vc-radius-sm);
	background: var(--color-2);
	color: var(--text-color-1);
}

.vc-site .alert-success {
	border-left-color: var(--vc-teal);
}

.vc-site .alert .close {
	display: none;
}

.vc-site .alert font {
	font-size: inherit;
}

.vc-site .alert center {
	text-align: left;
}

.vc-captcha .form-group {
	margin: 0;
}

@media (max-width: 700px) {
	.vc-header-address {
		display: none;
	}

	.vc-site .nav-main > li > a > span {
		display: none;
	}

	.vc-site .nav-main > li > a[aria-current="page"] > span {
		display: inline;
	}
}
