/* ===================전체 레이아웃========================= */
#client-layout {
    display: flex;
    height: 100%;
    max-height: 80%;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border-top: none;
}

#client-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


#client-contents {
    width: 100%;
    flex-grow: 1;
    background-color: #d2f5e3;
}

#client-header {
    width: 100%;
}

/* ===================헤더========================= */
.client-search-box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;

}

.client-search {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 20vw;
    height: 10%;
    border-radius: 30px;
    min-width: 205px;
    min-height: 35px;
    background-color: white;
    border-style: inset;
    margin-bottom: 5px;
}


.client-search-text {
    flex-grow: 1;
    text-align: center;
}

.client-search-button {
    width: 50px;
    height: 20px;
    flex-shrink: 0;
    text-align: center;
}

/* ===================네비게이션========================= */
#client-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f8f8f8;
}

.client-nav-item {
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
}

.user-action-btn {
    padding: 8px 12px;
    background-color: #62bfb1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.user-action-btn:hover {
    background-color: #499d8e;
}

/* ===================도서 목록========================= */
/* 테이블 스타일 */
#client-contents {
    overflow: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    border: 2px solid #ddd;
}

td {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    background-color: rgb(0, 133, 126);
        color: white;
    font-weight: bold;
}

/* 테이블 반응형 스타일 */
@media screen and (max-width: 680px) {
    table {
        font-size: 12px;
    }

    th,
    td {
        padding: 6px;
    }

    #books-side {
        display: none;
    }
}