/* ==========================================================
   components.css : 사이트 공통 부품
   - 상담 버튼 (page/include/sticky.php)
   - 라인 아이콘 기본값 (theme/charity_ch01/icons.php)
   - 푸터 SNS 아이콘
========================================================== */
.mc-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }


/* ----------------------------------------------------------
   상담 버튼 (오른쪽 아래)
---------------------------------------------------------- */
.quick-dock {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(20px, env(safe-area-inset-bottom));
	z-index: 1500;
	display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
	font-family: 'Pretendard Variable', Pretendard, sans-serif;
}
.quick-dock__list {
	display: flex; flex-direction: column; gap: 8px;
	margin: 0; padding: 0; list-style: none;
}
.quick-dock__list li {
	opacity: 0;
	transform: translateY(10px) scale(.96);
	pointer-events: none;
	transition: opacity .25s, transform .25s;
}
.quick-dock.is-open .quick-dock__list li { opacity: 1; transform: none; pointer-events: auto; }
.quick-dock.is-open .quick-dock__list li:nth-child(2) { transition-delay: .04s; }
.quick-dock.is-open .quick-dock__list li:nth-child(1) { transition-delay: .08s; }

.quick-dock__item {
	display: flex; align-items: center; gap: 10px;
	height: 48px;
	padding: 0 20px 0 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	border: 1px solid rgba(20, 20, 20, .08);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
	color: #141414;
	font-size: 15px; font-weight: 600;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.quick-dock__item .mc-icon { width: 20px; height: 20px; color: #844ad7; }
.quick-dock__item:hover { background: #141414; color: #fff; }
.quick-dock__item:hover .mc-icon { color: #c4a3ff; }

.quick-dock__toggle {
	display: flex; align-items: center; justify-content: center;
	height: 56px;
	padding: 0 22px 0 18px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: linear-gradient(135deg, #2a2233 0%, #121016 100%);
	box-shadow: 0 14px 36px rgba(18, 16, 22, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
	color: #fff;
	font-family: inherit;
	font-size: 15px; font-weight: 700; letter-spacing: .01em;
	cursor: pointer;
	transition: transform .2s, box-shadow .2s;
}
.quick-dock__toggle:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(18, 16, 22, .4), inset 0 1px 0 rgba(255, 255, 255, .08); }
.quick-dock__open { display: inline-flex; align-items: center; gap: 8px; }
.quick-dock__open .mc-icon { width: 20px; height: 20px; color: #c4a3ff; }
.quick-dock__close { display: none; }
.quick-dock__close .mc-icon { width: 22px; height: 22px; }
.quick-dock.is-open .quick-dock__toggle { width: 56px; padding: 0; }
.quick-dock.is-open .quick-dock__open { display: none; }
.quick-dock.is-open .quick-dock__close { display: inline-flex; }

@media screen and (max-width: 767px) {
	.quick-dock__toggle { height: 52px; padding: 0 18px 0 14px; font-size: 14px; }
	.quick-dock.is-open .quick-dock__toggle { width: 52px; }
	.quick-dock__item { height: 46px; }
}


/* ----------------------------------------------------------
   푸터 SNS : 라인 아이콘
---------------------------------------------------------- */
.footer--sns .footer-sns__link {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
	color: rgba(255, 255, 255, .72);
	filter: none;
	background: none !important;
	transition: color .2s, background-color .2s;
}
.footer__top--right .footer--sns li {
	width: 42px; height: 42px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .2);
	transition: border-color .2s;
}
.footer__top--right .footer--sns li:hover { border-color: rgba(255, 255, 255, .6); }
.footer--sns .footer-sns__link:hover { color: #fff; }
.footer--sns .footer-sns__link .mc-icon { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
	.quick-dock *, .quick-dock__list li { transition: none !important; }
}
