.section {
  margin: 16px 0;
}

.toggleButton {
  width: 100%;
}

.toggleButtonExpanded {
  margin-bottom: 8px;
}

.panel {
  padding: 12px;
  border: 1px solid rgba(5, 5, 5, 0.06);
  border-radius: 8px;
}

.panelDark {
  border-color: rgba(255, 255, 255, 0.08);
}

.filterGroup {
  margin-bottom: 12px;
}

.filterLabel {
  margin-bottom: 4px;
  font-weight: 500;
}

.filterHeader {
  margin-bottom: 8px;
}

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

.providerControls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.providerSearchInput {
  flex: 1 1 220px;
  min-width: 180px;
}

.providerList {
  max-height: 200px;
  overflow-y: auto;
  padding: 0px 8px;
  border: 1px solid rgba(5, 5, 5, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.panelDark .providerList {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.providerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px;
}

.providerRow + .providerRow {
  border-top: 1px solid rgba(5, 5, 5, 0.06);
}

.panelDark .providerRow + .providerRow {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.providerName {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.providerEmpty {
  padding: 12px 8px;
  text-align: center;
  color: #8c8c8c;
}

.modalitySwitchGroup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px;
}

.modalitySwitchRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid rgba(5, 5, 5, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.panelDark .modalitySwitchRow {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.modalitySwitchLabel {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}

.freeOnlyRow {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.freeOnlyLabel {
  font-weight: 500;
}

.fetchButton {
  width: 100%;
}

.results {
  margin-top: 12px;
  max-height: 200px;
  overflow-y: auto;
}

.resultsTitle {
  margin-bottom: 4px;
  font-weight: 500;
}

.modelRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  margin-bottom: 4px;
  background: white;
  border-radius: 4px;
}

.modelRowDark {
  background: rgba(255, 255, 255, 0.06);
}

.modelNameRow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.modelMeta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 11px;
}

.modelMetaDark {
  color: rgba(255, 255, 255, 0.65);
}

.price {
  margin-left: 4px;
  color: green;
}
