/*!
 * 프레스런 플러그인 | Copyright (c) 2026 프레스런(PressLearn). All rights reserved.
 * 비공개 독점 소프트웨어입니다. 프레스런의 서면 동의 없이 복제·수정·변조·재배포할 수 없습니다(LICENSE.txt).
 */
/* 소셜 공유 버튼. AL Pack 과 같은 클래스·모양이라 AL Pack 에 맞춰 둔 테마 CSS 도 그대로 적용됩니다. */
.presslearn-social-share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 30px 0;
}

.presslearn-social-share.full-width {
	justify-content: space-between;
	width: 100%;
}

.presslearn-social-share.full-width .presslearn-social-share-button,
.presslearn-social-share.full-width .presslearn-share-popup-trigger {
	flex: 1;
	width: 100%;
	text-align: center;
	justify-content: center;
}

.presslearn-social-share.inline {
	display: inline-flex;
	margin: 0 10px;
	vertical-align: middle;
}

.presslearn-social-share-button,
.presslearn-share-popup-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px;
	background-color: #f8f9fa;
	border: 1px solid #b5bfc9;
	border-radius: 10px;
	color: #333;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.3s ease;
}

.presslearn-share-popup-trigger {
	gap: 10px;
}

.presslearn-social-share-button:hover,
.presslearn-share-popup-trigger:hover {
	background-color: #e9e9e9;
}

.presslearn-facebook {
	background-color: #1877f2;
	border-color: #1877f2;
	color: #fff !important;
}

.presslearn-facebook:hover {
	background-color: #166fe5;
	border-color: #166fe5;
}

.presslearn-twitter {
	background-color: #000;
	border-color: #000;
	color: #fff !important;
}

.presslearn-twitter:hover {
	background-color: #333;
	border-color: #333;
}

.presslearn-kakaotalk,
.presslearn-kakaotalk:hover span {
	color: #000 !important;
}

.presslearn-kakaotalk {
	background-color: #fee500;
	border-color: #fee500;
}

.presslearn-kakaotalk:hover {
	background-color: #f4dc00;
	border-color: #f4dc00;
}

.presslearn-naver {
	background-color: #03c75a;
	border-color: #03c75a;
	color: #fff !important;
}

.presslearn-naver:hover {
	background-color: #02b350;
	border-color: #02b350;
}

.presslearn-band {
	background-color: #00c73c;
	border-color: #00c73c;
	color: #fff !important;
}

.presslearn-band:hover {
	background-color: #00b636;
	border-color: #00b636;
}

.presslearn-line {
	background-color: #06c755;
	border-color: #06c755;
	color: #fff !important;
}

.presslearn-line:hover {
	background-color: #05b64c;
	border-color: #05b64c;
}

.presslearn-social-share-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
}

.presslearn-social-share-icon img {
	display: block;
	width: 100%;
	height: auto;
}

.presslearn-share-popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.5);
}

.presslearn-share-popup-content {
	width: 100%;
	max-width: 400px;
	padding: 20px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.presslearn-share-popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.presslearn-share-popup-title {
	margin: 0;
	font-size: 16px;
	font-weight: bold;
}

.presslearn-share-popup-close {
	padding: 0 !important;
	background: none !important;
	border: none !important;
	color: #666 !important;
	font-size: 20px !important;
	line-height: 1 !important;
	cursor: pointer !important;
}

.presslearn-share-popup-buttons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.presslearn-share-popup .presslearn-social-share-button {
	display: flex;
	flex-direction: column;
	height: auto;
	padding: 10px;
	border-radius: 8px;
	text-align: center;
}

.presslearn-share-popup .presslearn-social-share-icon {
	width: 24px;
	height: 24px;
}

@media screen and (max-width: 782px) {
	.presslearn-share-popup-content {
		max-width: 90%;
	}
}
