/* Student Dashboard Styles */

.student-dashboard {
	max-width: 1400px;
	margin: 0 auto;
	font-family: 'Archivo', sans-serif;
}

/* Header Section */
.dashboard-header-section {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 20px;
	position: relative;
}

.welcome-section h1 {
	font-family: 'Archivo', sans-serif;
	font-size: 36px;
	font-weight: 300;
	color: black;
	margin: 0;
	letter-spacing: -1px;
}
.student-dashboard h2 {
	font-family: 'Archivo', sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: var(--dark-green);
	margin: 0;
	letter-spacing: -1px;
}

.date-grade-section {
	text-align: right;
	margin: 5px 0 0;
}

.today-date {
	font-size: 12px;
	color: #000;
	margin-bottom: 0.25rem;
	font-family: 'Archivo', sans-serif;
	font-weight: 500;
}

.student-grade {
	font-size: 12px;
	color: var(--dark-green);
	font-weight: 500;
	background: white;
	padding: 2px 7px;
	border-radius: 5px;
	display: inline-block;
	font-family: 'Archivo', sans-serif;
}



/* Main Dashboard Grid */
.dashboard-grid {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 2rem;
}

.left-column,
.right-column {
	display: flex;
	flex-direction: column;
	gap: 10px;
}


/* Section Headers (outside cards) */

.section-header {
	font-family: 'Archivo', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--dark-green);
	margin-bottom: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.section-header .view-all-link {
	font-size: 0.9rem;
	color: var(--dark-green);
	text-decoration: none;
	font-weight: 500;
}

.section-header .view-all-link:hover {
	color: var(--gold);
}

/* Dashboard Cards */

.dashboard-card {
	background: white;
	border-radius: 5px;
	padding: 15px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #f0f0f0;
	margin-bottom: 30px;
}

/* Announcements */
.announcements-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.announcement-item {
	padding: 1rem;
	background: #f8f9fa;
	border-radius: 5px;
	border-left: 3px solid var(--gold);
	cursor: pointer;
	transition: all 0.2s;
}

.announcement-title {
	font-weight: 600;
	color: var(--dark-green);
	margin-bottom: 0.25rem;
	font-family: 'Archivo', sans-serif;
}

.announcement-meta {
	font-size: 0.8rem;
	color: #666;
	margin-bottom: 0.5rem;
	font-family: 'Archivo', sans-serif;
}

.announcement-preview {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.4;
	font-family: 'Archivo', sans-serif;
}

/* Today's Assignments */
.assignments-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.assignment-checkbox-wrapper {
	flex-shrink: 0;
}

.assignment-icon {
	font-size: 1.2rem;
	flex-shrink: 0;
}

.assignment-content {
	flex: 1;
}

.assignment-subject {
	font-size: 11px;
	color: var(--subject-color);
	font-family: 'Archivo', sans-serif;
	font-weight: 600;
}

/* Upcoming Projects Table */
.projects-table {
	width: 100%;
	border-collapse: collapse;
}

.projects-table th {
	background: var(--dark-green);
	color: white;
	padding: 0.75rem;
	text-align: left;
	font-weight: 500;
	font-family: 'Archivo', sans-serif;
}

.projects-table th:first-child {
	border-radius: 8px 0 0 0;
}

.projects-table th:last-child {
	border-radius: 0 8px 0 0;
}

.projects-table td {
	padding: 1rem 0.75rem;
	border-bottom: 1px solid #f0f0f0;
	font-family: 'Archivo', sans-serif;
}

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

.project-icon {
	font-size: 1.1rem;
	margin-right: 0.5rem;
}

/* My Subjects */
.subjects-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.subject-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 10px 20px;
	background-color: #fff;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.2s;
	border-left: 4px solid;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.subject-item:last-child {
	margin-bottom: 30px;
}

.subject-item:hover {
	background: var(--subject-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.subject-item:hover .subject-icon,
.subject-item:hover .subject-name,
.subject-item:hover .student-count,
.subject-item:hover .subject-teacher {
	color: white !important;
}

.subject-item .subject-icon {
	font-size: 1.5rem;
	color: var(--subject-color, #355946);
}

.subject-details {
	flex: 1;
}

.subject-name {
	font-size: 16px;
	font-weight: 600;
	color: black;
	font-family: 'Archivo', sans-serif;
}

.subject-teacher {
	font-size: 0.85rem;
	color: #666;
	font-family: 'Archivo', sans-serif;
}

.class-name {
	font-size: 21px;
	line-height: 24px;
	font-weight: 500;
	color: black;
	font-family: 'Stoke', serif;
}
.class-count {
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: -0.25px;
	line-height: 18px;
	color: var(--light-green);
}
.class-detail-header {
	display: flex;
	gap: 20px;
	align-items: start;
}

.assignment-detail-meta {
	gap: 20px;
}
.need-grading {
	background: var(--red);
	padding: 2px 15px;
	border-radius: 30px;
	color: white;
	font-size: 12px;
	font-weight: 600;
}
.title-padding-top {
	margin-top: 40px;
}

/* Recent Grades & Feedback */
.feedback-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.feedback-section {
	background: white;
	border-radius: 5px;
	padding: 2rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.feedback-item {
	padding: 1.5rem;
	background: #f8f9fa;
	border-radius: 5px;
	border-left: 4px solid var(--subject-color);
}

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

.feedback-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 5px 15px;
	background: none;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.2s;
	position: relative;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border-radius: 5px;
	border: 1px solid var(--light-grey);
}

.feedback-item:hover {
	transform: translateX(2px);
}

.feedback-item.unread {
	background-color: #e3f2fd;
	border: 0.5px solid var(--blue);
	border-left: 4px solid var(--blue);
}

.feedback-icon {
	font-size: 22px;
	flex-shrink: 0;
}

.feedback-content {
	flex: 1;
}
.feedback-card {
	background-color: #fafafa;
}

.feedback-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #f1f3f4;
}


.feedback-assignment {
	font-weight: 500;
	color: var(--dark-green);
	margin-bottom: 0.25rem;
	font-family: 'Archivo', sans-serif;
}

.feedback-meta {
	font-size: 0.8rem;
	color: #666;
	display: flex;
	gap: 0.75rem;
	font-family: 'Archivo', sans-serif;
}

.grade {
	color: var(--dark-green);
	font-weight: 500;
}

.unread-indicator {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	width: 8px;
	height: 8px;
	background: #007bff;
	border-radius: 50%;
}

/* My Classmates */
.classmates-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.classmate-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.classmate-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--light-green);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 0.5rem;
	font-family: 'Archivo', sans-serif;
	overflow: hidden;
}

.classmate-name {
	font-size: 15px;
	color: var(--dark-green);
	font-weight: 500;
	font-family: 'Archivo', sans-serif;
	font-family: 'Archivo', sans-serif;
}

.classmate-grade {
	font-size: 11px;
	font-weight: 500;
	color: var(--light-green)
}




/* Classes Page Styling */


.student-header {
	background: linear-gradient(135deg, var(--dark-green), var(--light-green));
	color: white;
	padding: 2rem;
	border-radius: 5px;
	margin-bottom: 2rem;
	text-align: center;
}

.student-header h1 {
	margin: 0 0 0.5rem 0;
	font-size: 2rem;
	font-family: 'Stoke', serif;
}

.student-info {
	font-size: 1.1rem;
	opacity: 0.9;
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.student-count {
  font-weight: 400;
  color: #000;
  font-size: 11px;
  text-transform: uppercase;
}

.classes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
	margin-top: 20px;
	margin-bottom: 2rem;
}

.class-card {
	background: var(--light-grey);
	border-radius: 5px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	border: 1px solid #e1e8ed;
	overflow: hidden;
	transition: all 0.3s;
	/* border-left: 3px solid var(--subject-color); */
}

.class-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.class-header {
	background: linear-gradient(135deg, var(--subject-color), var(--subject-color-dark, var(--subject-color)));
	color: white;
	padding: 10px 25px;
	position: relative;
	display: flex;
	align-items: center;
}
.class-meta {
	margin-left: auto;
}

.class-header::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.1);
	pointer-events: none;
}

.class-title {
	font-size: 21px;
	font-weight: 400;
	color: white;
	margin: 0;
	position: relative;
	z-index: 1;
}

.class-meta {
	font-size: 0.9rem;
	opacity: 0.9;
	display: flex;
	gap: 1rem;
	position: relative;
	z-index: 1;
}

.class-body {
	padding: 1.5rem;
	background-color: var(--light-grey);
	display: flex;
	flex-direction: column;
	min-height: 300px;
}

.latest-assignment {
	margin-bottom: 20px;
	/* padding-bottom: 1.5rem;
	border-bottom: 1px solid #f1f3f4; */
}

.latest-assignment h4 {
	color: var(--dark-green);
	margin: 0 0 5px 0;
	font-size: 12px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-transform: uppercase;
	font-family: 'Archivo', sans-serif;
	border: 0;
}

.assignment-preview {
	background-color: white;
	padding: 1rem;
	border-radius: 5px;
	border: 0.5px solid var(--subject-color);
	border-left: 4px solid var(--subject-color);
	cursor: pointer;
	transition: all 0.2s;
}

.assignment-preview:hover {
	background: #e9ecef;
}

.assignment-preview-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 5px;
}

.assignment-preview-title {
	font-weight: 600;
	color: #000;
	line-height: 21px;
	font-size: 21px;
	padding-right: 2rem;
	font-family: 'Archivo', sans-serif;
}

.assignment-status {
	padding: 0px 10px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	min-width: 80px;
}

.status-completed {
	background: #d4edda;
	color: #155724;
}

.status-pending {
	background: #fff3cd;
	color: #856404;
}

.assignment-preview-meta {
	font-size: 0.85rem;
	color: #666;
	display: flex;
	gap: 1rem;
}

.projects-section {
	margin-top: 1rem;
}

.projects-section h4 {
	color: var(--dark-green);
	margin: 0 0 5px 0;
	font-size: 12px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-transform: uppercase;
	font-family: 'Archivo', sans-serif;
	border: 0;
}

.project-alert {
	/* background: linear-gradient(135deg, #ff6b6b, #ee5a24); */
	background-color: white;
	color: black;
	padding: 5px 25px;
	border-radius: 5px;
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	border: 1px solid var(--red);
}

.project-alert-icon {
	font-size: 1.2rem;
}

.project-alert-text {
	flex: 1;
}

.project-alert-title {
	font-weight: 600;
	margin-bottom: 0;
}

.project-alert-meta {
	font-size: 0.9rem;
	opacity: 0.9;
}

.no-projects {
	color: #666;
	font-style: italic;
	text-align: center;
	padding: 1rem;
	font-size: 14px;
}

.teacher-contact {
	background: #f8f9fa;
	padding: 1rem;
	border-radius: 5px;
	text-align: center;
	margin-top: 20px;
}

.teacher-contact h5 {
	margin: 0 0 0.5rem 0;
	color: var(--dark-green);
}

.teacher-email {
	color: var(--subject-color);
	text-decoration: none;
	font-weight: 500;
}

.teacher-email:hover {
	text-decoration: underline;
}

.teacher-students {
	padding: 10px 20px;
}

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

.upcoming-projects-card {
	background: #f8f9fa;
	border-radius: 5px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	border: 1px solid #e1e8ed;
	padding: 20px;
	margin: 20px 0;
}

.upcoming-projects-card h2 {
	color: black;
	margin: 0 0 1.5rem 0;
	font-family: 'Archivo', sans-serif;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1rem;
}

.project-card {
	background: #fff3cd;
	border: 1px solid #ffeaa7;
	border-radius: 5px;
	padding: 1.5rem;
	border-left: 6px solid #f39c12;
}

.project-urgency-high {
	background: white;
	border-color: #ffb3b3;
	border-left-color: #e74c3c;
	display: flex;
	gap: 20px;
	padding: 8px 25px;
	align-items: center;
	cursor: pointer;
}

.project-urgency-medium {
	background: #fff8e6;
	border-color: #ffe066;
	border-left-color: #f39c12;
	display: flex;
	gap: 20px;
	cursor: pointer;
}

.project-title {
	font-weight: 600;
	color: #333;
	margin-bottom: 0.5rem;
}

.project-urgency-high .project-title {
	font-weight: 600;
	color: #000;
	margin-bottom: 0;
	font-size: 18px;
}

.project-meta {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 1rem;
}

.project-due {
	font-weight: 600;
	color: #d63031;
}

.quick-actions {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
	justify-content: center;
}

.quick-action {
	background: var(--light-green);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.quick-action:hover {
	background: var(--dark-green);
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.classes-grid {
		grid-template-columns: 1fr;
	}
	
	.projects-grid {
		grid-template-columns: 1fr;
	}
	
	.student-info {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.quick-actions {
		flex-direction: column;
	}
}

.assignment-detail {
	max-width: 100%;
	margin: 0 auto;
	padding: 10px;
}

.assignment-header {
	background: #fafafa;
	border-radius: 10px;
	padding: 15px 30px;
	margin-bottom: 2rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border-width: 1px 1px 1px 6px;
	border-color: solid var(--subject-color);
}

.assignment-meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-top: 15px;
}

.meta-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.meta-label {
	font-size: 11px;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--red);
	letter-spacing: 0.5px;
}

.meta-value {
	font-size: 16px;
	color: var(--dark-green);
	font-weight: 600;
	text-transform: capitalize;
}
.meta-value.assignment-description {
	font-size: 19px;
	line-height: 24px;
	font-weight: 500;
	border: 1px solid grey;
	border-radius: 10px;
	padding: 20px;
	margin-top: 10px;
	background-color: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	text-transform: none;
}

.completion-toggle {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 10px;
	background: #f8f9fa;
	border-radius: 5px;
}

.header-right {
	text-align: center;
	width: auto;
	position: absolute;
	top: 0;
	right: 0;
}

.completion-circle {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: conic-gradient(var(--light-green) 0deg, var(--dark-green) calc(var(--progress) * 3.6deg), var(--cream) calc(var(--progress) * 3.6deg), var(--gold) 360deg);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin: 0 auto 0.5rem;
}

.completion-circle::before {
	content: '';
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: white;
	position: absolute;
}

.completion-text {
	font-size: 0.9rem;
	font-weight: 600;
	z-index: 1;
}
.completion-subtext {
	display: block;
	font-size: 0.8rem;
	opacity: 0.9;
}

.assignment-header-title {
	display: flex; 
	align-items: center; 
	gap: 1rem; 
	margin: 10px 0 50px;
	align-items: start;
}
.assignment-header-title > div:last-child {
	margin-left: auto;
}

.completed-on {
	font-size: 11px;
	color: #222;
}

.completion-checkbox {
	width: 24px;
	height: 24px;
	border: 1px solid var(--light-green);
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.2s;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
}

.completion-checkbox.checked {
	background: var(--dark-green);
	border-color: var(--dark-green);
}

.completion-checkbox.checked::after {
	content: '✓';
	color: white;
	font-size: 0.9rem;
	font-weight: bold;
}

.complete-checkbox {
	width: 24px;
	height: 24px;
	border: 1px solid var(--light-green);
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.2s;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto !important;
}

.complete-checkbox.checked {
	background: var(--dark-green);
	border-color: var(--dark-green);
}

.complete-checkbox.checked::after {
	content: '✓';
	color: white;
	font-size: 0.9rem;
	font-weight: bold;
}


/* .grade-badge {
	background: var(--dark-green);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-weight: 600;
} */

.feedback-text {
	line-height: 1.6;
	color: #333;
}

.action-buttons {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}

.btn {
	padding: 0.75rem 1.5rem;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.2s;
	border: none;
	cursor: pointer;
}

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

.btn-primary:hover {
	background: var(--light-green);
	transform: translateY(-2px);
}

.btn-gold {
	background: var(--gold);
	color: black;
}

.btn-gold:hover {
	background: var(--cream);
	transform: translateY(-2px);
}

.subject-assignments {
	max-width: 100%;
	margin: 0 auto;
}

.subject-header {
	background: white;
	border-radius: 5px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border-left: 6px solid var(--subject-color);
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.subject-icon-large {
	width: 60px;
	height: 60px;
	border-radius: 5px;
	background: var(--subject-color);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
}

.teacher-actions {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.filter-tabs {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.filter-tab {
	padding: 5px 15px;
	background: white;
	border: 1px solid #dee2e6;
	border-radius: 5px;
	text-decoration: none;
	color: var(--dark-green);
	font-weight: 500;
	transition: all 0.2s;
	font-size: 12px;
}

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

.filter-tab:hover {
	background: var(--cream);
	color: var(--dark-green);
	border-color: var(--light-green);
}

.assignments-grid {
	display: grid;
	gap: 1rem;
}

.teacher-assignment-date {
	margin: 10px 0;
}

.assignment-card {
	background: white;
	border-radius: 5px;
	padding: 15px 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border-left: 4px solid var(--subject-color);
	transition: all 0.2s;
	cursor: pointer;
	font-size: 13px;
	line-height: 18px;
	word-break: break-all;
}

.assignment-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.assignment-card.completed {
	opacity: 0.8;
	background: #f8f9fa;
}

.assignment-card.overdue {
	border-left-color: #dc3545;
}

.assignment-card-header {
	display: flex;
	justify-content: between;
	align-items: flex-start;
	margin-bottom: 1rem;
}



.survey-card {
	background: white;
	border-radius: 5px;
	padding: 1.5rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border-left: 4px solid var(--subject-color);
	transition: all 0.2s;
	cursor: pointer;
}

.survey-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.survey-card-header {
	display: flex;
	justify-content: between;
	align-items: flex-start;
	margin-bottom: 1rem;
}



.status-badge {
	padding: 0.25rem 0.75rem;
	border-radius: 5px;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
}

.status-badge.completed {
	background: #d4edda;
	color: #155724;
}

.status-badge.overdue {
	background: #f8d7da;
	color: #721c24;
}

.status-badge.upcoming {
	background: #fff3cd;
	color: #856404;
}

.completion-checkbox-small {
	width: 20px;
	height: 20px;
	border: 1px solid var(--light-green);
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.2s;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
}

.completion-checkbox-small.checked {
	background: var(--dark-green);
	border-color: var(--dark-green);
}

.completion-checkbox-small.checked::after {
	content: '✓';
	color: white;
	font-size: 0.7rem;
	font-weight: bold;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.stat-card {
	background: white;
	border-radius: 5px;
	padding: 8px 15px;
	text-align: center;
}

.stat-number {
	font-size: 24px;
	font-weight: 600;
	color: var(--dark-green);
	line-height: 27px;
}

.stat-label {
	font-size: 0.8rem;
	color: #666;
	margin-top: 0.25rem;
}

.assignments-view {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
}

.view-header {
	/* background: linear-gradient(135deg, var(--dark-green), var(--light-green)); */
	color: black;
	padding: 5px;
	border-radius: 5px;
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

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

.header-center {
	text-align: center;
	flex: 1;
}

.view-title {
  color: var(--dark-green);
  font-family: 'Archivo', sans-serif;
  font-size: 30px;
  line-height: 30px;
  letter-spacing: -0.5px;
  font-weight: 400;
  margin: 0;
}




.dashboard-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.dashboard-card-header-item {
}
.dashboard-main h3 {
	line-height: 20px;
	font-family: 'Archivo', sans-serif;
}


.assignment-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 5px;
	border-left: 4px solid var(--subject-color);
	transition: all 0.2s;
	cursor: pointer;
}

.assignment-item:hover {
	background: #e9ecef;
	transform: translateX(4px);
}

.assignment-item.completed {
	background: #d4edda;
	opacity: 0.8;
}

.grading-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 5px;
	border-left: 4px solid var(--subject-color);
	transition: all 0.2s;
	cursor: pointer;
}

.grading-item:hover {
	background: #e9ecef;
	transform: translateX(4px);
}

.grading-item.completed {
	background: #d4edda;
	opacity: 0.8;
}

.assignment-checkbox {
	width: 24px;
	height: 24px;
	border: 1px solid var(--light-green);
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.2s;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
}

.assignment-checkbox.checked {
	background: var(--dark-green);
	border-color: var(--dark-green);
}

.assignment-checkbox.checked::after {
	content: '✓';
	color: white;
	font-size: 0.8rem;
	font-weight: bold;
}

.assignment-icon {
	font-size: 1.2rem;
	color: var(--subject-color);
}

.assignment-content {
	flex: 1;
}

.assignment-title {
	font-weight: 600;
	margin-bottom: 0.25rem;
	color: var(--dark-green);
	font-family: 'Archivo', sans-serif;
	font-size: 21px;
}
.assignment-title-row {
	font-size: 16px;
	text-transform: capitalize !important;
	font-weight: 500 !important;
	margin-bottom: 0;
}

.assignment-type-home {
	background-color: var(--gold);
	text-transform: capitalize;
	padding: 1px 5px;
	word-break: keep-all;
	font-weight: 700;
	font-size: 10px;
	color: #000;
	max-height: 22px;
	min-width: 52px;
}
.assignment-type-class {
	background-color: var(--light-green);
	text-transform: capitalize;
	padding: 1px 5px;
	word-break: keep-all;
	font-weight: 700;
	font-size: 10px;
	max-height: 22px;
	min-width: 48px;
}
.assignment-type-project {
	background-color: var(--red);
	text-transform: capitalize;
	padding: 1px 5px;
	word-break: keep-all;
	font-weight: 700;
	font-size: 10px;
	max-height: 22px;
}
.assignment-type-draft {
	background-color: var(--cream);
	text-transform: capitalize;
	padding: 1px 5px;
	word-break: keep-all;
	font-weight: 700;
	font-size: 10px;
	max-height: 22px;
	color: var(--text-dark);
}
.assignment-type-published {
	background-color: var(--text-dark);
	text-transform: capitalize;
	padding: 1px 5px;
	word-break: keep-all;
	font-weight: 700;
	font-size: 10px;
	max-height: 22px;
	color: var(--cream);
}
.filter-all {
	background-color: black;
	color: white;
}
.filter-published  {
	background-color: var(--light-green);
	color: var(--cream);
}
.filter-draft {
	background-color: var(--cream);
	color: black;
}
.filter-home {
	background-color: var(--gold);
	color: black;
}
.filter-project {
	background-color: var(--red);
	color: white;
}
.filter-draft {
	background-color: var(--cream);
	color: var(--text-dark);
}

.assignment-meta {
	font-size: 0.8rem;
	color: var(--light-green);
	text-transform: uppercase;
	display: flex;
	gap: 1rem;
	font-weight: 600;
}
.assignment-card-compact .assignment-meta {
	font-size: 13px;
	color: #222;
	text-transform: capitalize;
	display: flex;
	gap: 1rem;
	font-weight: 500;
}
.teacher-assignment-due-date {
	font-size: 13px;
	font-weight: 500;
	color: var(--red);
}
.teacher-assignments-grid-header > :last-child {
	margin-left: auto;
	gap: 5px;
}
.teacher-assignments-grid-title {
	margin-bottom: 0;
	font-size: 18px;
	letter-spacing: -0.5px;
	font-weight: 500;
	word-break: break-word;
}

.teacher-assignments-grid-header {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 10px;
}

.teacher-assignment-actions > :last-child {
	margin-left: auto;
}

.teacher-assignment-actions {
	display: flex;
	gap: 10px;
	padding-top: 10px;
	border-top: 1px dotted var(--gold);
}

h4.assignment-title-compact {
	font-size: 17px;
	text-transform: capitalize;
	margin: 0;
	border: 0;
	line-height: 17px;
	padding: 0;
	font-weight: 600;
}

/* Week View */
.week-grid {
	display: grid; 
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
	background: white;
	border-radius: 5px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	overflow: hidden;
}

.day-column {
	min-height: 400px;
	padding: 0;
	background: white;
	border-right: 1px solid #ddd;
}

.day-column:last-child {
	border-right: none;
}

.day-header {
	text-align: center;
	padding: 10px;
	background: white;
	color: black;
	position: sticky;
	top: 0;
	z-index: 10;
}

.day-number {
	font-size: 1.5rem;
	margin-bottom: 0.25rem;
	color: #000;
	line-height: 21px;
}

.day-name {
	font-size: 0.9rem;
	opacity: 0.9;
}

.day-content {
	padding: 1rem;
}

.day-assignment {
	background: #f8f9fa;
	border-radius: 5px;
	padding: 1rem;
	margin-bottom: 1rem;
	border-left: 4px solid var(--subject-color);
	position: relative;
	transition: all 0.2s;
	cursor: pointer;
}

.day-assignment:hover {
	background: #e9ecef;
	transform: translateX(4px);
}

.day-assignment.completed {
	background: #d4edda;
	opacity: 0.8;
}

.day-assignment-checkbox {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 20px;
	height: 20px;
	border: 1px solid var(--light-green);
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s;
	background: white;
}

.day-assignment-checkbox.checked {
	background: var(--dark-green);
	border-color: var(--dark-green);
}

.day-assignment-checkbox.checked::after {
	content: '✓';
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 0.7rem;
	font-weight: bold;
}

.day-assignment-subject {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 0;
	color: var(--subject-color);
}

/* Month View */
.month-grid {
	background: white;
	border-radius: 5px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	overflow: hidden;
}

.month-body {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
}

.month-day {
	min-height: 120px;
	padding: 0.5rem;
	border-right: 1px solid #f1f3f4;
	border-bottom: 1px solid #f1f3f4;
	position: relative;
}

.month-day:last-child {
	border-right: none;
}


.month-day.today {
	background: #fff3cd;
}

.month-day-number {
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--dark-green);
}

.month-assignment {
	background-color: white; 
	color: var(--dark-green);
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	font-size: 0.7rem;
	margin-bottom: 0.25rem;
	cursor: pointer;
	transition: all 0.2s;
}

.month-assignment:hover {
	transform: scale(1.02);
}

.no-assignments {
	text-align: center;
	color: #999;
	font-style: italic;
	padding: 2rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

/* Today indicator */
.day-column.today .day-header {
	background: var(--gold);
	color: black;
}

.day-column.today .day-number {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000;
	margin: 0 auto;
}

.feedback-detail {
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem;
}

.feedback-header {
	background: white;
	border-radius: 5px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border-left: 6px solid var(--subject-color);
}

.assignment-info {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.assignment-icon {
	font-size: 1.5rem;
	color: var(--subject-color);
}

.assignment-details h1 {
	margin: 0;
	font-family: 'Stoke', serif;
	color: var(--dark-green);
}
.assignment-detail h1 {
	font-size: 24px;
	margin: 0;
	line-height: 30px;
	font-weight: 600;
	color: black;
	font-family: 'Archivo', sans-serif;
}
.assignment-detail-subject {
	font-size: 14px;
	font-weight: 500;
	color: #777;
}


.teacher-info {
	/* display: flex; */
	align-items: center;
	gap: 1rem;
}

.teacher-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--light-green);
	color: var(--dark-green);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 1.1rem;
}

.teacher-details h3 {
	margin: 0;
	color: var(--dark-green);
	font-family: 'Archivo', sans-serif;
}

.feedback-date {
	color: #666;
	font-size: 0.9rem;
	margin-top: 0.25rem;
}

/* .grade-badge {
	background: var(--dark-green);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	font-weight: 600;
	font-size: 1.1rem;
} */

.feedback-text {
	line-height: 1.7;
	color: #333;
	font-size: 1rem;
}

.assignment-context {
	background: #f8f9fa;
	border-radius: 5px;
	padding: 1.5rem;
	margin-bottom: 2rem;
}

.assignment-context h3 {
	margin-top: 0;
	color: var(--dark-green);
	font-family: 'Archivo', sans-serif;
}

.action-buttons {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}

.btn {
	padding: 0.75rem 1.5rem;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.2s;
	border: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.btn-secondary {
	background: var(--gold);
	color: #222;
	border: 1px solid #222;
	padding: 7px 15px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
}

.btn-secondary:hover {
	background: var(--cream);
	color: var(--dark-green);
}

.feedback-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.stat-item {
	background: white;
	padding: 1rem;
	border-radius: 5px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.stat-value {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--dark-green);
}

.stat-label {
	font-size: 0.8rem;
	color: #666;
	margin-top: 0.25rem;
}

.assignment-detail-header {
	margin-bottom: 20px;
}

/* Empty States */
.empty-state {
	text-align: center;
	padding: 10px;
	color: #666;
	font-style: italic;
	font-family: 'Archivo', sans-serif;
}

.notifications-section {
  position: absolute;
  top: -10px;
  right: -10px;
  display: flex;
  gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.dashboard-grid {
		grid-template-columns: 1fr;
	}
	
	.student-dashboard {
	}
	
	.dashboard-header-section {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	
	.date-grade-section {
		text-align: left;
	}
	
	.notifications-section {
		position: relative;
		top: 0;
		right: 0;
	}
}

@media (max-width: 768px) {
	.welcome-section h1 {
		font-size: 2rem;
	}
	
	.classmates-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.dashboard-card {
		padding: 1rem;
	}
}




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

.nav-btn {
	background: rgba(255,255,255,0.1);
	border: 1px solid var(--light-green);
	color: var(--dark-green);
	padding: 5px 10px;
	border-radius: 5px;
	text-decoration: none;
	transition: all 0.3s;
	font-size: 1.2rem;
}

.nav-btn:hover {
	background: rgba(255,255,255,0.2);
	border: 1px solid var(--dark-green);
	transform: translateY(-2px);
}

.header-center {
	text-align: center;
	flex: 1;
}

.view-subtitle {
	font-size: 24px;
	color: #000;
	font-weight: 300;
}


.view-tabs {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 2rem;
	justify-content: center;
}

.view-tab {
	padding: 5px 30px;
	background: white;
	border: 1px solid #ccc;
	border-radius: 5px;
	text-decoration: none;
	color: var(--dark-green);
	font-weight: 500;
	transition: all 0.2s;
	font-size: 14px;
}

.view-tab.active {
	background: var(--gold);
	color: black;
	border-color: var(--red);
}

.view-tab:hover {
	background: var(--cream);
	color: var(--black);
	border-color: var(--gold);
}

/* Week View */
.week-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
	background: white;
	border-radius: 5px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	overflow: hidden;
}

.day-column {
	min-height: 400px;
	padding: 0;
	background: white;
	border-right: 1px solid #f1f3f4;
}

.day-column:last-child {
	border-right: none;
}

.day-number {
	font-size: 21px;
	font-weight: 300;
	margin-bottom: 0;
}

.day-name {
	font-size: 12px;
}

.day-content {
	padding: 1rem;
}

.day-assignment {
	background: #f8f9fa;
	border-radius: 5px;
	padding: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid var(--subject-color);
	border-right: 1px solid var(--subject-color);
	border-top: 1px solid var(--subject-color);
	border-left: 4px solid var(--subject-color);
	position: relative;
	transition: all 0.2s;
	cursor: pointer;
}

.day-assignment:hover {
	background: #e9ecef;
	transform: translateX(4px);
}

.day-assignment.completed {
	background: #d4edda;
	opacity: 0.8;
}

.day-assignment-checkbox.checked {
	background: var(--dark-green);
	border-color: var(--dark-green);
}

.day-assignment-checkbox.checked::after {
	content: '✓';
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 0.7rem;
	font-weight: bold;
}

.day-assignment-title {
	font-weight: 400;
	margin-bottom: 0;
	color: #000;
	line-height: 18px;
	padding-right: 20px;
	font-family: 'Archivo', sans-serif;
	font-size: 14px;
}


/* Month View */
.month-grid {
	background: white;
	border-radius: 5px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	overflow: hidden;
}
.month-grid .month-header,
.month-grid .month-body {
	display: grid;
	grid-template-columns: repeat(5, 1fr); /* Changed from 7 to 5 */
}

.month-header {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	background: #fff;
	color: black;
	border-bottom: 2px solid #ddd;
}

.month-day-header {
	padding: 10px;
	text-align: center;
	font-weight: 300;
	font-size: 21px;
	line-height: 27px;
	/* border-right: 1px solid #ddd; */
}

.month-day-header:last-child {
	border-right: none;
}

.month-body {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
}

.month-day {
	min-height: 120px;
	padding: 0.5rem;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	position: relative;
}

.month-day:last-child {
	border-right: none;
}

.month-day.other-month {
	background: #f4f8f6;
	color: #999;
}

.month-day.today {
	background: #fff;
}

.month-day-number {
	font-weight: 400;
	font-family: 'Archivo', sans-serif;
	margin-bottom: 0.5rem;
	color: var(--dark-green);
}

.month-assignment {
	background: var(--subject-color);
	color: white;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	font-size: 0.7rem;
	margin-bottom: 0.25rem;
	cursor: pointer;
	transition: all 0.2s;
}

.month-assignment:hover {
	transform: scale(1.02);
}

.month-assignment.completed {
	opacity: 0.3;
	text-decoration: line-through dotted;
}

/* Day View */
.day-view {
	background: white;
	border-radius: 5px;
	padding: 2rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.day-assignments {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.assignments-card {
	padding: 15px 15px 5px;
}

.assignment-checkbox {
	width: 24px;
	height: 24px;
	border: 1px solid var(--light-green);
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
}

.assignment-checkbox.checked {
	background: var(--dark-green);
	border-color: var(--dark-green);
}

.assignment-checkbox.checked::after {
	content: '✓';
	color: white;
	font-size: 0.8rem;
	font-weight: bold;
}

.assignment-icon {
	font-size: 24px;
	color: var(--subject-color);
}

.assignment-content {
	flex: 1;
}
.assignment-content-description {
	margin-top: 20px;
	padding-bottom: 10px;
}

@media (max-width: 992px) {
	.week-grid,
	.month-body {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.view-header {
		flex-direction: row;
		gap: 1rem;
		text-align: center;
	}
	
	.week-grid,
	.month-body {
		grid-template-columns: 1fr;
	}
	
	.month-header {
		display: none;
	}
	
	.day-column {
		border-right: none;
		border-bottom: 1px solid #f1f3f4;
	}
}

.no-assignments {
	text-align: center;
	color: #999;
	font-style: italic;
	padding: 2rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

/* Today indicator */
.day-column.today .day-header {
	background: var(--gold);
	color: var(--dark-green);
}

.assignment-description,
.assignment-instructions,
.assignment-resources {
	font-size: 16px;
	color: var(--dark-green);
	font-weight: 500;
	line-height: 21px;
}

.assignment-description p,
.assignment-instructions p,
.assignment-resources p {
	margin-bottom: 1rem;
}

.assignment-description ul,
.assignment-description ol,
.assignment-instructions ul,
.assignment-instructions ol,
.assignment-resources ul,
.assignment-resources ol {
	margin: 1rem 0;
	padding-left: 2rem;
}

.assignment-description li,
.assignment-instructions li,
.assignment-resources li {
	margin-bottom: 0.5rem;
}

.assignment-video-section,
.assignment-files-section {
	background: white;
	border-radius: 5px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.assignment-video-section h3,
.assignment-files-section h3 {
	color: var(--dark-green);
	margin-bottom: 1.5rem;
	font-family: 'Archivo', sans-serif;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.video-container {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.assignment-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.assignment-description,
.assignment-instructions,
.assignment-resources {
	line-height: 1.6;
	color: #333;
}

.assignment-description p,
.assignment-instructions p,
.assignment-resources p {
	margin-bottom: 1rem;
}

.assignment-description ul,
.assignment-description ol,
.assignment-instructions ul,
.assignment-instructions ol,
.assignment-resources ul,
.assignment-resources ol {
	margin: 1rem 0;
	padding-left: 2rem;
}

.assignment-description li,
.assignment-instructions li,
.assignment-resources li {
	margin-bottom: 0.5rem;
}

/* Media Section Styles */
.assignment-media-section {
	background: white;
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.media-grid {
	display: grid;
	gap: 2rem;
}

.media-grid.two-columns {
	grid-template-columns: 1fr 1fr;
}

.media-grid.single-column {
	grid-template-columns: 1fr;
}

.media-column h3 {
	color: var(--dark-green);
	margin-bottom: 1.5rem;
	font-family: 'Archivo', sans-serif;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.1rem;
}

/* Video Styles */
.video-container {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.assignment-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.file-preview {
	width: 100%;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f1f3f4;
	position: relative;
	overflow: hidden;
}

.file-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.file-item:hover .file-thumbnail {
	transform: scale(1.05);
}

.pdf-preview {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	font-size: 2rem;
}

.pdf-preview span {
	font-size: 0.8rem;
	font-weight: 600;
	color: #dc3545;
}

.file-icon-large {
	font-size: 3rem;
	opacity: 0.7;
}

.file-info {
	padding: 1rem;
	background: white;
}

.file-name {
	font-weight: 600;
	color: var(--dark-green);
	margin-bottom: 0.25rem;
	font-size: 0.9rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

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

.file-actions {
	position: absolute;
	top: 8px;
	right: 8px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.file-item:hover .file-actions {
	opacity: 1;
}

.download-btn {
	background: var(--dark-green);
	color: white;
	padding: 0.5rem;
	border-radius: 50%;
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.download-btn:hover {
	background: var(--light-green);
	color: white;
	transform: scale(1.1);
}

/* File Preview Modal */
.file-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

.modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(4px);
}

.modal-content {
	background: white;
	border-radius: 12px;
	max-width: 95vw;
	max-height: 95vh;
	width: 1100px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.3);
	position: relative;
	z-index: 1001;
	display: flex;
	flex-direction: column;
	overflow: scroll;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	border-bottom: 1px solid #e9ecef;
	background: #fff;
}

.modal-header h4 {
	margin: 0;
	color: var(--dark-green);
	font-family: 'Archivo', sans-serif;
}

.modal-header-actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.modal-icon-btn {
	background: none;
	border: 1px solid transparent;
	font-size: 16px;
	color: #6c757d;
	cursor: pointer;
	padding: 8px 10px;
	border-radius: 6px;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.modal-icon-btn:hover {
	background: #f1f3f4;
	color: #495057;
	border-color: #dee2e6;
}

.modal-icon-btn .fa-google-drive {
	color: #4285f4;
}

.modal-icon-btn:hover .fa-google-drive {
	color: #1a73e8;
}

.modal-icon-btn .fa-print {
	color: #6c757d;
}

.modal-icon-btn:hover .fa-print {
	color: #495057;
}

.modal-icon-btn .fa-external-link-alt {
	color: #17a2b8;
}

.modal-icon-btn:hover .fa-external-link-alt {
	color: #138496;
}

.close-btn {
	background: none;
	border: none;
	font-size: 27px;
	line-height: 21px;
	color: #444;
	cursor: pointer;
	padding: 5px;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.close-btn:hover {
	color: var(--dark-green);
}

.modal-body {
	flex: 1;
	padding: 1.5rem;
	overflow: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70vh;
}

.modal-footer {
	padding: 1rem 1.5rem;
	border-top: 1px solid #e9ecef;
	background: #f8f9fa;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal-footer .download-btn {
	background: var(--dark-green);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: auto;
	height: auto;
	font-size: 0.95rem;
	transition: all 0.2s ease;
}

.modal-footer .download-btn:hover {
	background: var(--light-green);
	transform: translateY(-2px);
}

/* Preview Content Styles */
.preview-image {
	max-width: 100%;
	min-width: 700px;
	max-height: 75vh;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
	.preview-image {
		min-width: 100%;
	}
}

.pdf-embed {
	width: 100%;
	min-width: 900px;
	height: 75vh;
	border: none;
	border-radius: 8px;
}

@media (max-width: 960px) {
	.pdf-embed {
		min-width: 100%;
	}
}

.file-preview-placeholder {
	text-align: center;
	color: #666;
	font-style: italic;
}

.file-preview-placeholder i {
	font-size: 4rem;
	margin-bottom: 1rem;
	opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 768px) {
	.view-tabs {
		margin: 20px 0;
	}
	.completion-circle {
		width: 40px;
		height: 40px;
	}
	
	.completion-circle::before {
		content: '';
		width: 30px;
		height: 30px;
	}
	.completion-text {
		font-size: 14px;
	}
	.completion-subtext {
		display: none;
	}
	.media-grid.two-columns {
		grid-template-columns: 1fr;
	}
	
	.files-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}
	
	.file-preview {
		height: 100px;
	}
	
	.modal-content {
		margin: 1rem;
		width: calc(100% - 2rem);
		max-height: calc(100% - 2rem);
	}
	
	.modal-body {
		min-height: 200px;
	}
	
	.pdf-embed {
		height: 300px;
	}
}

@media (max-width: 480px) {
	.files-grid {
		grid-template-columns: 1fr;
	}
	
	.assignment-media-section {
		padding: 1rem;
	}
	
	.media-grid {
		gap: 1.5rem;
	}
}

.files-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

@media (max-width: 1024px) {
	.files-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.files-grid {
		grid-template-columns: 1fr;
	}
}

.file-item {
	display: flex;
	flex-direction: column;
	padding: 0;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #e9ecef;
	transition: all 0.2s ease;
	overflow: hidden;
	cursor: pointer;
}

.file-item .file-preview {
	width: 100%;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e9ecef;
}

.file-item .file-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.file-item .file-info {
	padding: 12px;
}

.file-item:hover {
	background: #e9ecef;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.file-icon {
	margin-right: 1rem;
	font-size: 1.5rem;
}

.file-info {
	flex: 1;
}

.file-name {
	font-weight: 400;
	color: var(--dark-green);
	margin-bottom: 0.25rem;
}

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

.file-actions {
	margin-left: 1rem;
}

.download-btn {
	background: var(--dark-green);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.download-btn:hover {
	background: var(--light-green);
	color: white;
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.file-item {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}
	
	.file-icon {
		margin-right: 0;
		margin-bottom: 0.5rem;
	}
	
	.file-actions {
		margin-left: 0;
		width: 100%;
	}
	
	.download-btn {
		width: 100%;
		justify-content: center;
	}
}

.class-stats {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.stat-item {
	text-align: center;
	padding: 0.75rem;
	background: #f8f9fa;
	border-radius: 8px;
	min-width: 70px;
}

.stat-item.urgent {
	background: #fee;
	border: 1px solid #fcc;
}

.stat-item.warning {
	background: #fff8e1;
	border: 1px solid #ffeb3b;
}

.stat-number {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--dark-green);
}

.stat-item.urgent .stat-number {
	color: #d63031;
}

.stat-item.warning .stat-number {
	color: #f39c12;
}

.stat-label {
	font-size: 0.75rem;
	color: #666;
	margin-top: 0.25rem;
}

.action-buttons-compact {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.action-btn-small {
	padding: 0.5rem 0.75rem;
	background: var(--dark-green);
	color: white;
	text-decoration: none;
	border-radius: 6px;
	font-size: 0.8rem;
	transition: background 0.3s;
}

.action-btn-small:hover {
	background: var(--light-green);
	text-decoration: none;
	color: white;
}
.child-selector {
	margin-bottom: 20px;
}

.child-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.child-tab {
	background: var(--cream);
	color: black;
	padding: 3px 15px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 400;
	font-size: 14px;
	border: 1px solid var(--gold);
	transition: all 0.3s ease;
	white-space: nowrap;
}

.child-tab:hover {
	background: var(--cream);
	color: var(--dark-green);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(230, 197, 102, 0.3);
}

.child-tab.active {
	background: var(--gold);
	color: black;
	border-color: var(--dark-green);
	box-shadow: 0 4px 12px rgba(33, 59, 45, 0.3);
}

/* Parent-specific title adjustments */


/* Responsive Design for Child Selector */
@media (max-width: 768px) {
	.child-selector {
		padding: 1rem;
		margin-bottom: 1.5rem;
	}
	
	.child-tabs {
		gap: 0.5rem;
	}
	
	.child-tab {
		padding: 0.5rem 1rem;
		font-size: 0.85rem;
	}
}

@media (max-width: 480px) {
	.child-tabs {
		flex-direction: column;
	}
	
	.child-tab {
		text-align: center;
		border-radius: 8px;
	}
}


/* ANNOUNCEMENTS */

/* Add to your existing CSS file */

.announcement-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 20px;
	background: white;
	border-radius: 8px;
	margin-bottom: 15px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	position: relative;
}

.announcement-avatar {
	flex-shrink: 0;
}

.announcement-avatar img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
}

.announcement-avatar .initials {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--dark-green);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 1.2rem;
}

.announcement-content {
	flex: 1;
}

.announcement-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
	line-height: 1.3;
}

.announcement-message {
	color: #555;
	line-height: 1.5;
	margin-bottom: 12px;
}

.announcement-meta {
	font-size: 0.9rem;
	color: #888;
	font-style: italic;
}

.announcement-close {
	position: absolute;
	top: 15px;
	right: 15px;
}

.announcement-close button {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #ccc;
	cursor: pointer;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s;
}

.announcement-close button:hover {
	background: #f0f0f0;
	color: #999;
}

.dashboard-card.announcements-card {
	padding: 0;
	background: none;
	box-shadow: none;
}
.btn-badge {
	background-color: var(--red);
	border-radius: 6px;
	color: white;
	font-weight: 500;
	padding: 10px 20px;
	text-transform: capitalize; 
	border: 0;
	font-size: 16px;
}
.btn-badge:hover {
	background-color: black;
	color: white;
}

.btn-preview {
	border: 1.5px solid var(--gold);
	color: var(--text-dark);
	background: white;
	border-radius: 5px;
}
.btn-preview:hover {
	border: 1.5px solid black;
	background: black;
	color: white;
}
.btn-details {
	border: 1.5px solid var(--light-green);
	color: var(--text-dark);
	background-color: white;
	border-radius: 5px;
}
.btn-details:hover {
	background: var(--dark-green);
	color: white;
}
.header-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}
.btn-new-assignment {
	display: flex;
	gap: 5px;
	background-color: var(--gold);
	padding: 7px 15px;
	text-transform: uppercase;
	color: black;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	transition: all 0.2s;
	border: 1px solid var(--red);
}
.btn-new-assignment:hover {
	background-color: var(--cream);
	border: 1px solid var(--gold);
}
.btn-new-week {
	display: flex;
	gap: 5px;
	background: var(--light-green);
	color: white;
	border: 1px solid #222;
	padding: 7px 15px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	transition: all 0.2s;
	border: 1px solid var(--dark-green);
	text-transform: uppercase;
	letter-spacing: 1px;
	align-items: center;
}

.btn-new-week:hover {
	background: var(--dark-green);
	color: white;
	border: 1px solid var(--dark-green);
}
.btn-student-week {
	background: white;
	color: black;
	border: 1px solid #222;
	padding: 7px 15px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	transition: all 0.2s;
	border: 1px solid var(--dark-green);
}

.btn-student-week:hover {
	background: var(--cream);
	color: black;
	border: 1px solid var(--gold);
}
.btn-grade {
	display: flex;
	gap: 5px;
	background-color: var(--dark-green);
	padding: 7px 15px;
	text-transform: uppercase;
	color: white;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	transition: all 0.2s;
	border: 1px solid var(--dark-green);
}
.btn-grade:hover {
	background-color: black;
	border: 1px solid black;
	color: white;
}


.file-attachment-preview {
	gap: 10px;
}




.layout-controls {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
	justify-content: flex-end;
}

.layout-btn {
	padding: 8px 16px;
	border: 2px solid #e1e8ed;
	background: white;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.3s ease;
	font-weight: 500;
}

.layout-btn.active {
	background: var(--dark-green, #213b2d);
	color: white;
	border-color: var(--dark-green, #213b2d);
}

.assignments-grid {
	margin-top: 30px;
}

.assignments-compact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
	margin-top: 30px;
}

.assignment-compact-meta {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 10px;
}



.assignment-card-compact {
	background: white;
	border: 1px solid #e1e8ed;
	border-radius: 8px;
	padding: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
}

.assignment-card-compact:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.assignments-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 30px;
}

.assignment-row {
	background: white;
	border: 1px solid #e1e8ed;
	border-radius: 5px;
	padding: 8px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.assignment-row:hover {
	background: #f8f9fa;
}

.assignment-row-main {
	display: flex;
	gap: 10px;
	align-items: center;
}

.assignment-file-attachment {
	padding: 10px 20px 10px 10px;
	border: 1px solid var(--light-green);
	border-radius: 10px;
	display: flex;
	justify-content: space-between;
	margin: 10px 0 10px;
}

.completion-bar {
	width: 100px;
	height: 8px;
	background: #e9ecef;
	border-radius: 4px;
	overflow: hidden;
}

.completion-progress {
	height: 100%;
	background: var(--light-green, #28a745);
	transition: width 0.3s ease;
}

.hidden { display: none; }

.search-section {
	max-height: 40px;
	width: 50%;
}
.btn-grid {
	display: flex;
	gap: 5px;
	background: var(--light-grey);
	padding: 7px 15px;
	text-transform: uppercase;
	color: black;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	transition: all 0.2s;
	border: 1px solid var(--gold);
}
.btn-grid:hover {
	background-color: var(--red);
	color: white;
	border: 1px solid var(--red);
}
.btn-grid.active {
	border: 1px solid var(--red);
	color: black;
	background: white;
}
.assignment-meta-due, .assignment-meta-assigned {
	font-size: 12px;
	font-weight: 600;
	color: #222;
}
.assignment-meta-due {
	color: var(--red);
}
.assignment-meta-grade {
	font-size: 12px;
	color: var(--light-green);
	font-weight: 500;
	margin: 0 0 5px 0;
	word-break: break-word;
	text-align: right;
}
.assignment-meta-count {
	text-align: right;
	font-size: 12px;
	color: var(--light-green);
	font-weight: 500;
}
.assignment-meta-points {
	color: var(--red);
	font-size: 12px;
	font-weight: 600;
}
.assignment-meta-flex {
	display: flex;
	justify-content: space-between;
	width: 100%;
}
.assignment-type-draft {
	margin-left: auto;
}
.teacher-assignment-actions-list {
	display: flex;
	gap: 10px;
	padding: 0;
	margin: 0;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.625rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 500;
}

.status-badge.pending {
	background-color: #f3f4f6;
	color: #1f2937;
}

.status-badge.completed {
	background-color: #dbeafe;
	color: #1e40af;
}

.status-badge.graded {
	background-color: #dcfce7;
	color: #166534;
}

.grade-display {
	font-weight: 500;
	color: #1f2937;
}

.grade-now-btn {
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	border-radius: 0.375rem;
}

.need-grading {
	background-color: #f59e0b;
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 500;
}

.text-success {
	color: #059669;
}
.student-progress {
	display: flex;
	gap: 10px;
}
.student-progress-name {
	font-size: 14px;
	font-family: 'Archivo', sans-serif;
	font-weight: 600;
	margin: 0;
	padding: 0;
}
.student-progress-house {
	font-size: 11px;
	color: #777;
	line-height: 11px;
	font-style: italic;
}

/* Resource Button Styling */
.resource-button-container {
	text-align: center;
	padding: 1rem 0 0.5rem 0;
	margin-top: auto;
	flex-shrink: 0;
}

.resource-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 5px 20px;
	background: white;
	color: var(--dark-green);
	text-decoration: none;
	border-radius: 5px;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border: 0.5px solid var(--dark-green);
}

.resource-btn:hover {
	background: var(--dark-green);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	text-decoration: none;
	color: white;
}

.resource-btn i {
	font-size: 1rem;
}