body, html {
  background-color: #ECF3F0;
  font-family: 'Archivo', sans-serif;
}

.page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
}

.page-header h1 {
	margin: 0;
	color: #2c3e50;
}

.current-classes {
	background: #f8f9fa;
	padding: 1.5rem;
	border-radius: 8px;
	margin-bottom: 2rem;
}

.current-classes h2 {
	margin: 0 0 1rem 0;
	color: #333;
	font-size: 1.3rem;
}

.no-classes {
	color: #666;
	font-style: italic;
}

.classes-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.class-item {
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.class-info {
	flex: 1;
}

.class-info h3 {
	margin: 0 0 0.5rem 0;
	font-size: 1.1rem;
	color: #2c3e50;
}

.class-details {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 0.5rem;
}

.subject-tag,
.grades-tag,
.enrollment-tag {
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	font-size: 0.85rem;
	white-space: nowrap;
}

.subject-tag {
	color: white;
}

.grades-tag {
	background: #e9ecef;
	color: #495057;
}

.enrollment-tag {
	background: #d1ecf1;
	color: #0c5460;
}

.class-description {
	margin: 0.5rem 0 0 0;
	color: #666;
	font-size: 0.9rem;
}

.delete-form {
	margin-left: 1rem;
}

.btn-delete {
	background: #dc3545;
	color: white;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-delete:hover {
	background: #c82333;
}

/* Add New Class Form */
.add-class-section {
	background: white;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 2rem;
}

.add-class-section h2 {
	margin: 0 0 1.5rem 0;
	color: #333;
	font-size: 1.3rem;
}

.add-class-form {
	max-width: 100%;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: flex;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: #333;
}

.form-group input[type="text"],
.form-group textarea {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
}

.form-group textarea {
	resize: vertical;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 2rem;
	margin-bottom: 1.5rem;
}

/* Grade Checkboxes */
.grade-checkboxes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 5px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 4px;
}

.checkbox-label {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
	margin-right: 10px;
	width: 20px;
}

.checkbox-label span {
	font-size: 0.95rem;
}

/* Subject Radio Buttons */
.subject-radios {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: 20px 10px;
	background: #f8f9fa;
	border-radius: 4px;
	max-height: auto;
	overflow-y: auto;
}

.radio-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 0.25rem;
}

.radio-label input[type="radio"] {
	margin-right: 0.5rem;
	flex-shrink: 0;
	width: 20px;
}

.subject-option {
	padding: 5px 10px;
	border-radius: 5px;
	color: white;
	font-size: 15px;
	font-weight: 500;
	display: inline-block;
	width: 100%;
	text-align: center;
	transition: opacity 0.2s;
}

.radio-label:hover .subject-option {
	opacity: 0.85;
}

.btn-primary {
	background: var(--light-green);
	color: white;
	padding: 7px 15px;
	font-size: 12px !important;
	font-weight: 600;
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.2s;
	text-transform: uppercase;
}

.btn-primary:hover {
	background: var(--dark-green);
}

/* Messages */
.success-message,
.error-message {
	padding: 1rem;
	border-radius: 4px;
	margin-bottom: 1.5rem;
}

.success-message {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.error-message {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
	.page-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	
	.form-row {
		grid-template-columns: 1fr;
	}
	
	.class-details {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
	
	.grade-checkboxes,
	.subject-radios {
		grid-template-columns: 1fr 1fr;
	}
}
/* Super Admin Assignment Management Styles */

/* Assignment Statistics Cards */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.stat-card {
	background: white;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	text-align: center;
	border-left: 4px solid #007bff;
}

.stat-card h3 {
	font-size: 2rem;
	font-weight: bold;
	margin: 0 0 0.5rem 0;
	color: #333;
}

.stat-card p {
	margin: 0;
	color: #666;
	font-size: 0.9rem;
}

.stat-card.stat-warning {
	border-left-color: #ffc107;
}

.stat-card.stat-danger {
	border-left-color: #dc3545;
}

.stat-card.stat-success {
	border-left-color: #28a745;
}

.stat-card.stat-info {
	border-left-color: #17a2b8;
}

/* Filters Section */
.filters-section {
	background: white;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	margin-bottom: 2rem;
}

.filters-form .filter-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 1rem;
}

.filters-form .filter-row:last-child {
	margin-bottom: 0;
}

.filter-group {
	display: flex;
	flex-direction: column;
}

.filter-group label {
	font-weight: 500;
	margin-bottom: 0.25rem;
	color: #333;
}

.filter-group select,
.filter-group input {
	padding: 0.5rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.9rem;
}

.filter-actions {
	display: flex;
	gap: 0.5rem;
	align-items: flex-end;
}

/* Table Enhancements */
.table-container {
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	overflow: hidden;
}

.table-header {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f8f9fa;
}

.table-title h2 {
	margin: 0;
	font-size: 1.25rem;
	color: #333;
}

.table-actions {
	display: flex;
	gap: 0.5rem;
}

.data-table {
	width: 100%;
	border-collapse: collapse;
}

.data-table th,
.data-table td {
	padding: 1rem;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.data-table th {
	background: #f8f9fa;
	font-weight: 600;
	color: #333;
}

.checkbox-col {
	width: 50px;
}

.actions-col {
	width: 120px;
}

.no-data {
	text-align: center;
	padding: 3rem;
	color: #666;
	font-style: italic;
}

/* Assignment Info in Table */
.assignment-info h4 {
	margin: 0 0 0.5rem 0;
	font-size: 1rem;
	color: #333;
}

.assignment-meta {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.subject-tag,
.type-tag,
.points-tag {
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 500;
	color: white;
}

.type-tag.type-at_home {
	background-color: #17a2b8;
}

.type-tag.type-in_class {
	background-color: #28a745;
}

.type-tag.type-project {
	background-color: #6f42c1;
}

.points-tag {
	background-color: #6c757d;
}

/* Class Info */
.class-info .section-name {
	font-weight: 500;
	color: #333;
}

.class-info .grade-names {
	font-size: 0.85rem;
	color: #666;
}

/* Due Date Styling */
.due-date {
	font-weight: 500;
}

.due-date.overdue {
	color: #dc3545;
}

.due-date.due-today {
	color: #ffc107;
}

.no-due-date {
	color: #6c757d;
	font-style: italic;
}

/* Status Badges */
.status-badge {
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 500;
}

.status-badge.status-draft {
	background-color: #6c757d;
	color: white;
}

.status-badge.status-published {
	background-color: #28a745;
	color: white;
}

.status-badge.status-archived {
	background-color: #dc3545;
	color: white;
}

/* Progress Bar */
.progress-info {
	min-width: 120px;
}

.progress-bar {
	width: 100%;
	height: 8px;
	background-color: #e9ecef;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 0.25rem;
}

.progress-completed {
	height: 100%;
	background-color: #28a745;
	transition: width 0.3s ease;
}

.progress-text {
	font-size: 0.75rem;
	color: #666;
	line-height: 1.2;
}

.no-students {
	color: #6c757d;
	font-style: italic;
}

/* Action Buttons */
.action-buttons {
	display: flex;
	gap: 0.25rem;
}

/* .btn-small {
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #007bff;
	color: white;
}

.btn-small:hover {
	background-color: #0056b3;
}

.btn-small.btn-danger {
	background-color: #dc3545;
}

.btn-small.btn-danger:hover {
	background-color: #c82333;
} */

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2rem;
}

.pagination-btn {
	padding: 0.5rem 1rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
	background: white;
}

.pagination-btn:hover {
	background-color: #f8f9fa;
}

.pagination-btn.active {
	background-color: #007bff;
	color: white;
	border-color: #007bff;
}

/* Assignment Form Styles */
.form-container {
	max-width: 1200px;
	margin: 0 auto;
}

.assignment-form {
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	overflow: hidden;
}

.form-sections {
	padding: 2rem;
}

.form-section {
	margin-bottom: 2rem;
}

.form-section:last-child {
	margin-bottom: 0;
}

.form-section h2 {
	margin: 0 0 1.5rem 0;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #f8f9fa;
	color: #333;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1rem;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
	padding: 0.75rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

.file-help {
	font-size: 0.85rem;
	color: #666;
	margin-top: 0.25rem;
}

/* Existing Files */
.existing-files {
	background: #f8f9fa;
	padding: 1rem;
	border-radius: 4px;
	margin-bottom: 1rem;
}

.existing-files h3 {
	margin: 0 0 1rem 0;
	font-size: 1rem;
	color: #333;
}

.file-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem;
	background: white;
	border-radius: 4px;
	margin-bottom: 0.5rem;
}

.file-item:last-child {
	margin-bottom: 0;
}

.file-info {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.file-name {
	font-weight: 500;
}

.file-size {
	color: #666;
	font-size: 0.85rem;
}

/* Form Actions */
.form-actions {
	padding: 1.5rem 2rem;
	background: #f8f9fa;
	border-top: 1px solid #eee;
	display: flex;
	gap: 1rem;
}

/* Assignment Detail Page */
.assignment-overview {
	background: white;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	margin-bottom: 2rem;
}
a.view-all-link {
	font-size: 14px;
	font-weight: 400;
}
.assignment-header {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2rem;
	margin-bottom: 1.5rem;
}

.assignment-title h2 {
	margin: 0 0 1rem 0;
	color: #333;
}

.assignment-info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.info-item {
	display: flex;
	flex-direction: column;
}

.info-item label {
	font-weight: 500;
	color: #666;
	font-size: 0.85rem;
	margin-bottom: 0.25rem;
}

.info-item span {
	color: #333;
}

.overdue-badge,
.due-today-badge {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 500;
	margin-left: 0.5rem;
}

.overdue-badge {
	background-color: #dc3545;
	color: white;
}

.due-today-badge {
	background-color: #ffc107;
	color: #333;
}

.assignment-description {
	margin-bottom: 1.5rem;
}

.assignment-description h3 {
	margin: 0 0 0.5rem 0;
	color: #333;
}

.video-container {
	margin-top: 0.5rem;
}

.video-container iframe {
	max-width: 100%;
	height: auto;
}

.assignment-files {
	margin-bottom: 1.5rem;
}

.assignment-files h3 {
	margin: 0 0 1rem 0;
	color: #333;
}

.file-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* Grading Section */
.grading-section {
	background: white;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.grading-section h2 {
	margin: 0 0 1.5rem 0;
	color: #333;
}

.grading-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #eee;
}

.quick-grade-buttons {
	display: flex;
	gap: 0.5rem;
}

/* Students Grid for Grading */
.students-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.student-card {
	border: 2px solid #e9ecef;
	border-radius: 8px;
	padding: 1.5rem;
	background: #f8f9fa;
}

.student-card.completed {
	border-color: #28a745;
	background: #f8fff9;
}

.student-card.not-completed {
	border-color: #ffc107;
	background: #fffdf5;
}

.student-header {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	gap: 1rem;
}

.student-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #007bff;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.1rem;
}

.student-info h4 {
	margin: 0;
	color: #333;
}

.student-details {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.25rem;
}

.grade-tag,
.house-tag {
	padding: 0.125rem 0.5rem;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 500;
}

.grade-tag {
	background-color: #6c757d;
	color: white;
}

.house-tag {
	background-color: #17a2b8;
	color: white;
}

.completion-status {
	margin-left: auto;
	text-align: right;
}

.status-completed {
	color: #28a745;
	font-weight: 500;
}

.status-not-completed {
	color: #ffc107;
	font-weight: 500;
}

.grading-inputs {
	margin-top: 1rem;
}

.grade-input {
	margin-bottom: 1rem;
}

.grade-input label {
	display: block;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: #333;
}

.grade-input input {
	width: 100px;
	padding: 0.5rem;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.feedback-input label {
	display: block;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: #333;
}

.feedback-input textarea {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	resize: vertical;
}

.feedback-date {
	font-size: 0.85rem;
	color: #666;
	margin-top: 0.5rem;
	font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
	.filters-form .filter-row {
		grid-template-columns: 1fr;
	}
	
	.form-row {
		grid-template-columns: 1fr;
	}
	
	.assignment-header {
		grid-template-columns: 1fr;
	}
	
	.assignment-info {
		grid-template-columns: 1fr;
	}
	
	.students-grid {
		grid-template-columns: 1fr;
	}
	
	.grading-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
	}
	
	.quick-grade-buttons {
		justify-content: center;
	}
}
.teacher-classes {
	margin-top: 10px;
}
.house-seal {
	width: 30px;
	height: 30px;
	margin-bottom: 5px;
	vertical-align: middle;
}
.house-badge-teacher img.house-seal-admin {
	width: 50px;
	height: 50px;
	vertical-align: top;
}
.action-buttons {
  margin-top: 0;
}
.house-badge-admin {
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  color: #222;
  font-family: 'Archivo', sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.students-table .house-badge-admin {
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  color: #222;
  font-family: 'Archivo', sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}
.house-seal-admin {
	width: 30px;
	height: 30px;
	margin-bottom: 0px;
	vertical-align: middle;
}

.class-count {
	font-size: 0.8em;
	font-weight: bold;
	color: #666;
	margin-bottom: 8px;
}

.class-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.class-tag {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 12px;
	font-size: 0.75em;
	color: white;
	font-weight: 500;
}

.no-classes {
	color: #999;
	font-style: italic;
	font-size: 0.9em;
}

.student-count {
	font-size: 0.8em;
	color: #666;
	font-weight: bold;
}
.search-section {
	margin-bottom: 0;
}

.search-form {
	display: flex;
	gap: 10px;
	align-items: center;
}

.search-input {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	min-width: 300px;
}
.search-section.search-input {
	width: 70%;
	margin: 0;
	padding: 5px 15px;
}

.search-btn, .clear-btn {
	padding: 5px 15px;
	border-radius: 4px;
	text-decoration: none;
	background-color: var(--light-green);
	color: white;
	font-size: 14px;
	font-weight: 600;
}

.search-btn {
	background: var(--dark-green);
	color: white;
	border: none;
}

.clear-btn {
	background: #6c757d;
	color: white;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.user-type-tabs {
	display: flex;
	gap: 0;
	border: 1px solid var(--dark-green);
	border-radius: 4px;
	overflow: hidden;
}

.tab-btn {
	padding: 7px 15px;
	background: white;
	color: var(--dark-green);
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 600;
}

.tab-btn:hover {
	background: var(--cream);
}

.tab-btn.active {
	background: var(--dark-green);
	color: white;
}

.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.checkbox-group label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: normal;
}
.student-avatar-compact {
	width: 75px;
	height: 75px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 10px;
	border: 2px solid var(--light-green);
	background-color: var(--light-green);
	color: var(--gold);
	font-size: 30px;
	line-height: 70px;
	font-family: 'Archivo', sans-serif;
	font-weight: 600;
}

.assignment-references {
	margin-bottom: 1.5rem;
}

.reference-links {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.reference-item {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 0.75rem;
}

.reference-link {
	color: #007bff;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.reference-link:hover {
	text-decoration: underline;
}
.health-details {
	font-size: 11px;
	word-break: break-word;
	line-height: 12px;
}
.dash-section-subtitle {
	font: 12px 'Archivo', sans-serif;
	text-transform: uppercase;
	font-weight: 600;
}
.widget {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.widget-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  color: #355946;
}

.widget-header-prospective {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: #355946;
}

.widget-content {
  padding: 20px;
}
.widget-section {
	display: flex; 
	justify-content: space-between; 
	margin-bottom: 20px;
}

.user-list {
  max-height: 750px;
  overflow-y: auto;
}

.user-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 10px;
  font-size: 14px;
}

.user-item:last-child {
  border-bottom: none;
}

.user-info {
  display: flex;
  align-items: start;
  gap: 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-online { background: var(--light-green); }
.status-recent { background: var(--gold); }
.status-inactive { background: var(--red); }

.user-role {
  padding: 0;
  color: var(--cream);
}
.user-item .user-role {
  color: #777;
}

.chart-container {
  height: 250px;
  margin: 20px 0;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 5px;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-type {
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 10px;
  color: white;
}

.type-assignment { background: #007bff; }
.type-completion { background: #28a745; }
.type-login { background: #6c757d; }

.admin-tools {
  display: grid;
  gap: 10px;
}

.tool-link {
  display: block;
  padding: 12px 15px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  text-decoration: none;
  color: #495057;
  transition: all 0.2s;
}

.tool-link:hover {
  background: #355946;
  color: white;
  border-color: #355946;
}

.calendar-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.event-date {
  font-size: 0.85rem;
  color: #666;
}

.pending-count {
  background: #dc3545;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 8px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--dark-green);
  margin-bottom: 10px;
  font-family: 'Stoke', serif;
}

.stat-card p {
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.layout-controls {
	display: flex;
	justify-content: space-between !important;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 15px;
}

.program-filters {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.program-filter-btn {
	padding: 6px 12px;
	border: 1px solid var(--light-grey);
	border-radius: 5px;
	background: white;
	color: var(--text-dark);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.program-filter-btn:hover {
	background: var(--cream);
	border-color: var(--gold);
}

.program-filter-btn.active {
	background: var(--light-green);
	color: white;
	border-color: var(--dark-green);
	box-shadow: 0 2px 8px rgba(33, 59, 45, 0.2);
}

.layout-buttons {
	display: flex;
	gap: 10px;
}

@media (max-width: 768px) {
	.layout-controls {
		flex-direction: column;
		align-items: stretch;
	}
	
	.program-filters {
		justify-content: center;
		order: 1;
	}
	
	.layout-buttons {
		justify-content: center;
		order: 2;
	}
}

.house-filter {
	margin-top: 20px;
}
.house-tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.house-tab {
	padding: 3px 8px;
	border: 1px solid #bbb;
	border-radius: 5px;
	text-decoration: none;
	color: var(--text-dark);
	font-size: 14px;
	font-weight: 500;
}
.house-tab.active {
	background: var(--light-green);
	color: white;
	border: 1px solid var(--dark-green);
	
}
.house-tab[data-house-color] {
	border-color: var(--house-color);
}

.house-tab[data-house-color].active {
	background-color: var(--house-color);
	color: white;
}

.house-tab[data-house-color]:hover {
	background-color: var(--house-color);
	opacity: 0.8;
	color: white;
}

.prospective-item {
	background-color: var(--cream);
	padding: 7px 25px;
	border-radius: 5px;
	border: 0.5px solid var(--gold);
	margin-bottom: 10px;
}

/* Pending Events Styles */
.pending-event-item {
	background: #fff9e6;
	border: 1px solid #f59e0b;
	border-radius: 6px;
	padding: 12px;
	margin-bottom: 10px;
	position: relative;
}

.pending-event-item:hover {
	background: #fef3c7;
}

.event-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 6px;
}

.event-header strong {
	color: #92400e;
	font-size: 14px;
}

.event-date {
	background: #f59e0b;
	color: white;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 500;
}

.event-details {
	margin-bottom: 8px;
	color: #666;
}

.category-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 4px;
}

.event-actions {
	display: flex;
	gap: 8px;
}

.btn-approve, .btn-reject {
	padding: 4px 12px;
	border: none;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
	font-weight: 500;
	transition: all 0.2s;
}

.btn-approve {
	background: #10b981;
	color: white;
}

.btn-approve:hover {
	background: #059669;
}

.btn-reject {
	background: #ef4444;
	color: white;
}

.btn-reject:hover {
	background: #dc2626;
}

.pending-events-count {
	color: #f59e0b !important;
}

.more-events {
	text-align: center;
	padding-top: 10px;
	border-top: 1px solid #f3f4f6;
	margin-top: 10px;
}

.more-events a {
	color: #f59e0b;
	text-decoration: none;
	font-size: 13px;
}

.more-events a:hover {
	text-decoration: underline;
}

/* Prospective Families Table Styles */
.prospective-table {
	font-size: 0.9rem;
}

.prospective-table th {
	padding: 0.75rem 0.5rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.5px;
	background: #f8f9fa;
	border-bottom: 2px solid #dee2e6;
}

.prospective-table td {
	padding: 0.75rem 0.5rem;
	border-bottom: 1px solid #f1f3f4;
	vertical-align: top;
}

.prospective-table tr:hover {
	background-color: #f8f9fa;
}

.prospective-table .date-cell {
	text-align: center;
}

.prospective-table .email-cell a:hover {
	text-decoration: underline;
}

.prospective-table .grade-badge,
.prospective-table .program-badge {
	white-space: nowrap;
	display: inline-block;
}

.prospective-table .notes-cell {
	max-width: 200px;
	word-wrap: break-word;
}

@media (max-width: 1200px) {
	.prospective-table {
		font-size: 0.85rem;
	}
	
	.prospective-table th,
	.prospective-table td {
		padding: 0.5rem 0.25rem;
	}
	
	.prospective-table .notes-cell {
		max-width: 150px;
	}
}

@media (max-width: 768px) {
	.prospective-table {
		font-size: 0.8rem;
	}
	
	/* Hide notes and phone columns on mobile */
	.prospective-table .notes-cell,
	.prospective-table .phone-cell {
		display: none;
	}
	
	.prospective-table th:nth-child(4), /* Phone */
	.prospective-table td:nth-child(4),
	.prospective-table th:nth-child(8), /* Notes */
	.prospective-table td:nth-child(8) {
		display: none;
	}
}