@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

:root {
  --main-color: #060281;
  --dark-blue: #00008b;
  --green: #4caf50;
  --red: #e74c3c;
  --orange: #f39c12;
  --white: #fff;
  --black: #2c3e50;
  --dark-skyblue: #007bff;
  --light-color: #888;
  --light-border:#ccc;
  --light-bg: #eee;
  --border: 1px solid rgba(0, 0, 0, 0.2);
  --black-opacity: rgba(0, 0, 0, 0.2);
  --black-opacity-focus: rgba(0, 0, 0, 0.4);
  --white-background:rgba(255, 255, 255, 0.7);
}

/* Dark theme colors */
.dark-theme {
  --main-color: #a06cdf;
  --dark-blue: #000080;
  --red: #c0392b;
  --orange: #00008b;
  --white: #1c1c1c;
  --black: #f0f0f0;
  --dark-skyblue: #0056b3;
  --light-color: #aaa;
  --light-border:#747171;
  --light-bg: #333;
  --border: 1px solid rgba(255, 255, 255, 0.2);
  --black-opacity: rgb(255, 255, 255, 0.2);
  --black-opacity-focus: rgba(255, 255, 255, 0.4);
  --white-background:rgba(0, 0, 0, 0.7);
}

* {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  border: none;
  text-decoration: none;
}

*::selection {
  background-color: var(--main-color);
  color: var(--white);
}

*::-webkit-scrollbar {
  height: 0.5rem;
  width: 0.8rem;
}

*::-webkit-scrollbar-track {
  background-color: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background-color: var(--light-bg);
  padding-left: 30rem;
}

body.active {
  padding-left: 0rem;
}

section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

img {
  width: 100%;
  height: 100%;
}

select {
  width: fit-content;
  padding: 10px;
  border-radius: 5px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  cursor: pointer;
  font-size: 1.5rem;
}

select:focus {
  box-shadow: 0px 8px 12px var(--black-opacity-focus);
  outline: none;
}

select:hover {
  box-shadow: 0px 8px 12px var(--black-opacity);
}

.btn,
.option-btn,
.delete-btn,
.click-btn,
.inline-btn,
.inline-click-btn,
.inline-option-btn,
.inline-delete-btn {
  border-radius: 0.5rem;
  padding: 1rem 3rem;
  font-size: 1.5rem;
  color: var(--white);
  margin-top: 1rem;
  text-transform: capitalize;
  cursor: pointer;
  text-align: center;
}

.btn,
.option-btn,
.delete-btn,
.click-btn {
  display: block;
  width: 100%;
}

.inline-btn,
.inline-option-btn,
.inline-delete-btn,
.inline-click-btn {
  display: inline-block;
}

.btn,
.inline-btn {
  background-color: var(--main-color);
}

.option-btn,
.inline-option-btn {
  background-color: var(--orange);
  color: white;
}

.delete-btn,
.inline-delete-btn {
  background-color: var(--red);
  color: white;
}

.click-btn,
.inline-click-btn {
  background-color: var(--dark-skyblue);
  color: white;
}

.btn:hover,
.option-btn:hover,
.delete-btn:hover,
.inline-btn:hover,
.click-btn:hover,
.inline-click-btn:hover,
.inline-option-btn:hover,
.inline-delete-btn:hover {
  background-color: var(--black);
  color: var(--white);
}

.flex-btn {
  display: flex;
  gap: 1rem;
}

.flex-btn .option-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 1rem 2rem;
  text-decoration: none;
}

.flex-btn a {
  background-color: var(--red);
}

/* header section starts here */
.header {
  background-color: var(--white);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header .flex {
  padding: 1.5rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .flex .logo-img {
  width: 70px;
}

.header .flex .search-form {
  display: flex;
  width: 50rem;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  align-items: center;
  gap: 1.5rem;
  background-color: var(--light-bg);
}

.header .flex .search-form input {
  width: 100%;
  background: none;
  font-size: 1.8rem;
  color: var(--black);
}

.header .flex .search-form button {
  font-size: 1.5rem;
  color: var(--black);
  cursor: pointer;
  background: none;
}

.header .flex .search-form button:hover {
  color: var(--main-color);
}

.header .flex .icons div {
  font-size: 2rem;
  color: var(--black);
  border-radius: 0.5rem;
  height: 4rem;
  cursor: pointer;
  width: 4rem;
  line-height: 4rem;
  background-color: var(--light-bg);
  text-align: center;
  margin-left: 1rem;
}

.header .flex .icons div:hover {
  color: var(--white);
  background-color: var(--black);
}

#search-btn {
  display: none;
}

.profile a {
  color: white;
}

.header .flex .profile {
  position: absolute;
  top: 120%;
  right: 2rem;
  background-color: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transform: scale(0);
  transform-origin: top right;
  transition: 0.2s linear;
  box-shadow: 0px 0px 18px 0 var(--black);
}

.header .flex .profile.active {
  transform: scale(1);
}

.header .flex .profile .user-img img {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.header .flex .profile h3 {
  font-size: 2rem;
  color: var(--black);
}

.header .flex .profile span {
  font-size: 1.5rem;
  font-weight: bolder;
  color: var(--light-color);
}
/* header section ends here */

/* side bar starts here */
.side-bar .profile .user-img img {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.side-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 30rem;
  background-color: var(--white);
  border-right: var(--border);
  z-index: 1200;
  overflow-y: auto;
}

.side-bar #close-side-bar {
  text-align: right;
  padding: 1rem;
  display: none;
}

.side-bar #close-side-bar i {
  height: 3rem;
  width: 3rem;
  line-height: 3rem;
  font-size: 2rem;
  color: white;
  background-color: var(--red);
  cursor: pointer;
  text-align: center;
  border-radius: 0.5rem;
}

.side-bar #close-side-bar i:hover {
  background-color: var(--black);
}

.side-bar .profile {
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.side-bar .profile h3 {
  font-size: 2rem;
  color: var(--black);
}

.side-bar .profile span {
  font-size: 1.5rem;
  font-weight: bolder;
  color: var(--light-color);
}

.side-bar .navbar {
  margin-top: 1rem;
}

.side-bar .navbar a {
  display: block;
  padding: 1.5rem;
  margin: 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--main-color);
}

.side-bar .navbar a i {
  color: var(--main-color);
  margin-right: 1.5rem;
  transition: 0.2s linear;
}

.side-bar .navbar a span {
  color: var(--black);
}

.side-bar .navbar a:hover {
  background-color: var(--light-bg);
}

.side-bar .navbar a:hover i {
  margin-right: 2.5rem;
}

.side-bar.active {
  left: -31rem;
}

.navbar .active span {
  color: var(--main-color) !important;
  text-decoration: underline solid 2px var(--main-color) !important;
  text-underline-offset: 1rem;
}
/* side bar ends here */

/* footer section starts here */
.footer {
  position: sticky;
  left: 0;
  top: 0;
  right: 0;
  background-color: var(--white);
  border-top: var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--black);
  font-size: 1rem;
}

.footer h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

.footer i {
  margin-right: 1rem;
}

.footer h4 {
  font-size: 1.4rem;
  font-weight: 600;
}
/* footer section ends here */

/* know about yourself starts here */

.know-about-yourself {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.know-about-yourself .know-about-container h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.know-about-yourself .know-about-container .container h3 {
  font-size: 1.5rem;
  color: var(--main-color);
}

.know-about-yourself .know-about-container .container p {
  position: relative;
  margin-top: 2rem;
  color: #f0f0f0;
  font-size: 1.3rem;
  padding: 10px;
  max-width: 400px;
  width: 400px;
  background-color: #888;
  transition: 0.2s linear;
}

.know-about-yourself .know-about-container .container .potential {
  margin-top: 3rem;
}

.know-about-yourself .know-about-container .container .potential:hover p {
  left: 20px;
}

.know-about-yourself .ispark-school {
  width: 400px;
  height: 400px;
  align-self: center;
}

.know-about-yourself .ispark-school img {
  width: 400px;
  height: 400px;
}
/* know about yourself ends here */

/* courses section starts here */
.courses {
  margin-bottom: 3rem;
}

.courses h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.courses .course-list .course {
  flex-basis: calc(50% - 20px);
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  border-radius: 0.5rem;
  margin-left: 5rem;
  margin-right: 5rem;
  margin-top: 5rem;
  background-color: var(--main-color);
}

.courses .course-list .course:hover h3 {
  background-color: var(--main-color);
  color: white;
}

.courses .course-list .course:hover.course {
  background-color: var(--light-bg);
}

.courses .course-list .course-container {
  display: flex;
  flex-direction: row;
}

.courses .course-list .course h3 {
  display: flex;
  width: 60%;
  justify-content: center;
  align-items: center;
  font-size: 1.7rem;
  color: var(--black);
  background-color: var(--white);
  border-radius: 0.5rem;
  margin: 2rem;
  padding: 1rem;
}

.courses .course-list .course div {
  width: 100%;
}

.courses .course-list .course div img {
  border-radius: 0.5rem;
}
/* courses section ends here */

/* trainer-home */

.contact-admin h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.contact-admin .container {
  display: flex;
  flex-direction: column;
}

.contact-admin .container div {
  display: flex;
  flex-direction: row;
  margin-top: 3rem;
}

.contact-admin .container div a {
  color: var(--black);
}

.contact-admin .container div a:hover {
  color: var(--red);
}

.contact-admin .container div i {
  color: var(--main-color);
  font-size: 1.5rem;
}

.contact-admin .container div h3 {
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 3rem;
}

.contact-admin .container div h3:hover {
  color: var(--red);
}

/* trainer lesson-plan */

.welcome-section h4 {
  color: var(--main-color);
  font-size: 1.5rem;
}

.lesson-plan h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.lesson-plan h3 {
  margin-top: 2rem;
  color: var(--black);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transition: 0.2s linear;
}

.lesson-plan-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: auto;
}

.input-box {
  position: relative;
  width: 400px;
}

.input-box label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  color: var(--black);
}

.input-box input {
  width: 400px;
  padding: 10px;
  color: var(--black);
  background-color: var(--white);
  border-radius: 4px;
  font-size: 1.3rem;
}

.input-box select,
.input-box input {
  width: 400px;
  padding: 10px;
  outline: 1px solid var(--black-opacity);
  transition: box-shadow 0.3s ease;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  background-color: var(--white);
  color: var(--black);
  border-radius: 4px;
  cursor: pointer;
}

.input-box input[type="email"],
.input-box input[type="tel"],
.input-box input[type="number"] {
  width: 400px;
}

.input-box input::placeholder {
  color: var(--black);
  opacity: 70%;
  font-size: 14px;
}

.input-box textarea {
  padding: 10px;
  outline: 1px solid var(--black-opacity);
  transition: box-shadow 0.3s ease;
  margin-bottom: 2rem;
  width: 400px;
  font-size: 1.5rem;
  font-weight: bold;
  background-color: var(--white);
  color: var(--black);
  border-radius: 4px;
}

.input-box select,
.input-box input:focus {
  box-shadow: 0px 8px 12px var(--black-opacity-focus);
  outline: none;
}

.input-box textarea:focus {
  box-shadow: 0px 8px 12px var(--black-opacity-focus);
  outline: none;
}

.input-box input[type="date"] {
  color: var(--black);
  background-color: var(--white);
  outline: 1px solid var(--black-opacity);
  width: fit-content;
}

.input-box .required-star {
  color: red;
}

.required-star {
  color: red;
}

.custom-dropdown {
  display: none;
  position: absolute;
  width: 400px;
  max-height: 200px;
  overflow-y: auto;
  background: var(--light-bg);
  border: 1px solid var(--light-bg);
  border-top: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.custom-dropdown div {
  padding: 10px;
  cursor: pointer;
  color: var(--black);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--light-bg);
}

.custom-dropdown div:hover {
  background-color: var(--light-color);
  color: var(--light-bg);
}

.submit-button {
  margin-top: 2rem;
  width: fit-content;
}

.school-details h2 {
  text-align: center;
  color: var(--black);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.school-details h2 span {
  background-color: var(--main-color);
  color: white;
  padding: 0.5rem 1rem;
  margin-left: 1rem;
  border-radius: 0.5rem;
}

.school-details-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.school-details-table th,
.school-details-table td {
  border: 1px solid var(--light-color);
  padding: 8px;
  text-align: left;
  color: var(--black);
}

.school-details-table th {
  background-color: var(--light-bg);
  font-size: 1.3rem;
  color: var(--black);
}

.school-details-table td {
  font-size: 1.2rem;
  color: white;
  background-color: var(--green);
}

.time-table h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.time-table h3 {
  color: white;
  font-size: 1.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  width: fit-content;
  background-color: crimson;
}

.timetable {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  table-layout: fixed;
  overflow-x: scroll;
}

.timetable th,
.timetable td {
  border: 1px solid white;
  padding: 10px;
  text-align: center;
  background-color: var(--red);
  word-wrap: break-word;
  white-space: normal;
}

.timetable th {
  background-color: var(--red);
  color: white;
  font-size: 1.3rem;
}

.timetable th:first-of-type {
  background-color: var(--red);
}

.timetable td {
  background-color: var(--orange);
  color: white;
  font-size: 1.2rem;
}
.timetable input {
  width: 100%;
}

/*trainer-class details*/

.class-details {
  overflow-x: scroll;
}

.class-details-form h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.class-details-form h3 {
  margin-top: 2rem;
  color: var(--black);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transition: 0.2s linear;
}

.class-details .grade-strength-table h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.class-details .grade-strength-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.grade-strength-table th,
.grade-strength-table td {
  border: 1px solid var(--black);
  padding: 8px;
}

.grade-strength-table th {
  background-color: var(--red);
  color: var(--light-bg);
  font-size: 1.3rem;
  color: white;
}

.grade-strength-table td {
  background-color: var(--light-bg);
  font-size: 1.2rem;
  color: var(--black);
}

/* trainer upload- gallery */

.upload-gallery-container h3 {
  margin-top: 2rem;
  color: var(--black);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transition: 0.2s linear;
}

.upload-gallery-container {
  width: 100%;
  margin: auto;
  border: 1px solid var(--light-bg);
  background-color: var(--light-bg);
}

.upload-gallery-container h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.upload-gallery-container form {
  margin-top: 2rem;
  color: var(--black);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.upload-gallery-container [type="file"] {
  margin-bottom: 10px;
}

.gallery-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.gallery-preview div {
  position: relative;
  width: 100px;
  height: 100px;
}

.upload-gallery-container .gallery-preview img {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
  border: 1px solid var(--light-bg);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.gallery-preview .preview-wrapper {
  position: relative;
  width: auto;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
}

.gallery-preview .delete-btn {
  position: absolute;
  top: -5px;
  right: 5px;
  background-color: #ff4545;
  width: fit-content;
  border: none;
  color: white;
  cursor: pointer;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: bold;
  display: flex;
  z-index: 2;
}
.file-count-display {
  margin-top: 10px;
  font-size: 20px;
}

#custom-file-button {
  padding: 10px;
  background-color: var(--light-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#custom-file-button:hover {
  background-color: var(--black);
}

.input-group {
  margin-bottom: 3rem;
}

#gender-input-box input {
  outline: none;
}

.input-group label {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  display: block;
  color: var(--black);
}

.input-group input[type="date"] {
  width: fit-content;
  padding: 0.5rem;
  border: 1px solid var(--light-color);
  border-radius: 0.25rem;
  cursor: pointer;
  color: #888;
}

/* trainer feedback -form */

.trainer-feedback-form {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.trainer-feedbackform h2 {
  color: var(--main-color);
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.trainer-feedback-form input[type="text"],
.trainer-feedback-form textarea {
  width: calc(100% - 22px);
  color: var(--black);
  background-color: var(--white);
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--light-bg);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.trainer-feedback-form select,
.trainer-feedback-form input {
  padding: 10px;
  box-shadow: 0px 6px 8px var(--black-opacity);
  outline: 1px solid var(--black-opacity);
  transition: box-shadow 0.3s ease;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  background-color: var(--white);
  color: var(--black);
  border-radius: 4px;
  cursor: pointer;
}

.trainer-feedback-form select,
.trainer-feedback-form input:focus {
  box-shadow: 0px 8px 12px var(--black-opacity-focus);
  outline: none;
}

.trainer-feedback-form input[type="date"] {
  color: var(--black);
  background-color: var(--white);
  outline: 1px solid var(--black-opacity);
  padding: 1rem;
  border-radius: 0.5rem;
  width: fit-content;
}

.trainer-feedback-form textarea {
  resize: vertical;
  box-shadow: 0px 6px 8px var(--black-opacity);
  outline: 1px solid var(--black-opacity);
}

.trainer-feedback-form textarea:focus {
  box-shadow: 0px 8px 12px var(--black-opacity-focus);
  outline: none;
}
.trainer-feedback-form label {
  margin-bottom: 5px;
  display: block;
  color: var(--black);
  font-size: 1.4rem;
}
.trainer-feedback-form input[type="submit"] {
  background-color: var(--orange);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: fit-content;
}
.trainer-feedback-form input[type="submit"]:hover {
  background-color: var(--light-color);
}

/* trainer daily report */

.trainer-feedback-form h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.trainer-feedback-form .input-box select,
.trainer-feedback-form .input-box input {
  padding: 10px;
  width: calc(100% - 22px);
  box-shadow: 0px 6px 8px var(--black-opacity);
  transition: box-shadow 0.3s ease;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--black);
  background-color: var(--white);
  border: 1px solid var(--light-bg);
  border-radius: 4px;
  background-image: url("path_to_your_dropdown_arrow_image");
  background-repeat: no-repeat;
  background-position: right 10px center;
  outline: 1px solid var(--black-opacity);
  cursor: pointer;
}

.trainer-feedback-form .input-box select,
.trainer-feedback-form .input-box input:focus {
  box-shadow: 0px 8px 12px var(--black-opacity-focus);
  outline: none;
}

.trainer-feedback-form select option {
  color: var(--black);
  background-color: var(--light-bg);
  padding: 5px;
}

/* EPM - feedback form */

.school-visit-feedback-form {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.school-visit-feedback-form h2 {
  color: var(--main-color);
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.school-visit-feedback-form input[type="text"],
.school-visit-feedback-form textarea {
  width: calc(100% - 22px);
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--light-bg);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.school-visit-feedback-form input[type="date"] {
  width: fit-content;
  padding: 0.5rem;
  border: 1px solid var(--light-color);
  border-radius: 0.5rem;
  cursor: pointer;
  color: #888;
}

.school-visit-feedback-form textarea {
  resize: vertical;
}
.school-visit-feedback-form label {
  margin-bottom: 5px;
  display: block;
  color: var(--black);
  font-size: 1.4rem;
}
.school-visit-feedback-form input[type="submit"] {
  background-color: var(--orange);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  width: fit-content;
  margin-top: 10px;
}
.school-visit-feedback-form input[type="submit"]:hover {
  background-color: var(--light-color);
}

.school-visit-feedback-form input[type="date"]::before {
  color: var(--light-color);
  content: "📅";
}

.school-visit-feedback-form input[type="date"] {
  cursor: pointer;
}
.school-visit-feedback-form input[type="date"]:hover {
  background-color: var(--light-bg);
}

/* EPM - Equipment list */
.equipment-list {
  overflow-x: scroll;
}

.equipment-list h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

#updateButton {
  padding: 10px 20px;
  background-color: var(--orange);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

#updateButton:hover {
  background-color: var(--black);
  color: var(--light-bg);
}

.delete-btn {
  padding: 5px 10px;
  background-color: var(--red);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  width: fit-content;
}

.delete-btn:hover {
  background-color: var(--black);
}

.save-all-btn {
  display: block;
  background-color: var(--main-color);
  color: var(--white);
  padding: 10px;
  border: none;
  margin-bottom: 2rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.5;
  font-weight: bold;
  text-shadow: 1px 1px 2px var(--black);
  box-shadow: 0 2px 4px var(--black);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.save-all-btn:hover {
  background-color: var(--black);
  box-shadow: 0 4px 8px var(--black);
}

.save-all-btn:active {
  background-color: var(--light-color);
  box-shadow: 0 2px 4px var(--black);
}

/* EPM - add new school details form*/

.feedback-form-container {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.coe-details-feedback-form h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.coe-details-feedback-form input[type="text"],
.coe-details-feedback-form input[type="tel"],
.coe-details-feedback-form input[type="email"],
.coe-details-feedback-form input[type="date"],
.coe-details-feedback-form input[type="number"],
.coe-details-feedback-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--light-bg);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.coe-details-feedback-form textarea {
  resize: vertical;
}

.coe-details-feedback-form label {
  margin-bottom: 5px;
  display: block;
  color: var(--black);
  font-size: 1.4rem;
}

.coe-details-feedback-form input[type="submit"] {
  background-color: var(--orange);
  color: var(--white);
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px auto;
}

.coe-details-feedback-form input[type="submit"]:hover {
  background-color: var(--light-color);
}

/* EPM - Trainer Details Form Styles */
.trainer-details-form .form-container {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin: auto;
}

.trainer-details-form h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.trainer-details-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--black);
  font-size: 1.4rem;
}

.trainer-details-form input[type="text"],
.trainer-details-form input[type="tel"],
.trainer-details-form input[type="email"],
.trainer-details-form input[type="date"],
.trainer-details-form input[type="file"],
.trainer-details-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--light-bg);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.trainer-details-form textarea {
  resize: vertical;
}

.trainer-details-form input[type="submit"] {
  grid-column: 1 / -1;
  background-color: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
}

.trainer-details-form input[type="submit"]:hover {
  background-color: var(--light-color);
}

/* EPM - trainer photo upload */

#photo-preview-container img {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 0.5rem;
  margin-top: 10px;
}

/* EPM - Issues raise Complaint */

.complaint-raising-form h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.complaint-raising-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.complaint-raising-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--black);
  font-size: 1.4rem;
}

.complaint-raising-form .input-box select {
  padding: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--black);
  border: 1px solid var(--light-bg);
  border-radius: 4px;
  background-image: url("path_to_your_dropdown_arrow_image");
  background-repeat: no-repeat;
  background-position: right 10px center;
  outline: 1px solid var(--black-opacity);
  cursor: pointer;
}

/* Director - Employee form */

.employee-details-form h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.employee-details-form h3 {
  margin-top: 2rem;
  color: var(--black);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transition: 0.2s linear;
}

.employee-details-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--black);
  font-size: 1.4rem;
}

.employee-details-form .input-box {
  margin-top: 10px;
}

/* Channel partner - marketing content */

.marketing-content h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.marketing-content label {
  margin-bottom: 5px;
  color: var(--black);
  font-size: 1.4rem;
}

/* marketing manager upload -content */
.upload-marketing-content h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.upload-marketing-content label {
  margin-bottom: 5px;
  color: var(--black);
  font-size: 1.4rem;
}

/* Admin - View EPM visit table */

.school-visit-information h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.information-container {
  margin-top: 20px;
}

#visitInfoTable {
  width: 100%;
  border-collapse: collapse;
}

#visitInfoTable th,
#visitInfoTable td {
  border: 1px solid var(--light-color);
  color: var(--black);
  padding: 8px;
  text-align: left;
  padding: 12px 15px;
  font-size: 1.4rem;
}

#visitInfoTable th {
  background-color: var(--light-bg);
}

/* CEO - Feedback Form report */

.ceo-dashboard h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.selection-form select {
  padding: 10px;
  margin-right: 15px;
}

.ceo-dashboard label {
  margin-bottom: 5px;
  color: var(--black);
  font-size: 1.4rem;
}

/* School - Admin feedback form */

.school-admin-feedbackform {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.school-admin-feedbackform h2 {
  color: var(--main-color);
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.school-admin-feedbackform input[type="text"],
.school-admin-feedbackform textarea {
  width: calc(100% - 22px);
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--light-bg);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.school-admin-feedbackform textarea {
  resize: vertical;
}
.school-admin-feedbackform label {
  margin-bottom: 5px;
  display: block;
  color: var(--black);
  font-size: 1.4rem;
}
.school-admin-feedbackform input[type="submit"] {
  background-color: var(--orange);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: fit-content;
}
.school-admin-feedbackform input[type="submit"]:hover {
  background-color: var(--light-color);
}

/* login page starts here */

.login-page {
  position: relative;
  height: 100vh;
}
.login-page .login-form {
  position: absolute;
  background-color: var(--light-bg);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  padding: 2rem;
  overflow-y: scroll;
  width: 90%;
  height: 80vh;
  width: 90%;
  height: 80vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
.login-page .login-page-container1 {
  background-color: var(--white);
  height: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.login-page .login-page-container2 {
  height: 50%;
  background-color: var(--main-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.login-form .logo-img-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.login-form .logo-img {
  width: 70px;
}
.logo-img-container .new-user {
  display: flex;
  flex-direction: row;
}

.logo-img-container .new-user a {
  margin-left: 1rem;
  font-size: 1.2rem;
  color: var(--main-color);
}

.login-form-container {
  margin-top: 5rem;
  justify-content: space-around;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.login-form-container div {
  align-self: center;
  justify-content: center;
}

.login-form-container form h3 {
  font-size: 2rem;
  color: var(--black);
}

.login-form-container form p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: var(--black);
}

.login-form-container .login-page-img {
  width: 400px;
  align-self: center;
}

.login-form-container #userIdInput {
  padding-left: 30px;
}

.login-form-container #passwordInput {
  padding-left: 30px;
}

.login-form-container .input-box {
  margin-top: 3rem;
  position: relative;
}

.login-form-container .input-icon {
  position: absolute;
  left: 10px;
  top: 35%;
  transform: translateY(-50%);
  color: var(--main-color);
}

.login-form-container .submit-button a {
  margin-left: 5rem;
  color: var(--main-color);
}

.login-form-footer {
  display: flex;
  margin-top: 5rem;
  flex-direction: row;
  justify-content: space-around;
}

.login-form-footer p {
  font-size: 1.4rem;
  font-weight: 500;
  align-self: center;
  color: var(--black);
}

.login-form-footer div {
  width: 30px;
}

.login-form-container .gender-btn-group {
  display: flex;
  gap: 1rem;
  padding-left: 20px;
}

.login-form-container .gender-btn {
  background-color: var(--white);
  border: 2px solid var(--light-bg);
  padding: 0.3rem 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s;
}

.login-form-container .gender-btn:hover {
  background-color: var(--light-color);
  color: var(--white);
}

.login-form-container .gender-btn-group input[type="radio"] {
  width: 20px;
}

.login-form-container .gender-btn-group input[type="radio"]:checked + label {
  background-color: var(--main-color);
  color: white;
  border-color: var(--main-color);
}

.login-form-container .error-message {
  position: absolute;
  color: red;
  font-size: 1.5rem;
}

/* login page ends here */

/* accounts - revenues */

.accounts-revenues h3 {
  text-align: center;
  font-size: 2rem;
  color: var(--black);
}

/* about -us */

.mission-vision {
  display: flex;
  flex-direction: column;
  text-align: justify;
  margin: 0 5%;
}
.mission-vision-content {
  margin: 20px;
  flex: 1;
  background-color: var(--white);
  padding: 15px;
  border-radius: 5px;
}

.mission-vision-content:hover {
  background-color: var(--white);
  box-shadow: 0px 0px 18px 0 black;
}
.mission-vision-content h2 {
  margin-bottom: 10px;
  color: var(--main-color);
}
.mission-vision-content p {
  color: var(--black);
  font-size: 1.3rem;
  line-height: 1.9rem;
}

/* sucess page for daily - report */

.hidden {
  display: none;
}

.success-message {
  display: none;
}

.success-message h3 {
  color: var(--red);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

/* profile css starts here */

.modal {
  color: var(--black);
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: var(--light-bg);
  margin: 15% auto;
  padding: 20px;
  border: 1px solid var(--black);
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 80%;
  margin: auto;
  max-width: 600px;
  border-radius: 8px;
}

.close-btn {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 5px;
  color: white;
  background-color: crimson;
}

.close-btn:hover,
.close-btn:focus {
  color: crimson;
  text-decoration: none;
  background-color: white;
  cursor: pointer;
}

.profile-info {
  display: flex;
  align-items: center;
}

.profile-info .profile-img {
  margin-right: 5rem;
}

.profile-img img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
}

.profile-details {
  margin-left: 50px;
}

.profile-details .btn {
  color: white;
}

.profile-details .btn:hover {
  color: var(--white);
}

.profile-details h3 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.profile-details p {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

/* registration - request styles */
.registration-requests {
  padding: 20px;
  overflow-x: scroll;
}

.registration-requests h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.registration-requests table {
  width: 100%;
  border-collapse: collapse;
}

.registration-requests th,
.registration-requests td {
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 1.3rem;
  text-align: left;
  color: var(--black);
}

.registration-requests th {
  background-color: var(--red);
  color: white;
  font-size: 1.5rem;
}

.registration-requests .user-img {
  border-radius: 50%;
}

.registration-requests .btn {
  background-color: var(--dark-skyblue);
  color: var(--light-bg);
  border: none;
  padding: 2px 5px;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 5px;
  font-size: 1.3rem;
}

.registration-requests .delete-btn {
  background-color: var(--red);
  color: var(--light-bg);
  border: none;
  padding: 2px 5px;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 5px;
  font-size: 1.3rem;
}

.registration-requests .btn:hover {
  background-color: var(--light-color);
}

.registration-requests .btn:hover {
  background-color: var(--light-color);
}

/* Gallery upload css */

.upload-gallery .preview-wrapper {
  display: inline-block;
  margin: 10px;
  position: relative;
}

.upload-gallery .preview-img,
.upload-gallery .preview-video {
  max-width: 250px;
  max-height: 250px;
  display: block;
}

.upload-gallery .delete-btn {
  position: absolute;
  right: 5px;
  padding: 5px 10px;
  font-size: 15px;
  font-weight: bolder;
  background-color: crimson;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: fit-content;
}

.upload-gallery .delete-btn:hover {
  background-color: #2c3e50;
}

.modal-upload {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-upload .modal-content {
  margin: 15% auto;
  padding: 20px;
  width: 80%;
  max-width: 500px;
  text-align: center;
}

.modal-upload .modal-content p {
  font-size: 1.7rem;
  color: var(--black);
}

.modal-upload .close-button {
  cursor: pointer;
  margin-top: 2rem;
  font-size: 1.5rem;
  padding: 2px 5px;
  color: crimson;
  border-radius: 5px;
}

.modal-upload .close-button:hover {
  color: white;
  background-color: crimson;
}

.modal-upload .close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* edit profile option */

.profile-details,
#edit-form-container {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#edit-form-container {
  display: none;
}

.profile-details.hidden,
#edit-form-container.visible {
  opacity: 0;
  visibility: hidden;
}

.profile-details:not(.hidden),
#edit-form-container.visible {
  opacity: 1;
  visibility: visible;
}

/* Common styles for profile details and form */
.profile-details,
#edit-form-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.profile-details h3,
.profile-details p {
  margin: 10px 0;
}

#edit-profile-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  font-size: 1.3rem;
}

#edit-profile-form input[type="text"],
#edit-profile-form input[type="file"],
#edit-profile-form button {
  display: block;
  width: calc(100% - 22px);
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

#edit-profile-form input[type="text"],
#edit-profile-form input[type="file"] {
  border: 1px solid #ccc;
  border-radius: 4px;
}

#edit-profile-form button {
  display: inline-block; /* Changed to inline-block to fit content */
  width: auto; /* Allows the button to fit its content */
  padding: 10px 20px; /* Adjust padding to make buttons more clickable */
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 10px; /* Ensures spacing between buttons */
}

#edit-profile-form button.option-btn {
  background-color: #f44336;
}

/* Align buttons one below the other */
#edit-profile-form .button-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#edit-profile-form .button-container button {
  margin-bottom: 10px;
}

#edit-profile-form button:hover {
  background-color: #45a049;
}

#edit-profile-form button.option-btn:hover {
  background-color: #e53935;
}

/* Technical team data summary Showing */

/* General styles for the summary section */
.data-summary {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin-top: 2rem;
}

/* Styles for each summary item */
.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background-color: var(--white);
  border-radius: 5px;
  border: 1px solid var(--light-bg);
}

.summary-item strong {
  font-weight: bold;
  color: var(--black);
  font-size: 1.4rem;
}

.summary-item p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--black);
}

/* technical -team css */

/* General Button Styles */
.asset-form-review button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.asset-form-review h3 {
  color: var(--main-color);
  font-size: medium;
}

/* Edit Button Style */
.asset-form-review .edit-btn {
  background-color: var(--green);
  color: white;
  padding: 0.7rem 1.5rem;
}

.asset-form-review .edit-btn:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

/* Submit Button Style */
.asset-form-review .submit-btn {
  background-color: #008cba;
  color: white;
  margin: 0;
  padding: 0.7rem 1.5rem;
  margin-left: 2rem;
}

.asset-form-review .submit-btn:hover {
  background-color: #007bb5;
  transform: scale(1.05);
}

/* Cancel Button Style */
.asset-form-review .confirm-btn {
  background-color: var(--red);
  color: white;
  padding: 0.7rem 1.5rem;
}

.asset-form-review .confirm-btn:hover {
  background-color: #da190b;
  transform: scale(1.05);
}

/* For Hidden Elements */
.asset-form-review .hidden {
  display: none;
}

/* Additional Styles for the Confirmation Dialog */
.asset-form-review #confirm-dialog {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  width: fit-content;
  text-align: center;
  position: fixed; /* Change from absolute to fixed */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.asset-form-review #confirm-dialog p {
  margin-bottom: 20px;
  font-size: 1.7rem;
}

/* Add a little space between the buttons in the confirmation dialog */
.asset-form-review #confirm-dialog .confirm-btn {
  margin: 0 10px;
}


/* table container new design */

.table-container-new {
  max-width: 100%;
  margin: 20px auto;
  overflow-x: scroll;
}

.table-container{
  overflow-x: scroll;
}

.table-container-new h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.custom-table-new {
  width: 100%;
  border-collapse: collapse;
}

.custom-table-new input {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: var(--white);
  color: var(--black);
  border: none;
  margin: 0;
  padding: 8px;
  text-align: center;
  box-shadow: 0px 6px 8px var(--black-opacity);
  transition: box-shadow 0.3s ease;
}

.custom-table-new input:focus {
  box-shadow: 0px 8px 12px var(--black-opacity-focus);
  outline: none;
}

.custom-table-new select {
  background-color: var(--white);
  color: var(--black);
  border: none;
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: 0px 6px 8px var(--black-opacity);
  transition: box-shadow 0.3s ease;
  outline: 1px solid var(--black-opacity);
}

.custom-table-new select:focus {
  box-shadow: 0px 8px 12px var(--black-opacity-focus);
  outline: none;
}

.custom-table-new thead tr {
  background-color: #28a745;
  font-size: 1.3rem;
  color: white;
}

.custom-table-new thead th {
  padding: 10px;
  white-space: nowrap;
}

.custom-table-new-nowrap thead th {
  white-space: wrap !important;
}

.custom-table-new tbody th {
  background-color: #28a745;
  padding: 10px;
  font-size: 1.3rem;
  color: white;
}

.custom-table-new tbody tr:nth-child(odd) {
  background-color: var(--light-bg);
}

.custom-table-new tbody tr:nth-child(even) {
  background-color: var(--white);
}

.custom-table-new tbody td {
  padding: 5px;
  color: var(--black);
  text-align: center;
  font-size: 1.3rem;
  border: 1px solid #dddddd;
}

.custom-table-new tbody td input[type="text"] {
  margin: 0 auto;
}

.custom-table-new tbody .error-cell {
  background-color: #f8d7da;
  color: #721c24;
  font-weight: bold;
}

/* curriculam download button style */
.curriculum-link {
  margin-top: 3rem;
}
.curriculum-link #viewLink {
  background-color: #4caf50;
  color: white;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.curriculum-link #viewLink:hover {
  background-color: #45a049; /* Darker green on hover */
}

.curriculum-link #downloadLink {
  background-color: #f44336;
  color: white;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  margin-left: 2rem;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.curriculum-link #downloadLink:hover {
  background-color: #d32f2f;
}

/* add group form css style */

.form-section {
  border: 1px solid var(--light-bg);
  padding: 20px;
  background-color: var(--light-bg);
}

.form-section h2 {
  color: var(--black);
  border-bottom: var(--border);
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.form-section label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  color: var(--black);
}

.form-section input,
select {
  background-color: var(--white);
  color: var(--black);
}

.form-section input[type="text"],
.form-section input[type="submit"],
.form-section select {
  width: 50%;
  padding: 10px;
  margin-bottom: 15px;
  outline: 1px solid var(--black-opacity);
  border-radius: 5px;
}

.form-section select,
.form-section input:focus {
  box-shadow: 0px 8px 12px var(--black-opacity-focus);
  outline: none;
}

.form-section input[type="submit"] {
  width: fit-content;
  background-color: var(--dark-skyblue);
  color: #ddd;
  display: block;
}

.form-section input[type="submit"]:hover {
  background-color: #0056b3;
}

/* form grid code */

.trainer-feedback-form {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.input-box,
.input-group {
  margin-bottom: 15px;
}

.form-grid label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.inline-click-btn {
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.inline-click-btn:hover {
  background-color: #0056b3;
}

.form-group {
  text-align: center;
}

.margin-top {
  margin-top: 2rem;
}

.or-text {
  text-align: center;
  font-size: 1.2rem;
  color:var(--black);
  font-weight: bold;
  width: 400px;
}

/* media quaries */

@media screen and (max-width: 1200px) {
  body {
    padding-left: 0;
  }

  .side-bar #close-side-bar {
    display: block;
  }

  .side-bar {
    left: -31rem;
    transition: 0.2s linear;
  }

  .side-bar.active {
    left: 0;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.7);
  }
}

@media screen and (max-width: 991px) {
  html {
    font-size: 55%;
  }

  img {
    width: 75%;
    height: 75%;
  }
  .course-container img {
    width: 100%;
    height: 100%;
  }

  .know-about-yourself {
    display: flex;
    flex-direction: column;
  }

  .know-about-yourself .ispark-school {
    width: 400px;
    height: 400px;
    align-self: auto;
  }

  .know-about-yourself .know-about-container .container p {
    width: auto;
  }

  .login-form-container .login-page-img {
    width: 350px;
  }

  .login-form-container {
    flex-direction: column;
  }

  .login-form-container form {
    margin-top: 2rem;
  }
}


@media (max-width: 840px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  #search-btn {
    display: inline-block;
  }

  .header .flex .search-form {
    position: absolute;
    top: 99%;
    left: 0;
    right: 0;
    width: auto;
    border-top: var(--border);
    border-bottom: var(--border);
    background-color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.2s linear;
  }

  .header .flex .search-form.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 1% 100%);
  }

  .school-details h2 {
    display: flex;
    flex-direction: column;
  }
  .school-details h2 span {
    margin-top: 10px;
  }

  .time-table {
    overflow-x: auto;
  }

  .timetable {
    min-width: 600px;
  }

  .grade-strength-table table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .gallery-preview div {
    width: 80px;
    height: 80px;
  }

  .upload-gallery-container .gallery-preview img {
    max-width: 150px;
    max-height: 150px;
  }

  .gallery-preview .delete-btn {
    padding: 4px 8px;
    font-size: 10px;
  }

  #custom-file-button {
    padding: 8px 16px;
    font-size: 14px;
  }

  .school-visit-feedback-form input[type="submit"] {
    padding: 5px;
  }

  .trainer-feedback-form input[type="submit"] {
    padding: 5px;
  }
}

@media screen and (max-width: 650px) {
  .courses .course-list .course-container {
    display: flex;
    flex-direction: column;
  }

  .asset-form-review #confirm-dialog .confirm-btn {
    margin-top: 1rem;
    font-size: 1.4rem;
  }

  .asset-form-review #confirm-dialog .submit-btn {
    font-size: 1.4rem;
  }

  .login-form-container div{
    width :95%;
  }
  .login-form-container .input-box{
    width :230px !important;
  }
}

@media screen and (max-width: 500px) {
  .login-form-container div{
    width :95%;
  }
  .login-form-container .input-box{
    width :200px !important;
  }
}
@media screen and (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .input-box input {
    width: 290px;
  }

  .input-box select {
    width: 290px !important;
  }

  .input-box input[type="email"],
  .input-box input[type="tel"],
  .input-box input[type="number"],
  .input-box input[type="text"],
  .input-box input[type="date"] {
    width: 290px;
  }

  .input-box textarea {
    width: 290px;
  }

  .or-text {
    width: 290px;
  }

  .custom-dropdown {
    width: 290px;
  }

  .logo-img-container .new-user {
    display: flex;
    flex-direction: column;
  }

  .login-form-container .login-page-img {
    width: 300px;
  }

  .profile-info {
    display: flex;
    flex-direction: column;
    align-items: center; /* To align the items horizontally center within profile-info */
  }

  .know-about-yourself .ispark-school {
    width: 300px;
    height: 300px;
  }

  .know-about-yourself .ispark-school img {
    width: 300px;
    height: 300px;
  }

  .login-form-container div{
    width :95%;
  }

  .login-form-container .input-box{
    width :200px;
  }
}

@media screen and (max-width: 400px) {
}
