/* WooCommerce Social Login */

.wcsl-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 20px 0 0;
}

.wcsl-buttons--inline {
	flex-flow: row wrap;
}

.wcsl-buttons--inline .wcsl-button {
	flex: 1 1 180px;
}

.wcsl-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 4px;
	color: currentColor;
	opacity: 0.65;
	font-size: 0.85em;
	text-transform: lowercase;
	flex-basis: 100%;
}

.wcsl-divider::before,
.wcsl-divider::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: currentColor;
	opacity: 0.35;
}

.wcsl-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	min-height: 46px;
	padding: 11px 18px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.wcsl-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.wcsl-button .wcsl-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

.wcsl-button--google {
	background: #fff;
	color: #3c4043;
	border-color: #dadce0;
}

.wcsl-button--google:hover,
.wcsl-button--google:focus {
	background: #f7f8f8;
	border-color: #d2d5d9;
	color: #3c4043;
	box-shadow: 0 1px 3px rgba(60, 64, 67, 0.16);
}

.wcsl-button--facebook {
	background: #1877f2;
	color: #fff;
	border-color: #1877f2;
}

.wcsl-button--facebook:hover,
.wcsl-button--facebook:focus {
	background: #166fe5;
	border-color: #166fe5;
	color: #fff;
}

/* Linked accounts on the Account details page */

.wcsl-connections {
	margin: 32px 0 0;
}

.wcsl-connections__list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	max-width: 460px;
}

.wcsl-connections__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

.wcsl-connections__name {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.wcsl-connections__name .wcsl-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.wcsl-button--facebook .wcsl-icon,
.wcsl-connections__item .wcsl-button--facebook .wcsl-icon {
	color: #fff;
}

.wcsl-connections__status {
	margin-left: auto;
	font-size: 0.85em;
	opacity: 0.7;
}

.wcsl-connections__action {
	margin-left: auto;
	font-size: 0.9em;
}

.wcsl-connections__status + .wcsl-connections__action {
	margin-left: 0;
}

/* wp-login.php */

body.login .wcsl-buttons {
	margin-bottom: 16px;
}

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