/* ================================================================== */
/* == 강의 상세 페이지 전용 스타일 (course_detail.css) == */
/* ================================================================== */

.course-detail-container { max-width: 800px; margin: 40px auto; padding: 20px; text-align: left; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background-color: #000; border-radius: 10px; border: none; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ▼▼▼ [재민 최종 수정] 헤더 영역 재설계 ▼▼▼ */
.course-header {
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}
.course-header h1 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
}
.course-header .header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.course-header .header-meta p {
    margin: 0;
    color: #ddd;
    font-size: 1.1em;
}
.course-header .actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.header-button {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    font-size: 0.9em;
    cursor: pointer;
}
.header-button:hover { background-color: rgba(255, 255, 255, 0.25); }
.header-button:disabled { opacity: 0.5; cursor: not-allowed; }
.header-button.like-btn.liked { background-color: #FFDE59; color: #333; border-color: #FFDE59; font-weight: bold; }
.header-button.report-btn { border-color: #ff8a8a; color: #ff8a8a; }
/* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */

.comments-section { background-color: rgba(0,0,0,0.3); backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); padding: 25px; border-radius: 10px; margin-top: 30px; }
.login-prompt a { color: #FFDE59; font-weight: bold; text-decoration: none; }
.login-prompt a:hover { text-decoration: underline; }
.comment-form { display: flex; gap: 10px; align-items: center; margin-top: 20px; margin-bottom: 30px; }
.comment-form input[type="text"] { flex-grow: 1; box-sizing: border-box; padding: 12px; border-radius: 6px; border: 1px solid #555; font-size: 1em; background-color: rgba(255,255,255,0.9); color: #333; }
.comment-form button { padding: 12px 20px; background-color: #FFDE59; color: #333; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; transition: background-color 0.2s; white-space: nowrap; }
.comment-form button:hover { background-color: #e6c200; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-item { background-color: rgba(0,0,0,0.2); padding: 15px 20px; border-radius: 8px; margin-bottom: 15px; }
.comment-body { margin: 0 0 10px 0; line-height: 1.7; word-wrap: break-word; }
.comment-meta { display: flex; justify-content: flex-end; align-items: center; gap: 15px; font-size: 0.9em; color: #ccc; }
.comment-author { font-weight: bold; color: #fff; }
.comment-delete a { color: #ff8a8a; text-decoration: none; }
.comment-delete a:hover { text-decoration: underline; }
.no-comments { text-align: center; padding: 20px 0; color: #aaa; }
.pagination { text-align: center; margin-top: 30px; }
.pagination a, .pagination span { color: #fff; text-decoration: none; padding: 8px 12px; margin: 0 4px; border-radius: 5px; background-color: rgba(255, 255, 255, 0.1); }
.pagination .current { background-color: #FFDE59; color: #333; font-weight: bold; }