.title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2.375;
}

.sub-title {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 2;
}

.dga-divider--primary {
    color: #1b8354;
    margin: auto;
    opacity: 1;
    width: 80%;
}

.justify-content-around {
    justify-content: space-around !important;
}

@media (min-width: 768px) {
    .col-md-5 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/*input*/

.input-custom2 {
    position: relative;
    width: 100%;
    height: 40px;
    border: 1px solid #9da4ae;
    border-radius: 4px;
    background: #fff;
}

 .input-custom2:hover {
   border-color: #384250;
}

.input-custom2 input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    padding: 0 16px;
    background: transparent;
    direction: rtl;
    font: 400 14px / 20px IBMPlexSansArabic;
}


.input-custom2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: #0d121c;
    transform: translateX(-50%);
    transition: width .25s ease;
}

.input-custom2:focus-within::after {
    width: 100%;
}

.input-custom2 input:focus-visible {
   box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, .06), 0px 4px 8px -2px rgba(16, 24, 40, .1);
}

/*dropdown*/
.custom-dropdown {
  width: 100%;
  position: relative;
  font-family: Arial, sans-serif;
}

.dropdown-label {
  display: block;
 color: var(--colors-text-primary);
  margin-bottom: 8px;
}

.selected-text{
  color: var(--colors-text-placeholder);
}

.dropdown-toggle-btn {
  width: 100%;
  height: 40px;
  background: #fff;
  border: 1px solid var(--colors-neutral-400);
  border-radius: 4px;
  padding: 0 12px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-toggle-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #0d121c;
  transform: translateX(-50%);
  transition: width 0.2s ease-in-out;
}

.custom-dropdown.is-open .dropdown-toggle-btn::after {
  width: 100%;
}

.dropdown-toggle-btn:hover {
  border-color: var(--colors-neutral-700);
}

.custom-dropdown.is-open .dropdown-toggle-btn {
  border-color: var(--colors-neutral-400);
}


.custom-dropdown.is-open .dropdown-toggle-btn {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
 /*  box-shadow: 0 2px 0 #111827; */
}

.dropdown-arrow {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #25364a;
  transition: transform 0.2s ease;
  flex: 0 0 24px;
}

.dropdown-toggle .dropdown-arrow{
  color: inherit;
}

.dropdown-arrow svg {
  width: 24px;
  height: 24px;
  display: block;
}

.custom-dropdown.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu-list {
  position: absolute;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--colors-gray-300);
  border-radius: 4px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  z-index: 2;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;

  box-shadow: 0 16px 28px rgba(16, 24, 40, 0);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease,
    box-shadow 0.2s ease;
}

.dropdown-menu-list {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin; /* Firefox */
}

.dropdown-menu-list::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu-list::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 10px;
}

.dropdown-menu-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.custom-dropdown.is-open .dropdown-menu-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, .03), 0px 20px 24px -4px rgba(16, 24, 40, .08);
}

.dropdown-item-option {
  padding: 10px 8px;
  font-size: 1rem;
  color: var(--colors-text-primary);
  cursor: pointer;
  font-weight: 400;
  margin-inline: 8px;
      background: transparent;
    width: calc(100% - 2 * 8px);
    border: 0;
    text-align: start;
}

.dropdown-item-option:hover {
  background: var(--colors-neutral-100);
}

.dropdown-item-option:active {
  background: var(--colors-neutral-200);
}

.dropdown-item-option:focus-visible {
  color: var(--colors-base-black);
    outline: 2px solid var(--colors-base-black);
    border-radius: 4px;
}

html[dir="rtl"] .dropdown-toggle-btn {
  direction: rtl;
}

.sub-title{color: var(--colors-base-black);}

.btn-icon-gray{
  color: var(--colors-neutral-600);
}

[dir="ltr"] .btn-icon-gray {
    scale: -1 1;
    margin-left: .25rem;
}

.btn-icon-gray .icon{
  min-width: 24px;
  padding: 0;
}

.item p {
    line-height: 24px;
    margin-bottom: 16px;
}

.lg-icon-custom{
  font-size: 1.5rem;
}

.dropdown-item-option {
  position: relative;
  padding-inline-end: 2.5rem;
}

.dropdown-item-option::after {
  content: "";
  position: absolute;
  inset-inline-end: 1rem;
  top: 50%;
  transform: translateY(-50%);

  width: 24px;
  height: 24px;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath fill='%23161616' d='M18.293 6.293a1 1 0 1 1 1.414 1.414l-10 10a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414L9 15.586z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0;
}

.dropdown-item-option.is-selected::after {
  opacity: 1;
}

/*bottun*/
.btn {
  padding-inline: 16px !important;
  font-size: 1rem;
  font-weight: 500 !important;
  line-height: 1.5rem;
  border-radius: 4px !important;
  border: 1px solid transparent !important;
  height: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
}


.btn-kfu-solid {
  background-color: var(--link-primary);
  color: var(--colors-base-white) !important;
  border-color: var(--link-primary);
}

.btn-kfu-solid:hover {
  background-color: var(--colors-primary-sa-flag-700);
  border-color: var(--colors-primary-sa-flag-700);
}

.btn-kfu-solid:active {
  background-color: var(--colors-primary-sa-flag-900) !important;
  border-color: var(--colors-primary-sa-flag-900) !important;
}

.btn-kfu-solid:focus-visible {
  outline: 2px solid var(--colors-base-black) !important;
  background-color: var(--link-primary);
}

.btn-kfu-solid:disabled {
  background-color: var(--colors-neutral-100) !important;
  border-color: transparent !important;
  color: var(--colors-base-black) !important;
}

.btn-kfu {
  background-color: var(--colors-base-white) !important;
  color: var(--colors-alpha-alpha-black-100) !important;
  border-color: var(--colors-neutral-200) !important;
}

.btn-kfu:hover {
  background-color: var(--colors-neutral-100) !important;
  color: var(--colors-alpha-alpha-black-100) !important;
  border-color: var(--colors-neutral-200) !important;
}

.btn-kfu:active {
  background-color: var(--colors-gray-neutral-200) !important;
  color: var(--colors-alpha-alpha-black-100) !important;
  border-color: var(--colors-neutral-300) !important;
}

.btn-kfu:focus-visible {
  outline: 2px solid var(--colors-base-black) !important;
  background-color: var(--colors-base-white) !important;
}


.star {
    color: #B42318;
}

 #courseTable td:first-child {
        display: none;
      }

/*custom table*/
table td {
  font-weight: 400;
  border: none;
}

.table-responsive table td {
  border-right: 0;
      padding: 0;
}

.prev-table-size {
  width: 50%;
}

@media (max-width: 768px) {
 .prev-table-size {
  width: 100%;
}
}

td input, td select {
    margin: auto;
}

.border-bot-non {
  border-bottom: none !important;
  padding-bottom: 5px !important;
}

#prGpaErrMsg {
  font-size: .9rem;
  line-height: 2;
  color: #B42318;
}