body {
    font-family: 'Pretendard', -apple-system, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 상단 과정 선택 영역 */
.course-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 15px 25px;
    border: none;
    background-color: white;
    color: #555;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #4a90e2;
    color: white;
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 과정 정보 및 리스트 영역 */
.course-content {
    display: none; /* 기본적으로 숨김 */
    width: 100%;
    max-width: 800px;
    animation: fadeIn 0.5s ease;
}

.course-content.active {
    display: block; /* 선택된 것만 보임 */
}

.course-info {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 5px solid #4a90e2;
}

.student-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.student-item {
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.name1 {
    font-weight: bold;
    color: #ea7eda;
}
.name2 {
    font-weight: bold;
    color: #eaaa6a;
}
.name3 {
    font-weight: bold;
    color: #b5d912;
}
.name4 {
    font-weight: bold;
    color: #4f1b8f;
}

.link-btn {
    text-decoration: none;
    color: #4a90e2;
    font-weight: 600;
    border: 1px solid #4a90e2;
    padding: 5px 12px;
    border-radius: 4px;
}

.link-btn:hover {
    background: #4a90e2;
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .student-list {
        grid-template-columns: 1fr;
    }
}