/* VirtualDataGrid Toolbar Component */
.vdg-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color, #dbdbdb);
    background-color: var(--table-header-bg, #f5f5f5);
    flex-shrink: 0;
    min-height: 2.5rem;
}

.vdg-toolbar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.vdg-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.vdg-toolbar .input.is-small {
    height: 2rem;
    font-size: 0.85rem;
    min-width: 160px;
    max-width: 250px;
}

.vdg-toolbar .select.is-small {
    flex-shrink: 0;
    max-width: 200px;
}

.vdg-toolbar .select.is-small select {
    height: 2rem;
    font-size: 0.85rem;
    padding-top: 0;
    padding-bottom: 0;
    max-width: 200px;
    text-overflow: ellipsis;
}

.vdg-toolbar .button.is-small {
    height: 2rem;
    font-size: 0.85rem;
}

.vdg-toolbar-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-right: 0.25rem;
    white-space: nowrap;
    color: var(--text-color, #363636);
}

.vdg-record-count {
    font-size: 0.8rem;
    color: var(--text-muted, #7a7a7a);
    white-space: nowrap;
}

.vdg-toolbar-btn-group {
    margin-bottom: 0 !important;
    flex-shrink: 0;
}

.vdg-toolbar-btn-group .button {
    margin-bottom: 0 !important;
}

.vdg-toolbar .control.has-icons-left .icon {
    height: 2rem;
    width: 2rem;
}

.vdg-toolbar .control.has-icons-left .input {
    padding-left: 2.25rem;
}

/* Search control fills remaining toolbar space */
.vdg-toolbar .vdg-toolbar-search {
    flex: 1;
    min-width: 120px;
    max-width: 300px;
}

.vdg-toolbar .vdg-toolbar-search .input.is-small {
    width: 100%;
    max-width: none;
}
