/* 기본 스타일 */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 콘텐츠를 상단에 정렬 */
    min-height: 100vh;
    margin: 0;
    padding-top: 2em; /* 상단 여백 추가 */
}

.container {
    width: 80%;
    max-width: 900px;
    background-color: #1e1e1e;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 메인 타이틀 스타일 */
.main-title {
    color: #e0e0e0;
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 1em;
}
.title-link {
    text-decoration: none; /* 밑줄 제거 */
    color: inherit; /* 부모 요소의 글자색 상속 */
}

/* 탭 스타일 */
.tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #373737;
}

.tab-button {
    padding: 10px 20px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #e0e0e0;
    font-size: 1.1em;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-button.active {
    color: #bb86fc;
    border-bottom: 3px solid #bb86fc;
}

.tab-button:hover {
    background-color: #2a2a2a;
}

/* 탭 콘텐츠 영역 스타일 */
.content {
    padding-top: 1em;
}

/* 섹션 타이틀 (h2) */
h2 {
    color: #bb86fc;
    text-align: center;
    border-bottom: 2px solid #373737;
    padding-bottom: 0.5em;
    font-size: 1.8em;
}

/* 테이블 스타일 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

thead {
    background-color: #333333;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #373737;
}

th {
    font-weight: bold;
    color: #ffffff;
}

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

tbody tr:hover {
    background-color: #3a3a3a;
}

.footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}

/* 로비 메시지 스타일 */
.lobby-message {
    text-align: center;
    font-size: 1.2em;
    color: #a0a0a0;
    margin-top: 0;
    margin-bottom: 1.5em;
    padding: 0.5em;
    background-color: #2a2a2a;
    border-radius: 4px;
    border-left: 5px solid #bb86fc;
}
