.glossary-alphabet {
    text-align: center !important;
    padding: 20px 0;
    background: #fff;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #2fb5d2;
}

.alphabet-letter {
    display: inline-block;
    padding: 8px 12px;
    margin: 2px;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
}

.alphabet-letter.active-term {
    color: #2fb5d2;
    cursor: pointer;
    text-decoration: none;
}

.alphabet-letter.active-term:hover {
    background: #2fb5d2;
    color: white;
}

.alphabet-letter.inactive {
    color: #ccc;
}
.glossary-terms {
    padding: 20px;
}
.letter-section {
    margin-bottom: 40px;
    scroll-margin-top: 80px;
}

.letter-heading {
    font-size: 32px;
    color: #2fb5d2;
    border-bottom: 3px solid #2fb5d2;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.terms-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.term-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.term-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.term-title {
    padding: 15px 20px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.term-title:hover {
    background: #f8f9fa;
}

.term-title.active-term {
    background: #f0f8ff;
    border-bottom: 1px solid #e0e0e0;
}

.term-name {
    font-weight: 600;
    font-size: 16px !important;
    color: #333;
    margin: 0px !important;
}

.term-title i {
    transition: transform 0.3s;
    color: #2fb5d2;
    font-size: 20px;
}

.term-title.active-term i {
    transform: rotate(180deg);
}

.term-description {
    padding: 20px;
    background: #fafafa;
    line-height: 1.8;
    color: #555;
    border-top: 1px solid #e0e0e0;
    background-color: #fff;
}
.term-description span, .term-description p, .term-description div, .term-description td, .term-description a, .term-description li {
    font-size: 12pt;
}

.term-description p {
    margin-bottom: 10px;
}

.term-description p:last-child {
    margin-bottom: 0;
}
.term-description td {
    border: 1px solid black;
}
.term-description tr {
    border: 1px solid black;
}