/**
 * NEA Social Login — provider buttons
 */

.nea-soclog-buttons {
	margin: 1em 0 1.25em;
	width: 100%;
	box-sizing: border-box;
}

.nea-soclog-buttons__list {
	display: flex;
	flex-direction: column;
	gap: 0.75em;
}

.nea-soclog-error {
	margin: 0 0 0.75em;
	padding: 0.75em 1em;
	border-left: 4px solid #b32d2e;
	background: #fcf0f1;
	color: #1d2327;
	font-size: 14px;
}

.nea-soclog-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 10px 16px;
	border: 1px solid #dadce0;
	border-radius: 4px;
	background: #fff;
	color: #3c4043;
	font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none !important;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15);
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
	cursor: pointer;
}

.nea-soclog-btn:hover,
.nea-soclog-btn:focus {
	background: #f8f9fa;
	box-shadow: 0 1px 3px rgba(60, 64, 67, 0.25);
	color: #202124;
	text-decoration: none !important;
}

.nea-soclog-btn:focus {
	outline: 2px solid #4285f4;
	outline-offset: 2px;
}

.nea-soclog-btn__icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.nea-soclog-btn__icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.nea-soclog-btn__label {
	flex: 0 1 auto;
}

.nea-soclog-separator {
	display: flex;
	align-items: center;
	gap: 0.75em;
	margin: 0 0 1em;
	color: #757575;
	font-size: 13px;
	text-transform: lowercase;
}

.nea-soclog-separator::before,
.nea-soclog-separator::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e0e0e0;
}

.nea-soclog-separator span {
	flex: 0 0 auto;
}

/* wp-login.php: keep buttons within the narrow form */
.login .nea-soclog-buttons {
	margin-top: 0;
	margin-bottom: 16px;
}

.login .nea-soclog-btn {
	width: 100%;
}

/* WooCommerce checkout wrap (classic + blocks) */
.nea-soclog-checkout-wrap {
	margin-bottom: 1.75em;
}

.nea-soclog-checkout-wrap--blocks {
	margin-top: 0;
	margin-bottom: 1.75em;
	max-width: 100%;
}

/* Checkout invite card */
.nea-soclog-invite {
	box-sizing: border-box;
	margin: 0 0 1.25em;
	padding: 1.5em 1.5em 1.35em;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 12px rgba(16, 24, 40, 0.06);
}

.nea-soclog-invite__body {
	max-width: 36rem;
}

.nea-soclog-invite__title {
	margin: 0 0 0.4em;
	padding: 0;
	color: #1d2327;
	font-size: 1.25rem;
	font-weight: 650;
	line-height: 1.3;
}

.nea-soclog-invite__text {
	margin: 0 0 1.15em;
	padding: 0;
	color: #50575e;
	font-size: 0.95rem;
	line-height: 1.55;
}

.nea-soclog-invite .nea-soclog-buttons {
	margin: 0;
}

.nea-soclog-invite .nea-soclog-buttons__list {
	gap: 0.65em;
}

.nea-soclog-invite .nea-soclog-btn {
	max-width: 100%;
	padding: 12px 18px;
	font-size: 15px;
}

.nea-soclog-checkout-wrap .nea-soclog-separator {
	margin: 0.25em 0 0;
	text-transform: none;
	letter-spacing: 0.01em;
}

@media (max-width: 600px) {
	.nea-soclog-invite {
		padding: 1.15em 1.1em 1.1em;
		border-radius: 6px;
	}

	.nea-soclog-invite__title {
		font-size: 1.125rem;
	}
}
