/* Platformă CEX Bihor - Stiluri personalizate */

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reduce container padding pentru ecrane mari */
@media (min-width: 768px) {
	.container {
		max-width: 95%;
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* Tabele cu borduri vizibile */
.table-bordered {
	border: 2px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
	border: 1px solid #dee2e6;
}

/* Stiluri pentru prezență/absență în rapoarte */
.status-present {
	background-color: #cce5ff !important;
	text-align: center;
	font-weight: bold;
}

.status-absent {
	background-color: #ffcccc !important;
	text-align: center;
	font-weight: bold;
}

/* Contor prezență */
.attendance-counter {
	margin: 20px 0;
	padding: 15px;
	background-color: #f8f9fa;
	border-radius: 5px;
	border: 1px solid #dee2e6;
}

.attendance-counter strong {
	font-size: 1.1em;
}

/* Card spacing */
.card {
	margin-bottom: 20px;
}

/* Buttons */
.btn {
	margin-right: 5px;
}

/* Form spacing */
.form-group {
	margin-bottom: 1rem;
}

/* Alerta pentru instructiuni lipsă */
.library-missing-alert {
	max-width: 800px;
	margin: 50px auto;
	padding: 30px;
	border: 2px solid #dc3545;
	border-radius: 8px;
	background-color: #f8d7da;
	color: #721c24;
}

/* Responsive table */
@media (max-width: 768px) {
	.table-responsive {
		overflow-x: auto;
	}
}

/* Export button styling */
.export-btn {
	margin-left: 10px;
}

/* Date range picker customizations */
.daterangepicker {
	z-index: 1050;
}

/* jQuery UI Datepicker customizations */
.ui-datepicker {
	z-index: 1050 !important;
}

/* Toggle fields based on role */
.js-profesor-only {
	padding: 15px;
	background-color: #f8f9fa;
	border-radius: 5px;
	margin-top: 15px;
}

/* Checkbox list for associations */
.checkbox-list {
	max-height: 400px;
	overflow-y: auto;
	border: 1px solid #dee2e6;
	padding: 15px;
	border-radius: 5px;
}

.checkbox-list .form-check {
	margin-bottom: 10px;
}

/* Group discipline headers */
.discipline-header {
	background-color: #e9ecef;
	padding: 10px;
	margin: 10px 0 5px 0;
	font-weight: bold;
	border-left: 4px solid #007bff;
}

/* Class level headers */
.class-level-header {
	background-color: #f8f9fa;
	padding: 8px;
	margin: 8px 0 5px 0;
	font-weight: bold;
	border-left: 3px solid #6c757d;
}
