/* 기본 및 공통 스타일 */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f0f2f5; color: #333; /* [수정] flexbox 레이아웃 적용 */ display: flex; flex-direction: column; height: 100vh; /* 전체 뷰포트 높이 사용 */ } button { cursor: pointer; border-radius: 4px; border: 1px solid #ccc; padding: 5px 10px; } /* 1. 로그인 페이지 스타일 (index.html) */ /* ... (기존 로그인 스타일 동일) ... */ .login-page { display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } .login-container { background: #fff; padding: 2rem 3rem; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); text-align: center; } .login-container h1 { font-size: 1.5rem; color: #444; margin-bottom: 2rem; } .input-group { margin-bottom: 1rem; text-align: left; } .input-group label { display: block; margin-bottom: 0.5rem; font-weight: bold; } .input-group input { width: 100%; padding: 0.8rem; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; } .login-button { width: 100%; padding: 0.8rem; background-color: #5a67d8; color: white; border: none; font-size: 1rem; font-weight: bold; margin-top: 1rem; } .login-button:hover { background-color: #434190; } /* 2. 대시보드 페이지 스타일 (dashboard.html) */ header { background-color: #333; padding: 0 1rem; /* [수정] 크기 고정 */ flex-shrink: 0; } .tabs { display: flex; justify-content: space-between; align-items: center; } .tab-button { background: none; border: none; color: #aaa; padding: 1rem 1.5rem; font-size: 1rem; font-weight: bold; } .tab-button.active { color: white; border-bottom: 3px solid #5a67d8; } .logout-button { background-color: #d9534f; color: white; border: none; padding: 0.5rem 1rem; border-radius: 4px; font-size: 0.9rem; font-weight: bold; cursor: pointer; } .logout-button:hover { background-color: #c9302c; } main { padding: 1rem; /* [수정] 남은 공간을 모두 채움 */ flex-grow: 1; display: flex; flex-direction: column; min-height: 0; /* 내용이 많을 때 축소 가능하도록 */ } .tab-content { display: none; } .tab-content.active { /* [수정] display: block -> flex */ display: flex; flex-direction: column; /* [수정] 부모(main) 공간을 채움 */ flex-grow: 1; min-height: 0; } /* 2-1. Video 탭 (PDF 2페이지) */ /* [추가] .video-container가 공간을 채우도록 */ .video-container { display: flex; flex-direction: column; flex-grow: 1; min-height: 0; } /* ========== .video-player 스타일 수정 ========== */ .video-player { width: 100%; /* [제거] min-height: 720px; */ /* [추가] .video-container 공간을 채움 */ flex-grow: 1; min-height: 0; /* 축소 가능하도록 */ background-color: #111; /* video-test.html 배경색 적용 */ color: #eee; /* video-test.html 글자색 적용 */ display: flex; flex-direction: row; /* 가로 정렬로 변경 */ gap: 10px; /* video-test.html gap 적용 */ padding: 10px; /* video-test.html padding 적용 */ box-sizing: border-box;/* video-test.html box-sizing 적용 */ /* justify-content: center; */ /* 기존 중앙 정렬 제거 */ /* align-items: center; */ /* 기존 중앙 정렬 제거 */ /* font-size: 1.5rem; */ /* 기존 폰트 크기 제거 */ border-radius: 4px; position: relative; } /* ========== [수정됨] #current-model