/**
 * Sign-in / create-account layout.
 *
 * Deliberately thin. The theme already styles inputs by element type
 * (input[type=text], input[type=email], input[type=password]) with no
 * `.woocommerce` ancestor, so those rules survive the teardown and the fields
 * look native without help. `.bg-featured`, `h2.header-block`, and `.btn` come
 * from dashboard.css and the theme. What is left is the bits WooCommerce's own
 * stylesheet used to provide and no longer will.
 */

.cshp-bb-login__notice {
	border-left: 4px solid #15813e;
	background-color: rgba(0, 138, 81, 0.08);
	padding: 15px 20px;
	margin-bottom: 30px;
}

.cshp-bb-login__notice--error {
	border-left-color: #a12b1f;
	background-color: rgba(161, 43, 31, 0.08);
}

.cshp-bb-login__notice p {
	margin: 0;
}

/* Give the notice a visible focus ring when the redirect anchors to it. */
.cshp-bb-login__notice:focus {
	outline: 2px solid #15813e;
	outline-offset: 2px;
}

.cshp-bb-login__notes {
	margin: 0 0 25px;
	padding-left: 20px;
	font-size: 0.9em;
}

.cshp-bb-login__row {
	margin-bottom: 20px;
}

.cshp-bb-login__row label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
}

.cshp-bb-login__row input[type="text"],
.cshp-bb-login__row input[type="email"],
.cshp-bb-login__row input[type="password"] {
	width: 100%;
}

/* The checkbox row is the one place the label should sit beside the control. */
.cshp-bb-login__row--checkbox label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}

.cshp-bb-login__row--checkbox input {
	width: auto;
	margin: 0;
}

.cshp-bb-login__required {
	color: #a12b1f;
}

.cshp-bb-login__actions {
	margin-bottom: 15px;
}

.cshp-bb-login__lost,
.cshp-bb-login__note {
	margin-bottom: 0;
	font-size: 0.9em;
}

/*
 * Honeypot. `display: none` is what most bots check for, so move it out of view
 * instead; `aria-hidden` on the wrapper and `tabindex="-1"` on the input keep it
 * away from screen readers and the keyboard.
 */
.cshp-bb-login__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Stack the two columns with breathing room once they wrap. */
@media (max-width: 767px) {
	.cshp-bb-login .col-12 + .col-12 {
		margin-top: 40px;
	}
}
