/* AXIA Glossario Styles */
.glossary-container {
    font-family: var(--e-global-typography-text-font-family), sans-serif;
}

.glossary-search {
    margin-block: -3rem 1rem;
    max-width: 300px;
    margin-inline: auto 0;
    position: relative;
}

.glossary-search .search-label-wrapper {
    position: absolute;
    z-index: -1;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--e-global-color-primary);
}

.glossary-search input[type="search"] {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 2px solid var(--e-global-color-primary);
    border-radius: 2rem;
    font-size: 0.95rem;
    font-family: var(--e-global-typography-text-font-family), sans-serif;
    transition: border-color 100ms ease-in-out;
    background-color: var(--e-global-color-8e4c0c9);
}

.glossary-search input[type="search"]::placeholder { /* Firefox */
    color: var(--e-global-color-7963ff5) !important;
    opacity: 1 !important;
}

.glossary-search input[type="search"]:-ms-input-placeholder { /* IE 10-11 */
    color: var(--e-global-color-7963ff5) !important;
}

.glossary-search input[type="search"]::-ms-input-placeholder { /* Edge */
    color: var(--e-global-color-7963ff5) !important;
}

.glossary-search input[type="search"]:focus {
    border-color: var(--e-global-color-secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.table-wrapper {
    overflow-x: auto;
}

.glossary-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: white;
}

.glossary-table th {
    background-color: #f8f9fa;
    padding: 0.5rem;
    text-align: left;
    font-weight: 600;
    color: #000;
}

.glossary-table tr:hover {
    background-color: #f8f9fa;
}

.glossary-table td {
    padding: 0.5rem;
    vertical-align: top;
    line-height: 1.4;
    font-weight: 400;
    color: #000;
}

.glossary-table p {
    margin-bottom: 0 !important;
}

/* Accessibility enhancements */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.glossary-table:focus {
    outline: 2px solid var(--e-global-color-secondary);
    outline-offset: 2px;
}

.glossary-search-input:focus-visible {
    outline: 2px solid var(--e-global-color-secondary);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .glossary-search {
        margin-block: 0rem 1rem;
    }
}