body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #333;
    display: flex;
}

/* 전체 페이지 래퍼 */
.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* 왼쪽 사이드바 스타일 */
.sidebar {
    width: 250px;
    background-color: #B4B4B4;
    color: white;
    padding: 20px 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar .logo {
    font-size: 32px;
    font-weight: bold;
    color: #ecf0f1;
    margin-bottom: 40px;
    padding: 30px 20px;
    text-align: center;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.main-nav ul li {
    margin-bottom: 10px;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 20px;
    display: block;
    transition: background-color 0.3s ease;
}

.main-nav ul li a.active {
    background-color: #34495e;
}

/* 메인 콘텐츠 영역 스타일 */
.main-content {
    flex-grow: 1;
    padding: 30px;
    background-color: #ffffff;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed;
}

table thead tr {
    background-color: #8D8D8D;
    color: white;
}

table th, table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ddd;
    
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

table th:nth-child(1), table td:nth-child(1) { width: 60px; }  /* 회원번호 */
table th:nth-child(2), table td:nth-child(2) { width: 120px; } /* 회원ID */
table th:nth-child(3), table td:nth-child(3) { width: 100px; }  /* 제품코드 */
table th:nth-child(4), table td:nth-child(4) { width: 100px; } /* 제품이름 */
table th:nth-child(5), table td:nth-child(5) { width: 100px; } /* 제품사진URL */

table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tbody tr:hover {
    background-color: #e9f5fd;
}
