h4 {
    margin: 2px !important;
}

nightingale-manager {
    display: flex !important;
    flex-direction: column !important;
}

.vf-hero .vf-hero__content {
    background-color: rgba(255, 255, 255, 0.9);
}

.grid-column {
    grid-auto-flow: column;
}

.full-width {
    margin-top: 50px;
}

.centered {
    justify-items: center;
    text-align: center;
}

.text-bold {
    font-weight: bold;
}

.prefix_input_container {
    position: relative;
    display: block;
    width: 100%;
    border: 2px solid #707372 !important;
    font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.421;
}

.right-align {
    text-align: right;
}

.hidden {
    display: none;
}

#pdb_viewer {
    position: relative;
    width: 100%;
    height: 600px;
}

.legendColor{
    padding-right: 15px;
}

.plddtColor {
    padding: 5px;
    border-radius: 3px;
}

.dataTables_filter input {
    font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
    font-size: 19px;
    color: #1a1c1a;
    font-weight: 400;
    line-height: 1.421;
    border: 2px solid #707372 !important;
    border-radius: 0 !important;
}

.dataTables_length {
    padding-top: 4px;
    font-size: 19px;
    color: #1a1c1a;
}

.dataTables_length select {
    font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
    font-size: 19px;
    color: #1a1c1a;
    font-weight: 400;
    line-height: 1.421;
    border: 2px solid #707372 !important;
    border-radius: 0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: none !important;
    background-color: #707372 !important;
    background-image: none !important;
}

.dataTables_wrapper .dataTables_paginate a.paginate_button.current,
.dataTables_wrapper .dataTables_paginate a.paginate_button.current:hover {
    color: white !important;
    border: none !important;
    background-color: #707372 !important;
    background-image: none !important;
}

.dataTables_filter input:focus,
.dataTables_filter input:hover {
    border-color: #54585a !important;
    -webkit-box-shadow: 0 0 0 0.0625rem #54585a !important;
    box-shadow: 0 0 0 0.0625rem #54585a !important;
    color: #000000 !important;
    outline: 0 !important;
}

.architecture-div {
    margin-bottom: 5px;
    line-height: 30px;
}
.descr-span {
    display: inline-block;
    width: 60px;
    font-weight: bold;
}
.domain-span {
    border: 1px solid black;
    border-radius: 25px;
    margin-left: 2px;
    margin-right: 2px;
    padding: 3px;
}
.domain-span:hover {
    border: 1px solid red;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8);
}
.domain-span a {
    text-decoration: none !important;
    color: inherit !important;
}
.domain_tooltip {
    position: absolute;
    background-color: #fff;
    border-style: dotted;
    color: #000;
    padding: 5px;
    display: none;
    z-index: 2;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 400px;
    background-color: lightslategray;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 2000;
    bottom: 100%; /* Position above the tooltip icon */
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%; /* Arrow pointing down */
    left: 25%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.tooltip-icon {
    margin-left: 5px;
    font-size: 16px;
}

.sequenceViewerDiv {
    overflow: auto !important;
}

.protein-sequence-container {
    word-wrap: break-word;
    overflow-y: scroll;
    height: 20em;
    padding: 10px;
    background-color: #e1fae8;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 2px;
}

.mgnifams-table-container {
    overflow-x: auto; /* Add horizontal scrolling */
    max-width: 100%; /* Keep the table within the article */
}

#filters {
    margin-bottom: 1em;
}

.filter-container {
    display: flex;
    gap: 1em; /* space between categories */
    flex-wrap: wrap; /* wrap to next line on small screens */
}

.filter-category {
    border: 1px solid #ddd;
    padding: 0.5em;
    border-radius: 4px;
    background: #f9f9f9;
    flex: 1 1 300px; /* allow flexible width, minimum 300px */
}

.filter-category h4 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-size: 1em;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 0.3em;
}

.filter-row span {
    width: 130px; /* fixed width for labels */
    font-weight: 500;
}

.filter-row input {
    width: 70px; /* uniform width for inputs */
}
