@charset "UTF-8";

#sample_main {
	min-height: 100vh;
	background-color: #ffffff;
	padding-bottom: 80px;
}

/* mypage-container와 동일한 컨테이너 */
.sample_container {
	max-width: 1000px;
	margin: 40px auto 100px;
}

/* 박스 최소 높이: mypage의 s_info(이용권) 콘텐츠 기준에 맞춤 */
#user_info_box > div {
	min-height: 148.41px;
}

/* 우측 체험 안내 박스: mypage.css의 575px 고정 너비를 flex로 재정의 */
#user_info_box .sample_s_info {
	width: auto;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
}

.sample_s_info .s_info_group_1 {
	color: var(--Color-Grey-900);
}

.sample_notice_desc {
	color: var(--Color-Error-600);
	line-height: 1.7;
}

/*
	===== 평가내역 / 종단리포트 (왼쪽) / 공지사항 / 이용후기 (오른쪽) 링크 =====
	기존 tab_style1(mainMenu.html)과 동일하게, 컨테이너 자체에는 padding 없이
	border-bottom을 링크(.sample_board_link_btn)의 border-bottom에 바로 붙여서
	강조 막대줄이 바닥줄에 딱 붙어 보이도록 한다. 다음 섹션과의 여백은 margin으로 처리.
*/
.sample_board_links {
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--Color-Grey-300);
}

.sample_board_links_left,
.sample_board_links_right {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* 좌측 그룹이 없는 페이지(평가 상세)에서도 우측 정렬을 유지한다 */
.sample_board_links_right {
	margin-left: auto;
}

.sample_board_link_btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--Color-Grey-700);
	padding-bottom: 8px;
	border-bottom: 4px solid transparent;
}

/*
	현재 보고 있는 페이지에 해당하는 링크 강조 (평가내역 / 종단리포트).
	기존 메뉴(tab_style1)의 밑줄 강조 방식(.tab_style1 li.on a)과 동일하게
	글자 아래 보라색(Color-Primary-500) 막대줄로 표시한다.
*/
.sample_board_link_btn.active {
	color: var(--Color-Grey-900);
	border-bottom: 4px solid var(--Color-Primary-500);
}

/* ===== 학급 리포트 버튼 색상 ===== */
.btn_sample_report {
	background-color: #009FE3;
	color: var(--Color-Grey-100);
}

.btn_sample_report:hover,
.btn_sample_report:active {
	background-color: #0088C2;
	color: var(--Color-Grey-100);
}

/* ===== 평가 내역 테이블 ===== */
.sample_table_section {
	margin-top: 28px;
}

.sample_table_title {
	margin-bottom: 16px;
	color: var(--Color-Grey-900);
}

.th_inner {
	display: flex;
	align-items: center;
}

/* ===== 평가 상세 (sampleDetail) ===== */
.sample_container .content_wrap {
	margin: 40px auto 120px;
}

.page_title_wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.evaluationDetails_info {
	margin-top: 24px;
}

.evaluationDetails_info .inner_group {
	display: flex;
	gap: 20px;
}

.evaluationDetails_info .inner_group + .inner_group {
	margin-top: 24px;
}

.evaluationDetails_info .inner_group > div {
	padding: 24px;
	width: 320px;
}

.evaluationDetails_info .inner_group > div > div:last-of-type {
	margin-top: 4px;
}

.evaluationDetails_info .inner_group .evaluate_date .title {
	position: relative;
}

.evaluationDetails_info .inner_group .evaluate_date .title a {
	position: absolute;
	right: 0;
	top: 0;
}

.table_title {
	color: var(--Color-Grey-900);
	margin-top: 40px;
	margin-bottom: 24px;
}

.evaluationReport table thead th {
	color: var(--Color-Grey-800);
}

.evaluationReport table tbody td {
	color: var(--Color-Grey-800);
}

.table_title_wrap {
	margin-top: 40px;
	margin-bottom: 20px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}

.table_title_wrap .table_title {
	margin: 0;
}

/*
	===== 종단리포트 (sampleClassListView) =====
	classSetup.css 전체를 불러오는 대신, 이 페이지가 실제로 사용하는 규칙만 옮겨왔다.
	(.page_title_wrap의 display/justify/align은 위에서 이미 정의되어 있어 여기서는 생략)
*/
.page_title_wrap.manage_class {
	gap: 20px;
}

.page_title_wrap.manage_class .class_info_group {
	display: flex;
	gap: 20px;
	align-items: center;
}

/* .sample_table_title의 margin-bottom(16px)이 드롭다운과 나란히 놓일 때 세로 중앙정렬을 깨뜨려서 상쇄 */
.class_info_group .sample_table_title {
	margin-bottom: 0;
}

.page_title_wrap.manage_class .select_grade {
	width: auto;
}

#btnClassReport.btn_primary {
	background-color: #F89D1C;
}

.class_info_wrap {
	margin-top: 24px;
}

.class_info_wrap .inner_group {
	display: flex;
	gap: 20px;
}

.class_info_wrap .inner_group > div {
	padding: 16px 24px;
}

.class_info_wrap .inner_group .name_group {
	width: 320px;
}

.class_info_wrap .inner_group .student_num {
	width: 220px;
}

.class_info_wrap .inner_group .etc_text {
	width: 420px;
}

.class_info_wrap .teacher_info label {
	color: var(--Color-Grey-900);
	margin-right: 8px;
}

.class_info_wrap .teacher_info span {
	color: var(--Color-Grey-700);
}

.title_wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.title_wrap.student_management {
	margin-top: 20px;
}

.studendt_list_tb {
	margin-top: 16px;
}

/*
	마지막 컬럼(학생 종단리포트 버튼)은 가운데 정렬.
	table_type1 기본값이 th는 좌24/우0, td:last-of-type는 좌24/우24로 서로 달라서
	(둘 다 text-align:center를 줘도) th 쪽 콘텐츠 중심이 우측으로 12px 밀려 보인다.
	좌우 padding을 동일하게 맞춰서 th/td가 정확히 같은 중심에 오도록 한다.
*/
.studendt_list_tb th:last-child,
.studendt_list_tb td:last-child {
	text-align: center;
	padding-left: 24px;
	padding-right: 24px;
}

/* 학생 종단리포트 버튼 (목록 테이블 + 모달 회차 목록 공통) */
.btnSampleStudentReport.btn_secondary,
.goSampleStudentReportRound.btn_secondary {
	border: 1px solid #F89D1C;
	color: #F89D1C;
	min-width: 140px;
}

/* 학생 종단리포트 모달(회차 목록) */
.caution {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--Color-Grey-700);
}

.modal_content #searchResultList {
	margin-top: 24px;
}

#searchResultList .table_wrap {
	max-height: 400px;
}

@media all and (max-width: 1000px) {
	.sample_container {
		padding-left: 10px;
		padding-right: 10px;
	}

	#user_info_box .p_info {
		width: 100%;
	}
}
