* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	//background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	background: linear-gradient(
		to top,
		#7ed957 0%,
		#b2e8ae 50%,
		#ADD8E6 75%,
		#dbe6e4 100%
	);
	min-height: 100vh;
	padding: 20px;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	background: white;
	border-radius: 15px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 30px;
	text-align: center;
}

.header h1 {
	font-size: 2.5em;
	margin-bottom: 10px;
}

.header p {
	font-size: 1.1em;
	opacity: 0.9;
}

.search-section {
	padding: 30px;
	background: #f8f9fa;
	border-bottom: 2px solid #e9ecef;
}

.search-container {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	align-items: center;
}

.search-input {
	flex: 1;
	min-width: 250px;
	padding: 15px 20px;
	font-size: 16px;
	border: 2px solid #dee2e6;
	border-radius: 10px;
	transition: all 0.3s;
}

.search-input:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-select {
	padding: 15px 20px;
	font-size: 16px;
	border: 2px solid #dee2e6;
	border-radius: 10px;
	background: white;
	cursor: pointer;
	transition: all 0.3s;
}

.filter-select:focus {
	outline: none;
	border-color: #667eea;
}

.btn {
	padding: 15px 30px;
	font-size: 16px;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: 600;
}

.btn-secondary {
	background: #6c757d;
	color: white;
}

.btn-secondary:hover {
	background: #5a6268;
	transform: translateY(-2px);
}

.stats {
	padding: 20px 30px;
	background: white;
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #e9ecef;
}

.stat-left {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	align-items: center;
}

.stat-right {
	display: flex;
	gap: 15px;
	align-items: center;
}

.table-container {
	padding: 30px;
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	background: white;
}

thead {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

th {
	padding: 15px;
	text-align: left;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

td {
	padding: 15px;
	border-bottom: 1px solid #e9ecef;
	font-size: 14px;
}

tbody tr {
	transition: all 0.2s;
}

tbody tr:hover {
	background: #f8f9fa;
	transform: scale(1.01);
}

.no-data {
	text-align: center;
	padding: 50px;
	color: #6c757d;
	font-size: 1.2em;
}

.loading {
	text-align: center;
	padding: 50px;
	color: #667eea;
	font-size: 1.2em;
}

.error {
	background: #f8d7da;
	color: #721c24;
	padding: 20px;
	margin: 20px 30px;
	border-radius: 10px;
	border-left: 4px solid #721c24;
}

.prodi-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	background: #667eea;
	color: white;
}

.judul-cell {
	max-width: 500px;
	line-height: 1.5;
}

/* Pagination Styles */
.pagination-container {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px 30px;
	background: #f8f9fa;
	border-top: 1px solid #e9ecef;
}

.pagination {
	display: flex;
	gap: 5px;
	align-items: center;
	flex-wrap: wrap;
}

.page-btn {
	padding: 8px 12px;
	border: 2px solid #dee2e6;
	background: white;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: 600;
	min-width: 40px;
	text-align: center;
}

.page-btn:hover:not(:disabled) {
	background: #667eea;
	color: white;
	border-color: #667eea;
}

.page-btn.active {
	background: #667eea;
	color: white;
	border-color: #667eea;
}

.page-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.page-info {
	color: #495057;
	font-weight: 600;
	font-size: 15px;
}

.rows-per-page {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #495057;
	font-weight: 600;
}

.rows-per-page select {
	padding: 8px 12px;
	border: 2px solid #dee2e6;
	border-radius: 8px;
	background: white;
	cursor: pointer;
	font-weight: 600;
}

/* Toast Notification */
.toast {
	position: fixed;
	top: 20px;
	right: 20px;
	background: white;
	padding: 16px 24px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 1000;
	animation: slideIn 0.3s ease-out;
	max-width: 400px;
}

.toast.success {
	border-left: 4px solid #28a745;
}

.toast.info {
	border-left: 4px solid #17a2b8;
}

.toast.warning {
	border-left: 4px solid #ffc107;
}

.toast.error {
	border-left: 4px solid #dc3545;
}

.toast-icon {
	font-size: 24px;
}

.toast-content {
	flex: 1;
}

.toast-title {
	font-weight: 600;
	margin-bottom: 4px;
	color: #212529;
}

.toast-message {
	color: #6c757d;
	font-size: 14px;
}

.toast-close {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #6c757d;
	padding: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@keyframes slideIn {
	from {
		transform: translateX(400px);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideOut {
	from {
		transform: translateX(0);
		opacity: 1;
	}
	to {
		transform: translateX(400px);
		opacity: 0;
	}
}

.toast.hiding {
	animation: slideOut 0.3s ease-out forwards;
}

@media (max-width: 768px) {
	.header h1 {
		font-size: 1.8em;
	}

	.search-container {
		flex-direction: column;
	}

	.search-input, .filter-select, .btn {
		width: 100%;
	}

	.stats {
		flex-direction: column;
		align-items: stretch;
	}

	.stat-left, .stat-right {
		flex-direction: column;
		width: 100%;
		gap: 10px;
	}

	.rows-per-page {
		flex-direction: column;
		align-items: flex-start;
	}

	.rows-per-page select {
		width: 100%;
	}

	/* Responsive Table */
	.table-container {
		padding: 15px;
	}

	table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	thead {
		display: none;
	}

	tbody {
		display: block;
	}

	tbody tr {
		display: block;
		margin-bottom: 15px;
		border: 1px solid #e9ecef;
		border-radius: 8px;
		padding: 15px;
		background: white;
	}

	tbody tr:hover {
		transform: none;
	}

	tbody td {
		display: block;
		text-align: left;
		padding: 8px 0;
		border: none;
		position: relative;
		padding-left: 50%;
	}

	tbody td:before {
		content: attr(data-label);
		position: absolute;
		left: 0;
		width: 45%;
		padding-right: 10px;
		font-weight: 600;
		color: #495057;
	}

	.prodi-badge {
		display: inline-block;
	}

	.judul-cell {
		max-width: 100%;
		white-space: normal;
	}

	.pagination {
		gap: 3px;
	}

	.page-btn {
		padding: 6px 10px;
		min-width: 35px;
		font-size: 14px;
	}

	.toast {
		left: 20px;
		right: 20px;
		max-width: none;
	}

}
