/* ------- Credential Pages Css here (Sign in, Sign up, Forgot.)-------- */
@import url(../fonts/stylesheet.css);
.sign_in_sec {
  width: 100%;
  min-height: 100vh;
  background: #fef7ef;
  background-image: url(../img/sign-bg-top.png), url(../img/sign-bg-bottom.png);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: top right, bottom left;
  padding: 50px 0px 50px;
  position: relative;
  display: flex;
  align-items: center;
}
.logo {
  position: absolute;
  left: 30px;
  top: 30px;
}
.logo img {
  width: 100%;
  max-width: 216px;
}
.sign_content_wrap {
  max-width: 526px;
  margin: auto;
  width: 100%;
  background-image: url(../img/sign-content-top-line.png),
    url(../img/sign-content-bottom-line.png);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: top center, bottom center;
  padding: 50px 0px;
  text-align: center;
}
.sign_content_wrap h3 {
  font-family: Inter;
  font-size: 32px;
  font-weight: 600;
  line-height: 42px;
  text-align: center;
  color: #2e2e2e;
}
.forgot_top_text {
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  color: #525252;
  padding-inline: 50px;
}
.sign_content_wrap p {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
  color: #525252;
}
.sign_form_wrap-bg {
  position: relative;
  max-width: 496px;
  margin: auto;
}
.only_student_form{
  position: relative;
  max-width: 800px;
  margin: auto;
}

.only_student_form .sign_form_wrap {
  max-width: 100%;
}
.only_teacher_form{
  position: relative;
  max-width: 800px;
  margin: auto;
}

.only_teacher_form .sign_form_wrap {
  max-width: 100%;
}
.input_grp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.input_grp label,
.input_grp .day-label {
  max-width: 115px;
  width: 100%;
}
.sign_form_wrap-bg::after {
  content: "";
  background-image: url(../img/sign-form-bg.jpg);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: left bottom;
  width: 155px;
  height: 170px;
  position: absolute;
  left: -30px;
  bottom: -30px;
}
.sign_form_wrap {
  max-width: 496px;
  margin: auto;
  min-height: 473px;
  padding: 40.5px 56.58px 40px 56.42px;
  border-radius: 8px;
  box-shadow: 0px 4px 9px 0px #171a1f1c;
  background: #fff;
  position: relative;
  z-index: 9;
}

.form_content h3 {
  font-family: Inter;
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
  color: #2e2e2e;
  margin-bottom: 30px;
}
.form_content .input_group {
  position: relative;
}
.form_content .input_group .form-control {
  width: 100%;
  height: 48px;
  padding: 13px;
  gap: 0px;
  border-radius: 6px;
  border: none;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
}
.eye_icon {
  position: absolute;
  right: 10px;
  top: 43px;
}
#laravel-notify {
  z-index: 9;
  position: absolute;
}
#laravel-notify .shadow-lg {
  box-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.175) !important;
}
.forgot_sec {
  display: flex;
  align-items: center;
  justify-content: end;
}
.forgot_sec a {
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  letter-spacing: 0.02em;
  text-align: left;
  color: #ee9b36;
  text-decoration: none;
}
.sign_btn {
  text-align: center;
  width: 100%;
}
.btn_primary {
  width: 100%;
  height: 48px;
  padding: 13px 0px;
  border-radius: 6px;
  background: #ee9b36;
  font-family: Inter;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  color: #fff;
  transition: all 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.btn{
  transition: all 0.5s;
}
.btn:hover {
  transform: translateY(-5px);
}
p.text_bottom {
  text-align: center;
  margin-top: 25px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #525252;
}
p.text_bottom a {
  color: #ee9b36 !important;
  text-decoration: none;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 3px dashed #fff;
  border-top-color: transparent;
  border-radius: 50%;
  margin-right: 8px;
  display: none;
}

.spinner.animate {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.error {
    font-size: 14px;
    font-family: Inter;
    color: red;
    max-width: 100%;
}
.server_error {
  font-size: 14px;
  font-family: Inter;
  color: red;
}
.g-recaptcha {
  transform: scale(1.26);
  transform-origin: 0 0;
  margin-bottom: 30px;
}
.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  pointer-events: revert-layer !important;
  opacity: 0.65 !important;
  cursor: not-allowed !important;
}
div#recaptchaError {
  position: relative;
  bottom: 8px;
}
.invalid-feedback {
  font-size: 14px !important;
  font-family: Inter !important;
  color: red !important;
}
/* Dashboard Page Css Here */
.dashboard_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}
.dashboard_header h3 {
  font-family: Inter;
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  text-align: left;
  color: #323743;
}
.date-range-picker-container {
  position: relative;
  font-size: 16px;
}

.date-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  background-color: #fff;
}

.date-display:hover {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

.calendar-icon,
.dropdown-icon {
  margin: 0 10px;
  font-size: 16px;
  color: #666;
}

.date-picker-dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.date-picker-dropdown label {
  margin: 5px 0;
}

.date-range-picker-container input[type="date"] {
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
}

.date-range-picker-container input[type="date"]:focus {
  border-color: #007bff;
  outline: none;
}
.task_box {
  padding: 30px;
  border-radius: 6px;
  max-width: 100%;
  min-height: 160px;
  transition: all 0.7s ease;
}
.task_box:hover {
  transform: translateY(-10px);
  box-shadow: 0px 0px 10px 2px #dfdfdfa3;
}
.task_inner {
  width: 100%;
  min-height: 123px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.task_inner h5 {
  font-family: Inter;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  text-align: left;
}
.task_inner h2 {
  font-family: Inter;
  font-size: 40px;
  font-weight: 800;
  line-height: 48px;
  text-align: left;
}
.green_box {
  background: #eefdf3;
  background-image: url(../img/green-box.svg);
  background-repeat: no-repeat;
  background-position: right bottom;
}
.green_box .task_inner h5,
.green_box .task_inner h2 {
  color: #117b34;
}
.pending_box {
  background: #fef9ee;
  background-image: url(../img/pending-box.svg);
  background-repeat: no-repeat;
  background-position: right bottom;
}
.pending_box .task_inner h5,
.pending_box .task_inner h2 {
  color: #ee9b36;
}

.todo_box {
  background: #ebf5fd;
  background-image: url(../img/todo-box.svg);
  background-repeat: no-repeat;
  background-position: right bottom;
}
.todo_box .task_inner h5,
.todo_box .task_inner h2 {
  color: #379ae6;
}
.task_table_sec {
  width: 100%;
  margin: 30px 0px;
}
.task_table_sec .nav-pills {
  gap: 5px;
  margin-bottom: 0;
  max-width: 300px;
  width: 100%;
  background: #ee9b3614;
  height: 43px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 5px;
  border-radius: 6px;
  flex-wrap: nowrap;
}
.task_table_sec .nav-pills .nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #ee9b36;
  text-decoration: none;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}
.task_table_sec .nav-pills .nav-link.active,
.task_table_sec .nav-pills .show > .nav-link {
  color: #fff !important;
  background-color: #ee9b36;
  border-radius: 6px;
  padding-inline: 20px;
}
.table_inner .table-responsive {
  border-radius: 6px;
}
.table_inner .table {
  border: 1px solid #f3f4f6;
}
.table_inner .table thead {
  background: #fafafb;
  border: 1px solid #f3f4f6;
}
.table_inner .table > :not(:last-child) > :last-child > * {
  border: none;
}

.nav_edit_profile {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.table_inner .table th {
  font-family: Inter;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #424856;
  height: 53px;
  vertical-align: middle;
}
.table_inner .table td {
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
  color: #525252;
  height: 75px;
  vertical-align: middle;
}

.table_profile {
  display: flex;
  align-items: center;
  gap: 20px;
}
.table_profile img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
}
.table_profile p {
  font-weight: 600;
}
.yellow_text {
  color: #ee9b36 !important;
}

.table_inner .badge {
  height: 28px;
  padding: 8px;
  font-family: Inter;
  font-size: 12px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  min-width: 80px;
}
.badge_progress {
  background: #fef9ee;
  color: #98690c;
}
.badge_completed {
  background: #eefdf3;
  color: #117b34;
}
.badge_todo {
  background: #ebf5fd;
  color: #379ae6;
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  gap: 9px;
}
a.page-link {
  padding: 7px 11px 7px 12px;
  border-radius: 4px;
  border: 1px solid #dee1e6;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  color: #9095a0;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #ee9b36;
  border-color: #ee9b36;
  height: 100%;
  border-radius: 4px;
}

/* ------ New Task Page Css here ---------- */

.general_info_sec {
  width: 100%;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  padding: 30px;
}
.general_header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.general_header h4 {
  font-family: Inter;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  text-align: left;
  color: #323743;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.btn_secondary {
  border: 1px solid #ee9b36;
  border-radius: 6px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  color: #ee9b36;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.7s ease;
  background-color: transparent;
}
.btn_secondary:hover {
  background-color: #ee9b36;
  color: #fff;
}
.btn_secondary:hover svg path {
  fill: #fff;
}
.input_group .form-label {
  font-family: Inter;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: left;
  color: #424856;
  margin: 0;
}
.input_group .form-control {
  border: 1px solid #000000;
  background: #f3f4f6;
  border-radius: 6px;
  height: 35px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  color: #171a1f;
}
.task_form_sec .input_group .form-control {
  border: none;
}
.form-control:focus,
.input_group .form-select:focus {
  color: #212529;
  background-color: #fff !important;
  border: 1px solid #ee9b36 !important;
  outline: 0;
  box-shadow: unset !important;
}
.input_group .form-select {
  background: #f3f4f6;
  border-color: #f3f4f6;
  border-radius: 6px;
  height: 40px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  color: #171a1f;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
}
.comment_label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 15px;
}
.comment_box {
  border: 1px solid #e0e7ff;
  padding: 10px;
  border-radius: 12px;
  padding-right: 50px;
  position: relative;
}
.comment_box .form-control {
  border-radius: 100px;
  padding-right: 60px;
}
.emoji_box {
  display: flex;
  align-items: center;
  gap: 15px;
  position: absolute;
  top: 20px;
  right: 70px;
}
a.send_btn {
  position: absolute;
  right: 15px;
  top: 17px;
}
.user_comment a span img {
  width: 30px;
}
.user_comment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.comment_sec {
  border: 1px solid #e0e7ff;
  background: #fafafb;
  padding: 20px;
  border-radius: 12px;
  height: 279px;
  overflow: auto;
}

.user_comment a span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: left;
}
.user_comment p {
  font-family: Inter;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  color: #424856;
}
.like_block {
  display: flex;
  align-items: center;
  justify-content: end;
}
.like_block a {
  font-family: Inter;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  color: #ee9b36;
}
.comment_text_space {
  border-bottom: 1px solid #e0e7ff;
  margin-bottom: 15px;
  margin-left: 40px;
  width: calc(100% - 40px);
}
.comment_text {
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  margin: 20px 0px;
}
/* --- File Upload css ------- */
.formbold-main-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.formbold-form-wrapper {
  width: 100%;
}
.formbold-form-label {
  display: block;
  font-weight: 500;
  font-size: 16px;
  color: #07074d;
  margin-bottom: 12px;
}
.formbold-form-label-2 {
  font-family: Inter;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  text-align: left;
  color: #323743;
  margin-bottom: 20px;
}

.formbold-form-input {
  width: 100%;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: white;
  font-weight: 500;
  font-size: 16px;
  color: #6b7280;
  outline: none;
  resize: none;
}
.formbold-form-input:focus {
  border-color: #6a64f1;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}

.formbold-btn {
  text-align: center;
  font-size: 16px;
  border-radius: 6px;
  padding: 14px 32px;
  border: none;
  font-weight: 600;
  background-color: #6a64f1;
  color: white;
  cursor: pointer;
}
.formbold-btn:hover {
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}

.formbold-file-input input {
  opacity: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.formbold-file-input #file-label {
  width: 100%;
  position: relative;
  background: #fef7ef;
  border: 2px dashed #ee9b36;
  border-radius: 12px;
  min-height: 216px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 20px;
}
.formbold-drop-file {
  display: block;
  color: #171a1f;
  margin-bottom: 8px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
}

.formbold-or {
  color: #171a1f;
  display: block;
  margin-bottom: 8px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
}
.formbold-browse {
  color: #fff;
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid #ee9b36;
  border-radius: 6px;
  background: #ee9b36;
  min-height: 36px;
  max-width: 105px;
  width: 100%;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.formbold-file-list {
  border-radius: 6px;
  padding: 15px 5px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 10px;
}
.value_cls {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.value_cls p {
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: right;
  color: #9095a1;
}

.formbold-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.formbold-file-item button {
  color: #171a1f;
  border: none;
  background: transparent;
  cursor: pointer;
}
.formbold-form-wrapper .form-label {
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  color: #9095a1;
}

.formbold-file-name {
  color: #171a1f;
  padding-right: 12px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
}
.formbold-progress-bar {
  margin-top: 8px;
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 8px;
  background: #f3f4f6;
}

.formbold-progress {
  position: absolute;
  width: 75%;
  height: 100%;
  left: 0;
  top: 0;
  background: #1dd75b;
  border-radius: 8px;
}
.gallery_upload_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0px;
}
.gallery_check {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.gallery_check .form-check-label {
  font-family: Inter;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  color: #171a1f;
}
a.view_all_btn {
  font-family: Inter;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  color: #ee9b36;
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (min-width: 540px) {
  .sm\:w-half {
    width: 50%;
  }
}

.gallery_frame {
  width: 100%;
  position: relative;
}
.gallery_frame .row {
  margin: 0;
  gap: 52px;
}

#snow-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.image_block {
  width: 100%;
  max-width: 232px;
  min-height: 218px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #bdc1ca17;
  padding: 12px;
  display: grid;
}
.image_block:hover .overlay_block {
  opacity: 1;
}
.overlay_block {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #282828cf;
  opacity: 0;
  transition: all 0.7s ease;
}

.column {
  float: left;
  width: 208px;
  height: 158px;
  margin-bottom: 10px;
  animation-name: transition;
  animation-duration: 1s;
  border-radius: 6px;
  position: relative;
}
.image_caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.image_caption p img {
  width: unset;
}
.image_caption p {
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  color: #323743;
  display: flex;
  align-items: center;
  gap: 5px;
}
.image_caption span {
  font-family: Inter;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  text-align: right;
  color: #6f7787;
}

@keyframes transition {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* The Modal (background) */
.gallery_frame .modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #000000bf;
}

/* Modal Content */
.gallery_frame .modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 100%;
  max-width: 956px;
  border-radius: 0;
}
.handle_bar {
  padding-inline: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  position: relative;
}
.handle_block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  gap: 10px;
  position: relative;
  z-index: 99;
}
/* The Close Button */
.gallery_frame .close {
  color: #525252;
  font-size: 28px;
}
.gallery_frame .close:hover,
.gallery_frame .close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
.mySlides {
  display: none;
  padding: 10px 60px 60px;
}
.mySlides img {
  opacity: 1;
  border-radius: 0;
}
.mySlides img:hover {
  opacity: 1;
}
.cursor {
  cursor: pointer;
}
/* Next & previous buttons */
.gallery_frame .prev,
.gallery_frame .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #525252;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}
/* Position the "next button" to the right */
.gallery_frame .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.gallery_frame .prev:hover,
.gallery_frame .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #525252;
  font-family: Inter;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: left;
  width: 100%;
  position: absolute;
  top: 10px;
  left: 20px;
}
.gallery_frame img {
  margin-bottom: 0px;
  border-radius: 6px;
  cursor: pointer;
}
.gallery_frame img:hover {
  opacity: 1;
}
.demo {
  opacity: 0.6;
}
.gallery_frame .active,
.gallery_frame .demo:hover {
  opacity: 1;
}
.gallery_frame .image_block .hover-shadow {
  transition: 0.3s;
}
.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.image_frame_buttons_block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 15px;
  margin: 30px 0px;
}
.image_frame_buttons_block .btn {
  max-width: 70px;
  height: 38px;
}
.image_frame_buttons_block .btn_secondary:hover {
  color: #565d6d !important;
}
/* Delete Image Modal */
#delete_image .modal-content {
  max-width: 567px;
  width: 100%;
  min-height: 100vh;
  background: #fef7ef;
  background-image: url(../img/delete-modal.png),
    url(../img/delete-modal-bottom.png);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: top left, bottom right;
  border-radius: 8px;
  min-height: unset;
}
#delete_image .modal-header {
  padding: 0;
  border: none;
}
#delete_image .modal-header .btn-close {
  position: relative;
  top: 10px;
  right: 10px;
  font-size: 14px;
}
#delete_image .modal-body {
  text-align: center;
}
#delete_image .modal-body img {
  margin-bottom: 15px;
}
#delete_image .modal-body h4 {
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  color: #2e2e2e;
  margin-bottom: 15px;
}
#delete_image .modal-body p {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #171a1f;
  margin-bottom: 15px;
}
#delete_image .modal-footer {
  border: none;
  padding: 0;
  margin-bottom: 15px;
}
#delete_image .modal-footer .btn {
  max-width: 70px;
  height: 38px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

/* ---Editor Page Css --------- */

.add_editor_btn .btn_primary {
  padding-inline: 10px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 124px;
  width: 100%;
}
.add_editor_sec {
  width: 100%;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  padding-bottom: 15px;
}
.add_editor_profile_sec {
  width: 100%;
  min-height: 180px;
  background-image: url(../img/profile-bg.png);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: top right;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e7ff;
  display: flex;
  align-items: center;
  padding-inline: 30px;
  position: relative;
  background-color: #fffdfc;
  border-radius: 12px 12px 0px 0px;
}
.add_editor_sec .input_group .form-label {
  font-family: Inter;
  font-size: 16px;
  font-weight: 600;
  line-height: 19.36px;
  text-align: left;
  color: #323743;
}
.profile_block a img {
  max-width: 100px;
  width: 100%;
}
.profile_block {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.name_profile h4 {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  text-align: left;
  color: #000000;
}
.name_profile p {
  font-family: Poppins;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #9095a0;
}
.add_editor_sec .input_group .form-control,
.add_editor_sec .form-select {
  min-height: 52px;
  border: none;
  appearance: auto;
}
.add_editor_form {
  padding: 30px;
}
.add_editor_sec .image_frame_buttons_block {
  padding-inline: 30px;
}
/* ----- Transactions Page CSS ---------- */

.search_table {
  max-width: 366px;
  width: 100%;
  position: relative;
}
.search_table .form-control {
  background: #f3f4f6;
  border: none;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  padding-left: 30px;
}
.search_icon {
  position: absolute;
  top: 12px;
  left: 10px;
}
.add_editor_btn .btn_secondary:hover svg path {
  stroke: #fff;
}
.add_editor_btn {
  display: flex;
  align-items: center;
  gap: 15px;
}
.filter_btn {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  color: #9095a0;
}
.green_text {
  color: #117b34 !important;
  font-weight: 600 !important;
}
.red_text {
  color: #ff0000 !important;
}
.badge_faild {
  background: #ff00001a;
  color: #ff0000;
}
/* ------- Profile Page CSS -------- */

.profile_page .add_editor_profile_sec {
  background-image: url(../img/porfile-change-bg.png) !important;
  background-size: cover !important;
}
.change_profile {
  position: relative;
}
.change_profile::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  background-image: url(../img/edit-profile-icon.png);
  background-repeat: no-repeat;
  background-size: auto;
  width: 30px;
  height: 30px;
}
.inner_profile_wrap .profile_block {
  padding-inline: 30px;
  flex-direction: column;
  align-items: baseline;
  position: relative;
  bottom: 50px;
  left: 0;
}
.edit_profile {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding-inline: 30px;
  position: relative;
  bottom: 20px;
}
.edit_profile .btn {
  max-width: 70px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.profile_content {
  padding: 30px;
}
.profile_content .nav-tabs {
  border-bottom: 1px solid #ee9b3633;
  margin-bottom: 30px;
}
.profile_content .nav-tabs .nav-link {
  margin-bottom: -1px;
  background: 0 0;
  border: none !important;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  color: #ee9b36;
}
.profile_content .nav-tabs .nav-item.show .nav-link,
.profile_content .nav-tabs .nav-link.active {
  color: #fff !important;
  background-color: #ee9b36 !important;
  border-color: #ee9b36 !important;
}
.profile_content .input_group .form-label {
  font-family: Inter;
  font-size: 16px;
  font-weight: 600;
  line-height: 19.36px;
  text-align: left;
  color: #323743;
}
/* Action dropdown css */
.action-container {
  position: relative;
  display: inline-block;
}
.action_sec img {
  width: 24px;
  cursor: pointer;
}
.action-container .dropdown-content {
  display: none;
  position: absolute;
  top: 0px;
  right: 20px;
  background-color: #fff;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  z-index: 100;
  min-width: 186px;
  padding: 5px;
}
.action-container .dropdown-option {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
  color: #525252;
}
.action-container .dropdown-option:last-child {
  border-bottom: none;
}
.action-container .dropdown-option:hover {
  background-color: #f3f4f6;
  border-radius: 2px;
}
#comment_Modal .comment_box {
  margin-bottom: 20px;
}
#comment_Modal .comment_box .form-control {
  border-radius: 100px;
  padding-right: 60px;
  background: #f3f4f6;
  border: none;
}
#comment_Modal .comment_sec {
  max-height: 742px;
  height: 100%;
}
#comment_Modal .modal-header {
  border: none;
  padding-bottom: 0;
}
#comment_Modal .btn-close {
  font-size: 12px;
}
#comment_Modal .modal-title {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: left;
  color: #424856;
}
.sorting_btn {
  width: 100%;
  max-width: 100px;
}
.sorting_btn .form-select {
  background: #f3f4f6;
  border-radius: 6px;
  padding: 5px !important;
  appearance: auto;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  color: #9095a1;
  border: none;
  height: 38px;
}

/* Task View page css */

.view_sec {
  border: 1px solid #e0e7ff !important;
  border-radius: 12px !important;
  align-items: baseline;
  padding: 30px;
}
.view_sec .name_profile {
  max-width: 275px;
  width: 100%;
}
.view_sec .name_profile h4 {
  margin-bottom: 15px;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  text-align: left;
}
.task_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.task_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
}
.left_task {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 22px !important;
  color: #171a1f !important;
}
.right_task {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  text-align: left !important;
  color: #323743 !important;
}
.custom_pic_header {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.custom_pic_header .btn_download {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  color: #6f7787;
}

.teacher-btns {
    display: flex;
    gap: 20px;
}

.teacher-btns a {
    padding: 5px 10px;
    max-width: max-content !important;
}

.reset_eye_icon {
    position: absolute;
    right: 20px;
    top: 10px;
}
.sitelogo{
    text-align: center;
    margin-bottom: 30px;
}
/* Available slots css in student table */

.slot-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.slot-list li {
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 4px 8px;
  margin-bottom: 5px;
  border-radius: 6px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.slot-list .day {
  font-weight: 600;
  color: #374151;
}

.slot-list .time {
  color: #6b7280;
  font-style: italic;
  white-space: normal;
}

select option:disabled {
  color: #999;
  background-color: #f5f5f5;
}

/* Teacher panel mobile optimization */

.teacher-panel-body {
  background: #f6f8fb;
  color: #171a1f;
}

.teacher-panel-body.teacher-panel-locked {
  overflow: hidden;
}

.teacher-panel-body .layer {
  position: fixed;
  inset: 0;
  background: rgba(23, 26, 31, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 1040;
}

.teacher-panel-body .layer.active {
  opacity: 1;
  visibility: visible;
}

.teacher-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid #edf0f4;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.teacher-panel-body .main-nav {
  min-height: 72px;
  padding: 16px 24px;
}

.teacher-nav-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: right;
}

.teacher-nav-user__text h5 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #171a1f;
}

.teacher-nav-user__text p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.45;
  color: #6a707c;
}

.teacher-main {
  min-height: calc(100vh - 72px);
  margin-bottom: 0;
}

.teacher-app-alert {
  margin: 16px 24px 0;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(23, 26, 31, 0.08);
}

.teacher-sidebar {
  border-right: 1px solid #f1e3d0;
  background: linear-gradient(180deg, #fff8ef 0%, #ffffff 100%);
}

.teacher-sidebar .logo-title img {
  width: 100%;
  max-width: 185px;
  height: auto;
}

.teacher-sidebar .sidebar-body {
  padding-right: 8px;
}

.teacher-sidebar .sidebar-body-menu li + li {
  margin-top: 6px;
}

.teacher-sidebar .sidebar-body-menu a {
  border-radius: 14px;
  font-weight: 600;
}

.teacher-page__container {
  padding: 24px;
}

.teacher-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.teacher-page__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(238, 155, 54, 0.12);
  color: #7a4700;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.teacher-page__title {
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: #171a1f;
}

.teacher-page__subtitle {
  max-width: 720px;
  font-size: 14px;
  line-height: 1.75;
  color: #6a707c;
}

.teacher-page__meta {
  min-width: 180px;
  padding: 18px 20px;
  border: 1px solid #ebeef2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 26, 31, 0.06);
}

.teacher-page__meta span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b6a3d;
}

.teacher-page__meta strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #171a1f;
}

.teacher-page__meta small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #6a707c;
}

.teacher-surface {
  border: 1px solid #ebeef2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(23, 26, 31, 0.06);
}

.teacher-surface__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 24px 0;
}

.teacher-surface__title {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #171a1f;
}

.teacher-surface__subtitle {
  font-size: 13px;
  line-height: 1.7;
  color: #6a707c;
}

.teacher-surface__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff4e6;
  color: #7a4700;
  font-size: 13px;
  font-weight: 700;
}

.teacher-surface__body {
  padding: 18px 24px 24px;
}

.teacher-surface__body--flush {
  padding: 18px 8px 8px;
}

.teacher-list-table thead th {
  border-bottom: 1px solid #edf0f4;
  background: #fafafb;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #424856;
  white-space: nowrap;
}

.teacher-list-table tbody td {
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
  line-height: 1.65;
  color: #525252;
  vertical-align: top;
}

.teacher-list-table__strong {
  display: block;
  font-weight: 700;
  color: #171a1f;
}

.teacher-list-table__muted {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: #6a707c;
}

.teacher-action-stack {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}

.teacher-action-stack form {
  margin: 0;
}

.teacher-action-stack .btn {
  min-width: 132px;
  border-radius: 12px;
  font-weight: 600;
}

.teacher-pagination-footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px 24px;
}

.teacher-data-card {
  height: 100%;
}

.teacher-data-list {
  display: grid;
  gap: 14px;
}

.teacher-data-list__row {
  padding: 14px 16px;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  background: #fafafb;
}

.teacher-data-list__row dt {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b6a3d;
}

.teacher-data-list__row dd {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #171a1f;
}

.teacher-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid #ebeef2;
  background: #fff;
  box-shadow: 0 16px 34px rgba(23, 26, 31, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teacher-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(23, 26, 31, 0.08);
}

.teacher-stat-card__value {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.teacher-stat-card__label {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #171a1f;
}

.teacher-stat-card__hint {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #6a707c;
}

.teacher-stat-card--suggested {
  background: linear-gradient(135deg, #fff8e8 0%, #ffffff 100%);
}

.teacher-stat-card--suggested .teacher-stat-card__value {
  color: #d68c00;
}

.teacher-stat-card--active {
  background: linear-gradient(135deg, #eefdf3 0%, #ffffff 100%);
}

.teacher-stat-card--active .teacher-stat-card__value {
  color: #117b34;
}

.teacher-stat-card--rejected {
  background: linear-gradient(135deg, #fff4f4 0%, #ffffff 100%);
}

.teacher-stat-card--rejected .teacher-stat-card__value {
  color: #d93449;
}

.teacher-stat-card--trial {
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
}

.teacher-stat-card--trial .teacher-stat-card__value {
  color: #2563eb;
}

.teacher-profile-page .task_table_sec {
  margin: 0;
  padding: 24px;
}

.teacher-profile-page .nav_edit_profile {
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.teacher-profile-page .add_editor_form {
  padding: 24px 0 0;
}

.teacher-profile-page .image_frame_buttons_block {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 18px 0 0;
}

.teacher-profile-page .image_frame_buttons_block .btn {
  max-width: 140px;
  width: 100%;
}

.teacher-profile-edit {
  max-width: 160px;
  min-height: 46px;
  padding-inline: 18px;
}

/* Shared menu button styles for mobile (teacher + admin) */
.teacher-menu-btn,
.admin-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff4e6;
  border: 1px solid #f1e3d0;
}

.teacher-menu-btn .icon.menu-toggle--gray,
.admin-menu-btn .icon.menu-toggle--gray {
  width: 28px;
  height: 28px;
}

.teacher-menu-btn__label,
.admin-menu-btn__label {
  font-size: 14px;
  font-weight: 700;
  color: #7a4700;
  letter-spacing: 0.02em;
}

@media (min-width: 1199.99px) {
  .teacher-menu-btn__label,
  .admin-menu-btn__label {
    display: none;
  }
  .teacher-menu-btn,
  .admin-menu-btn {
    background: transparent;
    border: none;
    padding: 0;
  }
  .teacher-menu-btn .icon.menu-toggle--gray,
  .admin-menu-btn .icon.menu-toggle--gray {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 1199.98px) {
  /* Fix admin nav direction so Menu is left, user is right */
  .main-nav {
    flex-direction: row !important;
    justify-content: space-between !important;
  }

  .main-nav-end {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .teacher-panel-body .sidebar {
    left: -100%;
    width: min(86vw, 320px);
    padding: 20px 14px 24px;
    box-shadow: 24px 0 48px rgba(23, 26, 31, 0.18);
    transition: left 0.25s ease;
    z-index: 1050;
  }

  .teacher-panel-body .sidebar.hidden {
    left: -100%;
  }

  .teacher-panel-body .sidebar.is-open {
    left: 0;
  }

  .teacher-panel-body .main-nav {
    padding: 14px 18px;
  }

  .teacher-page__container {
    padding: 20px 16px;
  }

  .teacher-surface__header,
  .teacher-surface__body,
  .teacher-surface__body--flush,
  .teacher-profile-page .task_table_sec {
    padding-left: 20px;
    padding-right: 20px;
  }

  .teacher-app-alert {
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (max-width: 991.98px) {
  .teacher-page__title {
    font-size: 26px;
  }

  .teacher-page__meta {
    width: 100%;
  }

  .teacher-surface__header {
    padding-top: 20px;
  }

  .teacher-table-card .table-responsive {
    overflow: visible;
  }

  .teacher-table-card thead {
    display: none;
  }

  .teacher-table-card tbody {
    display: grid;
    gap: 12px;
    padding: 8px 0 0;
  }

  .teacher-table-card tbody tr {
    display: block;
    border: 1px solid #edf0f4;
    border-radius: 18px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(23, 26, 31, 0.05);
  }

  .teacher-table-card tbody td {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0 0 12px;
    border: 0;
    white-space: normal !important;
    text-align: left !important;
  }

  .teacher-table-card tbody td:last-child {
    padding-bottom: 0;
  }

  .teacher-table-card tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b6a3d;
  }

  .teacher-table-card tbody td[colspan] {
    padding: 6px 0 !important;
  }

  .teacher-table-card tbody td[colspan]::before {
    display: none;
  }

  .teacher-action-stack {
    flex-direction: column;
  }

  .teacher-action-stack .btn,
  .teacher-action-stack form,
  .teacher-action-stack .btn-sm {
    width: 100%;
    min-width: 0;
  }

  .teacher-pagination-footer {
    justify-content: center;
    padding: 16px 20px 20px;
  }

  .teacher-profile-page .nav_edit_profile {
    flex-direction: column;
  }

  .teacher-profile-page .task_table_sec .nav-pills {
    max-width: none;
    width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 767.98px) {
  /* --- Teacher panel navbar fix --- */
  .teacher-panel-body .main-nav {
    flex-direction: row !important;
    padding: 14px 16px;
  }

  .teacher-panel-body .main-nav-end {
    width: 100%;
    margin-bottom: 0;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .teacher-panel-body .nav-user-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
  }

  .teacher-nav-user {
    max-width: 100%;
  }

  .teacher-nav-user__text {
    overflow: hidden;
  }

  .teacher-nav-user__text h5 {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }

  .teacher-nav-user__text.profile_name::after {
    top: 50%;
    transform: translateY(-25%);
  }

  /* --- Admin panel navbar fix --- */
  .main-nav {
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 14px 16px;
  }

  .main-nav-end {
    width: 100% !important;
    margin-bottom: 0 !important;
    justify-content: space-between !important;
    align-items: center;
    gap: 12px;
  }

  .main-nav-end .nav-user-wrapper {
    display: flex;
    justify-content: flex-end;
  }

  .main-nav-end .nav-user-wrapper .profile_name {
    padding-right: 18px;
  }

  .main-nav-end .nav-user-wrapper .profile_name h5 {
    font-size: 14px;
    white-space: nowrap;
  }

  .main-nav-end .nav-user-wrapper .profile_name p {
    font-size: 11px;
    white-space: nowrap;
  }

  .teacher-stat-card {
    min-height: 168px;
    padding: 20px;
  }

  .teacher-stat-card__value {
    font-size: 36px;
  }
}

@media (max-width: 575.98px) {
  .teacher-page__container {
    padding: 16px 14px;
  }

  .teacher-page__title {
    font-size: 24px;
  }

  .teacher-page__subtitle {
    font-size: 13px;
  }

  .teacher-surface__header,
  .teacher-surface__body,
  .teacher-surface__body--flush,
  .teacher-profile-page .task_table_sec {
    padding-left: 16px;
    padding-right: 16px;
  }

  .teacher-profile-edit,
  .teacher-profile-page .image_frame_buttons_block .btn {
    max-width: 100%;
  }

  .teacher-nav-user__text p {
    display: none;
  }

  .teacher-nav-user__text h5 {
    max-width: 140px;
    font-size: 13px;
  }

  .main-nav-end .nav-user-wrapper .profile_name p {
    display: none;
  }

  .main-nav-end .nav-user-wrapper .profile_name h5 {
    font-size: 13px;
  }

  .teacher-app-alert {
    margin-left: 14px;
    margin-right: 14px;
  }
}

.app-page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 245, 238, 0.76);
  backdrop-filter: blur(3px);
  z-index: 12000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.app-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-page-loader__spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(238, 155, 54, 0.18);
  border-top-color: #ee9b36;
  border-right-color: #d18421;
  animation: appPageLoaderSpin 0.75s linear infinite;
  box-shadow: 0 18px 40px rgba(50, 55, 67, 0.12);
}

@keyframes appPageLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}
