/* style.css */
.terminology-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.search-container {
    margin-bottom: 20px;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 16px;
    pointer-events: none;
}

#term-search {
    width: 100%;
    padding: 12px 12px 12px 40px;
    font-size: 16px;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
}

#term-search:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.alpha-button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    font-size: 14px;
}

.term-card {
    padding: 24px;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.term-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
}

.term-definition {
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-size: 16px;
}

#terms-container.loading {
    opacity: 0.5;
    position: relative;
    min-height: 100px;
}

#terms-container.loading:after {
    content: "Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #666;
}