/**
 * Inclusive Bytes Access Requests
 * Deliberately light-touch so the form inherits the active theme.
 */

.ib-access-form-wrap {
	max-width: 32rem;
}

.ib-access-title {
	margin-top: 0;
}

.ib-access-intro {
	margin-bottom: 1.25em;
}

.ib-access-field {
	display: block;
	margin-bottom: 1.25em;
}

.ib-access-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.ib-access-field input[type="text"],
.ib-access-field input[type="email"],
.ib-access-field textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0.5em 0.6em;
	font: inherit;
	line-height: 1.4;
}

.ib-access-field textarea {
	resize: vertical;
}

.ib-access-required {
	font-weight: 400;
	opacity: 0.75;
}

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.ib-access-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ib-access-notice {
	margin: 0 0 1.5em;
	padding: 0.75em 1em;
	border-left: 4px solid #2271b1;
	background: #f0f6fc;
}

.ib-access-notice p {
	margin: 0;
}

.ib-access-notice--error {
	border-left-color: #d63638;
	background: #fcf0f1;
}

/* Login screen */
/* Sits with #nav ("Lost your password?"), so match its placement. */
.login .ib-access-login-link {
	margin: -12px 0 0;
	padding: 0 24px;
	font-size: 13px;
}

.login .ib-access-login-notice--error {
	border-left-color: #d63638;
}

.login .ib-access-login-screen {
	background: #fff;
	margin-left: 0;
	padding: 26px 24px 34px;
	font-weight: 400;
	overflow: hidden;
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.login .ib-access-form-wrap {
	max-width: none;
}

.login .ib-access-form-wrap .ib-access-intro {
	font-size: 13px;
}

.login .ib-access-submit {
	margin-bottom: 0;
	text-align: right;
}

@media (prefers-color-scheme: dark) {
	.ib-access-notice {
		background: rgba(34, 113, 177, 0.12);
	}

	.ib-access-notice--error {
		background: rgba(214, 54, 56, 0.12);
	}
}
