/* --- Content Area & Search --- */

.repo-main-content {
    min-height: 800px;
    min-width: 0;
}

.repo-content-header {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.header-title-area .section-title {
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 400;
}

.repo-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    background: white;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.search-container {
    flex: 1;
    min-width: 260px;
    max-width: 500px;
}

.search-input-group {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
}

#doc-search {
    width: 100%;
    padding: 16px 16px 16px 50px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

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

/* --- Filter Controls --- */

.filter-controls {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-range-group {
    min-width: 300px;
    position: relative;
}

.control-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.select-wrapper {
    position: relative;
    min-width: 140px;
}

#sort-filter-wrapper {
    position: relative;
    min-width: 140px;
}

.select-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 0.8rem;
    pointer-events: none;
}
