/* /engine/css/prob_page.css - KOISTUDY 최종 통합 버전 */

/* [1] 채점 결과 UI (글자 크기 키움 & 헤더 강조) */
#multi-result { font-size: 16px !important; margin-top: 25px; }
#multi-result table { width: 100%; border-collapse: collapse; margin-top: 12px; border-radius: 10px; overflow: hidden; border: 2px solid #343a40; }
#multi-result th { background-color: #343a40 !important; color: #ffffff !important; padding: 14px 10px; font-weight: bold; border: 1px solid #23272b; text-align: center; }
#multi-result td { padding: 12px 10px; border: 1px solid #dee2e6; text-align: center; font-family: 'JetBrains Mono', monospace !important; }

/* [2] 서브태스크 박스 디자인 */
.st-container { margin-bottom: 35px; border: 1px solid #ced4da; border-radius: 12px; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.1); overflow: hidden; }
.st-header { background: #f1f3f5; padding: 16px 20px; border-bottom: 1px solid #ced4da; font-size: 18px; font-weight: bold; color: #212529; display: flex; justify-content: space-between; align-items: center; }

/* [3] 문제 본문 스타일 (기존 유지) */
.problem-container h2 { border-bottom: 2px solid #eee; padding-bottom: 10px; margin-top: 40px; color: #333; }
.problem-content { background-color: #fdfdfd; padding: 5px 25px; border: 1px solid #eee; border-radius: 8px; line-height: 1.8; font-size: 1.05em; }
.problem-content p { margin-bottom: 1.2em; }
.problem-content ul, .problem-content ol { margin-bottom: 1.2em; padding-left: 2em; }

/* [4] 에디터 및 네비게이션 (기존 유지) */
.CodeMirror { border: 1px solid #333; border-radius: 6px; height: 600px; font-family: 'JetBrains Mono', monospace !important; font-size: 16px; margin-bottom: 20px; }
.contest-nav { text-align: center; margin: 25px 0; padding: 15px; background-color: #f8f9fa; border: 1px solid #dee2e6; border-radius: 10px; }
.contest-nav a { display: inline-block; margin: 0 15px; font-size: 1.1em; font-weight: bold; color: #0056b3; text-decoration: none; }
.btn-modify { display: inline-block; padding: 6px 14px; background-color: #dcdcdd; color: #333; text-decoration: none; border-radius: 5px; font-size: 0.95em; vertical-align: middle; border: 1px solid #ccc; cursor: pointer; transition: 0.2s; }
.btn-modify:hover { background-color: #5a6268; color: #fff; }

/* [5] 플로팅 타이머 (기존 유지) */
#floating-contest-timer { position: fixed; bottom: 30px; right: 30px; z-index: 2000; text-align: center; border: 2px solid #222; border-radius: 12px; background: linear-gradient(to bottom, #4a4a4a, #333333); padding: 15px 25px; box-shadow: 0 10px 20px rgba(0,0,0,0.4); color: #f0f0f0; font-family: 'Roboto Mono', monospace; font-size: 1.2em; font-weight: bold; }
