.processed-documents-page {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.processed-documents-page header {
    flex-shrink: 0;
}

.processed-documents-page > div > .flex {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.processed-documents-page aside {
    flex-shrink: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.processed-documents-page main {
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

details summary {
    list-style: none;
}
details summary::-webkit-details-marker {
    display: none;
}

input[type="text"],
input[type="date"],
input[type="search"] {
    width: 100%;
    padding: 0.625rem 0.75rem;
    padding-left: 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}
input[type="text"]:focus,
input[type="date"]:focus,
input[type="search"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
input[type="date"] {
    padding-left: 0.75rem;
}

@media (max-width: 767px) {
    .processed-documents-page {
        height: auto;
        overflow: visible;
    }
    
    .processed-documents-page aside,
    .processed-documents-page main {
        height: auto;
        overflow: visible;
    }
}
.results-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 640px) {
    .results-header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
