/* Quick Menu Specific Fixes - 퀵메뉴 전용 수정 */

/* 퀵메뉴 컨테이너 */
.quick-menu-container {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    width: 60px;
}

/* 퀵메뉴 버튼 */
.quick-menu-btn {
    display: block;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,123,255,0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.quick-menu-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
}

/* 퀵메뉴 패널 */
.quick-menu-panel {
    position: absolute;
    right: 70px;
    top: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    display: none;
}

.quick-menu-panel.active {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 퀵메뉴 검색 */
.quick-search {
    margin-bottom: 15px;
}

.quick-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.quick-search input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* 퀵메뉴 리스트 */
.quick-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.quick-menu-list li {
    margin-bottom: 5px;
}

.quick-menu-list a {
    display: block;
    padding: 8px 12px;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.2s;
}

.quick-menu-list a:hover {
    background: #f8f9fa;
    color: #007bff;
}

/* 북마크 버튼 */
.bookmark-btn {
    background: #ffc107;
    color: #212529;
}

.bookmark-btn:hover {
    background: #e0a800;
}

/* 모바일에서 퀵메뉴 숨김 */
@media (max-width: 768px) {
    .quick-menu-container {
        display: none;
    }
}

/* 스크롤바 스타일 */
.quick-menu-list::-webkit-scrollbar {
    width: 6px;
}

.quick-menu-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.quick-menu-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.quick-menu-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}