.course-table {
  .course-buttons {
    display: -webkit-flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: end;
    margin-top: 15px;
  }

  .btn-primary {
    max-width: 190px;
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: #253a7b;

    a {
      color: var(--white);
      width: 100%;
      height: 100%;
      display: -webkit-flex;
      align-items: center;
      justify-content: center;
    }
  }

  .btn-secondary {
    max-width: 190px;
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 6px;
    border: 1px solid #e2e2e2;
    background-color: transparent;

    a {
      color: var(--black);
    }
  }

  .see-more-btn {
    width: 100%;
    max-width: 100%;
    height: 40px;
    border: 0;
    border-radius: 6px;
    border: 1px solid #e2e2e2;
    background-color: #253a7b;
    color:#fff;
    font-weight:700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    a {
      color: #fff;
    }
    margin-top: 30px !important;
  }
}

.table-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 70px;
  width: 100%;
}

#popup-3 {
  max-width: 752px;
  padding: 56px;
}

#row-table {
  box-shadow: 0px 10px 40px rgb(0 0 0 / 0.06);
  background-color: #fff;
  border-radius: 8px;
  width: 100%;
  padding: 14px ;
  max-width: 100%;
  width: 100%;
  font-size: 14px;
  margin-top:40px;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
}

.styled-table th,
.styled-table td {
  padding: 6px;
}
.styled-table tr {
  border-bottom: 1px solid #ddd;
  &:last-child{
    border-bottom: 0;
  }
}

.styled-table td {
  width: calc(100% / 7);
}
.styled-table td {
  width: auto !important ;
}

.styled-table th:nth-child(2),
.styled-table td:nth-child(2) {
  text-align: start;
  white-space: nowrap !important;
    a{
      color:#000;
  }
}

.styled-table th {
    color: #253a7b;
    font-weight: 600;
    text-align: left !important;
}
.table-btn {
  background-color: #253a7b;
  color: #fff;
  display: flex;
  padding: 0 2px;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: 25px;
  font-size: 12px;
  border-radius: 5px;
  font-weight: 600;
  border: none;
  cursor: pointer;

  a {
    color: #fff !important;
    text-decoration: none;
  }
}


.downloadIcon {
  width: 18px;
}

.course-content {
  display: -webkit-flex;
  flex-direction: column;
  row-gap: 32px;
  margin-block: 50px;
  color: #6f6f6f;

  ul {
    color: #6f6f6f;
    flex: 1;
    list-style: disc !important;
    width: 100%;
    display: -webkit-flex;
    flex-direction: column;
    gap: 10px;
    list-style-position: inside;
    padding-inline: 20px !important;
    margin: 1rem !important;
  }

  ol {
    list-style-position: inside;
    padding-inline: 20px !important;
  }

  h3 {
    margin-block: 16px;
  }

  .course-title {
    font-weight: 700;
    color: #134e88;
    font-size: 32px;
    line-height: 36px;
  }

  .group-1 {

    h2,
    h3,
    h4 {
      font-weight: 700 !important;
      color: #134e88 !important;
    }
  }
}

.course-content:nth-child(2) ul {
  list-style-type: circle !important;
}

.course-card-title {
  display: -webkit-flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;

  h2 {
    margin-bottom: 0 !important;
  }

  a {
    font-size: 12px;
    font-weight: 400;
    color: #484848;
    display: block;
    text-decoration: underline;
  }
}

.courses-container {
  margin-bottom: 94px;
}

.popup {
  width: 70%;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  z-index: 301;
  border-radius: 16px;
}

.popup-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #253a7b;
  opacity: 0.5;
  z-index: 300;
}

.form-popup {
  .form-title {
    margin-bottom: 50px;
  }

  h2 {
    font-size: 30px;
    font-weight: 700;
    color: #253a7b;
  }

  p {
    font-size: 12px;
    color: #495057;
    line-height: 20px;
  }

  .form-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }

  label {
    color: #252f40;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 8px;
    display: block;
  }

  input,
  .select-box {
    width: 100%;
    border: 1px solid #ccc;
    padding: 9px 12px;
    border-radius: 4px;
    outline: 0;
    height: 40px;
    transition: 0.4s;

    &:focus {
      border-color: #253a7b;
    }
  }

  .form-actions {
    display: -webkit-flex;
    justify-content: space-between;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 24px;

    button {
      max-width: 156px;
      height: 40px;
      width: 100%;
      background-color: #253a7b;
      color: var(--white);
      border-radius: 6px;
      cursor: pointer;
      display: -webkit-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      outline: 0;
      border: 0;
    }
  }
}

.select-box {
  position: relative;

  input {
    width: 100%;
    font-size: 1.1rem;
    outline: none;
    font-size: 12px;
    font-weight: normal !important;
    color: #495057;
    border: 0;
  }
}

.selected-option {
  overflow: hidden;
  display: -webkit-flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;

  div {
    position: relative;
    width: 70px;
    cursor: pointer;
    font-size: 12px;
    font-weight: normal !important;
    color: #495057;
    border-right: 1px solid #ccc;

    &::after {
      position: absolute;
      content: "";
      right: 8px;
      top: 50%;
      transform: translateY(-50%) rotate(45deg);
      width: 5px;
      height: 5px;
      border-right: 0.12rem solid #495057;
      border-bottom: 0.12rem solid #495057;
      transition: 0.2s;
    }

    &.active::after {
      transform: translateY(-50%) rotate(225deg);
    }
  }

  strong {
    font-size: 12px;
    font-weight: normal !important;
    color: #495057;
  }
}

.select-box .options {
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-radius: 0.5rem;
  display: none;
  z-index: 5;

  &.active {
    display: block;
  }
}

input.search-box {
  background-color: #eee;
  color: var(--black);
  border-radius: 0.5rem 0.5rem 0 0;
  padding: 2px 10px;
  font-size: 12px;
}

.select-box ol {
  list-style: none;
  max-height: 160px;
  overflow: overlay;
  border: 1px solid #ccc;

  &::-webkit-scrollbar {
    width: 0.4rem;
  }

  &::-webkit-scrollbar-thumb {
    width: 0.4rem;
    height: 3rem;
    background-color: #ccc;
    border-radius: 0.4rem;
  }

  li {
    display: -webkit-flex;
    justify-content: space-between;
    cursor: pointer;
    padding: 4px;
    font-size: 12px;

    strong {
      font-weight: 400;
    }

    &.hide {
      display: none;
    }

    &:not(:last-child) {
      border-bottom: 0.1rem solid #eee;
    }

    &:hover {
      background-color: #eee;
    }

    .country-name {
      margin-left: 0.4rem;
    }
  }
}

@media screen and (max-width: 768px) {
  .course-card-title {
    margin-bottom: 40px;

    h2 {
      font-size: 28px !important;
      margin-bottom: 0 !important;
    }
  }
}

@media screen and (max-width: 992px) {
.styled-table th:first-child,
.styled-table td:first-child {
  white-space: wrap !important;
}
  .table-bottom {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .styled-table td {
    /*width: auto !important;*/
    padding: 6px 0 !important;
  }
  .styled-table th {
    padding: 6px 0 !important;
  }
  .course-table {
    width: 95% !important;

    .course-buttons {
      justify-content: space-between;
    }
  }

  .see-more-btn {
    width: 100% !important;
    max-width: 100% !important;
  }

  .styled-table td,
  .styled-table th {
    font-size: 8px;
  }

  .table-btn {
    width: 97%;
    height: 18px;
    font-size: 8px;
  }

  #popup-3 {
    max-width: 100%;
    padding: 30px;
  }

  .popup {
    width: 95%;
    border-radius: 10px;
  }

  .form-popup {
    h2 {
      font-size: 25px;
    }

    .form-title {
      margin-bottom: 30px;
    }

    .form-inputs {
      grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
      gap: 16px;
    }

    button {
      max-width: 100% !important;
      transform: scale(1) !important;
    }
  }
}