
/* Ajuste de escala em telas pequenas */
@media (min-width: 640px) {
    #pdf-container canvas {
        width: 100% !important;
        height: auto !important;
    }
}
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0.5rem;
    color: #fff;
    white-space: nowrap;
}
.accordion-button {
    display: flex;
    width: 100%;
    align-items: center;
    text-align: left;
    background-color: white;
    border: none;
    padding: 1.25rem;
    font-size: 1.0rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.accordion-button svg {
    margin-right: 0.5rem;
}

.accordion-item > .accordion-button {
    margin-bottom: -1px;
}

.accordion-content {
    overflow: hidden;
    background-color: white;
    max-height: 0;
    opacity: 0;
    border-bottom: 1px solid #d1d5db;
}

.accordion-content.open {
    overflow-y: auto;
    max-height: 500px;
    padding: 1rem;
    opacity: 1;
}
.custom-details {
    border: 1px solid #d1d5db;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.search-highlight {
    z-index: 10;
}

#search-clear:hover {
    color: #ef4444 !important;
    border-color: #fca5a5 !important;
}

#search-clear:focus {
    outline: none;
}

.page-container {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Melhor visualização da página atual */
.page-container.current-page {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

#pdf-container {
    scroll-behavior: smooth;
    scrollbar-width: thin;
}
