.liste-pdf-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
}

.liste-pdf-switch {
    display: inline-flex;
    margin: 0 auto 1.25rem;
    padding: 4px;
    background: #f0f0f0;
    border-radius: 999px;
    width: auto;
    gap: 4px;
}

.liste-pdf-wrapper {
    text-align: center;
}

.liste-pdf-switch-btn {
    appearance: none;
    border: none;
    background: transparent;
    padding: 0.55rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    line-height: 1;
}

.liste-pdf-switch-btn:hover:not(.is-active) {
    color: #333;
}

.liste-pdf-switch-btn.is-active {
    background: #fff;
    color: #2ea3f2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.liste-pdf-switch-btn:focus-visible {
    outline: 2px solid #2ea3f2;
    outline-offset: 2px;
}

.liste-pdf-search-wrapper {
    margin-bottom: 1.25rem;
    text-align: left;
}

.liste-pdf-list,
.liste-pdf-empty,
.liste-pdf-no-results {
    text-align: left;
}

.liste-pdf-search {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.4;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.liste-pdf-search:focus {
    outline: none;
    border-color: #2ea3f2;
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.15);
}

.liste-pdf-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.liste-pdf-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.liste-pdf-item:last-child {
    border-bottom: none;
}

.liste-pdf-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.liste-pdf-link:hover,
.liste-pdf-link:focus {
    background-color: #f6f9fc;
    color: #2ea3f2;
    text-decoration: none;
}

.liste-pdf-icon {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.liste-pdf-title {
    flex: 1;
    word-break: break-word;
}

.liste-pdf-empty,
.liste-pdf-no-results {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    color: #666;
    font-style: italic;
    text-align: center;
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 4px;
}
