html,body{
    margin:0;
    font-family:맑은고딕;
    padding: 0;
}

#container { 
	display: flex; 
	min-height: 92vh;
}

#sidebar { 
	width: 200px; 
	padding: 20px; 
	border-right: 1px solid #ccc;
	background-color: #ccc; 
}


/* 메뉴 기본 스타일 */
.menu-item {
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

/* 롤오버 효과 */
.menu-item:hover {
    background-color: #f0f0f0;
    color: blue;
}

/* 활성화 상태 (JS로 클래스 추가) */
.menu-item.active {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

#content { flex: 1; padding: 10px; }
#sub-content { flex: 1; padding: 10px; display: flex; }

footer { 
	text-align: center; 
	padding: 20px; 
	border-top: 1px solid #ccc; 
	background-color: #111827;
	color:#FFF;
}

/* 테이블 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* 제목 열은 왼쪽 정렬 */
td.title { text-align: left; cursor: pointer; }
td.title:hover { color: #007bff; text-decoration: underline; }

/* 페이지네이션 스타일 */
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}


#header {
    white-space: nowrap; /* 줄바꿈 방지 */
    padding: 10px;
	
	height:50px;
	display:flex;
	align-items:center;	
	
	border-radius:10px;
	
	overflow:auto;
    overflow-y: hidden;
}

.step-menu-item {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
	border-radius:10px;
	background:#ccc;
}

.step-menu-item:hover {
    background-color: #f0f0f0; /* 롤오버 효과 */
}

#left-menu {
	display: flex; 
	min-height: 75%;
	width: 200px; 
	padding: 20px;
}
.sub-menu {
    display: inline-block
    flex-direction: column; /* 세로 배치 */
    width: 200px; 
	padding: 20px;
    cursor: pointer;
}

.sub-menu-item:hover {
    background-color: #f0f0f0; /* 롤오버 효과 */
}

.problem-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.problem-table th, .problem-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.problem-table th {
    background-color: #f4f4f4;
}

.problem-table tr:hover {
    background-color: #f9f9f9;
    cursor: pointer;
}