/* Social login buttons — WP login & Ultimate Member */

.big-social-buttons {
	margin: 1.25rem 0 0;
	width: 100%;
	box-sizing: border-box;
}

.big-social-buttons__divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1rem;
	color: #646970;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
}

.big-social-buttons__divider::before,
.big-social-buttons__divider::after {
	content: "";
	flex: 1 1 auto;
	border-top: 1px solid #dcdcde;
}

.big-social-buttons__divider span {
	flex: 0 0 auto;
}

.big-social-buttons__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.big-social-buttons__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: 100%;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.55rem 1rem;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background: #fff;
	color: #1d2327;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.big-social-buttons__button:hover,
.big-social-buttons__button:focus {
	background: #f6f7f7;
	border-color: #8c8f94;
	color: #1d2327;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.big-social-buttons__button:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.big-social-buttons__icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.big-social-buttons__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.big-social-buttons__button--google {
	border-color: #dadce0;
}

.big-social-buttons__button--apple {
	background: #000;
	border-color: #000;
	color: #fff;
}

.big-social-buttons__button--apple:hover,
.big-social-buttons__button--apple:focus {
	background: #1d1d1f;
	border-color: #1d1d1f;
	color: #fff;
}

/* wp-login.php layout tweaks */
.login .big-social-buttons {
	margin-top: 16px;
}

.login .big-social-notice--error {
	border-left: 4px solid #d63638;
	padding: 12px;
	margin-left: 0;
	margin-bottom: 20px;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.login .big-social-notice--error p {
	margin: 0;
	color: #1d2327;
	font-size: 14px;
	line-height: 1.5;
}

/* UM register mode chooser (Email / Google / Apple) */
.big-social-register-mode {
	margin: 0 0 1.25rem;
	width: 100%;
	box-sizing: border-box;
}

.big-social-register-mode__heading {
	margin: 0 0 0.65rem;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #1d2327;
}

.big-social-register-mode__options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.big-social-register-mode__option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 44px;
	padding: 0.5rem 0.85rem;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background: #fff;
	color: #1d2327;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.big-social-register-mode__option:hover,
.big-social-register-mode__option:focus {
	background: #f6f7f7;
	border-color: #8c8f94;
}

.big-social-register-mode__option:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.big-social-register-mode__option.is-selected {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	background: #f0f6fc;
}

.big-social-register-mode__option--google.is-selected {
	border-color: #4285f4;
	box-shadow: 0 0 0 1px #4285f4;
}

.big-social-register-mode__option--apple.is-selected {
	border-color: #1d1d1f;
	box-shadow: 0 0 0 1px #1d1d1f;
	background: #1d1d1f;
	color: #fff;
}

.big-social-register-mode__icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.big-social-register-mode__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.um-field.big-social-field--mode-hidden {
	display: none !important;
}

/* Ultimate Member forms */
.um .big-social-buttons {
	margin-top: 20px;
	margin-bottom: 8px;
}

.um .big-social-um-connections {
	margin: 1.5rem 0 0;
	max-width: 420px;
}

.um .big-social-um-connections .big-social-buttons {
	margin-top: 12px;
	margin-bottom: 0;
}

.um .big-social-um-connections__list {
	list-style: none;
	margin: 0 0 0.5em;
	padding: 0;
}

.um .big-social-um-connections__item {
	margin: 0 0 0.4em;
}

.um .big-social-um-connections__unlink {
	margin-left: 0.5em;
}

.um .big-social-um-connections__hint,
.um .big-social-um-connections__empty {
	margin: 0 0 0.75em;
	font-size: 13px;
	line-height: 1.5;
	color: #646970;
}

.um .big-social-notice--error,
.um-profile .big-social-notice--error,
.um-account .big-social-notice--error {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 4px;
	border: 1px solid #f0b7b8;
	background: #fcf0f1;
	color: #3c434a;
}

.um .big-social-notice--error p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}
