/**
 * [bd_sso_login_button] — front-end styles.
 *
 * Deliberately restrained: this button sits next to a theme-styled login form,
 * usually a Divi Login module, so it borrows spacing and shape rather than
 * imposing a palette. Colours come from currentColor and a neutral border, so
 * the button reads as part of whatever surrounds it instead of fighting it.
 */

.bd-sso-login {
	margin: 16px 0 0;
}

.bd-sso-login__heading {
	margin: 0 0 8px;
	font-weight: 600;
}

.bd-sso-login__button {
	display: inline-block;
	box-sizing: border-box;
	padding: 10px 18px;
	border: 1px solid currentColor;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.15s ease-in-out;
}

.bd-sso-login__button:hover,
.bd-sso-login__button:focus {
	opacity: 0.75;
	text-decoration: none;
}

.bd-sso-login__note {
	margin: 8px 0 0;
	font-size: 0.875em;
	opacity: 0.75;
}

/* Curated list: one full-width button per institution. */
.bd-sso-login__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bd-sso-login__item {
	margin: 0 0 8px;
}

.bd-sso-login__item .bd-sso-login__button {
	display: block;
	width: 100%;
	text-align: left;
}

.bd-sso-login__fallback {
	margin: 12px 0 0;
	font-size: 0.875em;
}

/* Directory: select plus submit, wrapping on narrow screens. */
.bd-sso-login__form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.bd-sso-login__select {
	flex: 1 1 220px;
	min-width: 0;
	max-width: 100%;
}
