/* Instructor Dashboard Styles */

.ids-login-container,
.ids-register-container,
.ids-instructor-dashboard {
	max-width: 1000px;
	margin: 20px auto;
	padding: 20px;
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ids-login-form,
.ids-register-form {
	max-width: 400px;
	margin: 20px 0;
}

.form-group {
	margin-bottom: 15px;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	color: #333;
}

.form-group input {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.form-group input:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.ids-error {
	background: #fee;
	border-left: 4px solid #dc3545;
	padding: 12px;
	margin-bottom: 20px;
	border-radius: 4px;
	color: #721c24;
}

.ids-success {
	background: #efe;
	border-left: 4px solid #28a745;
	padding: 12px;
	margin-bottom: 20px;
	border-radius: 4px;
	color: #155724;
}

.dashboard-section {
	margin-top: 30px;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 5px;
}

.dashboard-section h3 {
	margin-top: 0;
	color: #333;
	border-bottom: 2px solid #0073aa;
	padding-bottom: 10px;
}

.ids-student-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}

.ids-student-table thead {
	background: #0073aa;
	color: white;
}

.ids-student-table th,
.ids-student-table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.ids-student-table tbody tr:hover {
	background: #f5f5f5;
}

.ids-student-table tbody tr:nth-child(even) {
	background: #fafafa;
}

/* Modal Styles */
.ids-modal {
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
}

.ids-modal-content {
	background-color: #fff;
	margin: 10% auto;
	padding: 30px;
	border-radius: 5px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.ids-close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
}

.ids-close:hover,
.ids-close:focus {
	color: #000;
}

.ids-modal-content h3 {
	margin-top: 0;
	color: #333;
}

.ids-modal-content .form-group input {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-sizing: border-box;
}

.button {
	display: inline-block;
	padding: 8px 16px;
	background: #0073aa;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	margin-right: 10px;
	text-decoration: none;
}

.button:hover {
	background: #005a87;
}

.button-primary {
	background: #0073aa;
}

.button-primary:hover {
	background: #005a87;
}

.button-small {
	padding: 5px 10px;
	font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.ids-login-container,
	.ids-register-container,
	.ids-instructor-dashboard {
		margin: 10px;
		padding: 15px;
	}

	.ids-student-table {
		font-size: 12px;
	}

	.ids-student-table th,
	.ids-student-table td {
		padding: 8px;
	}

	.ids-modal-content {
		width: 95%;
		margin: 20% auto;
	}
}

/* Tabs */
.ids-tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.ids-tab {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -1px;
}
.ids-tab.active {
    background: #fff;
    border-color: #ddd;
    border-bottom: 1px solid #fff;
    font-weight: bold;
}
.status-completed {
    color: green;
    font-weight: bold;
}
