@import url('https://fonts.googleapis.com/css2?family=Menbere:wght@100..700&display=swap');

.menbere {
	font-family: "Menbere", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
}

/* Style header buttons */
.thaytuan-class {
	background-color: #1F68BE;
	color: white;
}

/* Một số style cơ bản không thể thay thế bằng Vuetify */
.schedule-grid {
	display: table;
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.day-row {
	display: table-row;
}

.header-row {
	background-color: #1976d2;	
}

.time-column,
.day-column {
	display: table-cell;
	vertical-align: top;
	border: 1px solid #bdccd6;
}

.header {
	height: 100%;
	text-align: center;
}

.time-slot,
.cell {
	height: 100%;
	min-height: 80px;
	box-sizing: border-box;
}

.cell:empty {
	height: 80px;
}

.time-column {
	width: 80px;
}

.day-column {
	width: calc((100% - 80px) / 7);
}

.time-slot {
	min-height: 120px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cell {
	min-height: 120px;
	height: 100%;
	position: relative;
	overflow-y: auto;
}

.class-item {
	margin-bottom: 8px;
	position: relative;
}

.class-item:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.time-column {
		width: 60px;
	}

	.day-column {
		width: calc((100% - 60px) / 7);
	}

	.cell {
		min-height: 100px;
	}

	.time-slot {
		min-height: 100px;
	}
}

/* Thêm style cho lớp học bị nghỉ */
.class-null {
	display: none;
}

.time-column {
	vertical-align: middle;
}

.today {
	background-color: red !important;
	color: white !important;
}

/* CSS trang lịch thi */
.exam-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f9f9fb;
	border-radius: 8px;
	border: 1px solid #2469BC;
	padding: 16px 20px;
	margin-bottom: 16px;
	gap: 10px;
}

.exam-info {
	display: flex;
	flex-direction: column;
}

.exam-date {
	font-size: 14px;
	color: #555;
	display: flex;
	gap: 100px;
	margin-bottom: 6px;
}

.highlight {
	color: #a1003a;
}

.exam-date sup {
	font-size: 10px;
}

.exam-title a {
	font-size: 16px;
	font-weight: 600;
	color: #0b5ea4;
	text-decoration: none;
}

.exam-title a:hover {
	text-decoration: underline;
}

.exam-room {
	font-weight: 500;
	color: #2469BC;
	font-size: 18px;
}

@media (max-width: 765px) {
	.exam-date {
		flex-direction: column;
		gap: 0;
	}

	.exam-card {
		display: unset;
		position: relative;
	}

	.exam-room {
		padding: 15px;
		position: absolute;
		top: 0;
		right: 5px;
	}
}

/* Left Skew with Blue */
.left-skew {
	background-color: #1867C0;
	width: 240px;
	height: 100%;
	clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-img {
	max-width: 100%;
	object-fit: contain;
}