#modal {
  position: absolute;
  z-index: 2;
  right: 10px;
  top: 10px;
  width: 400px;
  word-break: break-word;
  border-radius: 6px;
  background: #bad5ff;
}

.required:after {
  content: " *";
  color: red;
}

#video_modal {
  position: absolute;
  z-index: 9999;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -15%);
}

/* #whats_next_popup {
  position: absolute;
  z-index: 9999;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, 50%);
} */

#whats_next_popup {
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-height: 90vh; /* Ensures the modal doesn't overflow the viewport */
  overflow-y: auto; /* Allows scrolling inside the modal if content exceeds the height */
}

#progress_video_modal {
  position: absolute;
  z-index: 9999;
  /* transform: translate(40%, 5%); */
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, 5%);
}

/* enlargening effect */

.enlarge1-1 {
  transition: transform .2s;
}

.enlarge1-1:hover {
  transform: scale(1.1, 1.1);
}

.enlarge1-05 {
  transition: transform .2s;
}

.enlarge1-05:hover {
  transform: scale(1.05, 1.05);
}

.list-reset ul,
ol {
  list-style-type: revert;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
}

.link-reset a {
  color: revert;
  text-decoration: revert;
}

.cohort-summary-default {
  transform: scale(1.05, 1.05);
  box-shadow: 0 0 10px #719ECE;
}

p {
  word-break: normal;
  white-space: normal;
}

dd {
  word-break: normal;
  white-space: normal;
}

.left-to-right-button-100 {
  background: linear-gradient(to right, rgb(178, 224, 182) 50%, transparent 0);
  background-size: 200% 100%;
  background-position: right;
  animation: colorLeftToRight 0.6s 1s forwards;
}

.left-to-right-button-90 {
  background: linear-gradient(to right, rgb(178, 224, 182) 45%, transparent 0);
  background-size: 200% 100%;
  background-position: right;
  animation: colorLeftToRight 0.6s 1s forwards;
}

.left-to-right-button-80 {
  background: linear-gradient(to right, rgb(178, 224, 182) 40%, transparent 0);
  background-size: 200% 100%;
  background-position: right;
  animation: colorLeftToRight 0.5s 1s forwards;
}

.left-to-right-button-70 {
  background: linear-gradient(to right, rgb(178, 224, 182) 35%, transparent 0);
  background-size: 200% 100%;
  background-position: right;
  animation: colorLeftToRight 0.5s 1s forwards;
}

.left-to-right-button-60 {
  background: linear-gradient(to right, rgb(178, 224, 182) 30%, transparent 0);
  background-size: 200% 100%;
  background-position: right;
  animation: colorLeftToRight 0.5s 1s forwards;
}

.left-to-right-button-50 {
  background: linear-gradient(to right, rgb(178, 224, 182) 31%, transparent 0);
  background-size: 200% 100%;
  background-position: right;
  animation: colorLeftToRight 0.4s 1s forwards;
}

.left-to-right-button-40 {
  background: linear-gradient(to right, rgb(178, 224, 182) 20%, transparent 0);
  background-size: 200% 100%;
  background-position: right;
  animation: colorLeftToRight 0.4s 1s forwards;
}

.left-to-right-button-30 {
  background: linear-gradient(to right, rgb(178, 224, 182) 10%, transparent 0);
  background-size: 200% 100%;
  background-position: right;
  animation: colorLeftToRight 0.4s 1s forwards;
}

.left-to-right-button-20 {
  background: linear-gradient(to right, rgb(178, 224, 182) 5%, transparent 0);
  background-size: 200% 100%;
  background-position: right;
  animation: colorLeftToRight 0.3s 1s forwards;
}

.left-to-right-button-10 {
  background: linear-gradient(to right, rgb(178, 224, 182) 0%, transparent 0);
  background-size: 200% 100%;
  background-position: right;
  animation: colorLeftToRight 0.2s 1s forwards;
}

@keyframes colorLeftToRight {
  100% {
    background-position: left;
  }
}

.iframe {
  position: absolute;
  width: 100%;
  height: 85%;
}

.eightCols {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.nineCols {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.twelveCols {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.thirteenCols {
  grid-template-columns: repeat(13, minmax(0, 1fr));
}

.fourteenCols {
  grid-template-columns: repeat(14, minmax(0, 1fr));
}

.fifteenCols {
  grid-template-columns: repeat(15, minmax(0, 1fr));
}

.sixteenCols {
  grid-template-columns: repeat(16, minmax(0, 1fr));
}

.seventeenCols {
  grid-template-columns: repeat(17, minmax(0, 1fr));
}

.eighteenCols {
  grid-template-columns: repeat(18, minmax(0, 1fr));
}

.nineteenCols {
  grid-template-columns: repeat(19, minmax(0, 1fr));
}

.twentyCols {
  grid-template-columns: repeat(20, minmax(0, 1fr));
}

.selected_grid_item {
  background-color: #FFA500;
  color: white;

}

.pagination {
  display: flex;
  list-style: none;
  padding: 0;
}

.pagination li {
  margin-right: 5px;
}

.pagination li a {
  padding: 5px 10px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
}

.pagination li.active a {
  background-color: #007bff;
  color: #fff;
}

q .pagination li.disabled a {
  color: #ccc;
  pointer-events: none;
}

.multiselect__container {
  font-family: sans-serif;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  padding-right: 1.75rem;
  padding-left: 0.5rem;
  background: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right #ddd;
  background-color: transparent;
  border-radius: 0.25rem;
  appearance: none;
  border: 1px solid rgb(218 218 218);
  outline-offset: 2px;
  outline: transparent solid 2px;
  color: rgb(55 61 63);
  line-height: 1.5;
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  cursor: pointer;
}

.multiselect__no-result {
  color: rgb(112 112 112);
  padding: 0.75rem;
  font-size: 0.875rem;
}

.multiselect__addable-button {
  padding: 0.5rem;
  text-decoration-line: underline;
  color: rgb(55 61 63);
  cursor: pointer;
}

.multiselect__addable-button:hover {
  color: rgb(29 115 186);
}

.multiselect__container:focus-within {
  border-color: rgb(44 141 222);
  --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.multiselect__container--disabled {
  background-color: rgb(240 240 240);
  cursor: not-allowed;
}

.multiselect__container:hover {
  --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.multiselect__hidden {
  display: none;
}

.multiselect__preview {
  width: -webkit-fill-available;
  width: -moz-available;
  width: -webkit-fill-available;
  gap: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
}

.multiselect__pill {
  max-width: fill-available;
  color: rgb(55 61 63);
  font-size: 0.75rem;
  padding-left: 0.5rem;
  background-color: rgb(250 249 244);
  border: 1px solid #f0f0f0;
  border-radius: 0.25rem;
  display: flex;
}

.multiselect__pill-delete {
  padding: 0.25rem 0.5rem 0.25rem 0.5rem;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
  align-items: center;
  display: flex;
  margin-left: 0.25rem;
}

.multiselect__pill-delete:hover {
  background-color: rgb(254 178 178);
}

.multiselect__pill:hover svg {
  fill: rgb(246, 71, 71);
}

.multiselect__pill-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.multiselect__input-container {
  display: flex;
}

.multiselect__focused {
  background-color: #f4fbff;
}

.multiselect__placeholder {
  color: rgb(174 174 174);
  font-style: italic;
  padding-left: 0.25rem;
  opacity: 1;
}

.multiselect__addable {
  text-decoration-line: underline;
  color: rgb(112 112 112);
  text-align: center;
}

.multiselect__addable:hover {
  color: rgb(55 61 63);
}

.multiselect__search {
  width: 100%;
  outline: 2px solid transparent;
  outline-offset: 2px;
  border: transparent;
  color: rgb(55 61 63);
  font-size: 0.875rem;
  padding-left: 0.25rem;
}

.multiselect__search:focus::placeholder {
  color: rgb(112 112 112);
}

.multiselect__search:disabled {
  background-color: rgb(240 240 240);
  cursor: not-allowed;
}

.multiselect__search::placeholder {
  font-style: italic;
  opacity: 1;
  color: rgb(174 174 174);
}

.multiselect__list {
  max-height: 400px;
  overflow-y: auto;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.multiselect__list li {
  display: block;
  align-items: center;
  font-size: 0.875rem;
  color: rgb(112 112 112);
  border-top-width: 1;
}


.multiselect__list li:first {
  border-top-width: 0;
}

.multiselect__list li:hover {
  background-color: rgb(244 251 255);
}

.multiselect__list li label {
  padding: 0.75rem;
  align-items: center;
  cursor: pointer;
  display: flex;
}

.multiselect__list li:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.multiselect__list li:last-child {
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.multiselect__list li input {
  margin-right: 0.75rem;
}

.multiselect__dropdown {
  --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  background-color: rgb(255 255 255);
  border: 1px solid rgb(218 218 218);
  width: 100%;
  border-radius: 0.25rem;
  display: none;
  margin-top: 0.5rem;
  z-index: 50;
  position: absolute;
}

.multiselect__dropdown--open {
  display: block;
}

#popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000; /* Ensure it appears on top */
}

#popup_overlay.hidden {
  display: none;
}

.popup-content {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
}

.dashed-line {
  border-top: 3px dashed #4a5568;
  border-style: dashed;
  border-color: #4a5568; 
  border-width: 1px; 
  border-radius: 2px; 
}