/* CourseTable.css */ .course-table { width: 90vw; margin: 0 auto; padding: 20px; background-color: #f9f9f9; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .course-table h2 { text-align: center; margin-bottom: 20px; color: #333; } .course-table ul { list-style-type: none; padding: 0; margin: 0; } .course-table li { padding: 10px; margin-bottom: 10px; background-color: #fff; border: 1px solid #ddd; border-radius: 4px; display: flex; justify-content: space-between; align-items: center; } .course-table li:last-child { margin-bottom: 0; } .course-table li .status { font-size: 0.9rem; padding: 5px 10px; border-radius: 3px; color: #fff; } .course-table li .status.Pending { background-color: #f39c12; } .course-table li .status.Submitted { background-color: #2ecc71; } .course-table .form-container { padding: 20px; background-color: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .course-table .form-container h2 { margin-bottom: 20px; text-align: center; } .course-table .form-container form { display: flex; flex-direction: column; } .course-table .form-container label { margin-bottom: 10px; } .course-table .form-container input[type="text"] { padding: 8px; border: 1px solid #ddd; border-radius: 4px; width: 100%; } .course-table .form-container input[type="text"]:focus { border-color: #007bff; } .course-table .form-container .error { border-color: red; } .course-table .form-container .error-message { color: red; font-size: 0.9rem; margin-top: 5px; } .course-table .form-container button { padding: 10px; background-color: #007bff; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 1rem; margin-top: 15px; } .course-table .form-container button:disabled { background-color: #ccc; cursor: not-allowed; }