  body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #f9fafb;
      margin: 0;
      padding: 2rem;
      color: #333;
  }

  .legend {
    /* display: flex;  */
    /* flex-wrap: wrap; */
    /* gap: 0.5rem; */
    margin-bottom: 2rem;
  }

  #copyTooltip {
        position: fixed;
        background: #333;
        color: #fff;
        padding: 6px 10px;
        border-radius: 4px;
        font-size: 14px;
        pointer-events: none;
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
  }

  #copyTooltip.show {
      opacity: 1;
      transform: translateY(0);
  }

  .card-body-form{
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 1.50s ease, opacity 0.5s ease;
  }

  .card-body-form-open {
      max-height: 700px; 
      opacity: 1;
      padding-top: 1rem;
      padding-bottom: 1rem;
      transition: max-height 0.50s ease, opacity 0.25s ease;
    }

  .card-body {
    padding: 2rem;

}
  .container {
      /* max-width: 960px; */
      max-width: 90%;
      margin: auto;
      background: white;
      padding: 2rem;
      border-radius: 1rem;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

   .container--no-bg {
      max-width: 90%;
      margin: auto;
      padding-left: 1rem;
      padding-top: 1rem;
  }

  h2 {
      font-size: 1.75rem;
      margin-bottom: 1.25rem;
      color: #222;
  }

  /* input[type="text"] {
      width: 100%;
      padding: 0.75rem 1rem;
      margin-bottom: 1.5rem;
      border: 1px solid #ddd;
      border-radius: 9999px;
      font-size: 1rem;
      outline: none;
      transition: all 0.2s ease;
  }

  input[type="text"]:focus {
      border-color: #4f46e5;
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  } */

  table {
      width: 100%;
      border-collapse: collapse;
      font-size: 1rem;
  }

  thead {
      background-color: #f3f4f6;
  }

 
 .data-table-right {
    text-align: right;
 }
 .data-table-left {
    text-align: left;
 }

.tag-row-even {
    background-color: #FFFFFF;
}
.tag-row-odd {
    background-color: #f9fafc;
}

.data-buttons-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0.5rem;
}

.btn  {
    padding: 6px 12px;
    background-color: #606775;
    /* green */
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #45a049;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.4);
}


tr:hover {
      background-color: hsla(217, 19%, 47%, 0.312);
  }

th .sort-arrow-inactive {
    font-size: 0.75rem;
    margin-left: 5px;
    color: #E1E3E8;
/* Tailwind gray-500 */
}

th .sort-arrow-active {
    font-size: 0.75rem;
    margin-left: 5px;
    color: #6b7280;
    padding: 0.5rem 0.5rem;
    /* Tailwind gray-500 */
}


.table-row-full{
    padding: 0.5rem 0.5rem;
    vertical-align: middle;
}

.table-row-empty{
    padding: 0;
    margin: 0;
}


.desc-row td {
      /* font-style: italic; */
      text-align: left;
      /*padding: 1rem;*/
      border-top: 1px solid #FFFFFF;
      color: #374151;
  }

  .filter-pill:hover {
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  }

.data-row:hover {
      cursor: pointer;
      background-color: #f3f4f6;
  }

  .badge {
      display: inline-block;
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      font-size: 0.85rem;
      font-weight: 500;
      color: white;
  }

  .badge.admin {
      background-color: #ef4444;
  }

  .badge.editor {
      background-color: #3b82f6;
  }

  .badge.user {
      background-color: #6b7280;
  }

  .no-results {
      text-align: center;
      color: #999;
      padding: 1rem;
  }


 .footer {
      font-size: 0.9em;
      color: gray;
      max-width: 90%;
      margin: auto;
      padding-top: 2rem;
      display: flex;
      flex-direction: row;
      margin-top: 2rem;  
      align-items: center;
  }

  @media screen and (min-width: 640px) {
    .footer {
        padding: 0;
    }

    .footer::after {
        left: 4rem;
        right: 4rem;
    }
}

.footer__main {
    text-align: left;
    flex-grow: 1;
    padding: 0 1rem;
}

@media screen and (min-width: 640px) {
    .footer__main {
        padding: 0 4rem;
    }
}

  /*.footer__main {
       display: inline-block;

  }
*/
/*  .footer__aside {
      display: inline-block;
      float: right;
  }*/

  .cell-pill {
      display: inline-block;
      margin: 0.25rem;
      padding: 0.35rem 0.75rem;
      color: #374151;
      border-radius: 9px;
      font-size: 0.85rem;
      font-weight: 500;
      white-space: nowrap;
  }

.cell-pill-reset {
    background-color: #FFFFFF;
    border: 1px solid #E1E3E8;
    color: #374151;
}

.cell-pill-type-of-study {
    background-color: #ace457;
}
.cell-pill-intervention {
    background-color: #F5EE93;
}
.cell-pill-pathogen {
    background-color: #FFA0E5;
}
.cell-pill-population {
    background-color: #A0E2FF;
}
.cell-pill-disease {
    background-color: #F5AF95;
}

.cell-pill-setting{
    background-color: #82E3AA;
}

.cell-pill-specify-the-standard{
    background-color: #82E3AA;
}

.cell-pill-collected-biosamples {
    background-color: #d2bcf6;
}

.cell-pill-ncds {
    background-color: #f2b230;
}
.cell-pill-methods {
    background-color: #b7c7f6;
}

.cell-pill-symptom {
    background-color: #a5b3aa;
}

.cell-pill-syndrome {
    background-color: #e48466;
}

.cell-pill-inactive{
    background-color: #e5e7eb;;
}
  
  #searchInput {
      width: 100%;
      max-width: 400px;
      padding: 0.75rem 1.25rem;
     margin-bottom: 2.25rem;
      border: 1px solid #ddd;
      border-radius: 999px;
      font-size: 1rem;
      background-color: #fff;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
      outline: none;
  }

  #searchInput:focus {
      border-color: #6366f1;
      /* indigo */
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  }

  #searchInput::placeholder {
      color: #9ca3af;
  }

.btn + .btn{
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.form-group{
    padding-left: 1rem;
    padding-right: 1rem;
    /*background-color: green;*/
}


/* FORM */
.form-group + .form-group{
    margin-bottom: 0.5rem;
}


.input-label {
    display: block;
    font-weight: 100;
    /*font-size: 0.75rem;*/
    text-transform: uppercase;
    /*color: #374151;*/
    color: #444;
    padding-right: 1rem;
    /*margin-bottom: 6px;*/
    margin-bottom: auto;
    margin-top: auto;
    font-size: 0.85rem;
}

.input-text{
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 9px;
    font-size: 1rem;
}

.input-text:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    outline: none;
}

.dropdown {
  position: relative;
  display: inline-block;
  font-family: sans-serif;
}

.dropdown-menu{
    display: none;
    position: absolute;
    background-color: #e3e8ee;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    margin-top: 5px;
    padding: 8px;
    z-index: 10;
    max-width: 450px;
    flex-wrap: wrap;
    gap: 8px;
}

.label--and--select {
    display: flex;
    flex-direction: row;
    align-items: center;    
}

.toggle-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.toggle-switch {
  position: relative;
  width: 46px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-value{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.75rem;
    font-family: sans-serif;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  /*border-radius: 24px;*/
  border-radius: 12px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .slider {
  background-color: #4CAF50;
}

.toggle-switch input:checked + .slider::before {
  transform: translateX(22px);
}

.tool--header {
    font-size: 3rem;
    color: #539094 ;
    font-weight: 700;
    text-transform: uppercase;
}

.sub--navigation{
    /*margin: auto;
    max-width: 100%;*/
    /*padding-left: 1rem;*/
}

.sub--navigation--ul li {
    display: inline;
    padding-right: 3rem;
}

.sub--navigation--ul li a{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.2rem;
    /*color: gray;*/
}


.active-sublink{
    color: #539094;
}

.in-active-sublink{
    color: gray;
}

form input[type="text"],
form textarea,
form select {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  transition: border-color 0.2s ease, background 0.2s;
}

form select {
  width: 50%;
}

form input[type="text"]:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* */
#loading-wrapper{
    width: 100%;
    align-items: center;
}

#loading-bar {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
  margin: 10px 0;
}

#loading {
    text-align: center;
    width: 30%;
    padding: 10px 0;
    font-family: sans-serif;
    margin: auto;
}


#loading-text {
    font-size: 16px;
    margin-bottom: 8px;
    color: #4caf50;
    /*text-transform: uppercase;*/
    text-align: center;
    font-weight: 600;
}

#loading-bar .bar {
  height: 100%;
  width: 0;
  background: #4caf50;
  animation: load 60s infinite;
}

@keyframes load {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 0; }
}