.mysp_monsis_teacher{
	margin:20px 0;
}

.mysp_monsis_teacher_toolbar{
	display: flex;
	align-items: center;
	gap: 10px;

	padding: 15px;
	margin-bottom: 20px;

	border-bottom: 1px solid #ddd;

	flex-shrink: 0;
}

.mysp_monsis_teacher_toolbar input[type="date"]{
	padding: 8px 10px;
}

/*AKSI*/
.mysp_monsis_action{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	justify-content:center;
}

.mysp_monsis_action button{
	width:38px;
	height:38px;
	padding:0;
	border:0;
	border-radius:6px;
	display:flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
	color:#fff;
	transition:.2s;
}

/* Monitoring */
.mysp_monsis_btn_view_monitoring{
	background:#2271b1;
}

.mysp_monsis_btn_view_monitoring:hover{
	background:#135e96;
}

/* Laporan */
.mysp_teacher_report{
	background:#00a32a;
}

.mysp_teacher_report:hover{
	background:#008a20;
}

.mysp_monsis_action .dashicons{
	font-size:18px;
	width:18px;
	height:18px;
	line-height:18px;
}

/* Chat */
.mysp_monsis_btn_chat{

	background:#7e57c2;

}


.mysp_monsis_btn_chat:hover{

	background:#673ab7;

}


.mysp_monsis_action .dashicons{

	font-size:18px;

	width:18px;

	height:18px;

	line-height:18px;

}

/*TABEL*/
/* TABEL */
#mysp_monsis_teacher_table{
	width:100%;
	min-width:650px;
	border-collapse:collapse;
	background:#fff;
}

#mysp_monsis_teacher_table thead th{
	background:#2b7de9 !important;
	color:#fff;
	text-align:center;
	vertical-align:middle;
	font-weight:bold;
	padding:12px 10px;
}

#mysp_monsis_teacher_table tbody td{
	vertical-align:middle;
	padding:10px;
	background:#fff;
}

#mysp_monsis_teacher_table tbody tr{
	background:#fff;
}

#mysp_monsis_teacher_table tbody tr:hover{
	background:#fff8e1;
}


.mysp_monsis_table_responsive{
	width:100%;
	overflow-x:auto;
	-webkit-overflow-scrolling:touch;
}



/*AUTO FIT COLUMN*/
#mysp_monsis_teacher_table th:first-child,
#mysp_monsis_teacher_table td:first-child{
	white-space: nowrap;
	width: 1%;
}
#mysp_monsis_teacher_table th:nth-child(2),
#mysp_monsis_teacher_table td:nth-child(2){
	width:1%;
	white-space:nowrap;
	text-align:center;
}
#mysp_monsis_teacher_table th:nth-child(4),
#mysp_monsis_teacher_table td:nth-child(4){
	width:1%;
	white-space:nowrap;
	text-align:center;
}
#mysp_monsis_teacher_table th:nth-child(5),
#mysp_monsis_teacher_table td:nth-child(5){
	width:1%;
	white-space:nowrap;
	text-align:center;
}



#mysp_monsis_teacher_table th,
#mysp_monsis_teacher_table td{
	border:1px solid #e5e7eb;
}

/* ==========================================================
   MODAL
========================================================== */

@media (min-width: 768px){
	.mysp_monsis_teacher_modal{
		padding: 20px;
	}

	.mysp_monsis_teacher_modal_box{
		max-height: calc(100dvh - 40px);
		max-height: calc(100vh - 40px);
	}
}

.mysp_monsis_teacher_content{
	flex:1 1 auto;
	min-height:0;
	overflow-y:auto;
	-webkit-overflow-scrolling:touch;
	padding:20px;
}


/*ANSWER COLOR*/
.mysp_monsis_radio.selected{
	background:#dbeafe;
	border:1px solid #60a5fa;
	border-radius:6px;
	padding:4px 8px;
	font-weight:600;
}

.mysp_monsis_radio.selected span{
	color:#0f4c81;
}
.mysp_monsis_answer.empty{
	background:#FFF8E1; /* kuning pastel */
	border-radius:6px;
	padding:6px;
}


/*MODAL HEADER */
.mysp_monsis_teacher_modal{
	position: fixed;
	inset: 0;
	display: none;

	padding: 10px;
	background: rgba(0,0,0,.55);

	overflow-y: auto;
	box-sizing: border-box;
	z-index: 999999;
}

.mysp_monsis_teacher_modal.show{
	display: block;
}

.mysp_monsis_teacher_modal_box{
	width: 96vw;
	max-width: 1200px;

	margin: auto;

	background: #fff;
	border-radius: 10px;

	display: flex;
	flex-direction: column;

	max-height: calc(100dvh - 20px);
	overflow: hidden;

	box-sizing: border-box;
}
/* tombol close X */
.mysp_monsis_teacher_toolbar{
	display:flex;
	align-items:center;
	gap:10px;

	padding:12px 16px;

	border-bottom:1px solid #e5e7eb;
}

.mysp_monsis_teacher_toolbar input[type="date"]{
	height:40px;
	min-width:170px;

	padding:0 12px;

	font-size:16px;   /* jangan 14px */
	font-family:'Poppins',sans-serif;

	border:1px solid #d1d5db;
	border-radius:8px;

	box-sizing:border-box;
}

.mysp_teacher_close_x{
	margin-left:auto;

	width:34px;
	height:34px;

	padding:0;

	display:flex;
	align-items:center;
	justify-content:center;

	background:#fff;
	color:#dc2626;

	border:1px solid #d1d5db;
	border-radius:50%;

	font-size:20px;
	font-weight:700;
	font-family:Arial,sans-serif;
	line-height:1;

	cursor:pointer;

	box-sizing:border-box;
	transition:.2s;
}

.mysp_teacher_close_x:hover{
	background:#dc2626;
	color:#fff;
	border-color:#dc2626;
}

.mysp_teacher_close_x:hover{
	background:#dc2626;
	color:#fff;
	border-color:#dc2626;
}

.mysp_teacher_close_x:hover{
	background:black;
	color:red;
	font-weight:bold;
}

#mysp_teacher_save:disabled{
	opacity:.6;
	cursor:not-allowed;
	pointer-events:none;
}

#mysp_monsis_toast{
	position:fixed;

	left:50%;
	bottom:120px;

	transform:translate(-50%, 20px);

	z-index:999999;

	background:#323232;
	color:#fff;

	padding:12px 20px;

	border-radius:6px;

	font-size:14px;
	line-height:1.4;

	opacity:0;

	transition:
		opacity .25s ease,
		transform .25s ease;

	pointer-events:none;

	width:max-content;
	max-width:90vw;

	text-align:center;

	box-sizing:border-box;

	box-shadow:0 8px 20px rgba(0,0,0,.2);
}

#mysp_monsis_toast.show{
	opacity:1;
	transform:translate(-50%, 0);
}

#mysp_monsis_toast.success{
	background:#2e7d32;
}

#mysp_monsis_toast.error{
	background:#c62828;
}

@media (max-width:768px){

	#mysp_monsis_toast{

		bottom:120px;

		padding:12px 16px;

		font-size:13px;

		max-width:calc(100vw - 32px);

	}

}

.mysp_monsis_empty {
	max-width: 480px;
	margin: 50px auto;
	padding: 32px 28px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
	text-align: center;
}

.mysp_monsis_empty_icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
}

.mysp_monsis_empty_title {
	font-size: 22px;
	font-weight: 700;
	color: #1f2937;
	margin-bottom: 10px;
}

.mysp_monsis_empty_text {
	font-size: 15px;
	line-height: 1.7;
	color: #6b7280;
}
