.report-item {
	box-shadow: 1px 2px 8px 0px rgba(0,0,0,0.75);
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 98%;
	border-radius: 20px;
}
.last-dates {
	border: #0b3961;
}
.report-btn button {
	background: #0C81C7;
	width: 100%;
}
.students-of-report {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.teacher {
	width: 100%;
}
.report-btn {
	display: flex;
	gap: 5px;
}
.open-report {
	width: 50%;
	background: #0C81C7;
}
.add-penalty-block {
	display: flex;
	gap: 10px;
}
.blocks-of-reports {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.report-title {
	font-size: 15px;
}
.student-item {
	padding-bottom: 20px;
}
.student-item p {
	width: max-content;
	font-size: 17px;
}
.education-name {
	font-size: 20px!important;
}
.penalties h3,.last-dates h3 {
	font-size: 15px!important;
}
.creator strong {
	font-size: 17px;
}
.penalties-blocks {
	display: flex;
	gap: 10px;
}
.created-by {
	display: flex;
	gap: 10px;
	align-items: end;
}
.student-details {
	display: block;
	overflow: hidden;
	/*max-height: 300px;*/
	transition: max-height 0.3s ease-in-out;
}
.student-name {
	font-size: 15px;
	cursor: pointer;
	transition: all ease 0.5s;

}
.penalties,.last-dates {
	border: 2px solid #0b3961;
	padding: 20px;
	border-radius: 15px;
	width: max-content;
}
.student-name:hover {
	color: #0C81C7;
	transition: all ease 0.5s;
}
.reports-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.teacher-name {
	margin: unset;
	font-size: 20px;
	padding-bottom: 10px;
	padding-top: 10px;
}

/* Overlay */
.overlay-report {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: none; /* Hidden by default */
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

/* Pop-up */
.report-popup {
	background: white;
	padding: 20px;
	border-radius: 8px;
	max-width: 600px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 80%;
	height: 28%;
	text-align: center;
	position: relative;
}

.report-block {
	margin-bottom: 20px;
}

button {
	padding: 10px 20px;
	background-color: #007BFF;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

button:hover {
	background-color: #0056b3;
}

.close-popup {
	background-color: #dc3545;
}
.creator {
	display: flex;
	gap: 10px;
	align-items: baseline;
}
.date-creator {
	display: flex;
	gap: 5px;
}
.date-creator-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}
.date-creator-table th, .date-creator-table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}
.date-creator-table th {
	background-color: #f4f4f4;
	font-weight: bold;
}
.penalties-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}
.penalties-table th, .penalties-table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}
.penalties-table th {
	background-color: #f4f4f4;
	font-weight: bold;
}
.penalty-title {
	font-weight: bold;
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

.popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	z-index: 1001;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.popup-content {
	position: relative;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	font-size: 20px;
	color: #333;
}
.report-open-detail {
	display: none;
}
.report-open-detail-btn {
	height: 7px;
	font-size: 13px;
	line-height: 1px;
}
.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 1;
}

.popup-content {
	background: white;
	padding: 20px;
	border-radius: 5px;
	width: max-content;
	max-width: 90%;
	text-align: center;
	position: relative;
	max-height: 80vh;
	overflow-y: auto;
}
.report_container table td th {
	border: 1px solid #ddd;
	text-align: left;
}
.report_container table tr th  {
	border: 1px solid #ddd!important;
	text-align: left;
}
.report_container table tr td  {
	border: 1px solid #ddd!important;
	text-align: left;
}
table {
	border-collapse: collapse;
	width: 100%;
}

th, td {
	padding: 15px;
}

@media (min-width: 320px) and (max-width: 767px) {
	.teacher-report-list {
		justify-content: center;
	}
}

