@charset "utf-8";
/* ========================================
   Side Floating Buttons (PC Only)
   좌측 중간 고정 플로팅 버튼: 팝업 다시보기 + TOP
   ======================================== */

:root {
    --wz-side-bg: var(--point-color, #333);
    --wz-side-text: #fff;
    --wz-side-hover-bg: #222;
    --wz-side-radius: 0 6px 6px 0;
    --wz-side-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* 컨테이너 */
.wz-side-btn {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: opacity 0.3s ease;
}

/* 개별 버튼 공통 */
.wz-side-btn__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 52px;
    padding: 12px 8px;
    background: var(--wz-side-bg);
    color: var(--wz-side-text);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    font-family: var(--site-font, 'Pretendard Variable', sans-serif);
    line-height: 1.2;
    text-decoration: none;
    outline: none;
    box-shadow: var(--wz-side-shadow);
}

/* 첫 번째 버튼 (상단 둥근 모서리) */
.wz-side-btn__item:first-child {
    border-radius: 0 6px 0 0;
}

/* 마지막 버튼 (하단 둥근 모서리) */
.wz-side-btn__item:last-child {
    border-radius: 0 0 6px 0;
}

/* 구분선 */
.wz-side-btn__item + .wz-side-btn__item {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* 아이콘 */
.wz-side-btn__icon {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

/* 텍스트 */
.wz-side-btn__label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: -0.02em;
    white-space: nowrap;
    opacity: 0.9;
}

/* 호버 효과 */
.wz-side-btn__item:hover {
    width: 60px;
    background: var(--wz-side-hover-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.wz-side-btn__item:hover .wz-side-btn__icon {
    transform: scale(1.15);
}

.wz-side-btn__item:hover .wz-side-btn__label {
    opacity: 1;
}

/* TOP 버튼: 스크롤 위치 기반 투명도 */
.wz-side-btn__item--top {
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}

.wz-side-btn__item--top.is-active {
    opacity: 1;
}

/* 모바일 숨기기 */
@media all and (max-width: 768px) {
    .wz-side-btn {
        display: none !important;
    }
}

/* 팝업 다시보기 버튼 클릭 시 살짝 피드백 */
.wz-side-btn__item:active {
    transform: scale(0.95);
}
