
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  text-align: center;
}

input,
textarea {
  border-radius: 5px;
  border: 1px solid #ccc;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="tel"],
input[type="email"],
textarea,
select {
  width: 250px;
  padding: 3px;
  font-size: 1em;
}

input[type="submit"] {
  padding: 6px;
  font-size: 1em;
  background-color: #0077b6;
  color: #ffffff;
}

label {
  display: inline-block;
  width: 200px;
}


h1 {
  /* background-color: #b6d26f; */
  background-color: #a89b9d;
  color: white;
  padding: 10px 0;
  margin: 0;
  text-shadow: 1px 1px 2px gray;
}

h1 a {
  color: white;
  padding: 10px 0;
  font-size: 75%;
  /* text-shadow: 1px 1px 2px rgb(27, 131, 62); */
  text-shadow: 1px 1px 2px black;
}

.sticky_wrap a:hover {
  background-color: white;
}

a {
  text-decoration: none;
  color: white;
  font-size: 18px;
}

#mcqForm {
  width: 75%;
  margin: 0 auto;
}

.mcq_questions {

  /* size: 75%; */
  /* background-color: #b6d26f; */
  margin: 10px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  /* border: 1px solid black; */


}

.mcq_questions .question{
  margin: 0 auto;
  width: fit-content;
}

.question-navigation {
  margin: 20px 0;
}

.question-navigation button {
  margin: 5px;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
}

.question-navigation button.answered {
  background-color: #134074;
  color: white;
}

.question-navigation button:hover {
  background-color: #888;
}


.navigation-buttons {
  margin: 20px 0;
}

.navigation-buttons button {
  background-color: #134074;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.navigation-buttons button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.contents {
  display: flex;
  border: 5px solid #212125;
  /* background:#b6d26f; */
  background: #f4f4f9;
}

/* .left_content {
  width: 15%;
  padding: 5px;
  background: #212125;
  color: #fff;
}


.left_content a {
  text-decoration: none;
  color: white;
  font-size: 18px;

}

.left_content a:hover {
  color: #134074;
}

.sticky_wrap {
  left: 100%;
  top: 40%;
  float: left;
}

.right_content {
  margin: 2rem;
} */




/* .navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  
  
}

.navbar li {
  float: left;
}

.navbar li a {

  width: 150px;
  display: block;
  color:#333;
  text-align: center;
  padding: 10px 12px;
  text-decoration: none;
}

.navbar li a:hover:not(.active) {
  
  color: #666;
}

.navbar li a.active {
  color: #134074;
  background-color: white;
}

#second_line_navbar {
  background-color:  #a89b9d;;
  
}

#second_line_navbar li a.active {
  color: white;
  background-color: #a89b9d;
} */




/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.admin_dash a {
  color: black;
}


/* exams */
.exam-button {
  background-color: #212125;
}


/* box_container */
.box_container {
  background-color: #eef4ed;
  padding: 10px;
  border-color: black;
  border-bottom: 15px solid #134074;
}


/* Admin box_container */
.admin_container .box_container {
  
  /* background-color: #eef4ed; */
  padding: 20px;
  /* border-color: black; */
  /* margin: 0 auto; */
  border-radius: 8px;

  margin: 20px auto;
  border-collapse: collapse;
  width: 80%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  
  overflow: hidden;

  /* text-align: center; */
  

  /* border-bottom: 15px solid #134074; */

}


.admin_container .box_container .inside_box {
  width: 50%;
  margin: auto;
}

.admin_container .box_container .inside_box label{
  width: 300px;
  float: left;
}

.admin_container label  input[type="text"], input[type="password"], input[type="date"], input[type="number"], input[type="tel"], input[type="email"], textarea, select {
  width: 300px;
}



#member_login_link {
  color: #134074;
}



/* member dashboard */

.dashboard-container body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  text-align: center;
}

.dashboard-container input,
textarea {
  border-radius: 5px;
  border: 1px solid #ccc;
}

.dashboard-container input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="tel"],
input[type="email"],
textarea,
select option {
  width: 250px;
  padding: 3px;
  font-size: 1em;
  
}

.dashboard-container button {
  width: 100px;
}

.dashboard-container button,
input[type="submit"],
.btn {
  padding: 10px 20px;
  font-size: 1em;
  background-color: #134074;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  margin: 5px;
}

.dashboard-container button:hover,
input[type="submit"]:hover,
.btn:hover {
  /* background-color: #134074; */
  background-color: #0077b6;
}

.dashboard-container label {
  display: inline-block;
  width: 200px;
}

.dashboard-container h1 {
  background-color: #a89b9d;
  color: white;
  padding: 10px 0;
  margin: 0;
}

.dashboard-container a {
  text-decoration: none;
  color: #0077b6;
}

.dashboard-container p {
  font-size: 1.2em;
}

.dashboard-container .btn_delete_btn {
  background-color: #dc3545;
}

.dashboard-container .btn_delete_btn:hover {
  background-color: #c82333;
}

.dashboard-container .center-table {
  margin: 20px auto;
  border-collapse: collapse;
  width: 80%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.dashboard-container .center-table th,
.center-table td {
  padding: 15px;
  text-align: left;
}

.dashboard-container .center-table th {
  background-color: #134074;
  color: white;
}

.dashboard-container .center-table tr:nth-child(even) {
  background-color: #f2f2f2;
}


.dashboard-container .question-navigation button {
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
}

.dashboard-container .question-navigation button.answered {
  background-color: black;
  color: white;
}


/* Style specific to exam results page */
.exam-results-container {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  padding: 20px;
  text-align: center;
}

.exam-results-header {
  color: #333;
}

.exam-results-congrats {
  font-size: 1.2em;
  color: #555;
}

.exam-results-view-answers {
  margin-top: 20px;
  color: #333;
}

.exam-results-table {
  margin: 20px auto;
  border-collapse: collapse;
  width: 80%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.exam-results-table th,
.exam-results-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.exam-results-table th {
  background-color: #0077b6;
  color: white;
}

.exam-results-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.exam-results-exit-form {
  margin-top: 20px;
}

.exam-results-exit-button {
  padding: 10px 20px;
  font-size: 1em;
  background-color: #134074;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 20px;
}

.exam-results-exit-button:hover {
  background-color: #0077b6;
}

/* General body style */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
}



/* Dashboard container */
.dashboard-container {
  /* padding: 20px; */
  text-align: center;
}

/* .dashboard-header {
  color: #333;
  
} */



.dashboard-container .dashboard-header {

  background-color: #a89b9d;
  color: white;
  padding: 10px 0;
  margin: 0;

}

.dashboard-container .page_name {
  color: white;
}

/* Notification message styling */
.notification {
  color: #28a745;
  font-size: 1.2em;
  margin: 10px 0;
}

/* Create exam form styling */
.create-exam-container {
  background-color: #fff;
  padding: 20px;
  margin: 20px auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: 60%;
}

.create-exam-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: left;
  margin-left: 10%;
}

.create-exam-form input[type="text"],
.create-exam-form input[type="number"] {
  width: 80%;
  padding: 8px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* My exams section styling */
.my-exams-container {
  margin: 20px auto;
  width: 60%;
  background-color: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: auto;
  max-height: 300px;
}

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

.exams-table th,
.exams-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.exams-table th {
  background-color: #134074;
  color: white;
}

.exams-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Button styling */
.btn {
  padding: 10px 20px;
  background-color: #134074;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px;
}

.btn:hover {
  background-color: #0077b6;
}

.delete-btn {
  background-color: #dc3545;
}

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

.action-form {
  display: inline;
}


/* member edit exam */

/* General styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
}



/* Exam edit container */
.exam-edit-container {
  padding: 20px;
  max-width: 800px;
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Notification styling */
.notification {
  color: #28a745;
  font-size: 1.2em;
  margin: 10px 0;
}

/* Form styling */
.edit-exam-form,
.add-question-form {
  margin: 20px 0;
}

.edit-exam-form label,
.add-question-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.edit-exam-form input[type="text"],
.edit-exam-form input[type="number"],
.add-question-form input[type="text"],
.add-question-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Questions table styling */
.exam-edit-container .questions-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.exam-edit-container .questions-table th,
.questions-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.exam-edit-container .questions-table th {
  background-color: #134074;
  color: white;
}

.exam-edit-container .questions-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Button styling */
.exam-edit-container .btn {
  padding: 10px 20px;
  background-color: #134074;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.exam-edit-container .btn:hover {
  background-color: #0077b6;
}

.exam-edit-container .delete-btn {
  background-color: #dc3545;
}

.exam-edit-container .delete-btn:hover {
  background-color: #c82333;
}

.exam-edit-container .action-form {
  display: inline;
}


/* member edit question  */

/* Question edit container */
.question-edit-container {
  padding: 20px;
  max-width: 800px;
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Form styling */
.question-edit-container .edit-question-form {
  margin: 20px 0;
}

.question-edit-container .edit-question-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.question-edit-container .edit-question-form input[type="text"],
.edit-question-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Button styling */
.question-edit-container .btn {
  padding: 10px 20px;
  background-color: #0077b6;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.question-edit-container .btn:hover {
  background-color: #134074;
}


/* index deco */

.index_container {
  padding: 20px;
  /* max-width: 800px; */
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Form styling */
.index_container .form_container {
  margin: 20px 0;
}

.index_container .form_container label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.index_container .form_container input[type="text"],
.form_container textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Button styling */
.index_container .form_container button {
  padding: 10px 20px;
  background-color: #134074;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.index_container .form_container button:hover {
  background-color: #0077b6;
}


/* admin login ....... */

/* General body style */
.admin-login-container body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
}


/* Admin login container */
.admin-login-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
}

.admin-login-container .login-header {
  margin-bottom: 20px;
  color: #333;
}

.admin-login-container .admin-login-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.admin-login-container .login-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Button styling */
.admin-login-container .btn {
  padding: 10px 20px;
  background-color: #134074;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.admin-login-container .btn:hover {
  background-color: #0077b6;
}


.admin-login-container .login-error {
  color: #dc3545;
  font-size: 0.9em;
  margin-top: 10px;
}


/* Member login ...... */

/* Member login container */
.member-login-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
}

.member-login-container a {
  color: #134074;
}

.member-login-container a:hover {
  color: #c82333;
}

.member-login-container form {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.member-login-container .member-login-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.member-login-container .login-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}


/* member registration ....... */
.member_reg_container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
}

.member_reg_container a {
  color: #134074;
}

.member_reg_container a:hover {
  color: #c82333;
}

.member_reg_container form {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Button styling */
.member_reg_container button {
  padding: 10px 20px;
  background-color: #134074;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.member_reg_container button:hover {
  background-color: #0077b6;
}

.member_reg_container form {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.member_reg_container .member-reg-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.member_reg_container .login-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}



/* start exam ......... */
.start_exam_container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
}

.start_exam_container a {
  color: #134074;
}

.start_exam_container a:hover {
  color: #c82333;
}

.start_exam_container form {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Button styling */
.start_exam_container button {
  padding: 10px 20px;
  background-color: #134074;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.start_exam_container button:hover {
  /* background-color: #005f8c; */
  background-color: #0077b6;
}

.start_exam_container form {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.start_exam_container .start-exam-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.start_exam_container .login-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}





/* view student */


.view_students_container .students-container {
  margin: 20px auto;
  width: 80%;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

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

.view_students_container .students-table th,
.students-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.view_students_container .students-table th {
  background-color: #134074;
  color: white;
}

.view_students_container .students-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Button styling */

.view_students_container .btn_delete_btn {
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  background-color: #dc3545;
}

.view_students_container .btn_delete_btn:hover {
  background-color: #c82333;
  
}

.view_students_container .action-form {
  display: inline;
}




/* Discussion Container */
.discussion_container {
  /* padding: 20px; */
  /* max-width: 1000px; */
  /* margin: 20px auto; */
  background-color: #f9f9f9;
}

/* Filter Form */
.discussion_container .filter_form input[type="text"],
.filter_form select {
  padding: 8px;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Question Item */
.discussion_container .question_item {
  width: 60%;
  background-color: #fff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  /* position center */

}

.discussion_container .answer_item {
  background-color: #eef4ed;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  border-color: #134074;
  position: relative;
  width: 90%;
  margin: 0 auto;
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); */
  border: 5px solid #ccc;

}

.discussion_container .answer_item small {
  font-size: xx-small;
}

.discussion_container .answer_container {
  margin-bottom: 10px;
  
}

.discussion_container .like_unlike {
  position: absolute;
  top: 10px;
  left: 10px;
}

.discussion_container .like_button,
.unlike_button {
  text-decoration: none;
  color: #134074;
  margin-right: 10px;
}

.discussion_container .answer_form textarea {
  width: 90%;
  height: 100px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 0 auto;
}



.member_discussion_container .member_questions_table {
  width: 100%;
  border-collapse: collapse;
}

.member_discussion_container .member_questions_table th,
.member_questions_table td {
  border: 1px solid #ddd;
  padding: 10px;
}

.member_discussion_container .member_questions_table th {
  background-color: #134074;
  color: white;
}

.member_discussion_container .btn_delete_btn {
  padding: 10px 20px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.member_discussion_container .btn_delete_btn:hover {
  background-color: #c82333;
}

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

.member_discussion_container .modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 8px;
}

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

.discussion_login_text a {
  color: #c82333;
}

.discussion_login_text a:hover {
  color: #dc3545;
}




/* subjects styling */

.container_stubjects_around body {
  font-family: Arial, sans-serif;
  background-color: #f4f6f9;
  margin: 0;
  padding: 0;
  color: #333;
}

.container_stubjects_around h1 {
  text-align: center;
  color: #4a90e2;
}

.container_stubjects_around h1 a {
  text-align: center;
  color: white;
}

.container_stubjects_around .contents {
  display: flex;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  height: 80vh;
}

.container_stubjects_around .left_content {
  width: 25%;
  background: #d9dcd6;
  color: #fff;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  overflow-y: auto;
  padding: 15px;
}

.container_stubjects_around .right_content {
  width: 75%;
  background-color: #a89b9d;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow-y: auto;
  padding: 20px;
}

.container_stubjects_around .subject-link {
  display: block;
  padding: 12px;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.container_stubjects_around .subject-link:hover {
  background-color: #e6f2fb;
  color: #134074;
}

.container_stubjects_around .subject-link.active {
  background-color: #134074;
  color: white;
}

.container_stubjects_around .exams-list {
  list-style-type: none;
  padding: 10px;
  margin: 0;
}

.container_stubjects_around .exam-item {
  margin-bottom: 15px;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: background-color 0.3s, border-color 0.3s;
}

.container_stubjects_around .exam-item:hover {
  background-color: #e6f2fb;
  border-color: #2262a6;
}

.container_stubjects_around .sticky_wrap_subjects {
  position: sticky;
  top: 0;
  max-height: 100%;
  overflow-y: auto;
}

.container_stubjects_around p {
  margin-top: 0;
}

@media (max-width: 768px) {
  .container_stubjects_around .contents {
      flex-direction: column;
      height: auto;
  }

  .container_stubjects_around .left_content,
  .container_stubjects_around .right_content {
      width: 100%;
      padding: 0;
      margin-bottom: 20px;
      height: auto;
      overflow-y: visible;
  }

  .container_stubjects_around .left_content {
      border-right: none;
      padding-bottom: 20px;
      border-bottom: 1px solid #e0e0e0;
  }
}




/* timer */

.timer_container {
  width: 75%;
  height: 50px;
  text-align: center;
  /* background-color: #b6ad90; */
  margin: 0 auto;
  border-radius: 8px;
}

#timer {
  padding: 10px;
}




/* my discussion styling */

.new_question_form {
  width: 60%;
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.member_questions_list {
  width: 60%;
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  max-height: 400px;
  
}

.member_questions_list tr td {
  border: 1px solid gray;
  /* padding: 8px; */
}

.member_questions_table {
  border: 1px solid gray;
  
  
}




.new_question_form input[type="text"], input[type="password"], input[type="date"], input[type="number"], input[type="tel"], input[type="email"], textarea, select {
  width: 80%;
  height: 30px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 0 auto;
  margin-top: 10px;
}

.new_question_form textarea {
  height: 100px;
  width: 80%;
  margin-top: 10px;
}





/* discussion styling  */

.discussion_filters input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="tel"],
input[type="email"],
textarea,
select {
  width: 200px;
  height:fit-content;
}

.discussion_filters .filter_form {
  margin: 0 auto;
  width: 75%;
}



/* login styling */
.login-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
}

.login-container .register-link a {
  color: #134074;
}

.login-container .register-link a:hover {
  color: #c82333;
}


/* Button styling */
.login-container  button {
  padding: 10px 20px;
  background-color: #134074;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.login-container  button:hover {
  background-color: #0077b6;
}



.login-container  label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.login-container  .login-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}


/* edit_member_exam styling */

.edit_member_exam_container {

}





/* view answer popup */

.view_student_body_container .answerModal {

}

#answerModal .students-table {
  margin: 20px auto;
  border-collapse: collapse;
  width: 80%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

#answerModal .students-table th,
#answerModal .students-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

#answerModal .students-table th {
  /* background-color: #0077b6; */
  background-color: #134074;
  color: white;
}

#answerModal .students-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* .view_students_container .btn_delete_btn {
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  background-color: #dc3545;
}

.view_students_container .btn_delete_btn:hover {
  background-color: #c82333;
} */




/* admin coding exam */
.admin_coding_exam_container

.admin_coding_exam_container h1, h2 {
  text-align: center;
}

.admin_coding_exam_container form {
  max-width: 600px;
  margin: 20px auto;
  padding: 10px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.admin_coding_exam_container label {
  display: block;
  margin: 10px 0 5px;
}

.admin_coding_exam_container input[type="text"], input[type="number"] {
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  box-sizing: border-box;
}

.admin_coding_exam_container button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.admin_coding_exam_container button:hover {
  background-color: #45a049;
}

.admin_coding_exam_container table {
  width: 80%;
  margin: 20px auto;
  border-collapse: collapse;
}

.admin_coding_exam_container table, th, td {
  border: 1px solid black;
}

.admin_coding_exam_container th, td {
  padding: 10px;
  text-align: center;
}

.admin_coding_exam_container .modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  padding-top: 60px;
}

.admin_coding_exam_container .modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.admin_coding_exam_container textarea {
  width: 100%;
  font-family: monospace;
  font-size: 14px;
  margin-bottom: 10px;
}

.admin_coding_exam_container pre#output {
  background-color: #f0f0f0;
  padding: 10px;
  border: 1px solid #ccc;
  white-space: pre-wrap;
}




/* fixed nav bar and header */
/* .fixed_header_container {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fixed_header_container h1 {
  text-align: center;
  color: white;
  text-shadow: 1px 1px 2px black;
  /* margin: 10px 0; */
/* }  */


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
  scrollbar-width: none; /* For Firefox to hide scrollbar */
}

.navbar ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
  overflow-x: auto;
  white-space: nowrap;
}

.navbar ul::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.navbar li {
  flex-shrink: 0;
}

.navbar li a {
  width: 150px;
  display: inline-block;
  color: #333;
  text-align: center;
  padding: 10px 12px;
  text-decoration: none;
}

.navbar li a:hover:not(.active) {
  color: #666;
}

.navbar li a.active {
  color: #134074;
  background-color: white;
}


#second_line_navbar {
  background-color: #a3b18a;
}

#second_line_navbar li a.active {
  color: white;
  background-color: #a3b18a;
}


/* Separate floating behavior for login/logout */
.navbar .right {
  margin-left: auto; /* Pushes the login/logout link to the right */
}

.fixed_header_container {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fixed_header_container h1 {
  text-align: center;
  color: white;
  text-shadow: 1px 1px 2px black;
}

/* Footer */
/* .footer {
  background: linear-gradient(to top, #a89b9d, rgba(19, 64, 116, 0));
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}

.footer a {
  color: white;
}

.footer a:hover {
  color: #134074;
} */

/* Media queries for smaller screens */
/* @media (max-width: 768px) {
  .navbar {
    flex-wrap: nowrap; 
  }

  .navbar ul {
    flex-wrap: nowrap; 
  }

  .navbar li {
    display: inline-block;
    padding: 5px;
  }

  .navbar li a {
    padding: 10px 8px;
  }

  #second_line_navbar {
    background-color:  #a3b18a;;
    
  }


  #second_line_navbar li a.active {
    color: white;
    background-color: #a3b18a;
  } 

  .exam_boxes {
    flex-direction: column;
    width: 100%;
  }

  .exam_box {
    width: 90%;
    margin-bottom: 20px;
  }

  
  .scrolling_box {
    width: 90%;
    margin: 10px auto;
  }

  
  h2 {
    font-size: 20px;
  }

  p {
    font-size: 14px;
  }

  .form_container input[type="text"] {
    width: 80%;
  }

  .form_container button {
    width: 80%;
  }
} */

/* Media queries for smaller screens */
@media (max-width: 768px) {
  
  .navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 

  }

  .navbar h1 {
    font-size: 90%;
  }

  .navbar ul {
    display: flex;
    flex-wrap: nowrap; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
  }

  .navbar li {
    display: inline-block;
    /* padding: 2px; */
    
  }

  .navbar li a {
    padding: 5px 4px;
    /* font-size: 90%; */
    width: fit-content !important;
  }

  #second_line_navbar {
    background-color: #a3b18a;
    height: 90%;
  }

  
  .navbar ul::-webkit-scrollbar {
    display: none; 
  }

  #second_line_navbar li a {
    font-size: 95% !important;
  }
  


  #second_line_navbar li a.active {
    color: white;
    background-color: #a3b18a;
  }

  
  .exam_boxes {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .exam_box {
    width: 90%; 
    margin-bottom: 20px;
    box-sizing: border-box; 
  }

  
  .scrolling_box {
    width: 90%;
    margin: 10px auto;
    box-sizing: border-box;
  }

  
  h2 {
    font-size: 20px;
  }

  p {
    font-size: 14px;
  }

  
  .form_container input[type="text"] {
    width: 80%;
    box-sizing: border-box;
  }

  .form_container button {
    width: 80%;
    box-sizing: border-box;
  }
}
