﻿body {
    margin: 0;
    padding: 0;
/*    height: 2000px;*/
    background-color: #f4f6f9;
}

/* --- 사이드바 전체 컨테이너 --- */
.side-bar {
    position: fixed;
    right: 20px;
    top: 12.5%;
    width: 84px;
    height: 75vh;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.15), -2px 3px 10px rgba(0, 0, 0, 0.08);
    /* 👇 이 줄을 아예 삭제해 주세요 👇 */
    /* border: 1px solid rgba(255, 255, 255, 0.5); */

    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* --- 개별 항목 스타일 --- */
.side-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 5px 0;
}

    /* 텍스트 스타일 */
    .side-item span {
        font-size: 14px;
        color: #555;
        font-weight: 500;
        margin-top: 5px;
        transition: color 0.3s ease;
    }

    /* 아이콘(SVG) 스타일 */
    .side-item svg {
        width: 28px; /* 아이콘 크기 확대 (기존 24px -> 28px) */
        height: 28px;
        fill: #333;
        opacity: 0.4; /* 작고 투명한 느낌의 시작점 유지 */
        transition: all 0.3s ease;
    }

    /* 일반 항목 호버 효과 */
    .side-item:hover {
        background-color: #f8f9fa;
    }

        .side-item:hover svg {
            fill: #0d47a1; /* 호버 시 진한 파란색으로 변경 */
            opacity: 1; /* 호버 시 선명해짐 */
            transform: translateY(-2px);
        }

        .side-item:hover span {
            color: #0d47a1;
        }

/* --- TOP 버튼 전용 스타일 --- */
.top-btn {
    background-color: #0d47a1;
    border-bottom: none;
    border: none;
    outline: none;
    text-decoration: none; /* a 태그 밑줄 방지 */
}

    .top-btn span {
        color: #ffffff;
        opacity: 0.9;
    }

    .top-btn svg {
        fill: #ffffff !important;
        opacity: 0.9;
    }

    /* TOP 버튼 호버 효과 */
    .top-btn:hover {
        background-color: #002171; /* 호버 시 더 어두운 파란색 */
    }

        .top-btn:hover svg, .top-btn:hover span {
            opacity: 1;
            transform: translateY(-2px);
        }
