/* 상단 바 */
#snh-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 10000;
    border-bottom: 1px solid #eee;
}

.snh-logo img {
    height: 30px;
    border-radius: 10px;
}

.snh-page-title {
    flex: 1;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    font-family: 'Roboto', sans-serif;
}


.snh-menu-button {
    font-size: 24px;
    cursor: pointer;
}

/* 사이드바 메뉴 */
#snhSidebarMenu {
    position: fixed;
    top: 0;
    right: 0;
    width: 240px;
    height: 100%;
    background-color: #f9f9f9;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    padding: 16px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#snhSidebarMenu.active {
    transform: translateX(0);
}

/* 메뉴 항목 */
.snh-menu-group {
    margin-top: 60px;
}

.snh-category {
    font-weight: bold;
    padding: 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.snh-category i {
    margin-right: 8px;
    font-size: 1rem;
}

.snh-submenu {
    padding-left: 10px;
    display: none;
}

.snh-submenu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 1rem;
    color: #333;
}

.snh-submenu-item i {
    margin-right: 6px;
    color: #666;
    width: 20px;
}

.snh-submenu-item a {
    text-decoration: none;
    color: #333;
    flex-grow: 1;
}

/* All 버튼 */
.snh-all-button {
    background-color: #333;
    color: #fff;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    margin-left: 10px;
    white-space: nowrap;
}

.snh-auth-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start; /* 왼쪽 정렬 */
    gap: 10px;
}

.snh-auth-buttons a {
    padding: 6px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-align: center;

    /* flex-grow 제거, 대신 고정 너비 지정 */
    flex-grow: 0;
    width: 90px; /* 기존보다 약 40~45% 정도로 줄임 */
    max-width: 100px; /* 최대 너비 제한 (필요시) */
}


.snh-login {
    background-color: #007bff;
    color: white;
}

.snh-logout {
    background-color: #222;
    color: white;
}
