.error {
  color: red;
  display: none;
}

.custom-container {
  width: 37rem;
  margin: 0 auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  word-wrap: break-word;
}

.table th {
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
}
.table td {
  text-align: center;
  vertical-align: middle;
}

.add-link {
  color: blue;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .custom-container {
    padding: 15px;
  }
  .table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    word-wrap: break-word;
  }
  .add-link {
    color: blue;
    text-decoration: underline;
  }
}

@media (max-width: 767px) {
  .custom-container {
    padding: 15px;
  }

  div {
    max-width: 100%;
  }

  .custom-flex {
    flex-direction: column;
  }

  .table th:nth-child(3),
  .table td:nth-child(3) {
    display: none;
  }

  .table th:nth-child(5),
  .table td:nth-child(5) {
    display: none;
  }

  .add-link {
    color: blue;
    text-decoration: underline;
    display: block;
    margin-top: 2px;
  }
}

.modal-link {
  text-decoration: underline;
  color: blue;
  cursor: pointer;
}

.custom-modal-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.required-text {
  padding-top: 1rem;
}

.bs-btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .bs-btn {
    transition: none;
  }
}

.bs-btn:hover {
  color: #212529;
  text-decoration: none;
}

.bs-btn:focus,
.bs-btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.bs-btn.disabled,
.bs-btn:disabled {
  opacity: 0.65;
}

.bs-btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.bs-btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.bs-btn-primary:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}

.bs-btn-primary:focus,
.bs-btn-primary.focus {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.bs-btn-primary.disabled,
.bs-btn-primary:disabled {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.bs-btn-primary:not(:disabled):not(.disabled):active,
.bs-btn-primary:not(:disabled):not(.disabled).active,
.show > .bs-btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #0062cc;
  border-color: #005cbf;
}

.bs-btn-primary:not(:disabled):not(.disabled):active:focus,
.bs-btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .bs-btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.bs-btn-success {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.bs-btn-success:hover {
  color: #fff;
  background-color: #218838;
  border-color: #1e7e34;
}

.bs-btn-success:focus,
.bs-btn-success.focus {
  color: #fff;
  background-color: #218838;
  border-color: #1e7e34;
  box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
}

.bs-btn-success.disabled,
.bs-btn-success:disabled {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.bs-btn-success:not(:disabled):not(.disabled):active,
.bs-btn-success:not(:disabled):not(.disabled).active,
.show > .bs-btn-success.dropdown-toggle {
  color: #fff;
  background-color: #1e7e34;
  border-color: #1c7430;
}

.bs-btn-success:not(:disabled):not(.disabled):active:focus,
.bs-btn-success:not(:disabled):not(.disabled).active:focus,
.show > .bs-btn-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
}

.bs-form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.jcf-list-content {
  display: block !important;
  height: auto !important;
  overflow-y: auto !important;
}

.back-to-search {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
}

.back-to-search i {
  margin-right: 5px;
}

.back-to-search .back-to-search-text {
  color: blue;
  text-decoration: underline;
}

.button-as-p {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  display: inline;
  padding: 0;
  text-decoration: underline;
  color: blue;
}

