@charset "utf-8";

/* Common */
.chulsuk-book { display:inline-block; height:26px; line-height:20px; padding:4px 8px; margin-top:10px; }
.chulsuk-msg { border:1px solid #ddd; padding:10px; margin-top:8px; }
.chulsuk-notice .talk-bubble ul { list-style:none; margin:0px; padding:0px; line-height:24px; }

#fchulsuk .msg-content { display:table; width:100%; table-layout:fixed; }
#fchulsuk .msg-content .msg-cell { display:table-cell; padding:0px; text-align:center; vertical-align:middle; }
#fchulsuk .msg-content .msg-cell.msg-submit { width:80px; height:100%; background:#fafafa; border:1px solid #ccc; border-left:0px; cursor:pointer; }
#fchulsuk .anc-write { display:none; margin-top:4px; }
.chk-photo { color:#888; letter-spacing:-1px; text-align:left !important; background: none !important; padding:0px !important; margin: 15px 0px 0px !important; margin-right:15px !important; box-shadow:none !important; display:inline-block !important; height:14px; line-height:14px !important; }
.ko .chk-photo { font-size:12px !important; font-family:dotum !important; }
.chk-photo span { margin-left:4px; }
.chk-photo.active { color:orangered; }

.msg-icon a { display:inline-block; margin:8px; }
.msg-icon p { padding:6px 0px 0px; margin:0px; }

/* List */
.board-list .talk-bubble { padding:15px; }
.board-list .info { margin-bottom:8px; }
.board-list .talk { padding:10px; border:1px solid #eee; background:#fff; }
.board-list .sp { display:inline; margin-right:30px; }
.board-list .list-none { padding:30px 0px; }

@media all and (max-width:460px) {
	.responsive .msg-btn .pull-left,
	.responsive .msg-btn .pull-right { float:none !important; }
	.responsive .board-list .sp { margin-right:10px; }
	.responsive .board-list .sp-none { display:none; }
}

/* ===== 출석부 디자인 개선 (2026-11-29) ===== */
:root { --at-line:#e6eaf0; --at-soft:#f5f7fb; --at-text:#1f2937; --at-sub:#6b7686; --at-primary:#2563eb; --at-green:#16a34a; --at-red:#e11d48; }

/* 제목 줄 */
.board-list h3.no-margin, .chulsuk-title h3 { font-weight:800; letter-spacing:-.5px; color:var(--at-text); }
.board-list h3.no-margin .fa, .chulsuk-title h3 .fa { color:var(--at-primary); margin-right:4px; }

/* 날짜 이동 */
#chulsuk_datepicker { border-radius:8px; overflow:hidden; box-shadow:0 1px 2px rgba(15,23,42,.06); }
#chulsuk_datepicker .input-group-addon { background:var(--at-soft); border-color:var(--at-line); color:var(--at-primary); }
#chulsuk_datepicker .form-control { border-color:var(--at-line); text-align:center; font-weight:700; }
#chulsuk_datepicker .btn-gray { background:#fff; border:1px solid var(--at-line); color:var(--at-text); }
#chulsuk_datepicker .btn-gray:hover { background:var(--at-soft); color:var(--at-primary); }

/* 출석 달력 */
.table-responsive > table.table-bordered { border:1px solid var(--at-line); border-collapse:separate; border-spacing:0; border-radius:12px; overflow:hidden; background:#fff; table-layout:fixed; }
.table-responsive > table.table-bordered > tbody > tr > th,
.table-responsive > table.table-bordered > tbody > tr > td { border:0; border-right:1px solid var(--at-line); border-bottom:1px solid var(--at-line); }
.table-responsive > table.table-bordered > tbody > tr > *:last-child { border-right:0; }
.table-responsive > table.table-bordered > tbody > tr:last-child > * { border-bottom:0; }
.table-responsive > table.table-bordered > tbody > tr.active > th { background:var(--at-soft); color:var(--at-sub); font-size:12.5px; font-weight:700; padding:10px 4px; }
.table-responsive > table.table-bordered > tbody > tr.active > th.red { color:var(--at-red); }
.table-responsive > table.table-bordered > tbody > tr.active > th.blue { color:var(--at-primary); }
.table-responsive td.en { height:68px; padding:0 !important; vertical-align:top; transition:background .12s; }
.table-responsive td.en > a { display:block; height:100%; padding:8px 10px; color:var(--at-text); text-decoration:none; }
.table-responsive td.en > a > span.en { display:block; font-size:15px; font-weight:600; }
.table-responsive td.en:hover { background:#eef4ff; }
/* 출석 수 : 둥근 배지 */
.table-responsive td.en .pull-right { float:right; margin-left:6px; padding:1px 8px; border-radius:10px; background:#ffe4ea; color:var(--at-red) !important; font-size:11.5px; font-weight:800; line-height:18px; }
.table-responsive td.en .pull-right.green { background:#dcfce7; color:var(--at-green) !important; }
/* 오늘 */
.table-responsive td.en.active { background:var(--at-primary) !important; }
.table-responsive td.en.active > a, .table-responsive td.en.active a span { color:#fff !important; }
.table-responsive td.en.active .pull-right { background:rgba(255,255,255,.22); color:#fff !important; }
.table-responsive td.en.active b { font-weight:800; }

/* 출석 입력 */
.talk-box-wrap { margin:18px 0; }
.talk-box-wrap .talk-bubble { border:1px solid var(--at-line); border-radius:12px; background:#fff; box-shadow:0 1px 3px rgba(15,23,42,.05); }
#fchulsuk .msg-content { border-radius:10px; overflow:hidden; border:1px solid var(--at-line); }
#fchulsuk .msg-content textarea { border:0; box-shadow:none; resize:vertical; padding:10px 12px; font-size:14px; }
#fchulsuk .msg-content .msg-cell.msg-submit { width:90px; background:var(--at-primary); border:0; color:#fff; font-weight:800; font-size:15px; transition:background .12s; }
#fchulsuk .msg-content .msg-cell.msg-submit:hover { background:#1d4ed8; }
#fchulsuk .msg-content .msg-cell.msg-submit * { color:#fff; }
.chk-photo { margin-top:12px !important; }
.chulsuk-msg { border:1px dashed var(--at-line); border-radius:8px; background:var(--at-soft) !important; color:var(--at-sub); }
.chulsuk-book { border-radius:18px; padding:5px 14px; font-weight:700; }

/* 출석 목록 */
.board-list .talk-bubble { border-radius:12px; }
.board-list .talk { border-radius:8px; border-color:var(--at-line); background:var(--at-soft); }
.board-list .info b { color:var(--at-text); }
.board-list .list-none { padding:46px 0; text-align:center; color:var(--at-sub); background:var(--at-soft); border:1px dashed var(--at-line); border-radius:12px; }
.board-list .list-none:before { content:'\f073'; font-family:FontAwesome; display:block; font-size:30px; margin-bottom:8px; color:#c3cad6; }

@media all and (max-width:600px) {
	.table-responsive td.en { height:54px; }
	.table-responsive td.en > a { padding:5px 6px; }
	.table-responsive td.en > a > span.en { font-size:13px; }
	.table-responsive td.en .pull-right { padding:0 5px; font-size:10.5px; }
	#fchulsuk .msg-content .msg-cell.msg-submit { width:64px; }
}
