.settings-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--card-background);
  border: 1px solid var(--p-content-border-color);
  border-radius: 8px;
  padding: 1.5rem;

  @media (max-width: 768px) {
    padding: 1rem;
    gap: 1rem;
  }
}

.section-header {
  margin-bottom: 0.25rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;

  .pi {
    color: var(--primary-color);
    font-size: 1.125rem;
  }
}

.section-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--p-text-muted-color);
  margin: 0;
}

.section-body {
  padding-left: 1rem;

  @media (max-width: 768px) {
    padding-left: 0.5rem;
  }
}

.provider-groups-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.provider-group {
  padding: 0.875rem 1rem;
  border-radius: 6px;
  border-left: 3px solid var(--primary-color);
  background: color-mix(in srgb, var(--ground-background) 50%, var(--p-surface-800) 50%);

  @media (max-width: 768px) {
    padding: 0.75rem;
  }
}

.group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--p-content-border-color);
}

.group-icon {
  color: var(--primary-color);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.group-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.field-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.3125rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.15s ease;

  &:hover {
    background: color-mix(in srgb, var(--primary-color) 8%, transparent 92%);
  }

  label {
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 400;
    user-select: none;
    color: var(--text-color);
    margin: 0;
    flex: 1;
  }
}
