
:root{
	--green1: #28a745;
	--green2: #8ac721;
}

.quick_apply_list .btn {
	padding: 6.90px 20px;
}

.modal .btn-primary,
.modal .modal-header {
	background: #28a745 !important;
}
 

.brand-header{
	background: linear-gradient(90deg, var(--green-1), var(--green-2));
	color: #fff;
	border-radius: 14px;
	padding: 18px;
	box-shadow: 0 6px 18px rgba(40,167,69,0.12);
}

.week-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.day-card {
	border-radius: var(--card-radius);
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.04);
	transition: transform .15s ease, box-shadow .15s ease;
}

.day-card:hover{
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.day-head{
	padding: 10px 14px;
	background: linear-gradient(90deg, rgba(40,167,69,0.12), rgba(138,199,33,0.07));
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.slot{
	padding: 10px 14px;
	border-top: 1px dashed rgba(0,0,0,0.04);
	background: #fff;
}

.slot + .slot {
	border-top: 1px solid rgba(0,0,0,0.03);
}

.day-head .time {
	font-weight: 600;
	width: 110px;
}

.topic {
	font-size: 0.95rem;
	font-weight: 500;
}

.meta {
	font-size: 0.85rem;
	color: #5a5a5a;
}

.badge-session {
	background: linear-gradient(90deg,var(--green-1),var(--green-2));
	color: #fff;
	font-weight: 600;
	border-radius: 999px;
	padding: 0.35rem 0.6rem;
	font-size: 0.78rem;
}

/* Legend */
.legend .box {
	width: 14px;
	height: 14px;
	display: inline-block;
	border-radius: 3px;
	margin-right: 8px;
	vertical-align: middle;
}

/* Print-friendly: remove shadows & background */
@media print {
	body {
		background: #fff;
	}
	.brand-header {
		box-shadow: none;
	background: #28a745;
	color: #fff;
	}
	.day-card {
		box-shadow: none;
	transform: none !important;
	}
	.no-print {
		display: none !important;
	}
}


.modal .header{
	background: linear-gradient(90deg,var(--green1),var(--green2));
	color: #fff;
	border-radius: 12px;
	padding: 1rem 1.5rem;
	margin-bottom: 1.5rem;
}
 
.time{
	color: var(--green1);
	font-weight: 600;
	width: 110px;
}
.topic{
	font-weight: 500;
}


.chat-box{
	max-height: 420px;
	overflow-y: auto;
	background: #f9f9f9;
	padding: 1rem;
	border-radius: 8px;
}
.chat-area{
	display: flex;
	flex-direction: column;
	gap: .75rem;
}
.message-row{
	display: flex;
	align-items: flex-end;
	gap: .5rem;
}
.modal .message{
	padding: .5rem .8rem;
	border-radius: 1rem;
	max-width: 70%;
	position: relative;
}
.modal .message.sent{
	background: var(--green1);
	color: #fff;
	margin-left: auto;
	border-bottom-right-radius: 4px;
}
.modal .message.received{
	background: #e9ecef;
	color: #333;
	border-bottom-left-radius: 4px;
}
.modal .message small.time{
	display: block;
	font-size: .75rem;
	opacity: .75;
	margin-top: 2px;
}
 
.message-row.sent-row{
	justify-content: flex-end;
}
.modal .profile-img {
	width: 35px;
	height: 35px;
	overflow: hidden;
	border-radius: 50%;
	object-fit: cover;
}
.modal .profile-img img {
	width: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}
@supports(obect-fit: cover){
	.modal .profile-img img {
		width: 100%;
		display: block;
		object-fit: cover;
		object-position: center;
	}
}
#sendBtn {
	height: 70px;
	margin-bottom: -0px;
} 

.timetable-header {
	background: #333 url('https://fotade.com/admin-dashboard/assets/images/school_236854-61628.jpg');
	background-position: right;
	background-size: cover;
	color: white;
	padding: 30px;
	margin-bottom: 2rem;
	border-radius: 0.5rem;
	text-align: left;
	width: 100%;
}
/* Base table styles */
.timetable-table {
	width: 100%;
	border-collapse: collapse;
	background-color: #fff;
}
.timetable-table thead th {
	background: #039be5;
	color: #fff !important;
}
.timetable-table th,
.timetable-table td {
	position: relative;
	padding: 10px;
	text-align: center;
	border: 1px solid #fff;
	vertical-align: middle;
	transition: background-color 0.3s ease;
}
.timetable-table a {
	display: inline-block;
	position: relative;
}
.profile_views {
	position: absolute;
	display: none;
	width: 100px;
	height: 80px;
	background: #fff;
	transition: all 0.2s linear;
	bottom: 20px;
	left: 0px;
	right: 0px;
	margin: auto;
	box-shadow: 0 5px 15px rgba(0,0,0,.15);
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-ms-border-radius: 0.5em;
	-o-border-radius: 0.5em;
}

.timetable-table a:visited .profile_views,
.timetable-table a:active .profile_views,
.timetable-table a:focus .profile_views,
.timetable-table a:hover .profile_views {
	display: block;
}
.profile_views small {
	position: relative;
	display: inline-block;
	line-height: 10px;
	margin-top: -30px;
}
.prof___img {
	position: relative;
	width: 40px;
	height: 40px;
	overflow: hidden;
	background: #f1f1f1;
	margin: 0 auto;
	top: -10px;
	border: 1px solid #a2a2a2;
	-webkit-border-radius: 5em;
	-moz-border-radius: 5em;
	-ms-border-radius: 5em;
	-o-border-radius: 5em;
}

.prof___img img {
	position: relative;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}
@supports(object-fit: cover){

	.prof___img img {
		position: relative;
		width: 100%;
		height: 100%;
		display: block;
		object-fit: cover;
		object-position: center;
	}
}
/* Time column */
.timetable-table .time-column {
	background-color: #c7def5;
	color: #000000;
	font-weight: 600;
	width: 140px;
}

/* --- Day-based background colors --- */
.timetable-table td:nth-child(2) {
	background-color: #eaf3ff; /* light blue */
}

.timetable-table td:nth-child(3)  {
	background-color: #e8f9f2; /* light green */
}

.timetable-table td:nth-child(4)  {
	background-color: #fff7e6; /* light yellow/orange */
}

.timetable-table td:nth-child(5)  {
	background-color: #f5e6ff; /* light purple */
}

.timetable-table td:nth-child(6) {
	background-color: #fdeaea; /* light pink/red */
}

/* Break rows stand out */
.timetable-table .class-break {
	background-color: rgba(255, 0, 24, 0.1) !important;
	font-weight: 600;
	text-align: center;
	color: #333;
}
/* Break rows stand out */
.timetable-table .class-break strong {
	color: #ff0000;
}

/* Hover for clarity */
.timetable-table tbody tr:hover td {
	background-color: #e9f5ff;
}

/* Responsive tweak */
@media (max-width: 768px) {
	.timetable-table th,
	.timetable-table td {
		padding: 8px;
		font-size: 13px;
	}
}


/* Class Color Coding */
.class-math {
	background-color: #d4edda;
	border-left: 5px solid #28a745;
} /* Success Green */
.class-science {
	background-color: #d1ecf1;
	border-left: 5px solid #17a2b8;
} /* Info Cyan */
.class-art {
	background-color: #fff3cd;
	border-left: 5px solid #ffc107;
} /* Warning Yellow */
.class-break {
	background-color: #f8d7da;
	color: #721c24;
} /* Danger Red for Break */

/* Floating Reminder/Key */
.floating-reminder {
	position: relative;
	width: 100%;
	background-color: white;
	padding: 15px;
	border-radius: 0.5rem;
	box-shadow: 0 5px 15px rgba(0,0,0,.15);
	z-index: 1000;
}
@media (max-width: 992px) {
	.floating-reminder {
		position: static; /* Revert to static on smaller screens */
		width: 100%;
		margin-bottom: 20px;
	}
}
.reminder-item {
	display: flex;
	align-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	font-size: 0.9rem;
	width: 100%;
}
.reminder-item small {
	display: inline-block;
	right: 20px;
	position: absolute;
}
.reminder-item .active {
	color: #55aa00;
}
.color-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin-right: 10px;
}
.dot-math {
	background-color: #28a745;
}
.dot-science {
	background-color: #17a2b8;
}
.dot-art {
	background-color: #ffc107;
}
.dot-break {
	background-color: #dc3545;
}

/* Hover Effect for cells */
.table-hover tbody tr:hover {
	background-color: rgba(0, 123, 255, 0.1); /* Light blue hover */
}


.btn-close-tri {
	display: none;
}

.profile-account-button {
	position: relative;
	width: 40px;
	height: 40px;
	background: #00aa7f;
	overflow: hidden;
	color: #fff !important; 
	text-align: center;
	line-height: 40px;
	padding: 0px;
	letter-spacing: -1;
	text-decoration: none;
	-webkit-border-radius: 50em;
	-moz-border-radius: 50em;
	-ms-border-radius: 50em;
	-o-border-radius: 50em;
	border-radius: 50em;
}
.profile-account-button img {
	display: block;
	width: 100%;
	object-fit: cover;
	object-position: center;
}
.card-account-overview .stat-card {
	border-color: #00aa7f;
}

.education_list_user li.list-group-item strong  {
	text-transform: uppercase !important;
}

.education_list_user li.list-group-item span i  {
	font-size: 22px;
}

.course-card {
	background: #ffffff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
	max-width: 100%;
}

.course-card h2 {
	margin-bottom: 15px;
	font-size: 22px;
	color: #333;
}

.table-responsive {
	overflow-x: auto;
}

.course-table {
	width: 100%;
	border-collapse: collapse;
}

.course-table thead {
	background: #f5f7fa;
}

.course-table th,
.course-table td {
	padding: 12px 14px;
	text-align: left;
	font-size: 14px;
}

.course-table th {
	font-weight: 600;
	color: #555;
}

.course-table tbody tr {
	border-bottom: 1px solid #eee;
}

.course-table tbody tr:hover {
	background: #f9fbff;
}

/* Status Badges */
.badge {
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}

.badge.pending {
	background: #fff4e5;
	color: #d48806;
}

.badge.approved {
	background: #e6fffa;
	color: #08979c;
}

.badge.rejected {
	background: #fff1f0;
	color: #cf1322;
}

/* Action Button */
.btn-view {
	padding: 6px 12px;
	background: #00aa7f;
	color: #fff !important;
	text-decoration: none;
	border-radius: 6px;
	font-size: 13px;
}

.btn-view:hover {
	background: #4a966f;
}

.course-table .btn {
	padding: 0px 12px;
	line-height: 35px;
	font-size: 14px;
}






















































