body {
    font-family: 'Malgun Gothic', sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    /* 상단 네비게이션 바 높이만큼 여백 확보 */
    padding-top: 80px; 
    margin: 0;
}

.container {
    text-align: center;
    width: 90%;
    max-width: 450px;
}

/* 상단 고정 네비게이션 바 */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 100;
}

.nav-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.nav-left .login-btn {
    background-color: #f39c12; 
    width: auto;
    padding: 6px 12px;
    font-size: 13px;
    margin: 0;
    margin-bottom: 3px;
}

#user-info {
    margin: 0;
    font-size: 11px;
    color: #555;
}

.hamburger-btn {
    background: none;
    border: none;
    font-size: 26px;
    color: #2c3e50;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

/* 슬라이드 사이드 메뉴 */
.side-menu {
    position: fixed;
    top: 0;
    right: -250px; /* 초기 상태: 화면 오른쪽 밖 */
    width: 250px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    z-index: 200;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.side-menu.open {
    right: 0; /* 메뉴 열림 */
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.menu-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #e74c3c;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-options .btn-diff {
    width: 100%;
    margin: 0;
    padding: 10px;
    font-size: 14px;
}

/* 메뉴 오버레이 (메뉴 열릴 때 배경 어둡게) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 150;
    display: none;
}
.overlay.show {
    display: block;
}

/* 카드 및 기타 기존 스타일 */
.card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 20px;
}

hr {
    width: 100%;
    border: 0.5px solid #eee;
    margin: 20px 0;
}

button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 5px;
    color: white;
    transition: 0.2s;
}

button:active { transform: scale(0.98); }

#btn-show { background-color: #3498db; width: 100%; }
.btn-fail { background-color: #e74c3c; width: 45%; }
.btn-pass { background-color: #2ecc71; width: 45%; }

.btn-diff {
    background-color: #7f8c8d;
    font-size: 12px;
    padding: 8px 12px;
    margin: 2px;
    border-radius: 4px;
    font-weight: normal;
}
.btn-diff:hover { background-color: #95a5a6; }

.hidden { display: none !important; }