/* =========================================================
   WC Social Login - 프론트엔드 스타일
   ========================================================= */

.wcsl-social-buttons {
	margin: 16px 0;
	width: 100%;
}

/* 구분선 */
.wcsl-divider {
	display: flex;
	align-items: center;
	text-align: center;
	margin: 16px 0;
	gap: 10px;
}

.wcsl-divider::before,
.wcsl-divider::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid #e0e0e0;
}

.wcsl-divider span {
	font-size: 12px;
	color: #888;
	white-space: nowrap;
	padding: 0 4px;
}

/* 버튼 공통 */
.wcsl-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 11px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none !important;
	cursor: pointer;
	border: 1px solid transparent;
	transition: opacity 0.15s, box-shadow 0.15s;
	box-sizing: border-box;
	line-height: 1.4;
}

.wcsl-btn:hover {
	opacity: 0.88;
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
	text-decoration: none !important;
}

.wcsl-btn:active {
	opacity: 0.75;
}

.wcsl-btn .wcsl-icon {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.wcsl-btn .wcsl-icon svg {
	display: block;
}

/* 세로 배열 */
.wcsl-layout-column .wcsl-btn {
	margin-bottom: 8px;
}

.wcsl-layout-column .wcsl-btn:last-child {
	margin-bottom: 0;
}

/* 가로 배열 */
.wcsl-layout-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wcsl-layout-row .wcsl-btn {
	flex: 1;
	min-width: 100px;
}

/* ── 카카오 버튼 ── */
#wcsl-social-buttons .wcsl-btn-kakao,
#wcsl-social-buttons .wcsl-btn-kakao:link,
#wcsl-social-buttons .wcsl-btn-kakao:visited,
#wcsl-social-buttons .wcsl-btn-kakao:hover,
#wcsl-social-buttons .wcsl-btn-kakao:focus,
#wcsl-social-buttons .wcsl-btn-kakao:active {
	background-color: #FEE500;
	color: #3C1E1E;
	border-color: #FEE500;
}

/* ── 구글 버튼 ── */
#wcsl-social-buttons .wcsl-btn-google,
#wcsl-social-buttons .wcsl-btn-google:link,
#wcsl-social-buttons .wcsl-btn-google:visited {
	background-color: #fff;
	color: #3c4043;
	border-color: #dadce0;
}

#wcsl-social-buttons .wcsl-btn-google:hover,
#wcsl-social-buttons .wcsl-btn-google:focus,
#wcsl-social-buttons .wcsl-btn-google:active {
	background-color: #fff;
	color: #3c4043;
	border-color: #bdc1c6;
}

/* ── 애플 버튼 ── */
#wcsl-social-buttons .wcsl-btn-apple,
#wcsl-social-buttons .wcsl-btn-apple:link,
#wcsl-social-buttons .wcsl-btn-apple:visited,
#wcsl-social-buttons .wcsl-btn-apple:hover,
#wcsl-social-buttons .wcsl-btn-apple:focus,
#wcsl-social-buttons .wcsl-btn-apple:active {
	background-color: #000;
	color: #fff;
	border-color: #000;
}

/* ── 결제 페이지 래퍼 ── */
.wcsl-checkout-wrap {
	background: #f9f9f9;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 20px 24px;
	margin-bottom: 24px;
}

.wcsl-checkout-title {
	font-size: 14px;
	font-weight: 600;
	color: #444;
	margin: 0 0 4px !important;
}

/* 아이콘만 모드 - 정사각형 버튼 */
.wcsl-layout-row .wcsl-btn:not(:has(.wcsl-label)) {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
}

/* 반응형 */
@media (max-width: 480px) {
	.wcsl-layout-row {
		flex-direction: column;
	}

	.wcsl-layout-row .wcsl-btn {
		width: 100%;
	}
}
