/* Beta Social Login - betagrafic */

.bgsl-wrap {
	margin: 0 0 1.5em;
}

.bgsl-intro {
	margin: 0 0 .75em;
	font-size: .95em;
	line-height: 1.4;
}

.bgsl-group {
	display: flex;
	gap: 10px;
}

.bgsl-group--stacked {
	flex-direction: column;
}

.bgsl-group--inline {
	flex-direction: row;
	flex-wrap: wrap;
}

.bgsl-group--inline .bgsl-btn {
	flex: 1 1 200px;
}

.bgsl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	transition: background-color .15s ease, box-shadow .15s ease;
}

.bgsl-btn:hover,
.bgsl-btn:focus {
	text-decoration: none;
}

.bgsl-btn:focus-visible {
	outline: 2px solid #1a73e8;
	outline-offset: 2px;
}

.bgsl-btn__icon {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.bgsl-btn__label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bgsl-btn--google {
	background: #fff;
	color: #3c4043;
	border-color: #dadce0;
}

.bgsl-btn--google:hover,
.bgsl-btn--google:focus {
	background: #f7f8f8;
	color: #3c4043;
	border-color: #d2d5d9;
}

.bgsl-btn--facebook {
	background: #1877f2;
	color: #fff;
}

.bgsl-btn--facebook:hover,
.bgsl-btn--facebook:focus {
	background: #166fe0;
	color: #fff;
}

.bgsl-privacy {
	margin: .75em 0 0;
	font-size: .8em;
	line-height: 1.45;
	opacity: .8;
}

.bgsl-divider {
	position: relative;
	margin: 1.25em 0 0;
	text-align: center;
}

.bgsl-divider::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: currentColor;
	opacity: .18;
}

.bgsl-divider span {
	position: relative;
	display: inline-block;
	padding: 0 .9em;
	background: #fff;
	font-size: .85em;
	text-transform: lowercase;
	opacity: .7;
}

/* Elenco account collegati nell'area clienti */
.bgsl-linked {
	margin: 0 0 2em;
	padding: 1em 1.25em;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 6px;
}

.bgsl-linked__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bgsl-linked__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	padding: .45em 0;
}

.bgsl-linked__action {
	font-size: .9em;
}

/* Messaggio di esito fuori dal contesto WooCommerce */
.bgsl-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 99999;
	max-width: min(92vw, 480px);
	padding: 12px 18px;
	border-radius: 8px;
	background: #1f2933;
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .22);
}

.bgsl-toast--error {
	background: #b3261e;
}

.bgsl-toast--notice {
	background: #7a4b00;
}

/* Pagina di completamento email */
.bgsl-standalone {
	margin: 0;
	padding: 8vh 20px;
	background: #f2f3f5;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1f2933;
}

.bgsl-card {
	max-width: 420px;
	margin: 0 auto;
	padding: 32px 28px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 18px rgba(0, 0, 0, .08);
}

.bgsl-card__title {
	margin: 0 0 .5em;
	font-size: 22px;
	line-height: 1.25;
}

.bgsl-card__text {
	margin: 0 0 1.25em;
	font-size: 15px;
	line-height: 1.5;
}

.bgsl-card__error {
	margin: 0 0 1em;
	padding: 10px 12px;
	border-radius: 6px;
	background: #fdecea;
	color: #b3261e;
	font-size: 14px;
}

.bgsl-form__label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
}

.bgsl-form__input {
	width: 100%;
	box-sizing: border-box;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #c4c9d0;
	border-radius: 6px;
	font-size: 16px;
}

.bgsl-form__input:focus {
	border-color: #1a73e8;
	outline: 2px solid rgba(26, 115, 232, .25);
	outline-offset: 0;
}

.bgsl-form__submit {
	width: 100%;
	min-height: 46px;
	margin-top: 16px;
	border: 0;
	border-radius: 6px;
	background: #1f2933;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.bgsl-form__submit:hover {
	background: #111a22;
}

.bgsl-card__back {
	margin: 1.25em 0 0;
	font-size: 14px;
	text-align: center;
}

@media (max-width: 480px) {
	.bgsl-group--inline {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bgsl-btn {
		transition: none;
	}
}
