.modal {
  position: fixed;
  inset: 0px;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 5vh;
  background-color: rgba(0, 0, 0, 0.21);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-content {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  color: #333;
}

.modal-content .left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}


.form-container {
  width: 100%;
  max-width: 550px;
  height: auto;
  min-height: auto;
  flex-direction: row;
  overflow: visible;
}

.form {
  min-height: auto;
  height: auto;
  gap: 12px;
  padding: 30px;
  border-radius: 30px;
  box-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.1);
  background-color: rgb(251, 251, 251);
}

.form.profile-picture-update {
  gap: 0px;
}

/* .form::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 33px;
  pointer-events: none;
  border: solid rgba(251, 251, 251, 0.3) 1.5px;
} */


.input-label {
  margin-top: 20px;
  margin-bottom: 2px;
  font-size: 12px;
  color: #222;
}

.input-label.new {
  color: #888;
  margin-top: 0px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.column .input-label {
  margin-top: 0px;
}

.input-box,
.form textarea,
.form select {
  background-color: rgb(248, 247, 250);
  border-color: rgb(230, 224, 243);
  font-size: 12px;
  color: #444;
  margin-top: 8px;
}

.input-box.new,
textarea.new,
select.new {
  border: none;
  background-color: rgb(247, 245, 249);
  margin-top: 0px;
  color: #444;
}

.input-box.new:read-only,
textarea.new:read-only,
select.new:read-only {
  background-color: rgb(245, 245, 245);
}

.input-box.new:focus,
.input-box.new:focus-within {
  outline-color: rgba(169, 140, 226, 0.84);
}

textarea.new {
  border-radius: 12px;
}

.password-container.new .input-box.new,
.password-container.new textarea.new,
.password-container.new select.new {
  padding-left: 90px;
}

.password-container.new .input-box.small-left-padding.new,
.password-container.new textarea.small-left-padding.new,
.password-container.new select.small-left-padding.new {
  padding-left: 80px;
}

.password-container.new .hide-line {
  border-color: rgb(62, 62, 62);
  border-width: 1.5px;
}

.password-container.new .hide-line:not(.visible) {
  width: 22px;
}

.password-container.new .show-password-button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.password-container.new .show-password-button {
  border: solid white 1px;
  right: 7px;
}

.password-container.new .show-password-button:hover {
  background-color: white;
  border: solid white 1px;
}

.column .input-box {
  max-width: 100%;
  flex: 1;
}

.form .row,
.settings-main .row {
  width: 100%;
  display: flex;
  gap: 15px;
  margin-top: 10px;
  position: relative;
}

.form .column,
.settings-main .column {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}


.input-validation {
  font-size: 11px;
  font-weight: 500;
  color: #555;
  margin-block: 5px;
}

.input-validation.error {
  color: rgb(215, 61, 61);
}

.role-section {
  width: 100%;
  display: flex;
}

.form-title {
  max-width: none;
  width: 100%;
  font-size: 15px;
  text-align: left;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 5px;
  color: #111;
}

.form-title.new {
  color: #444;
  padding-bottom: 5px;
  font-weight: 500;
}

.form-title.new.small {
  font-size: 14px;
}

.settings-form .form-title.new {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-title.center {
  text-align: center;
  font-size: 20px;
}


.warning-box.confirm-student-marks {
  display: flex;
}

.warning-box.confirm-student-marks ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.warning-box.confirm-student-marks li {
  list-style: none;
  font-size: 11px;
  color: #777;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1);
  border: solid rgb(237, 237, 237) 1px;
  padding: 5px 10px;
  border-radius: 30px;
}




.modal-actions {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.modal-actions .submit-button {
  height: 44px;
  flex: 1;
  border-radius: 50px;
  font-size: 12px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  background-color: rgb(84, 0, 168);
}

.modal-actions .submit-button.delete {
  background-color: #dc3545;
  border: solid rgba(255, 255, 255, 0) 1.5px;
}

.modal-actions .submit-button.delete:hover span {
  color: #dc3545;
}

.modal-actions .submit-button.delete::after {
  border: solid rgba(255, 255, 255, 0) 1.5px;
}


.modal-actions .submit-button.delete:hover::before {
  inset: 0px;
}

/* .modal-actions .submit-button.delete img {
  height: 15px;
  width: 15px;
} */

.modal-actions .submit-button.delete:hover img,
.submit-button.approve img {
  transform: rotate(0deg);
}


.submit-button img {
  height: 14px;
  width: 14px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0%) invert(1);
}


.submit-button .cancel-icon {
  height: 11px;
  width: 11px;
}


.submit-button.secondary {
  background-color: rgba(255, 255, 255, 0);
  color: rgb(84, 0, 168);
  border: solid rgb(84, 0, 168) 1.5px;
}

.submit-button.secondary::after {
  border: solid 1.5px rgba(0, 0, 139, 0);
}

.submit-button.secondary img {
  filter: grayscale(0) brightness(1) invert(0);
}

.submit-button.secondary:hover img {
  filter: grayscale(0) brightness(1) invert(0);
}

.submit-button.new:hover {
  background-color: rgba(84, 0, 168, 0.85);
}

.submit-button.new:hover span {
  color: rgb(84, 0, 168);
}

.submit-button.new::after {
  border: solid 1.5px rgb(84, 0, 168);
}

.submit-button.new.secondary::after {
  border: solid 1.5px rgb(84, 0, 168);
}


.download-preview .document-card {
  transform: none !important;
  opacity: 1 !important;
  cursor: default !important;
}

.download-preview .document-actions-button,
.download-preview .card-dropdown-menu {
  display: none !important;
}

.modal-card-preview .document-card .deleted-overlay-action,
.modal-preview-card .deleted-overlay-action {
  pointer-events: none !important;
  cursor: default !important;
}

.download-format-grid {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 5px;
}

.download-format-card {
  min-width: 75px;
  border: 1px solid #e2ddf3;
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 500;
  color: #555;
  text-align: center;
  cursor: pointer;
  outline: solid rgba(255, 255, 255, 0) 1px;
  outline-offset: -7px;
  transition: 0.16s ease, outline-offset 1s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}

.download-format-card:hover {
  border-color: #c5b6ef;
  background: #fcfaff;
}

.download-format-card.active {
  border-color: #8858e800;
  background: #f7f2ff;
  color: #4b2ea8;
  outline-color: #8758e8;
  outline-offset: 1px;
}



.file-info {
  font-size: 11px;
  color: #333;
  padding-block: 5px 0px;
}

.file-extentions {
  font-size: 11px;
  color: #777;
  margin-left: 5px;
  text-transform: lowercase;
}


.checkbox-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  cursor: pointer;
}



input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;

  width: 14px;
  height: 14px;
  border: 1.5px solid #666;
  border-radius: 50%;
  /* ← now works */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

input[type="checkbox"]::before {
  position: absolute;
  inset: 1.5px;
  content: "";
  background: rgb(0, 0, 139);
  border-radius: 30px;
  transform: scale(0);
  transition: 1s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}











/* TOASTER STYLES */

/* Toaster container */
.toaster {
  width: 290px;
  max-width: 320px;
  position: fixed;
  bottom: 20px;
  right: 25px;
  z-index: 250;
  background-color: rgb(251, 251, 251);
  color: #333;
  padding: 17px 20px 17px 25px;
  border-radius: 10px;
  border-radius: 50px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.3s ease, color 1s ease 0.5s, transform 1s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}

.toaster.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toaster-message {
  flex: 1;
  font-size: 12px;
  color: #333;
  position: relative;
  z-index: 2;
  transition: color 0.5s ease 1s;
}

.toaster.show .toaster-message {
  color: white;
}

.toaster.show .toaster-icon {
  filter: grayscale(100%) brightness(0%) invert(1);
}

@media (max-width: 768px) {
  .form-title.new {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
  }

  .input-label.new {
    padding-left: 1px;
  }
}

.toaster::after {
  content: '';
  position: absolute;
  inset: 0px;
  right: 100%;
  transition: 0.4s ease 1s;
}

.toaster.show::after {
  right: 0px;
}

.toaster-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  transition: 0.3s ease 1s;
  position: relative;
  z-index: 2;
}

/* .close-toaster-button {
  background-color: rgb(255, 255, 255);
  border: solid rgb(204, 204, 204) 1px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  min-height: 22px;
  min-width: 22px;
  height: 25px;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.close-toaster-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toaster.success::after {
  background: #4ac366;
}

.toaster.error::after {
  background: #dc3545;
}

.toaster.warning::after {
  background: #ffc107;
  color: #333;
}

.toaster.info::after {
  background: #17a2b8;
}








.download-started-modal,
.network-status-modal {
  position: fixed;
  top: -5px;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.21);
  transition: 0.3s ease, top 0.4s ease, bottom 0.4s ease;
}

.network-status-modal {
  top: unset;
  bottom: -50px;
  left: 230px;
  right: 0px;
}

.network-status-modal.minimized {
  left: 230px;
}

.download-started-modal.download-started-visible,
.network-status-modal.network-status-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  top: 75px;
  transition: 0.3s ease, top 1s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}


.network-status-modal.network-status-visible {
  top: unset;
  bottom: 40px;
}

.network-status-modal.offline .network-status-content {
  background-color: #eb4e55;
  border-color: #eb4e55;
}

.network-status-modal .network-status-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
}

.network-status-modal.minimized .network-status-content {
  /* left: 20px;
    transform: translateX(0%); */
  max-width: 43px;
}



.network-status-modal.offline .network-status-message {
  color: #fff;
  max-width: 100%;
}

.network-status-modal.offline .network-status-icon-container {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.network-status-modal.offline .network-status-icon {
  filter: grayscale(1) brightness(0) invert(1);
}

.network-status-modal.minimized .network-status-content {
  gap: 0;
  padding: 8px;
  border-radius: 999px;
}

.network-status-modal.minimized .network-status-message {
  max-width: 0px;
  color: rgba(255, 255, 255, 0);
}

.network-status-modal.minimized .network-status-icon-container {
  width: 26px;
  height: 26px;
  padding: 6px;
}


.download-started-content,
.network-status-content {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px 10px 10px;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  border: solid white 1px;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  transition: 0.5s ease;
}

.network-status-content {
  padding: 8px 18px 8px 8px;
  box-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.1);
}

.download-started-icon-container,
.network-status-icon-container {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 7px;
  background-color: rgb(251, 251, 251);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  border: solid white 1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-status-modal .network-status-icon-container {
  border-width: 1px;
}


.download-started-icon,
.network-status-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(0.3);
}


.download-started-message,
.network-status-message {
  font-size: 12px;
  color: #444;
  overflow: hidden;
  white-space: nowrap;
  transition: 0.45s ease;
  transition: 0.3s ease;
}


.download-started-modal-close-button,
.network-status-modal-close-button {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 5px 12px;
  border-radius: 30px;
  /* background-color: rgb(251, 251, 251); */
  background-color: rgb(248, 247, 250);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  border: solid rgb(255, 255, 255) 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 10px;
  color: #555;
}

.download-started-modal-close-button:hover,
.network-status-modal-close-button:hover {
  background-color: rgb(245, 245, 245);
}

.download-started-modal-close-button img,
.network-status-modal-close-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0%) invert(0.4);
  transition: 0.3s ease, transform 1s linear(0 0%, 0.22 2.1%, 0.86 6.5%, 1.11 8.6%, 1.3 10.7%, 1.35 11.8%, 1.37 12.9%, 1.37 13.7%, 1.36 14.5%, 1.32 16.2%, 1.03 21.8%, 0.94 24%, 0.89 25.9%, 0.88 26.85%, 0.87 27.8%, 0.87 29.25%, 0.88 30.7%, 0.91 32.4%, 0.98 36.4%, 1.01 38.3%, 1.04 40.5%, 1.05 42.7%, 1.05 44.1%, 1.04 45.7%, 1 53.3%, 0.99 55.4%, 0.98 57.5%, 0.99 60.7%, 1 68.1%, 1.01 72.2%, 1 86.7%, 1 100%);
}

.download-started-modal-close-button:hover img,
.network-status-modal-close-button:hover img {
  transform: rotateZ(90deg);
}

.download-started-modal-close-button:active img,
.network-status-modal-close-button:active img {
  transform: rotateZ(45deg);
}





.network-status-modal.restored .network-status-content {
  background-color: #4ac366;
  border: #4ac366;
}

.network-status-modal.restored .network-status-message {
  color: white;
}

.network-status-modal .network-status-icon-container {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.512);
}

.network-status-modal .network-status-icon {
  filter: grayscale(1) brightness(0) invert(1);
}
