#iso-symbols-glossary {
    font-family: sans-serif;
}

#iso-symbols-glossary .table-wrapper {
    width: 100%;
}

#iso-symbols-glossary .row {
    display: flex;
    align-items: flex-end; /* bottom align text */
    font-size: 10pt;
    border-bottom: 1px solid #0093D2;
}



#iso-symbols-glossary .row.header .col {
    vertical-align: bottom;
}

#iso-symbols-glossary .col {
    flex: 1;
    padding: 8px 12px;
    vertical-align: middle;
}

/* Custom column widths */
#iso-symbols-glossary .stantitle,
#iso-symbols-glossary .description {
    font-size: 10pt;
    line-height: 10.5pt;
    text-align: left;
}

#iso-symbols-glossary .stantitle {
    width: 20%;
}

#iso-symbols-glossary .description {
    width: 25%;
}
#iso-symbols-glossary .title,
#iso-symbols-glossary .stanID,
#iso-symbols-glossary .dateentry {
    flex: 0.7;
}

#iso-symbols-glossary .icon-right {
    flex: 0.5;
    text-align: right;
    width: 60px;
}

/* Image styling */
#iso-symbols-glossary .icon-right img {
    width: 45px;
    height: auto;
    max-height: 45px;
    transition: transform 0.3s ease-in-out;
}

/* Styling for specific cells */
#iso-symbols-glossary .col.ISOnumber,
#iso-symbols-glossary .col.title,
#iso-symbols-glossary .col.stanID,
#iso-symbols-glossary .col.dateentry {
    font-weight: bold;
    font-size: 8pt;
    line-height: 8.5pt;
    text-align: center;
    padding: 0 2px;
    color: #0093D2;
}

#iso-symbols-glossary .row.header {
    border-radius: 5px;
}
#iso-symbols-glossary .row.header > .col {
    background-color: #0093D2;
    font-weight: bold;
    color: #FFF;
    font-size: 10pt;
    line-height: 10.5pt;
    text-align: center;
    padding: 10px 0;

}

/* Jiggle animation */
@keyframes jiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(35deg);
    }
    50% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

#iso-symbols-glossary .icon-right img.animate-jiggle {
    animation: jiggle 0.6s ease-in-out;
}

@media screen and (max-width: 768px) {
    #iso-symbols-glossary .row {
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 2px solid #0093D2;
        margin-bottom: 1rem;
        padding: 1rem 0;
    }

    #iso-symbols-glossary .col {
        flex: none;
        width: 100% !important;
        padding: 6px 8px;
        text-align: center !important;
    }

    #iso-symbols-glossary .row.header {
        display: none; /* Hide table-style header on mobile */
    }

    #iso-symbols-glossary .col::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        color: #0f1010;
        margin-bottom: 2px;
        font-size: 10pt;
        margin-top: 16px;
    }

    #iso-symbols-glossary .col.ISOnumber, #iso-symbols-glossary .col.title, #iso-symbols-glossary .col.stanID, #iso-symbols-glossary .col.dateentry {

        font-size: 12pt;
        line-height: 12.5pt;
        text-align: center;
    }

    #iso-symbols-glossary .icon-right img {
        width: 80px;
        height: auto;
        max-height: 80px;
        transition: transform 0.3s ease-in-out;
    }
}
